pub struct AppsyncIdentityIam {
pub account_id: String,
pub source_ip: Vec<String>,
pub username: String,
pub user_arn: String,
pub federated_identity: Option<CognitoFederatedIdentity>,
}
Expand description
Identity information for IAM-authenticated requests.
Contains AWS IAM-specific authentication details, including optional Cognito identity pool information when using federated identities.
Fields§
§account_id: String
AWS account ID of the caller
source_ip: Vec<String>
Source IP address(es) of the caller
username: String
IAM username of the caller
user_arn: String
Full IAM ARN of the caller
federated_identity: Option<CognitoFederatedIdentity>
Federated identity information when using Cognito Identity Pools
Trait Implementations§
Source§impl Debug for AppsyncIdentityIam
impl Debug for AppsyncIdentityIam
Source§impl<'de> Deserialize<'de> for AppsyncIdentityIam
impl<'de> Deserialize<'de> for AppsyncIdentityIam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AppsyncIdentityIam
impl RefUnwindSafe for AppsyncIdentityIam
impl Send for AppsyncIdentityIam
impl Sync for AppsyncIdentityIam
impl Unpin for AppsyncIdentityIam
impl UnwindSafe for AppsyncIdentityIam
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
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.