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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)