pub struct RegisterClientFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterClient
.
Registers a client with IAM Identity Center. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
Implementations§
Source§impl RegisterClientFluentBuilder
impl RegisterClientFluentBuilder
Sourcepub fn as_input(&self) -> &RegisterClientInputBuilder
pub fn as_input(&self) -> &RegisterClientInputBuilder
Access the RegisterClient as a reference.
Sourcepub async fn send(
self,
) -> Result<RegisterClientOutput, SdkError<RegisterClientError, HttpResponse>>
pub async fn send( self, ) -> Result<RegisterClientOutput, SdkError<RegisterClientError, 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<RegisterClientOutput, RegisterClientError, Self>
pub fn customize( self, ) -> CustomizableOperation<RegisterClientOutput, RegisterClientError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Sourcepub fn client_name(self, input: impl Into<String>) -> Self
pub fn client_name(self, input: impl Into<String>) -> Self
The friendly name of the client.
Sourcepub fn set_client_name(self, input: Option<String>) -> Self
pub fn set_client_name(self, input: Option<String>) -> Self
The friendly name of the client.
Sourcepub fn get_client_name(&self) -> &Option<String>
pub fn get_client_name(&self) -> &Option<String>
The friendly name of the client.
Sourcepub fn client_type(self, input: impl Into<String>) -> Self
pub fn client_type(self, input: impl Into<String>) -> Self
The type of client. The service supports only public
as a client type. Anything other than public will be rejected by the service.
Sourcepub fn set_client_type(self, input: Option<String>) -> Self
pub fn set_client_type(self, input: Option<String>) -> Self
The type of client. The service supports only public
as a client type. Anything other than public will be rejected by the service.
Sourcepub fn get_client_type(&self) -> &Option<String>
pub fn get_client_type(&self) -> &Option<String>
The type of client. The service supports only public
as a client type. Anything other than public will be rejected by the service.
Sourcepub fn scopes(self, input: impl Into<String>) -> Self
pub fn scopes(self, input: impl Into<String>) -> Self
Appends an item to scopes
.
To override the contents of this collection use set_scopes
.
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
Sourcepub fn set_scopes(self, input: Option<Vec<String>>) -> Self
pub fn set_scopes(self, input: Option<Vec<String>>) -> Self
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
Sourcepub fn get_scopes(&self) -> &Option<Vec<String>>
pub fn get_scopes(&self) -> &Option<Vec<String>>
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
Trait Implementations§
Source§impl Clone for RegisterClientFluentBuilder
impl Clone for RegisterClientFluentBuilder
Source§fn clone(&self) -> RegisterClientFluentBuilder
fn clone(&self) -> RegisterClientFluentBuilder
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 RegisterClientFluentBuilder
impl !RefUnwindSafe for RegisterClientFluentBuilder
impl Send for RegisterClientFluentBuilder
impl Sync for RegisterClientFluentBuilder
impl Unpin for RegisterClientFluentBuilder
impl !UnwindSafe for RegisterClientFluentBuilder
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
)