Skip to main content

Module types

Module types 

Source
Expand description

Data structures used by operation inputs/outputs.

Modules§

builders
Builders
error
Error types that AWS Security Token Service can respond with.

Structs§

AssumedRoleUser

The identifiers for the temporary security credentials that the operation returns.

Credentials

Amazon Web Services credentials for API authentication.

FederatedUser

Identifiers for the federated user that is associated with the credentials.

OriginIdentity

The session's aws:OriginIdentity/Subject, aws:OriginIdentity/SubjectType, aws:OriginIdentity/Issuer and aws:OriginIdentity/FederatedProviderArn keys. A member is absent when the session does not have the key.

PolicyDescriptorType

A reference to the IAM managed policy that is passed as a session policy for a role session or a federated user session.

ProvidedContext

Contains information about the provided context. This includes the signed and encrypted trusted context assertion and the context provider ARN from which the trusted context assertion was generated.

ScopedSession

Identifiers for the scoped session that GetScopedCredentials returns. The underlying identity and session name do not change from the caller principal.

Tag

You can pass custom key-value pair attributes when you assume a role or federate a user. These are called session tags. You can then use the session tags to control access to resources. For more information, see Tagging Amazon Web Services STS Sessions in the IAM User Guide.

TransactionContext

The session's aws:TransactionContext/IdentityProvider/* keys.

TrustedIdentityPropagationContext

The trusted identity propagation context that Amazon Web Services STS set in a session from the identity provider's token. A member is absent when the session has none of its keys.

Enums§

WebIdentityTokenSubjectModeType
When writing a match expression against WebIdentityTokenSubjectModeType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.