aws_sdk_databasemigration/client/modify_instance_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ModifyInstanceProfile`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_profile_identifier(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::instance_profile_identifier) / [`set_instance_profile_identifier(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_instance_profile_identifier):<br>required: **true**<br><p>The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.</p><br>
/// - [`availability_zone(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::availability_zone) / [`set_availability_zone(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_availability_zone):<br>required: **false**<br><p>The Availability Zone where the instance profile runs.</p><br>
/// - [`kms_key_arn(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::kms_key_arn) / [`set_kms_key_arn(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_kms_key_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.</p> <p>If you don't specify a value for the <code>KmsKeyArn</code> parameter, then DMS uses your default encryption key.</p> <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.</p><br>
/// - [`publicly_accessible(bool)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::publicly_accessible) / [`set_publicly_accessible(Option<bool>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_publicly_accessible):<br>required: **false**<br><p>Specifies the accessibility options for the instance profile. A value of <code>true</code> represents an instance profile with a public IP address. A value of <code>false</code> represents an instance profile with a private IP address. The default value is <code>true</code>.</p><br>
/// - [`network_type(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::network_type) / [`set_network_type(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_network_type):<br>required: **false**<br><p>Specifies the network type for the instance profile. A value of <code>IPV4</code> represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of <code>IPV6</code> represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of <code>DUAL</code> represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.</p><br>
/// - [`instance_profile_name(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::instance_profile_name) / [`set_instance_profile_name(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_instance_profile_name):<br>required: **false**<br><p>A user-friendly name for the instance profile.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_description):<br>required: **false**<br><p>A user-friendly description for the instance profile.</p><br>
/// - [`subnet_group_identifier(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::subnet_group_identifier) / [`set_subnet_group_identifier(Option<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_subnet_group_identifier):<br>required: **false**<br><p>A subnet group to associate with the instance profile.</p><br>
/// - [`vpc_security_groups(impl Into<String>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::vpc_security_groups) / [`set_vpc_security_groups(Option<Vec::<String>>)`](crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::set_vpc_security_groups):<br>required: **false**<br><p>Specifies the VPC security groups to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.</p><br>
/// - On success, responds with [`ModifyInstanceProfileOutput`](crate::operation::modify_instance_profile::ModifyInstanceProfileOutput) with field(s):
/// - [`instance_profile(Option<InstanceProfile>)`](crate::operation::modify_instance_profile::ModifyInstanceProfileOutput::instance_profile): <p>The instance profile that was modified.</p>
/// - On failure, responds with [`SdkError<ModifyInstanceProfileError>`](crate::operation::modify_instance_profile::ModifyInstanceProfileError)
pub fn modify_instance_profile(&self) -> crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder {
crate::operation::modify_instance_profile::builders::ModifyInstanceProfileFluentBuilder::new(self.handle.clone())
}
}