Struct aws_sdk_sts::operation::get_caller_identity::builders::GetCallerIdentityFluentBuilder
source · pub struct GetCallerIdentityFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetCallerIdentity
.
Returns details about the IAM user or role whose credentials are used to call the operation.
No permissions are required to perform this operation. If an administrator attaches a policy to your identity that explicitly denies access to the sts:GetCallerIdentity
action, you can still perform this operation. Permissions are not required because the same information is returned when access is denied. To view an example response, see I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice in the IAM User Guide.
Implementations§
source§impl GetCallerIdentityFluentBuilder
impl GetCallerIdentityFluentBuilder
sourcepub fn as_input(&self) -> &GetCallerIdentityInputBuilder
pub fn as_input(&self) -> &GetCallerIdentityInputBuilder
Access the GetCallerIdentity as a reference.
sourcepub async fn send(
self,
) -> Result<GetCallerIdentityOutput, SdkError<GetCallerIdentityError, HttpResponse>>
pub async fn send( self, ) -> Result<GetCallerIdentityOutput, SdkError<GetCallerIdentityError, 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<GetCallerIdentityOutput, GetCallerIdentityError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetCallerIdentityOutput, GetCallerIdentityError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Trait Implementations§
source§impl Clone for GetCallerIdentityFluentBuilder
impl Clone for GetCallerIdentityFluentBuilder
source§fn clone(&self) -> GetCallerIdentityFluentBuilder
fn clone(&self) -> GetCallerIdentityFluentBuilder
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 GetCallerIdentityFluentBuilder
impl !RefUnwindSafe for GetCallerIdentityFluentBuilder
impl Send for GetCallerIdentityFluentBuilder
impl Sync for GetCallerIdentityFluentBuilder
impl Unpin for GetCallerIdentityFluentBuilder
impl !UnwindSafe for GetCallerIdentityFluentBuilder
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
)