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