Struct aws_sdk_iam::operation::set_security_token_service_preferences::SetSecurityTokenServicePreferencesInput
source · #[non_exhaustive]pub struct SetSecurityTokenServicePreferencesInput {
pub global_endpoint_token_version: Option<GlobalEndpointTokenVersion>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.global_endpoint_token_version: Option<GlobalEndpointTokenVersion>The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.
For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.
Implementations§
source§impl SetSecurityTokenServicePreferencesInput
impl SetSecurityTokenServicePreferencesInput
sourcepub fn global_endpoint_token_version(
&self,
) -> Option<&GlobalEndpointTokenVersion>
pub fn global_endpoint_token_version( &self, ) -> Option<&GlobalEndpointTokenVersion>
The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.
For information, see Activating and deactivating STS in an Amazon Web Services Region in the IAM User Guide.
source§impl SetSecurityTokenServicePreferencesInput
impl SetSecurityTokenServicePreferencesInput
sourcepub fn builder() -> SetSecurityTokenServicePreferencesInputBuilder
pub fn builder() -> SetSecurityTokenServicePreferencesInputBuilder
Creates a new builder-style object to manufacture SetSecurityTokenServicePreferencesInput.
Trait Implementations§
source§impl Clone for SetSecurityTokenServicePreferencesInput
impl Clone for SetSecurityTokenServicePreferencesInput
source§fn clone(&self) -> SetSecurityTokenServicePreferencesInput
fn clone(&self) -> SetSecurityTokenServicePreferencesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SetSecurityTokenServicePreferencesInput
impl PartialEq for SetSecurityTokenServicePreferencesInput
source§fn eq(&self, other: &SetSecurityTokenServicePreferencesInput) -> bool
fn eq(&self, other: &SetSecurityTokenServicePreferencesInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SetSecurityTokenServicePreferencesInput
Auto Trait Implementations§
impl Freeze for SetSecurityTokenServicePreferencesInput
impl RefUnwindSafe for SetSecurityTokenServicePreferencesInput
impl Send for SetSecurityTokenServicePreferencesInput
impl Sync for SetSecurityTokenServicePreferencesInput
impl Unpin for SetSecurityTokenServicePreferencesInput
impl UnwindSafe for SetSecurityTokenServicePreferencesInput
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> 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>
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>
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 more