#[non_exhaustive]pub struct DeleteUserByPrincipalIdInput { /* private fields */ }Expand description
Implementations§
source§impl DeleteUserByPrincipalIdInput
impl DeleteUserByPrincipalIdInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteUserByPrincipalId, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteUserByPrincipalId, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteUserByPrincipalId>
Examples found in repository?
src/client.rs (line 6412)
6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteUserByPrincipalId,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteUserByPrincipalIdError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DeleteUserByPrincipalIdOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteUserByPrincipalIdError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteUserByPrincipalIdInput.
source§impl DeleteUserByPrincipalIdInput
impl DeleteUserByPrincipalIdInput
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The principal ID of the user.
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
Trait Implementations§
source§impl Clone for DeleteUserByPrincipalIdInput
impl Clone for DeleteUserByPrincipalIdInput
source§fn clone(&self) -> DeleteUserByPrincipalIdInput
fn clone(&self) -> DeleteUserByPrincipalIdInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more