Struct aws_sdk_connect::operation::update_authentication_profile::builders::UpdateAuthenticationProfileFluentBuilder
source · pub struct UpdateAuthenticationProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAuthenticationProfile
.
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
Implementations§
source§impl UpdateAuthenticationProfileFluentBuilder
impl UpdateAuthenticationProfileFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAuthenticationProfileInputBuilder
pub fn as_input(&self) -> &UpdateAuthenticationProfileInputBuilder
Access the UpdateAuthenticationProfile as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateAuthenticationProfileOutput, SdkError<UpdateAuthenticationProfileError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateAuthenticationProfileOutput, SdkError<UpdateAuthenticationProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateAuthenticationProfileOutput, UpdateAuthenticationProfileError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateAuthenticationProfileOutput, UpdateAuthenticationProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn authentication_profile_id(self, input: impl Into<String>) -> Self
pub fn authentication_profile_id(self, input: impl Into<String>) -> Self
A unique identifier for the authentication profile.
sourcepub fn set_authentication_profile_id(self, input: Option<String>) -> Self
pub fn set_authentication_profile_id(self, input: Option<String>) -> Self
A unique identifier for the authentication profile.
sourcepub fn get_authentication_profile_id(&self) -> &Option<String>
pub fn get_authentication_profile_id(&self) -> &Option<String>
A unique identifier for the authentication profile.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the authentication profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the authentication profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the authentication profile.
sourcepub fn allowed_ips(self, input: impl Into<String>) -> Self
pub fn allowed_ips(self, input: impl Into<String>) -> Self
Appends an item to AllowedIps
.
To override the contents of this collection use set_allowed_ips
.
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn get_allowed_ips(&self) -> &Option<Vec<String>>
pub fn get_allowed_ips(&self) -> &Option<Vec<String>>
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn blocked_ips(self, input: impl Into<String>) -> Self
pub fn blocked_ips(self, input: impl Into<String>) -> Self
Appends an item to BlockedIps
.
To override the contents of this collection use set_blocked_ips
.
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn set_blocked_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_blocked_ips(self, input: Option<Vec<String>>) -> Self
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn get_blocked_ips(&self) -> &Option<Vec<String>>
pub fn get_blocked_ips(&self) -> &Option<Vec<String>>
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
sourcepub fn periodic_session_duration(self, input: i32) -> Self
pub fn periodic_session_duration(self, input: i32) -> Self
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn set_periodic_session_duration(self, input: Option<i32>) -> Self
pub fn set_periodic_session_duration(self, input: Option<i32>) -> Self
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
sourcepub fn get_periodic_session_duration(&self) -> &Option<i32>
pub fn get_periodic_session_duration(&self) -> &Option<i32>
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
Trait Implementations§
source§impl Clone for UpdateAuthenticationProfileFluentBuilder
impl Clone for UpdateAuthenticationProfileFluentBuilder
source§fn clone(&self) -> UpdateAuthenticationProfileFluentBuilder
fn clone(&self) -> UpdateAuthenticationProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateAuthenticationProfileFluentBuilder
impl !RefUnwindSafe for UpdateAuthenticationProfileFluentBuilder
impl Send for UpdateAuthenticationProfileFluentBuilder
impl Sync for UpdateAuthenticationProfileFluentBuilder
impl Unpin for UpdateAuthenticationProfileFluentBuilder
impl !UnwindSafe for UpdateAuthenticationProfileFluentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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 more