pub struct Client { /* private fields */ }
Expand description
Client for Application Migration Service
Client for invoking operations on Application Migration Service. Each operation on Application Migration Service is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_mgn::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_mgn::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the ArchiveApplication
operation has
a Client::archive_application
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.archive_application()
.application_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
Source§impl Client
impl Client
Sourcepub fn archive_application(&self) -> ArchiveApplicationFluentBuilder
pub fn archive_application(&self) -> ArchiveApplicationFluentBuilder
Constructs a fluent builder for the ArchiveApplication
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
ArchiveApplicationOutput
with field(s):application_id(Option<String>)
:Application ID.
arn(Option<String>)
:Application ARN.
name(Option<String>)
:Application name.
description(Option<String>)
:Application description.
is_archived(Option<bool>)
:Application archival status.
application_aggregated_status(Option<ApplicationAggregatedStatus>)
:Application aggregated status.
creation_date_time(Option<String>)
:Application creation dateTime.
last_modified_date_time(Option<String>)
:Application last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Application tags.
wave_id(Option<String>)
:Application wave ID.
- On failure, responds with
SdkError<ArchiveApplicationError>
Source§impl Client
impl Client
Sourcepub fn archive_wave(&self) -> ArchiveWaveFluentBuilder
pub fn archive_wave(&self) -> ArchiveWaveFluentBuilder
Constructs a fluent builder for the ArchiveWave
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
ArchiveWaveOutput
with field(s):wave_id(Option<String>)
:Wave ID.
arn(Option<String>)
:Wave ARN.
name(Option<String>)
:Wave name.
description(Option<String>)
:Wave description.
is_archived(Option<bool>)
:Wave archival status.
wave_aggregated_status(Option<WaveAggregatedStatus>)
:Wave aggregated status.
creation_date_time(Option<String>)
:Wave creation dateTime.
last_modified_date_time(Option<String>)
:Wave last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Wave tags.
- On failure, responds with
SdkError<ArchiveWaveError>
Source§impl Client
impl Client
Sourcepub fn associate_applications(&self) -> AssociateApplicationsFluentBuilder
pub fn associate_applications(&self) -> AssociateApplicationsFluentBuilder
Constructs a fluent builder for the AssociateApplications
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
application_ids(impl Into<String>)
/set_application_ids(Option<Vec::<String>>)
:
required: trueApplication IDs list.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
AssociateApplicationsOutput
- On failure, responds with
SdkError<AssociateApplicationsError>
Source§impl Client
impl Client
Sourcepub fn associate_source_servers(&self) -> AssociateSourceServersFluentBuilder
pub fn associate_source_servers(&self) -> AssociateSourceServersFluentBuilder
Constructs a fluent builder for the AssociateSourceServers
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
source_server_ids(impl Into<String>)
/set_source_server_ids(Option<Vec::<String>>)
:
required: trueSource server IDs list.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
AssociateSourceServersOutput
- On failure, responds with
SdkError<AssociateSourceServersError>
Source§impl Client
impl Client
Sourcepub fn change_server_life_cycle_state(
&self,
) -> ChangeServerLifeCycleStateFluentBuilder
pub fn change_server_life_cycle_state( &self, ) -> ChangeServerLifeCycleStateFluentBuilder
Constructs a fluent builder for the ChangeServerLifeCycleState
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueThe request to change the source server migration lifecycle state by source server ID.
life_cycle(ChangeServerLifeCycleStateSourceServerLifecycle)
/set_life_cycle(Option<ChangeServerLifeCycleStateSourceServerLifecycle>)
:
required: trueThe request to change the source server migration lifecycle state.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseThe request to change the source server migration account ID.
- On success, responds with
ChangeServerLifeCycleStateOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<ChangeServerLifeCycleStateError>
Source§impl Client
impl Client
Sourcepub fn create_application(&self) -> CreateApplicationFluentBuilder
pub fn create_application(&self) -> CreateApplicationFluentBuilder
Constructs a fluent builder for the CreateApplication
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueApplication name.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseApplication description.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseApplication tags.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
CreateApplicationOutput
with field(s):application_id(Option<String>)
:Application ID.
arn(Option<String>)
:Application ARN.
name(Option<String>)
:Application name.
description(Option<String>)
:Application description.
is_archived(Option<bool>)
:Application archival status.
application_aggregated_status(Option<ApplicationAggregatedStatus>)
:Application aggregated status.
creation_date_time(Option<String>)
:Application creation dateTime.
last_modified_date_time(Option<String>)
:Application last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Application tags.
wave_id(Option<String>)
:Application wave ID.
- On failure, responds with
SdkError<CreateApplicationError>
Source§impl Client
impl Client
Sourcepub fn create_connector(&self) -> CreateConnectorFluentBuilder
pub fn create_connector(&self) -> CreateConnectorFluentBuilder
Constructs a fluent builder for the CreateConnector
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueCreate Connector request name.
ssm_instance_id(impl Into<String>)
/set_ssm_instance_id(Option<String>)
:
required: trueCreate Connector request SSM instance ID.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseCreate Connector request tags.
ssm_command_config(ConnectorSsmCommandConfig)
/set_ssm_command_config(Option<ConnectorSsmCommandConfig>)
:
required: falseCreate Connector request SSM command config.
- On success, responds with
CreateConnectorOutput
with field(s):connector_id(Option<String>)
:Connector ID.
name(Option<String>)
:Connector name.
ssm_instance_id(Option<String>)
:Connector SSM instance ID.
arn(Option<String>)
:Connector arn.
tags(Option<HashMap::<String, String>>)
:Connector tags.
ssm_command_config(Option<ConnectorSsmCommandConfig>)
:Connector SSM command config.
- On failure, responds with
SdkError<CreateConnectorError>
Source§impl Client
impl Client
Sourcepub fn create_launch_configuration_template(
&self,
) -> CreateLaunchConfigurationTemplateFluentBuilder
pub fn create_launch_configuration_template( &self, ) -> CreateLaunchConfigurationTemplateFluentBuilder
Constructs a fluent builder for the CreateLaunchConfigurationTemplate
operation.
- The fluent builder is configurable:
post_launch_actions(PostLaunchActions)
/set_post_launch_actions(Option<PostLaunchActions>)
:
required: falseLaunch configuration template post launch actions.
enable_map_auto_tagging(bool)
/set_enable_map_auto_tagging(Option<bool>)
:
required: falseEnable map auto tagging.
map_auto_tagging_mpe_id(impl Into<String>)
/set_map_auto_tagging_mpe_id(Option<String>)
:
required: falseLaunch configuration template map auto tagging MPE ID.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseRequest to associate tags during creation of a Launch Configuration Template.
launch_disposition(LaunchDisposition)
/set_launch_disposition(Option<LaunchDisposition>)
:
required: falseLaunch disposition.
target_instance_type_right_sizing_method(TargetInstanceTypeRightSizingMethod)
/set_target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:
required: falseTarget instance type right-sizing method.
copy_private_ip(bool)
/set_copy_private_ip(Option<bool>)
:
required: falseCopy private Ip.
associate_public_ip_address(bool)
/set_associate_public_ip_address(Option<bool>)
:
required: falseAssociate public Ip address.
copy_tags(bool)
/set_copy_tags(Option<bool>)
:
required: falseCopy tags.
licensing(Licensing)
/set_licensing(Option<Licensing>)
:
required: falseConfigure Licensing.
boot_mode(BootMode)
/set_boot_mode(Option<BootMode>)
:
required: falseLaunch configuration template boot mode.
small_volume_max_size(i64)
/set_small_volume_max_size(Option<i64>)
:
required: falseSmall volume maximum size.
small_volume_conf(LaunchTemplateDiskConf)
/set_small_volume_conf(Option<LaunchTemplateDiskConf>)
:
required: falseSmall volume config.
large_volume_conf(LaunchTemplateDiskConf)
/set_large_volume_conf(Option<LaunchTemplateDiskConf>)
:
required: falseLarge volume config.
- On success, responds with
CreateLaunchConfigurationTemplateOutput
with field(s):launch_configuration_template_id(String)
:ID of the Launch Configuration Template.
arn(Option<String>)
:ARN of the Launch Configuration Template.
post_launch_actions(Option<PostLaunchActions>)
:Post Launch Actions of the Launch Configuration Template.
enable_map_auto_tagging(Option<bool>)
:Enable map auto tagging.
map_auto_tagging_mpe_id(Option<String>)
:Launch configuration template map auto tagging MPE ID.
tags(Option<HashMap::<String, String>>)
:Tags of the Launch Configuration Template.
ec2_launch_template_id(Option<String>)
:EC2 launch template ID.
launch_disposition(Option<LaunchDisposition>)
:Launch disposition.
target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:Target instance type right-sizing method.
copy_private_ip(Option<bool>)
:Copy private Ip.
associate_public_ip_address(Option<bool>)
:Associate public Ip address.
copy_tags(Option<bool>)
:Copy tags.
licensing(Option<Licensing>)
:Configure Licensing.
boot_mode(Option<BootMode>)
:Launch configuration template boot mode.
small_volume_max_size(i64)
:Small volume maximum size.
small_volume_conf(Option<LaunchTemplateDiskConf>)
:Small volume config.
large_volume_conf(Option<LaunchTemplateDiskConf>)
:Large volume config.
- On failure, responds with
SdkError<CreateLaunchConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn create_replication_configuration_template(
&self,
) -> CreateReplicationConfigurationTemplateFluentBuilder
pub fn create_replication_configuration_template( &self, ) -> CreateReplicationConfigurationTemplateFluentBuilder
Constructs a fluent builder for the CreateReplicationConfigurationTemplate
operation.
- The fluent builder is configurable:
staging_area_subnet_id(impl Into<String>)
/set_staging_area_subnet_id(Option<String>)
:
required: trueRequest to configure the Staging Area subnet ID during Replication Settings template creation.
associate_default_security_group(bool)
/set_associate_default_security_group(Option<bool>)
:
required: trueRequest to associate the default Application Migration Service Security group with the Replication Settings template.
replication_servers_security_groups_ids(impl Into<String>)
/set_replication_servers_security_groups_ids(Option<Vec::<String>>)
:
required: trueRequest to configure the Replication Server Security group ID during Replication Settings template creation.
replication_server_instance_type(impl Into<String>)
/set_replication_server_instance_type(Option<String>)
:
required: trueRequest to configure the Replication Server instance type during Replication Settings template creation.
use_dedicated_replication_server(bool)
/set_use_dedicated_replication_server(Option<bool>)
:
required: trueRequest to use Dedicated Replication Servers during Replication Settings template creation.
default_large_staging_disk_type(ReplicationConfigurationDefaultLargeStagingDiskType)
/set_default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:
required: trueRequest to configure the default large staging disk EBS volume type during Replication Settings template creation.
ebs_encryption(ReplicationConfigurationEbsEncryption)
/set_ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:
required: trueRequest to configure EBS encryption during Replication Settings template creation.
ebs_encryption_key_arn(impl Into<String>)
/set_ebs_encryption_key_arn(Option<String>)
:
required: falseRequest to configure an EBS encryption key during Replication Settings template creation.
bandwidth_throttling(i64)
/set_bandwidth_throttling(Option<i64>)
:
required: trueRequest to configure bandwidth throttling during Replication Settings template creation.
data_plane_routing(ReplicationConfigurationDataPlaneRouting)
/set_data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:
required: trueRequest to configure data plane routing during Replication Settings template creation.
create_public_ip(bool)
/set_create_public_ip(Option<bool>)
:
required: trueRequest to create Public IP during Replication Settings template creation.
staging_area_tags(impl Into<String>, impl Into<String>)
/set_staging_area_tags(Option<HashMap::<String, String>>)
:
required: trueRequest to configure Staging Area tags during Replication Settings template creation.
use_fips_endpoint(bool)
/set_use_fips_endpoint(Option<bool>)
:
required: falseRequest to use Fips Endpoint during Replication Settings template creation.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseRequest to configure tags during Replication Settings template creation.
- On success, responds with
CreateReplicationConfigurationTemplateOutput
with field(s):replication_configuration_template_id(String)
:Replication Configuration template ID.
arn(Option<String>)
:Replication Configuration template ARN.
staging_area_subnet_id(Option<String>)
:Replication Configuration template Staging Area subnet ID.
associate_default_security_group(Option<bool>)
:Replication Configuration template associate default Application Migration Service Security group.
replication_servers_security_groups_ids(Option<Vec::<String>>)
:Replication Configuration template server Security Groups IDs.
replication_server_instance_type(Option<String>)
:Replication Configuration template server instance type.
use_dedicated_replication_server(Option<bool>)
:Replication Configuration template use Dedicated Replication Server.
default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:Replication Configuration template use default large Staging Disk type.
ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:Replication Configuration template EBS encryption.
ebs_encryption_key_arn(Option<String>)
:Replication Configuration template EBS encryption key ARN.
bandwidth_throttling(i64)
:Replication Configuration template bandwidth throttling.
data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:Replication Configuration template data plane routing.
create_public_ip(Option<bool>)
:Replication Configuration template create Public IP.
staging_area_tags(Option<HashMap::<String, String>>)
:Replication Configuration template Staging Area Tags.
use_fips_endpoint(Option<bool>)
:Replication Configuration template use Fips Endpoint.
tags(Option<HashMap::<String, String>>)
:Replication Configuration template Tags.
- On failure, responds with
SdkError<CreateReplicationConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn create_wave(&self) -> CreateWaveFluentBuilder
pub fn create_wave(&self) -> CreateWaveFluentBuilder
Constructs a fluent builder for the CreateWave
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueWave name.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseWave description.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseWave tags.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
CreateWaveOutput
with field(s):wave_id(Option<String>)
:Wave ID.
arn(Option<String>)
:Wave ARN.
name(Option<String>)
:Wave name.
description(Option<String>)
:Wave description.
is_archived(Option<bool>)
:Wave archival status.
wave_aggregated_status(Option<WaveAggregatedStatus>)
:Wave aggregated status.
creation_date_time(Option<String>)
:Wave creation dateTime.
last_modified_date_time(Option<String>)
:Wave last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Wave tags.
- On failure, responds with
SdkError<CreateWaveError>
Source§impl Client
impl Client
Sourcepub fn delete_application(&self) -> DeleteApplicationFluentBuilder
pub fn delete_application(&self) -> DeleteApplicationFluentBuilder
Constructs a fluent builder for the DeleteApplication
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
DeleteApplicationOutput
- On failure, responds with
SdkError<DeleteApplicationError>
Source§impl Client
impl Client
Sourcepub fn delete_connector(&self) -> DeleteConnectorFluentBuilder
pub fn delete_connector(&self) -> DeleteConnectorFluentBuilder
Constructs a fluent builder for the DeleteConnector
operation.
- The fluent builder is configurable:
connector_id(impl Into<String>)
/set_connector_id(Option<String>)
:
required: trueDelete Connector request connector ID.
- On success, responds with
DeleteConnectorOutput
- On failure, responds with
SdkError<DeleteConnectorError>
Source§impl Client
impl Client
Sourcepub fn delete_job(&self) -> DeleteJobFluentBuilder
pub fn delete_job(&self) -> DeleteJobFluentBuilder
Constructs a fluent builder for the DeleteJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueRequest to delete Job from service by Job ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to delete Job from service by Account ID.
- On success, responds with
DeleteJobOutput
- On failure, responds with
SdkError<DeleteJobError>
Source§impl Client
impl Client
Sourcepub fn delete_launch_configuration_template(
&self,
) -> DeleteLaunchConfigurationTemplateFluentBuilder
pub fn delete_launch_configuration_template( &self, ) -> DeleteLaunchConfigurationTemplateFluentBuilder
Constructs a fluent builder for the DeleteLaunchConfigurationTemplate
operation.
- The fluent builder is configurable:
launch_configuration_template_id(impl Into<String>)
/set_launch_configuration_template_id(Option<String>)
:
required: trueID of resource to be deleted.
- On success, responds with
DeleteLaunchConfigurationTemplateOutput
- On failure, responds with
SdkError<DeleteLaunchConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn delete_replication_configuration_template(
&self,
) -> DeleteReplicationConfigurationTemplateFluentBuilder
pub fn delete_replication_configuration_template( &self, ) -> DeleteReplicationConfigurationTemplateFluentBuilder
Constructs a fluent builder for the DeleteReplicationConfigurationTemplate
operation.
- The fluent builder is configurable:
replication_configuration_template_id(impl Into<String>)
/set_replication_configuration_template_id(Option<String>)
:
required: trueRequest to delete Replication Configuration Template from service by Replication Configuration Template ID.
- On success, responds with
DeleteReplicationConfigurationTemplateOutput
- On failure, responds with
SdkError<DeleteReplicationConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn delete_source_server(&self) -> DeleteSourceServerFluentBuilder
pub fn delete_source_server(&self) -> DeleteSourceServerFluentBuilder
Constructs a fluent builder for the DeleteSourceServer
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRequest to delete Source Server from service by Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to delete Source Server from service by Account ID.
- On success, responds with
DeleteSourceServerOutput
- On failure, responds with
SdkError<DeleteSourceServerError>
Source§impl Client
impl Client
Sourcepub fn delete_vcenter_client(&self) -> DeleteVcenterClientFluentBuilder
pub fn delete_vcenter_client(&self) -> DeleteVcenterClientFluentBuilder
Constructs a fluent builder for the DeleteVcenterClient
operation.
- The fluent builder is configurable:
vcenter_client_id(impl Into<String>)
/set_vcenter_client_id(Option<String>)
:
required: trueID of resource to be deleted.
- On success, responds with
DeleteVcenterClientOutput
- On failure, responds with
SdkError<DeleteVcenterClientError>
Source§impl Client
impl Client
Sourcepub fn delete_wave(&self) -> DeleteWaveFluentBuilder
pub fn delete_wave(&self) -> DeleteWaveFluentBuilder
Constructs a fluent builder for the DeleteWave
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
DeleteWaveOutput
- On failure, responds with
SdkError<DeleteWaveError>
Source§impl Client
impl Client
Sourcepub fn describe_job_log_items(&self) -> DescribeJobLogItemsFluentBuilder
pub fn describe_job_log_items(&self) -> DescribeJobLogItemsFluentBuilder
Constructs a fluent builder for the DescribeJobLogItems
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueRequest to describe Job log job ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseRequest to describe Job log item maximum results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest to describe Job log next token.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to describe Job log Account ID.
- On success, responds with
DescribeJobLogItemsOutput
with field(s):items(Option<Vec::<JobLog>>)
:Request to describe Job log response items.
next_token(Option<String>)
:Request to describe Job log response next token.
- On failure, responds with
SdkError<DescribeJobLogItemsError>
Source§impl Client
impl Client
Sourcepub fn describe_jobs(&self) -> DescribeJobsFluentBuilder
pub fn describe_jobs(&self) -> DescribeJobsFluentBuilder
Constructs a fluent builder for the DescribeJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(DescribeJobsRequestFilters)
/set_filters(Option<DescribeJobsRequestFilters>)
:
required: falseRequest to describe Job log filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseRequest to describe job log items by max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest to describe job log items by next token.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to describe job log items by Account ID.
- On success, responds with
DescribeJobsOutput
with field(s):items(Option<Vec::<Job>>)
:Request to describe Job log items.
next_token(Option<String>)
:Request to describe Job response by next token.
- On failure, responds with
SdkError<DescribeJobsError>
Source§impl Client
impl Client
Sourcepub fn describe_launch_configuration_templates(
&self,
) -> DescribeLaunchConfigurationTemplatesFluentBuilder
pub fn describe_launch_configuration_templates( &self, ) -> DescribeLaunchConfigurationTemplatesFluentBuilder
Constructs a fluent builder for the DescribeLaunchConfigurationTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
launch_configuration_template_ids(impl Into<String>)
/set_launch_configuration_template_ids(Option<Vec::<String>>)
:
required: falseRequest to filter Launch Configuration Templates list by Launch Configuration Template ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum results to be returned in DescribeLaunchConfigurationTemplates.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext pagination token returned from DescribeLaunchConfigurationTemplates.
- On success, responds with
DescribeLaunchConfigurationTemplatesOutput
with field(s):items(Option<Vec::<LaunchConfigurationTemplate>>)
:List of items returned by DescribeLaunchConfigurationTemplates.
next_token(Option<String>)
:Next pagination token returned from DescribeLaunchConfigurationTemplates.
- On failure, responds with
SdkError<DescribeLaunchConfigurationTemplatesError>
Source§impl Client
impl Client
Sourcepub fn describe_replication_configuration_templates(
&self,
) -> DescribeReplicationConfigurationTemplatesFluentBuilder
pub fn describe_replication_configuration_templates( &self, ) -> DescribeReplicationConfigurationTemplatesFluentBuilder
Constructs a fluent builder for the DescribeReplicationConfigurationTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
replication_configuration_template_ids(impl Into<String>)
/set_replication_configuration_template_ids(Option<Vec::<String>>)
:
required: falseRequest to describe Replication Configuration template by template IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseRequest to describe Replication Configuration template by max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest to describe Replication Configuration template by next token.
- On success, responds with
DescribeReplicationConfigurationTemplatesOutput
with field(s):items(Option<Vec::<ReplicationConfigurationTemplate>>)
:Request to describe Replication Configuration template by items.
next_token(Option<String>)
:Request to describe Replication Configuration template by next token.
- On failure, responds with
SdkError<DescribeReplicationConfigurationTemplatesError>
Source§impl Client
impl Client
Sourcepub fn describe_source_servers(&self) -> DescribeSourceServersFluentBuilder
pub fn describe_source_servers(&self) -> DescribeSourceServersFluentBuilder
Constructs a fluent builder for the DescribeSourceServers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(DescribeSourceServersRequestFilters)
/set_filters(Option<DescribeSourceServersRequestFilters>)
:
required: falseRequest to filter Source Servers list.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseRequest to filter Source Servers list by maximum results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest to filter Source Servers list by next token.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to filter Source Servers list by Accoun ID.
- On success, responds with
DescribeSourceServersOutput
with field(s):items(Option<Vec::<SourceServer>>)
:Request to filter Source Servers list by item.
next_token(Option<String>)
:Request to filter Source Servers next token.
- On failure, responds with
SdkError<DescribeSourceServersError>
Source§impl Client
impl Client
Sourcepub fn describe_vcenter_clients(&self) -> DescribeVcenterClientsFluentBuilder
pub fn describe_vcenter_clients(&self) -> DescribeVcenterClientsFluentBuilder
Constructs a fluent builder for the DescribeVcenterClients
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum results to be returned in DescribeVcenterClients.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext pagination token to be provided for DescribeVcenterClients.
- On success, responds with
DescribeVcenterClientsOutput
with field(s):items(Option<Vec::<VcenterClient>>)
:List of items returned by DescribeVcenterClients.
next_token(Option<String>)
:Next pagination token returned from DescribeVcenterClients.
- On failure, responds with
SdkError<DescribeVcenterClientsError>
Source§impl Client
impl Client
Sourcepub fn disassociate_applications(&self) -> DisassociateApplicationsFluentBuilder
pub fn disassociate_applications(&self) -> DisassociateApplicationsFluentBuilder
Constructs a fluent builder for the DisassociateApplications
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
application_ids(impl Into<String>)
/set_application_ids(Option<Vec::<String>>)
:
required: trueApplication IDs list.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
DisassociateApplicationsOutput
- On failure, responds with
SdkError<DisassociateApplicationsError>
Source§impl Client
impl Client
Sourcepub fn disassociate_source_servers(
&self,
) -> DisassociateSourceServersFluentBuilder
pub fn disassociate_source_servers( &self, ) -> DisassociateSourceServersFluentBuilder
Constructs a fluent builder for the DisassociateSourceServers
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
source_server_ids(impl Into<String>)
/set_source_server_ids(Option<Vec::<String>>)
:
required: trueSource server IDs list.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
DisassociateSourceServersOutput
- On failure, responds with
SdkError<DisassociateSourceServersError>
Source§impl Client
impl Client
Sourcepub fn disconnect_from_service(&self) -> DisconnectFromServiceFluentBuilder
pub fn disconnect_from_service(&self) -> DisconnectFromServiceFluentBuilder
Constructs a fluent builder for the DisconnectFromService
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRequest to disconnect Source Server from service by Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to disconnect Source Server from service by Account ID.
- On success, responds with
DisconnectFromServiceOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<DisconnectFromServiceError>
Source§impl Client
impl Client
Sourcepub fn finalize_cutover(&self) -> FinalizeCutoverFluentBuilder
pub fn finalize_cutover(&self) -> FinalizeCutoverFluentBuilder
Constructs a fluent builder for the FinalizeCutover
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRequest to finalize Cutover by Source Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to finalize Cutover by Source Account ID.
- On success, responds with
FinalizeCutoverOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<FinalizeCutoverError>
Source§impl Client
impl Client
Sourcepub fn get_launch_configuration(&self) -> GetLaunchConfigurationFluentBuilder
pub fn get_launch_configuration(&self) -> GetLaunchConfigurationFluentBuilder
Constructs a fluent builder for the GetLaunchConfiguration
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRequest to get Launch Configuration information by Source Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to get Launch Configuration information by Account ID.
- On success, responds with
GetLaunchConfigurationOutput
with field(s):source_server_id(Option<String>)
:Launch configuration Source Server ID.
name(Option<String>)
:Launch configuration name.
ec2_launch_template_id(Option<String>)
:Launch configuration EC2 Launch template ID.
launch_disposition(Option<LaunchDisposition>)
:Launch disposition for launch configuration.
target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:Launch configuration Target instance type right sizing method.
copy_private_ip(Option<bool>)
:Copy Private IP during Launch Configuration.
copy_tags(Option<bool>)
:Copy Tags during Launch Configuration.
licensing(Option<Licensing>)
:Launch configuration OS licensing.
boot_mode(Option<BootMode>)
:Launch configuration boot mode.
post_launch_actions(Option<PostLaunchActions>)
:Post Launch Actions to executed on the Test or Cutover instance.
enable_map_auto_tagging(Option<bool>)
:Enable map auto tagging.
map_auto_tagging_mpe_id(Option<String>)
:Map auto tagging MPE ID.
- On failure, responds with
SdkError<GetLaunchConfigurationError>
Source§impl Client
impl Client
Sourcepub fn get_replication_configuration(
&self,
) -> GetReplicationConfigurationFluentBuilder
pub fn get_replication_configuration( &self, ) -> GetReplicationConfigurationFluentBuilder
Constructs a fluent builder for the GetReplicationConfiguration
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRequest to get Replication Configuration by Source Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest to get Replication Configuration by Account ID.
- On success, responds with
GetReplicationConfigurationOutput
with field(s):source_server_id(Option<String>)
:Replication Configuration Source Server ID.
name(Option<String>)
:Replication Configuration name.
staging_area_subnet_id(Option<String>)
:Replication Configuration Staging Area subnet ID.
associate_default_security_group(Option<bool>)
:Replication Configuration associate default Application Migration Service Security Group.
replication_servers_security_groups_ids(Option<Vec::<String>>)
:Replication Configuration Replication Server Security Group IDs.
replication_server_instance_type(Option<String>)
:Replication Configuration Replication Server instance type.
use_dedicated_replication_server(Option<bool>)
:Replication Configuration use Dedicated Replication Server.
default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:Replication Configuration use default large Staging Disks.
replicated_disks(Option<Vec::<ReplicationConfigurationReplicatedDisk>>)
:Replication Configuration replicated disks.
ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:Replication Configuration EBS encryption.
ebs_encryption_key_arn(Option<String>)
:Replication Configuration EBS encryption key ARN.
bandwidth_throttling(i64)
:Replication Configuration set bandwidth throttling.
data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:Replication Configuration data plane routing.
create_public_ip(Option<bool>)
:Replication Configuration create Public IP.
staging_area_tags(Option<HashMap::<String, String>>)
:Replication Configuration Staging Area tags.
use_fips_endpoint(Option<bool>)
:Replication Configuration use Fips Endpoint.
- On failure, responds with
SdkError<GetReplicationConfigurationError>
Source§impl Client
impl Client
Sourcepub fn initialize_service(&self) -> InitializeServiceFluentBuilder
pub fn initialize_service(&self) -> InitializeServiceFluentBuilder
Constructs a fluent builder for the InitializeService
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
InitializeServiceOutput
- On failure, responds with
SdkError<InitializeServiceError>
Source§impl Client
impl Client
Sourcepub fn list_applications(&self) -> ListApplicationsFluentBuilder
pub fn list_applications(&self) -> ListApplicationsFluentBuilder
Constructs a fluent builder for the ListApplications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(ListApplicationsRequestFilters)
/set_filters(Option<ListApplicationsRequestFilters>)
:
required: falseApplications list filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum results to return when listing applications.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest next token.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseApplications list Account ID.
- On success, responds with
ListApplicationsOutput
with field(s):items(Option<Vec::<Application>>)
:Applications list.
next_token(Option<String>)
:Response next token.
- On failure, responds with
SdkError<ListApplicationsError>
Source§impl Client
impl Client
Sourcepub fn list_connectors(&self) -> ListConnectorsFluentBuilder
pub fn list_connectors(&self) -> ListConnectorsFluentBuilder
Constructs a fluent builder for the ListConnectors
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(ListConnectorsRequestFilters)
/set_filters(Option<ListConnectorsRequestFilters>)
:
required: falseList Connectors Request filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList Connectors Request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList Connectors Request next token.
- On success, responds with
ListConnectorsOutput
with field(s):items(Option<Vec::<Connector>>)
:List connectors response items.
next_token(Option<String>)
:List connectors response next token.
- On failure, responds with
SdkError<ListConnectorsError>
Source§impl Client
impl Client
Sourcepub fn list_export_errors(&self) -> ListExportErrorsFluentBuilder
pub fn list_export_errors(&self) -> ListExportErrorsFluentBuilder
Constructs a fluent builder for the ListExportErrors
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
export_id(impl Into<String>)
/set_export_id(Option<String>)
:
required: trueList export errors request export id.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList export errors request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList export errors request next token.
- On success, responds with
ListExportErrorsOutput
with field(s):items(Option<Vec::<ExportTaskError>>)
:List export errors response items.
next_token(Option<String>)
:List export errors response next token.
- On failure, responds with
SdkError<ListExportErrorsError>
Source§impl Client
impl Client
Sourcepub fn list_exports(&self) -> ListExportsFluentBuilder
pub fn list_exports(&self) -> ListExportsFluentBuilder
Constructs a fluent builder for the ListExports
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(ListExportsRequestFilters)
/set_filters(Option<ListExportsRequestFilters>)
:
required: falseList exports request filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList export request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList export request next token.
- On success, responds with
ListExportsOutput
with field(s):items(Option<Vec::<ExportTask>>)
:List export response items.
next_token(Option<String>)
:List export response next token.
- On failure, responds with
SdkError<ListExportsError>
Source§impl Client
impl Client
Sourcepub fn list_import_errors(&self) -> ListImportErrorsFluentBuilder
pub fn list_import_errors(&self) -> ListImportErrorsFluentBuilder
Constructs a fluent builder for the ListImportErrors
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
import_id(impl Into<String>)
/set_import_id(Option<String>)
:
required: trueList import errors request import id.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList import errors request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList import errors request next token.
- On success, responds with
ListImportErrorsOutput
with field(s):items(Option<Vec::<ImportTaskError>>)
:List imports errors response items.
next_token(Option<String>)
:List imports errors response next token.
- On failure, responds with
SdkError<ListImportErrorsError>
Source§impl Client
impl Client
Sourcepub fn list_imports(&self) -> ListImportsFluentBuilder
pub fn list_imports(&self) -> ListImportsFluentBuilder
Constructs a fluent builder for the ListImports
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(ListImportsRequestFilters)
/set_filters(Option<ListImportsRequestFilters>)
:
required: falseList imports request filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList imports request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList imports request next token.
- On success, responds with
ListImportsOutput
with field(s):items(Option<Vec::<ImportTask>>)
:List import response items.
next_token(Option<String>)
:List import response next token.
- On failure, responds with
SdkError<ListImportsError>
Source§impl Client
impl Client
Sourcepub fn list_managed_accounts(&self) -> ListManagedAccountsFluentBuilder
pub fn list_managed_accounts(&self) -> ListManagedAccountsFluentBuilder
Constructs a fluent builder for the ListManagedAccounts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseList managed accounts request max results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseList managed accounts request next token.
- On success, responds with
ListManagedAccountsOutput
with field(s):items(Vec::<ManagedAccount>)
:List managed accounts response items.
next_token(Option<String>)
:List managed accounts response next token.
- On failure, responds with
SdkError<ListManagedAccountsError>
Source§impl Client
impl Client
Sourcepub fn list_source_server_actions(&self) -> ListSourceServerActionsFluentBuilder
pub fn list_source_server_actions(&self) -> ListSourceServerActionsFluentBuilder
Constructs a fluent builder for the ListSourceServerActions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueSource server ID.
filters(SourceServerActionsRequestFilters)
/set_filters(Option<SourceServerActionsRequestFilters>)
:
required: falseFilters to apply when listing source server post migration custom actions.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum amount of items to return when listing source server post migration custom actions.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext token to use when listing source server post migration custom actions.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID to return when listing source server post migration custom actions.
- On success, responds with
ListSourceServerActionsOutput
with field(s):items(Option<Vec::<SourceServerActionDocument>>)
:List of source server post migration custom actions.
next_token(Option<String>)
:Next token returned when listing source server post migration custom actions.
- On failure, responds with
SdkError<ListSourceServerActionsError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueList tags for resource request by ARN.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap::<String, String>>)
:List tags for resource response.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_template_actions(&self) -> ListTemplateActionsFluentBuilder
pub fn list_template_actions(&self) -> ListTemplateActionsFluentBuilder
Constructs a fluent builder for the ListTemplateActions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
launch_configuration_template_id(impl Into<String>)
/set_launch_configuration_template_id(Option<String>)
:
required: trueLaunch configuration template ID.
filters(TemplateActionsRequestFilters)
/set_filters(Option<TemplateActionsRequestFilters>)
:
required: falseFilters to apply when listing template post migration custom actions.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum amount of items to return when listing template post migration custom actions.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext token to use when listing template post migration custom actions.
- On success, responds with
ListTemplateActionsOutput
with field(s):items(Option<Vec::<TemplateActionDocument>>)
:List of template post migration custom actions.
next_token(Option<String>)
:Next token returned when listing template post migration custom actions.
- On failure, responds with
SdkError<ListTemplateActionsError>
Source§impl Client
impl Client
Sourcepub fn list_waves(&self) -> ListWavesFluentBuilder
pub fn list_waves(&self) -> ListWavesFluentBuilder
Constructs a fluent builder for the ListWaves
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(ListWavesRequestFilters)
/set_filters(Option<ListWavesRequestFilters>)
:
required: falseWaves list filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseMaximum results to return when listing waves.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseRequest next token.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRequest account ID.
- On success, responds with
ListWavesOutput
with field(s):items(Option<Vec::<Wave>>)
:Waves list.
next_token(Option<String>)
:Response next token.
- On failure, responds with
SdkError<ListWavesError>
Source§impl Client
impl Client
Sourcepub fn mark_as_archived(&self) -> MarkAsArchivedFluentBuilder
pub fn mark_as_archived(&self) -> MarkAsArchivedFluentBuilder
Constructs a fluent builder for the MarkAsArchived
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueMark as archived by Source Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseMark as archived by Account ID.
- On success, responds with
MarkAsArchivedOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<MarkAsArchivedError>
Source§impl Client
impl Client
Sourcepub fn pause_replication(&self) -> PauseReplicationFluentBuilder
pub fn pause_replication(&self) -> PauseReplicationFluentBuilder
Constructs a fluent builder for the PauseReplication
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: truePause Replication Request source server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falsePause Replication Request account ID.
- On success, responds with
PauseReplicationOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<PauseReplicationError>
Source§impl Client
impl Client
Sourcepub fn put_source_server_action(&self) -> PutSourceServerActionFluentBuilder
pub fn put_source_server_action(&self) -> PutSourceServerActionFluentBuilder
Constructs a fluent builder for the PutSourceServerAction
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueSource server ID.
action_name(impl Into<String>)
/set_action_name(Option<String>)
:
required: trueSource server post migration custom action name.
document_identifier(impl Into<String>)
/set_document_identifier(Option<String>)
:
required: trueSource server post migration custom action document identifier.
order(i32)
/set_order(Option<i32>)
:
required: trueSource server post migration custom action order.
action_id(impl Into<String>)
/set_action_id(Option<String>)
:
required: trueSource server post migration custom action ID.
document_version(impl Into<String>)
/set_document_version(Option<String>)
:
required: falseSource server post migration custom action document version.
active(bool)
/set_active(Option<bool>)
:
required: falseSource server post migration custom action active status.
timeout_seconds(i32)
/set_timeout_seconds(Option<i32>)
:
required: falseSource server post migration custom action timeout in seconds.
must_succeed_for_cutover(bool)
/set_must_succeed_for_cutover(Option<bool>)
:
required: falseSource server post migration custom action must succeed for cutover.
parameters(impl Into<String>, Vec::<SsmParameterStoreParameter>)
/set_parameters(Option<HashMap::<String, Vec::<SsmParameterStoreParameter>>>)
:
required: falseSource server post migration custom action parameters.
external_parameters(impl Into<String>, SsmExternalParameter)
/set_external_parameters(Option<HashMap::<String, SsmExternalParameter>>)
:
required: falseSource server post migration custom action external parameters.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseSource server post migration custom action description.
category(ActionCategory)
/set_category(Option<ActionCategory>)
:
required: falseSource server post migration custom action category.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseSource server post migration custom account ID.
- On success, responds with
PutSourceServerActionOutput
with field(s):action_id(Option<String>)
:Source server post migration custom action ID.
action_name(Option<String>)
:Source server post migration custom action name.
document_identifier(Option<String>)
:Source server post migration custom action document identifier.
order(Option<i32>)
:Source server post migration custom action order.
document_version(Option<String>)
:Source server post migration custom action document version.
active(Option<bool>)
:Source server post migration custom action active status.
timeout_seconds(Option<i32>)
:Source server post migration custom action timeout in seconds.
must_succeed_for_cutover(Option<bool>)
:Source server post migration custom action must succeed for cutover.
parameters(Option<HashMap::<String, Vec::<SsmParameterStoreParameter>>>)
:Source server post migration custom action parameters.
external_parameters(Option<HashMap::<String, SsmExternalParameter>>)
:Source server post migration custom action external parameters.
description(Option<String>)
:Source server post migration custom action description.
category(Option<ActionCategory>)
:Source server post migration custom action category.
- On failure, responds with
SdkError<PutSourceServerActionError>
Source§impl Client
impl Client
Sourcepub fn put_template_action(&self) -> PutTemplateActionFluentBuilder
pub fn put_template_action(&self) -> PutTemplateActionFluentBuilder
Constructs a fluent builder for the PutTemplateAction
operation.
- The fluent builder is configurable:
launch_configuration_template_id(impl Into<String>)
/set_launch_configuration_template_id(Option<String>)
:
required: trueLaunch configuration template ID.
action_name(impl Into<String>)
/set_action_name(Option<String>)
:
required: trueTemplate post migration custom action name.
document_identifier(impl Into<String>)
/set_document_identifier(Option<String>)
:
required: trueTemplate post migration custom action document identifier.
order(i32)
/set_order(Option<i32>)
:
required: trueTemplate post migration custom action order.
action_id(impl Into<String>)
/set_action_id(Option<String>)
:
required: trueTemplate post migration custom action ID.
document_version(impl Into<String>)
/set_document_version(Option<String>)
:
required: falseTemplate post migration custom action document version.
active(bool)
/set_active(Option<bool>)
:
required: falseTemplate post migration custom action active status.
timeout_seconds(i32)
/set_timeout_seconds(Option<i32>)
:
required: falseTemplate post migration custom action timeout in seconds.
must_succeed_for_cutover(bool)
/set_must_succeed_for_cutover(Option<bool>)
:
required: falseTemplate post migration custom action must succeed for cutover.
parameters(impl Into<String>, Vec::<SsmParameterStoreParameter>)
/set_parameters(Option<HashMap::<String, Vec::<SsmParameterStoreParameter>>>)
:
required: falseTemplate post migration custom action parameters.
operating_system(impl Into<String>)
/set_operating_system(Option<String>)
:
required: falseOperating system eligible for this template post migration custom action.
external_parameters(impl Into<String>, SsmExternalParameter)
/set_external_parameters(Option<HashMap::<String, SsmExternalParameter>>)
:
required: falseTemplate post migration custom action external parameters.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseTemplate post migration custom action description.
category(ActionCategory)
/set_category(Option<ActionCategory>)
:
required: falseTemplate post migration custom action category.
- On success, responds with
PutTemplateActionOutput
with field(s):action_id(Option<String>)
:Template post migration custom action ID.
action_name(Option<String>)
:Template post migration custom action name.
document_identifier(Option<String>)
:Template post migration custom action document identifier.
order(Option<i32>)
:Template post migration custom action order.
document_version(Option<String>)
:Template post migration custom action document version.
active(Option<bool>)
:Template post migration custom action active status.
timeout_seconds(Option<i32>)
:Template post migration custom action timeout in seconds.
must_succeed_for_cutover(Option<bool>)
:Template post migration custom action must succeed for cutover.
parameters(Option<HashMap::<String, Vec::<SsmParameterStoreParameter>>>)
:Template post migration custom action parameters.
operating_system(Option<String>)
:Operating system eligible for this template post migration custom action.
external_parameters(Option<HashMap::<String, SsmExternalParameter>>)
:Template post migration custom action external parameters.
description(Option<String>)
:Template post migration custom action description.
category(Option<ActionCategory>)
:Template post migration custom action category.
- On failure, responds with
SdkError<PutTemplateActionError>
Source§impl Client
impl Client
Sourcepub fn remove_source_server_action(
&self,
) -> RemoveSourceServerActionFluentBuilder
pub fn remove_source_server_action( &self, ) -> RemoveSourceServerActionFluentBuilder
Constructs a fluent builder for the RemoveSourceServerAction
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueSource server ID of the post migration custom action to remove.
action_id(impl Into<String>)
/set_action_id(Option<String>)
:
required: trueSource server post migration custom action ID to remove.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseSource server post migration account ID.
- On success, responds with
RemoveSourceServerActionOutput
- On failure, responds with
SdkError<RemoveSourceServerActionError>
Source§impl Client
impl Client
Sourcepub fn remove_template_action(&self) -> RemoveTemplateActionFluentBuilder
pub fn remove_template_action(&self) -> RemoveTemplateActionFluentBuilder
Constructs a fluent builder for the RemoveTemplateAction
operation.
- The fluent builder is configurable:
launch_configuration_template_id(impl Into<String>)
/set_launch_configuration_template_id(Option<String>)
:
required: trueLaunch configuration template ID of the post migration custom action to remove.
action_id(impl Into<String>)
/set_action_id(Option<String>)
:
required: trueTemplate post migration custom action ID to remove.
- On success, responds with
RemoveTemplateActionOutput
- On failure, responds with
SdkError<RemoveTemplateActionError>
Source§impl Client
impl Client
Sourcepub fn resume_replication(&self) -> ResumeReplicationFluentBuilder
pub fn resume_replication(&self) -> ResumeReplicationFluentBuilder
Constructs a fluent builder for the ResumeReplication
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueResume Replication Request source server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseResume Replication Request account ID.
- On success, responds with
ResumeReplicationOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<ResumeReplicationError>
Source§impl Client
impl Client
Sourcepub fn retry_data_replication(&self) -> RetryDataReplicationFluentBuilder
pub fn retry_data_replication(&self) -> RetryDataReplicationFluentBuilder
Constructs a fluent builder for the RetryDataReplication
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueRetry data replication for Source Server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseRetry data replication for Account ID.
- On success, responds with
RetryDataReplicationOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<RetryDataReplicationError>
Source§impl Client
impl Client
Sourcepub fn start_cutover(&self) -> StartCutoverFluentBuilder
pub fn start_cutover(&self) -> StartCutoverFluentBuilder
Constructs a fluent builder for the StartCutover
operation.
- The fluent builder is configurable:
source_server_ids(impl Into<String>)
/set_source_server_ids(Option<Vec::<String>>)
:
required: trueStart Cutover by Source Server IDs.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseStart Cutover by Tags.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseStart Cutover by Account IDs
- On success, responds with
StartCutoverOutput
with field(s):job(Option<Job>)
:Start Cutover Job response.
- On failure, responds with
SdkError<StartCutoverError>
Source§impl Client
impl Client
Sourcepub fn start_export(&self) -> StartExportFluentBuilder
pub fn start_export(&self) -> StartExportFluentBuilder
Constructs a fluent builder for the StartExport
operation.
- The fluent builder is configurable:
s3_bucket(impl Into<String>)
/set_s3_bucket(Option<String>)
:
required: trueStart export request s3 bucket.
s3_key(impl Into<String>)
/set_s3_key(Option<String>)
:
required: trueStart export request s3key.
s3_bucket_owner(impl Into<String>)
/set_s3_bucket_owner(Option<String>)
:
required: falseStart export request s3 bucket owner.
- On success, responds with
StartExportOutput
with field(s):export_task(Option<ExportTask>)
:Start export response export task.
- On failure, responds with
SdkError<StartExportError>
Source§impl Client
impl Client
Sourcepub fn start_import(&self) -> StartImportFluentBuilder
pub fn start_import(&self) -> StartImportFluentBuilder
Constructs a fluent builder for the StartImport
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseStart import request client token.
s3_bucket_source(S3BucketSource)
/set_s3_bucket_source(Option<S3BucketSource>)
:
required: trueStart import request s3 bucket source.
- On success, responds with
StartImportOutput
with field(s):import_task(Option<ImportTask>)
:Start import response import task.
- On failure, responds with
SdkError<StartImportError>
Source§impl Client
impl Client
Sourcepub fn start_replication(&self) -> StartReplicationFluentBuilder
pub fn start_replication(&self) -> StartReplicationFluentBuilder
Constructs a fluent builder for the StartReplication
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueID of source server on which to start replication.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID on which to start replication.
- On success, responds with
StartReplicationOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<StartReplicationError>
Source§impl Client
impl Client
Sourcepub fn start_test(&self) -> StartTestFluentBuilder
pub fn start_test(&self) -> StartTestFluentBuilder
Constructs a fluent builder for the StartTest
operation.
- The fluent builder is configurable:
source_server_ids(impl Into<String>)
/set_source_server_ids(Option<Vec::<String>>)
:
required: trueStart Test for Source Server IDs.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseStart Test by Tags.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseStart Test for Account ID.
- On success, responds with
StartTestOutput
with field(s):job(Option<Job>)
:Start Test Job response.
- On failure, responds with
SdkError<StartTestError>
Source§impl Client
impl Client
Sourcepub fn stop_replication(&self) -> StopReplicationFluentBuilder
pub fn stop_replication(&self) -> StopReplicationFluentBuilder
Constructs a fluent builder for the StopReplication
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueStop Replication Request source server ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseStop Replication Request account ID.
- On success, responds with
StopReplicationOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<StopReplicationError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueTag resource by ARN.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: trueTag resource by Tags.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn terminate_target_instances(
&self,
) -> TerminateTargetInstancesFluentBuilder
pub fn terminate_target_instances( &self, ) -> TerminateTargetInstancesFluentBuilder
Constructs a fluent builder for the TerminateTargetInstances
operation.
- The fluent builder is configurable:
source_server_ids(impl Into<String>)
/set_source_server_ids(Option<Vec::<String>>)
:
required: trueTerminate Target instance by Source Server IDs.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTerminate Target instance by Tags.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseTerminate Target instance by Account ID
- On success, responds with
TerminateTargetInstancesOutput
with field(s):job(Option<Job>)
:Terminate Target instance Job response.
- On failure, responds with
SdkError<TerminateTargetInstancesError>
Source§impl Client
impl Client
Sourcepub fn unarchive_application(&self) -> UnarchiveApplicationFluentBuilder
pub fn unarchive_application(&self) -> UnarchiveApplicationFluentBuilder
Constructs a fluent builder for the UnarchiveApplication
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
UnarchiveApplicationOutput
with field(s):application_id(Option<String>)
:Application ID.
arn(Option<String>)
:Application ARN.
name(Option<String>)
:Application name.
description(Option<String>)
:Application description.
is_archived(Option<bool>)
:Application archival status.
application_aggregated_status(Option<ApplicationAggregatedStatus>)
:Application aggregated status.
creation_date_time(Option<String>)
:Application creation dateTime.
last_modified_date_time(Option<String>)
:Application last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Application tags.
wave_id(Option<String>)
:Application wave ID.
- On failure, responds with
SdkError<UnarchiveApplicationError>
Source§impl Client
impl Client
Sourcepub fn unarchive_wave(&self) -> UnarchiveWaveFluentBuilder
pub fn unarchive_wave(&self) -> UnarchiveWaveFluentBuilder
Constructs a fluent builder for the UnarchiveWave
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
UnarchiveWaveOutput
with field(s):wave_id(Option<String>)
:Wave ID.
arn(Option<String>)
:Wave ARN.
name(Option<String>)
:Wave name.
description(Option<String>)
:Wave description.
is_archived(Option<bool>)
:Wave archival status.
wave_aggregated_status(Option<WaveAggregatedStatus>)
:Wave aggregated status.
creation_date_time(Option<String>)
:Wave creation dateTime.
last_modified_date_time(Option<String>)
:Wave last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Wave tags.
- On failure, responds with
SdkError<UnarchiveWaveError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueUntag resource by ARN.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueUntag resource by Keys.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_application(&self) -> UpdateApplicationFluentBuilder
pub fn update_application(&self) -> UpdateApplicationFluentBuilder
Constructs a fluent builder for the UpdateApplication
operation.
- The fluent builder is configurable:
application_id(impl Into<String>)
/set_application_id(Option<String>)
:
required: trueApplication ID.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseApplication name.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseApplication description.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
UpdateApplicationOutput
with field(s):application_id(Option<String>)
:Application ID.
arn(Option<String>)
:Application ARN.
name(Option<String>)
:Application name.
description(Option<String>)
:Application description.
is_archived(Option<bool>)
:Application archival status.
application_aggregated_status(Option<ApplicationAggregatedStatus>)
:Application aggregated status.
creation_date_time(Option<String>)
:Application creation dateTime.
last_modified_date_time(Option<String>)
:Application last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Application tags.
wave_id(Option<String>)
:Application wave ID.
- On failure, responds with
SdkError<UpdateApplicationError>
Source§impl Client
impl Client
Sourcepub fn update_connector(&self) -> UpdateConnectorFluentBuilder
pub fn update_connector(&self) -> UpdateConnectorFluentBuilder
Constructs a fluent builder for the UpdateConnector
operation.
- The fluent builder is configurable:
connector_id(impl Into<String>)
/set_connector_id(Option<String>)
:
required: trueUpdate Connector request connector ID.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseUpdate Connector request name.
ssm_command_config(ConnectorSsmCommandConfig)
/set_ssm_command_config(Option<ConnectorSsmCommandConfig>)
:
required: falseUpdate Connector request SSM command config.
- On success, responds with
UpdateConnectorOutput
with field(s):connector_id(Option<String>)
:Connector ID.
name(Option<String>)
:Connector name.
ssm_instance_id(Option<String>)
:Connector SSM instance ID.
arn(Option<String>)
:Connector arn.
tags(Option<HashMap::<String, String>>)
:Connector tags.
ssm_command_config(Option<ConnectorSsmCommandConfig>)
:Connector SSM command config.
- On failure, responds with
SdkError<UpdateConnectorError>
Source§impl Client
impl Client
Sourcepub fn update_launch_configuration(
&self,
) -> UpdateLaunchConfigurationFluentBuilder
pub fn update_launch_configuration( &self, ) -> UpdateLaunchConfigurationFluentBuilder
Constructs a fluent builder for the UpdateLaunchConfiguration
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueUpdate Launch configuration by Source Server ID request.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseUpdate Launch configuration name request.
launch_disposition(LaunchDisposition)
/set_launch_disposition(Option<LaunchDisposition>)
:
required: falseUpdate Launch configuration launch disposition request.
target_instance_type_right_sizing_method(TargetInstanceTypeRightSizingMethod)
/set_target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:
required: falseUpdate Launch configuration Target instance right sizing request.
copy_private_ip(bool)
/set_copy_private_ip(Option<bool>)
:
required: falseUpdate Launch configuration copy Private IP request.
copy_tags(bool)
/set_copy_tags(Option<bool>)
:
required: falseUpdate Launch configuration copy Tags request.
licensing(Licensing)
/set_licensing(Option<Licensing>)
:
required: falseUpdate Launch configuration licensing request.
boot_mode(BootMode)
/set_boot_mode(Option<BootMode>)
:
required: falseUpdate Launch configuration boot mode request.
post_launch_actions(PostLaunchActions)
/set_post_launch_actions(Option<PostLaunchActions>)
:
required: falsePost Launch Actions to executed on the Test or Cutover instance.
enable_map_auto_tagging(bool)
/set_enable_map_auto_tagging(Option<bool>)
:
required: falseEnable map auto tagging.
map_auto_tagging_mpe_id(impl Into<String>)
/set_map_auto_tagging_mpe_id(Option<String>)
:
required: falseLaunch configuration map auto tagging MPE ID.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseUpdate Launch configuration Account ID.
- On success, responds with
UpdateLaunchConfigurationOutput
with field(s):source_server_id(Option<String>)
:Launch configuration Source Server ID.
name(Option<String>)
:Launch configuration name.
ec2_launch_template_id(Option<String>)
:Launch configuration EC2 Launch template ID.
launch_disposition(Option<LaunchDisposition>)
:Launch disposition for launch configuration.
target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:Launch configuration Target instance type right sizing method.
copy_private_ip(Option<bool>)
:Copy Private IP during Launch Configuration.
copy_tags(Option<bool>)
:Copy Tags during Launch Configuration.
licensing(Option<Licensing>)
:Launch configuration OS licensing.
boot_mode(Option<BootMode>)
:Launch configuration boot mode.
post_launch_actions(Option<PostLaunchActions>)
:Post Launch Actions to executed on the Test or Cutover instance.
enable_map_auto_tagging(Option<bool>)
:Enable map auto tagging.
map_auto_tagging_mpe_id(Option<String>)
:Map auto tagging MPE ID.
- On failure, responds with
SdkError<UpdateLaunchConfigurationError>
Source§impl Client
impl Client
Sourcepub fn update_launch_configuration_template(
&self,
) -> UpdateLaunchConfigurationTemplateFluentBuilder
pub fn update_launch_configuration_template( &self, ) -> UpdateLaunchConfigurationTemplateFluentBuilder
Constructs a fluent builder for the UpdateLaunchConfigurationTemplate
operation.
- The fluent builder is configurable:
launch_configuration_template_id(impl Into<String>)
/set_launch_configuration_template_id(Option<String>)
:
required: trueLaunch Configuration Template ID.
post_launch_actions(PostLaunchActions)
/set_post_launch_actions(Option<PostLaunchActions>)
:
required: falsePost Launch Action to execute on the Test or Cutover instance.
enable_map_auto_tagging(bool)
/set_enable_map_auto_tagging(Option<bool>)
:
required: falseEnable map auto tagging.
map_auto_tagging_mpe_id(impl Into<String>)
/set_map_auto_tagging_mpe_id(Option<String>)
:
required: falseLaunch configuration template map auto tagging MPE ID.
launch_disposition(LaunchDisposition)
/set_launch_disposition(Option<LaunchDisposition>)
:
required: falseLaunch disposition.
target_instance_type_right_sizing_method(TargetInstanceTypeRightSizingMethod)
/set_target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:
required: falseTarget instance type right-sizing method.
copy_private_ip(bool)
/set_copy_private_ip(Option<bool>)
:
required: falseCopy private Ip.
associate_public_ip_address(bool)
/set_associate_public_ip_address(Option<bool>)
:
required: falseAssociate public Ip address.
copy_tags(bool)
/set_copy_tags(Option<bool>)
:
required: falseCopy tags.
licensing(Licensing)
/set_licensing(Option<Licensing>)
:
required: falseConfigure Licensing.
boot_mode(BootMode)
/set_boot_mode(Option<BootMode>)
:
required: falseLaunch configuration template boot mode.
small_volume_max_size(i64)
/set_small_volume_max_size(Option<i64>)
:
required: falseSmall volume maximum size.
small_volume_conf(LaunchTemplateDiskConf)
/set_small_volume_conf(Option<LaunchTemplateDiskConf>)
:
required: falseSmall volume config.
large_volume_conf(LaunchTemplateDiskConf)
/set_large_volume_conf(Option<LaunchTemplateDiskConf>)
:
required: falseLarge volume config.
- On success, responds with
UpdateLaunchConfigurationTemplateOutput
with field(s):launch_configuration_template_id(String)
:ID of the Launch Configuration Template.
arn(Option<String>)
:ARN of the Launch Configuration Template.
post_launch_actions(Option<PostLaunchActions>)
:Post Launch Actions of the Launch Configuration Template.
enable_map_auto_tagging(Option<bool>)
:Enable map auto tagging.
map_auto_tagging_mpe_id(Option<String>)
:Launch configuration template map auto tagging MPE ID.
tags(Option<HashMap::<String, String>>)
:Tags of the Launch Configuration Template.
ec2_launch_template_id(Option<String>)
:EC2 launch template ID.
launch_disposition(Option<LaunchDisposition>)
:Launch disposition.
target_instance_type_right_sizing_method(Option<TargetInstanceTypeRightSizingMethod>)
:Target instance type right-sizing method.
copy_private_ip(Option<bool>)
:Copy private Ip.
associate_public_ip_address(Option<bool>)
:Associate public Ip address.
copy_tags(Option<bool>)
:Copy tags.
licensing(Option<Licensing>)
:Configure Licensing.
boot_mode(Option<BootMode>)
:Launch configuration template boot mode.
small_volume_max_size(i64)
:Small volume maximum size.
small_volume_conf(Option<LaunchTemplateDiskConf>)
:Small volume config.
large_volume_conf(Option<LaunchTemplateDiskConf>)
:Large volume config.
- On failure, responds with
SdkError<UpdateLaunchConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn update_replication_configuration(
&self,
) -> UpdateReplicationConfigurationFluentBuilder
pub fn update_replication_configuration( &self, ) -> UpdateReplicationConfigurationFluentBuilder
Constructs a fluent builder for the UpdateReplicationConfiguration
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueUpdate replication configuration Source Server ID request.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseUpdate replication configuration name request.
staging_area_subnet_id(impl Into<String>)
/set_staging_area_subnet_id(Option<String>)
:
required: falseUpdate replication configuration Staging Area subnet request.
associate_default_security_group(bool)
/set_associate_default_security_group(Option<bool>)
:
required: falseUpdate replication configuration associate default Application Migration Service Security group request.
replication_servers_security_groups_ids(impl Into<String>)
/set_replication_servers_security_groups_ids(Option<Vec::<String>>)
:
required: falseUpdate replication configuration Replication Server Security Groups IDs request.
replication_server_instance_type(impl Into<String>)
/set_replication_server_instance_type(Option<String>)
:
required: falseUpdate replication configuration Replication Server instance type request.
use_dedicated_replication_server(bool)
/set_use_dedicated_replication_server(Option<bool>)
:
required: falseUpdate replication configuration use dedicated Replication Server request.
default_large_staging_disk_type(ReplicationConfigurationDefaultLargeStagingDiskType)
/set_default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:
required: falseUpdate replication configuration use default large Staging Disk type request.
replicated_disks(ReplicationConfigurationReplicatedDisk)
/set_replicated_disks(Option<Vec::<ReplicationConfigurationReplicatedDisk>>)
:
required: falseUpdate replication configuration replicated disks request.
ebs_encryption(ReplicationConfigurationEbsEncryption)
/set_ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:
required: falseUpdate replication configuration EBS encryption request.
ebs_encryption_key_arn(impl Into<String>)
/set_ebs_encryption_key_arn(Option<String>)
:
required: falseUpdate replication configuration EBS encryption key ARN request.
bandwidth_throttling(i64)
/set_bandwidth_throttling(Option<i64>)
:
required: falseUpdate replication configuration bandwidth throttling request.
data_plane_routing(ReplicationConfigurationDataPlaneRouting)
/set_data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:
required: falseUpdate replication configuration data plane routing request.
create_public_ip(bool)
/set_create_public_ip(Option<bool>)
:
required: falseUpdate replication configuration create Public IP request.
staging_area_tags(impl Into<String>, impl Into<String>)
/set_staging_area_tags(Option<HashMap::<String, String>>)
:
required: falseUpdate replication configuration Staging Area Tags request.
use_fips_endpoint(bool)
/set_use_fips_endpoint(Option<bool>)
:
required: falseUpdate replication configuration use Fips Endpoint.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseUpdate replication configuration Account ID request.
- On success, responds with
UpdateReplicationConfigurationOutput
with field(s):source_server_id(Option<String>)
:Replication Configuration Source Server ID.
name(Option<String>)
:Replication Configuration name.
staging_area_subnet_id(Option<String>)
:Replication Configuration Staging Area subnet ID.
associate_default_security_group(Option<bool>)
:Replication Configuration associate default Application Migration Service Security Group.
replication_servers_security_groups_ids(Option<Vec::<String>>)
:Replication Configuration Replication Server Security Group IDs.
replication_server_instance_type(Option<String>)
:Replication Configuration Replication Server instance type.
use_dedicated_replication_server(Option<bool>)
:Replication Configuration use Dedicated Replication Server.
default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:Replication Configuration use default large Staging Disks.
replicated_disks(Option<Vec::<ReplicationConfigurationReplicatedDisk>>)
:Replication Configuration replicated disks.
ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:Replication Configuration EBS encryption.
ebs_encryption_key_arn(Option<String>)
:Replication Configuration EBS encryption key ARN.
bandwidth_throttling(i64)
:Replication Configuration set bandwidth throttling.
data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:Replication Configuration data plane routing.
create_public_ip(Option<bool>)
:Replication Configuration create Public IP.
staging_area_tags(Option<HashMap::<String, String>>)
:Replication Configuration Staging Area tags.
use_fips_endpoint(Option<bool>)
:Replication Configuration use Fips Endpoint.
- On failure, responds with
SdkError<UpdateReplicationConfigurationError>
Source§impl Client
impl Client
Sourcepub fn update_replication_configuration_template(
&self,
) -> UpdateReplicationConfigurationTemplateFluentBuilder
pub fn update_replication_configuration_template( &self, ) -> UpdateReplicationConfigurationTemplateFluentBuilder
Constructs a fluent builder for the UpdateReplicationConfigurationTemplate
operation.
- The fluent builder is configurable:
replication_configuration_template_id(impl Into<String>)
/set_replication_configuration_template_id(Option<String>)
:
required: trueUpdate replication configuration template template ID request.
arn(impl Into<String>)
/set_arn(Option<String>)
:
required: falseUpdate replication configuration template ARN request.
staging_area_subnet_id(impl Into<String>)
/set_staging_area_subnet_id(Option<String>)
:
required: falseUpdate replication configuration template Staging Area subnet ID request.
associate_default_security_group(bool)
/set_associate_default_security_group(Option<bool>)
:
required: falseUpdate replication configuration template associate default Application Migration Service Security group request.
replication_servers_security_groups_ids(impl Into<String>)
/set_replication_servers_security_groups_ids(Option<Vec::<String>>)
:
required: falseUpdate replication configuration template Replication Server Security groups IDs request.
replication_server_instance_type(impl Into<String>)
/set_replication_server_instance_type(Option<String>)
:
required: falseUpdate replication configuration template Replication Server instance type request.
use_dedicated_replication_server(bool)
/set_use_dedicated_replication_server(Option<bool>)
:
required: falseUpdate replication configuration template use dedicated Replication Server request.
default_large_staging_disk_type(ReplicationConfigurationDefaultLargeStagingDiskType)
/set_default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:
required: falseUpdate replication configuration template use default large Staging Disk type request.
ebs_encryption(ReplicationConfigurationEbsEncryption)
/set_ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:
required: falseUpdate replication configuration template EBS encryption request.
ebs_encryption_key_arn(impl Into<String>)
/set_ebs_encryption_key_arn(Option<String>)
:
required: falseUpdate replication configuration template EBS encryption key ARN request.
bandwidth_throttling(i64)
/set_bandwidth_throttling(Option<i64>)
:
required: falseUpdate replication configuration template bandwidth throttling request.
data_plane_routing(ReplicationConfigurationDataPlaneRouting)
/set_data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:
required: falseUpdate replication configuration template data plane routing request.
create_public_ip(bool)
/set_create_public_ip(Option<bool>)
:
required: falseUpdate replication configuration template create Public IP request.
staging_area_tags(impl Into<String>, impl Into<String>)
/set_staging_area_tags(Option<HashMap::<String, String>>)
:
required: falseUpdate replication configuration template Staging Area Tags request.
use_fips_endpoint(bool)
/set_use_fips_endpoint(Option<bool>)
:
required: falseUpdate replication configuration template use Fips Endpoint request.
- On success, responds with
UpdateReplicationConfigurationTemplateOutput
with field(s):replication_configuration_template_id(String)
:Replication Configuration template ID.
arn(Option<String>)
:Replication Configuration template ARN.
staging_area_subnet_id(Option<String>)
:Replication Configuration template Staging Area subnet ID.
associate_default_security_group(Option<bool>)
:Replication Configuration template associate default Application Migration Service Security group.
replication_servers_security_groups_ids(Option<Vec::<String>>)
:Replication Configuration template server Security Groups IDs.
replication_server_instance_type(Option<String>)
:Replication Configuration template server instance type.
use_dedicated_replication_server(Option<bool>)
:Replication Configuration template use Dedicated Replication Server.
default_large_staging_disk_type(Option<ReplicationConfigurationDefaultLargeStagingDiskType>)
:Replication Configuration template use default large Staging Disk type.
ebs_encryption(Option<ReplicationConfigurationEbsEncryption>)
:Replication Configuration template EBS encryption.
ebs_encryption_key_arn(Option<String>)
:Replication Configuration template EBS encryption key ARN.
bandwidth_throttling(i64)
:Replication Configuration template bandwidth throttling.
data_plane_routing(Option<ReplicationConfigurationDataPlaneRouting>)
:Replication Configuration template data plane routing.
create_public_ip(Option<bool>)
:Replication Configuration template create Public IP.
staging_area_tags(Option<HashMap::<String, String>>)
:Replication Configuration template Staging Area Tags.
use_fips_endpoint(Option<bool>)
:Replication Configuration template use Fips Endpoint.
tags(Option<HashMap::<String, String>>)
:Replication Configuration template Tags.
- On failure, responds with
SdkError<UpdateReplicationConfigurationTemplateError>
Source§impl Client
impl Client
Sourcepub fn update_source_server(&self) -> UpdateSourceServerFluentBuilder
pub fn update_source_server(&self) -> UpdateSourceServerFluentBuilder
Constructs a fluent builder for the UpdateSourceServer
operation.
- The fluent builder is configurable:
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseUpdate Source Server request account ID.
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueUpdate Source Server request source server ID.
connector_action(SourceServerConnectorAction)
/set_connector_action(Option<SourceServerConnectorAction>)
:
required: falseUpdate Source Server request connector action.
- On success, responds with
UpdateSourceServerOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<UpdateSourceServerError>
Source§impl Client
impl Client
Sourcepub fn update_source_server_replication_type(
&self,
) -> UpdateSourceServerReplicationTypeFluentBuilder
pub fn update_source_server_replication_type( &self, ) -> UpdateSourceServerReplicationTypeFluentBuilder
Constructs a fluent builder for the UpdateSourceServerReplicationType
operation.
- The fluent builder is configurable:
source_server_id(impl Into<String>)
/set_source_server_id(Option<String>)
:
required: trueID of source server on which to update replication type.
replication_type(ReplicationType)
/set_replication_type(Option<ReplicationType>)
:
required: trueReplication type to which to update source server.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID on which to update replication type.
- On success, responds with
UpdateSourceServerReplicationTypeOutput
with field(s):source_server_id(Option<String>)
:Source server ID.
arn(Option<String>)
:Source server ARN.
is_archived(Option<bool>)
:Source server archived status.
tags(Option<HashMap::<String, String>>)
:Source server Tags.
launched_instance(Option<LaunchedInstance>)
:Source server launched instance.
data_replication_info(Option<DataReplicationInfo>)
:Source server data replication info.
life_cycle(Option<LifeCycle>)
:Source server lifecycle state.
source_properties(Option<SourceProperties>)
:Source server properties.
replication_type(Option<ReplicationType>)
:Source server replication type.
vcenter_client_id(Option<String>)
:Source server vCenter client id.
application_id(Option<String>)
:Source server application ID.
user_provided_id(Option<String>)
:Source server user provided ID.
fqdn_for_action_framework(Option<String>)
:Source server fqdn for action framework.
connector_action(Option<SourceServerConnectorAction>)
:Source Server connector action.
- On failure, responds with
SdkError<UpdateSourceServerReplicationTypeError>
Source§impl Client
impl Client
Sourcepub fn update_wave(&self) -> UpdateWaveFluentBuilder
pub fn update_wave(&self) -> UpdateWaveFluentBuilder
Constructs a fluent builder for the UpdateWave
operation.
- The fluent builder is configurable:
wave_id(impl Into<String>)
/set_wave_id(Option<String>)
:
required: trueWave ID.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseWave name.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseWave description.
account_id(impl Into<String>)
/set_account_id(Option<String>)
:
required: falseAccount ID.
- On success, responds with
UpdateWaveOutput
with field(s):wave_id(Option<String>)
:Wave ID.
arn(Option<String>)
:Wave ARN.
name(Option<String>)
:Wave name.
description(Option<String>)
:Wave description.
is_archived(Option<bool>)
:Wave archival status.
wave_aggregated_status(Option<WaveAggregatedStatus>)
:Wave aggregated status.
creation_date_time(Option<String>)
:Wave creation dateTime.
last_modified_date_time(Option<String>)
:Wave last modified dateTime.
tags(Option<HashMap::<String, String>>)
:Wave tags.
- On failure, responds with
SdkError<UpdateWaveError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);