Module: Aws::STS::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-sts/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AssumeRoleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleRequest')
AssumeRoleResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleResponse')
AssumeRoleWithSAMLRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleWithSAMLRequest')
AssumeRoleWithSAMLResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleWithSAMLResponse')
AssumeRoleWithWebIdentityRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleWithWebIdentityRequest')
AssumeRoleWithWebIdentityResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumeRoleWithWebIdentityResponse')
AssumedRoleUser =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AssumedRoleUser')
Audience =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Audience')
Credentials =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Credentials')
DecodeAuthorizationMessageRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DecodeAuthorizationMessageRequest')
DecodeAuthorizationMessageResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DecodeAuthorizationMessageResponse')
ExpiredTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExpiredTokenException')
FederatedUser =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'FederatedUser')
GetCallerIdentityRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetCallerIdentityRequest')
GetCallerIdentityResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetCallerIdentityResponse')
GetFederationTokenRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetFederationTokenRequest')
GetFederationTokenResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
GetSessionTokenRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetSessionTokenRequest')
GetSessionTokenResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetSessionTokenResponse')
IDPCommunicationErrorException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'IDPCommunicationErrorException')
IDPRejectedClaimException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'IDPRejectedClaimException')
InvalidAuthorizationMessageException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidAuthorizationMessageException')
InvalidIdentityTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidIdentityTokenException')
Issuer =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Issuer')
MalformedPolicyDocumentException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
NameQualifier =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NameQualifier')
PackedPolicyTooLargeException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PackedPolicyTooLargeException')
RegionDisabledException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'RegionDisabledException')
SAMLAssertionType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SAMLAssertionType')
Subject =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Subject')
SubjectType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SubjectType')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2011-06-15"

  api. = {
    "apiVersion" => "2011-06-15",
    "endpointPrefix" => "sts",
    "globalEndpoint" => "sts.amazonaws.com",
    "protocol" => "query",
    "serviceAbbreviation" => "AWS STS",
    "serviceFullName" => "AWS Security Token Service",
    "serviceId" => "STS",
    "signatureVersion" => "v4",
    "uid" => "sts-2011-06-15",
    "xmlNamespace" => "https://sts.amazonaws.com/doc/2011-06-15/",
  }

  api.add_operation(:assume_role, Seahorse::Model::Operation.new.tap do |o|
    o.name = "AssumeRole"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: AssumeRoleRequest)
    o.output = Shapes::ShapeRef.new(shape: AssumeRoleResponse)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
    o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
  end)

  api.add_operation(:assume_role_with_saml, Seahorse::Model::Operation.new.tap do |o|
    o.name = "AssumeRoleWithSAML"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o['authtype'] = "none"
    o.input = Shapes::ShapeRef.new(shape: AssumeRoleWithSAMLRequest)
    o.output = Shapes::ShapeRef.new(shape: AssumeRoleWithSAMLResponse)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
    o.errors << Shapes::ShapeRef.new(shape: IDPRejectedClaimException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidIdentityTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ExpiredTokenException)
    o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
  end)

  api.add_operation(:assume_role_with_web_identity, Seahorse::Model::Operation.new.tap do |o|
    o.name = "AssumeRoleWithWebIdentity"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o['authtype'] = "none"
    o.input = Shapes::ShapeRef.new(shape: AssumeRoleWithWebIdentityRequest)
    o.output = Shapes::ShapeRef.new(shape: AssumeRoleWithWebIdentityResponse)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
    o.errors << Shapes::ShapeRef.new(shape: IDPRejectedClaimException)
    o.errors << Shapes::ShapeRef.new(shape: IDPCommunicationErrorException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidIdentityTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ExpiredTokenException)
    o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
  end)

  api.add_operation(:decode_authorization_message, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DecodeAuthorizationMessage"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DecodeAuthorizationMessageRequest)
    o.output = Shapes::ShapeRef.new(shape: DecodeAuthorizationMessageResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidAuthorizationMessageException)
  end)

  api.add_operation(:get_caller_identity, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetCallerIdentity"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetCallerIdentityRequest)
    o.output = Shapes::ShapeRef.new(shape: GetCallerIdentityResponse)
  end)

  api.add_operation(:get_federation_token, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetFederationToken"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetFederationTokenRequest)
    o.output = Shapes::ShapeRef.new(shape: GetFederationTokenResponse)
    o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
    o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
    o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
  end)

  api.add_operation(:get_session_token, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetSessionToken"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetSessionTokenRequest)
    o.output = Shapes::ShapeRef.new(shape: GetSessionTokenResponse)
    o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
  end)
end