ExAws.STS v2.0.1 ExAws.STS View Source

Operations on AWS STS

http://docs.aws.amazon.com/STS/latest/APIReference/API_Operations.html

Link to this section Summary

Link to this section Types

Link to this type

assume_role_opt()

View Source
assume_role_opt() ::
  {:duration, pos_integer()}
  | {:serial_number, binary()}
  | {:token_code, binary()}
  | {:external_id, binary()}
  | {:policy, policy()}
Link to this type

get_federation_token_opt()

View Source
get_federation_token_opt() :: {:duration, pos_integer()} | {:policy, policy()}
Link to this type

get_session_token_opt()

View Source
get_session_token_opt() ::
  {:duration, pos_integer()}
  | {:serial_number, binary()}
  | {:token_code, binary()}
Link to this type

policy()

View Source
policy() :: %{required(binary()) => :all}

Link to this section Functions

Link to this function

assume_role(role_arn, role_name, opts \\ [])

View Source
assume_role(role_arn :: String.t(), role_session_name :: String.t(), [
  assume_role_opt()
]) :: ExAws.Operation.Query.t()

Assume Role

Link to this function

decode_authorization_message(message)

View Source
decode_authorization_message(message :: String.t()) :: ExAws.Operation.Query.t()

Decode Authorization Message

Get Caller Identity

Link to this function

get_federation_token(name, opts \\ [])

View Source
get_federation_token(name :: String.t(), [get_federation_token_opt()]) ::
  ExAws.Operation.Query.t()

Get Federation Token

Link to this function

get_session_token(opts \\ [])

View Source
get_session_token([get_session_token_opt()]) :: ExAws.Operation.Query.t()

Get Session Token