Struct aws_sdk_ssooidc::operation::start_device_authorization::builders::StartDeviceAuthorizationFluentBuilder
source · pub struct StartDeviceAuthorizationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartDeviceAuthorization
.
Initiates device authorization by requesting a pair of verification codes from the authorization service.
Implementations§
source§impl StartDeviceAuthorizationFluentBuilder
impl StartDeviceAuthorizationFluentBuilder
sourcepub fn as_input(&self) -> &StartDeviceAuthorizationInputBuilder
pub fn as_input(&self) -> &StartDeviceAuthorizationInputBuilder
Access the StartDeviceAuthorization as a reference.
sourcepub async fn send(
self,
) -> Result<StartDeviceAuthorizationOutput, SdkError<StartDeviceAuthorizationError, HttpResponse>>
pub async fn send( self, ) -> Result<StartDeviceAuthorizationOutput, SdkError<StartDeviceAuthorizationError, 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<StartDeviceAuthorizationOutput, StartDeviceAuthorizationError, Self>
pub fn customize( self, ) -> CustomizableOperation<StartDeviceAuthorizationOutput, StartDeviceAuthorizationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn start_url(self, input: impl Into<String>) -> Self
pub fn start_url(self, input: impl Into<String>) -> Self
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
sourcepub fn set_start_url(self, input: Option<String>) -> Self
pub fn set_start_url(self, input: Option<String>) -> Self
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
sourcepub fn get_start_url(&self) -> &Option<String>
pub fn get_start_url(&self) -> &Option<String>
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
Trait Implementations§
source§impl Clone for StartDeviceAuthorizationFluentBuilder
impl Clone for StartDeviceAuthorizationFluentBuilder
source§fn clone(&self) -> StartDeviceAuthorizationFluentBuilder
fn clone(&self) -> StartDeviceAuthorizationFluentBuilder
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 StartDeviceAuthorizationFluentBuilder
impl !RefUnwindSafe for StartDeviceAuthorizationFluentBuilder
impl Send for StartDeviceAuthorizationFluentBuilder
impl Sync for StartDeviceAuthorizationFluentBuilder
impl Unpin for StartDeviceAuthorizationFluentBuilder
impl !UnwindSafe for StartDeviceAuthorizationFluentBuilder
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
)