pub struct AssumeRoleWithWebIdentityRequest {
pub role_arn: String,
pub role_session_name: String,
pub web_identity_token: String,
pub duration_seconds: Option<i32>,
pub policy: Option<String>,
pub policy_arns: Option<Vec<String>>,
pub provider_id: Option<String>,
}Fields§
§role_arn: StringThe ARN of the role to assume
role_session_name: StringAn identifier for the assumed role session
web_identity_token: StringThe OAuth 2.0 access token or OpenID Connect ID token
duration_seconds: Option<i32>The duration, in seconds, of the role session (900-43200)
policy: Option<String>An IAM policy in JSON format to use as an inline session policy
policy_arns: Option<Vec<String>>The Amazon Resource Names (ARNs) of IAM managed policies to use as managed session policies
provider_id: Option<String>The fully qualified host component of the domain name of the OAuth 2.0 identity provider
Implementations§
Source§impl AssumeRoleWithWebIdentityRequest
impl AssumeRoleWithWebIdentityRequest
Sourcepub fn builder() -> AssumeRoleWithWebIdentityRequestBuilder
pub fn builder() -> AssumeRoleWithWebIdentityRequestBuilder
Create an instance of AssumeRoleWithWebIdentityRequest using the builder syntax
Trait Implementations§
Source§impl Clone for AssumeRoleWithWebIdentityRequest
impl Clone for AssumeRoleWithWebIdentityRequest
Source§fn clone(&self) -> AssumeRoleWithWebIdentityRequest
fn clone(&self) -> AssumeRoleWithWebIdentityRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssumeRoleWithWebIdentityRequest
impl RefUnwindSafe for AssumeRoleWithWebIdentityRequest
impl Send for AssumeRoleWithWebIdentityRequest
impl Sync for AssumeRoleWithWebIdentityRequest
impl Unpin for AssumeRoleWithWebIdentityRequest
impl UnsafeUnpin for AssumeRoleWithWebIdentityRequest
impl UnwindSafe for AssumeRoleWithWebIdentityRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.