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