Module: Aws::SSO::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-sso/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

AccessKeyType =

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: 'AccessKeyType')
AccessTokenType =

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: 'AccessTokenType')
AccountIdType =

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: 'AccountIdType')
AccountInfo =

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: 'AccountInfo')
AccountListType =

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::ListShape.new(name: 'AccountListType')
AccountNameType =

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: 'AccountNameType')
EmailAddressType =

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: 'EmailAddressType')
ErrorDescription =

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: 'ErrorDescription')
ExpirationTimestampType =

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::IntegerShape.new(name: 'ExpirationTimestampType')
GetRoleCredentialsRequest =

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: 'GetRoleCredentialsRequest')
GetRoleCredentialsResponse =

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: 'GetRoleCredentialsResponse')
InvalidRequestException =

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: 'InvalidRequestException')
ListAccountRolesRequest =

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: 'ListAccountRolesRequest')
ListAccountRolesResponse =

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: 'ListAccountRolesResponse')
ListAccountsRequest =

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: 'ListAccountsRequest')
ListAccountsResponse =

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: 'ListAccountsResponse')
LogoutRequest =

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: 'LogoutRequest')
MaxResultType =

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::IntegerShape.new(name: 'MaxResultType')
NextTokenType =

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: 'NextTokenType')
ResourceNotFoundException =

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: 'ResourceNotFoundException')
RoleCredentials =

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: 'RoleCredentials')
RoleInfo =

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: 'RoleInfo')
RoleListType =

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::ListShape.new(name: 'RoleListType')
RoleNameType =

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: 'RoleNameType')
SecretAccessKeyType =

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: 'SecretAccessKeyType')
SessionTokenType =

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: 'SessionTokenType')
TooManyRequestsException =

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: 'TooManyRequestsException')
UnauthorizedException =

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: 'UnauthorizedException')
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 = "2019-06-10"

  api. = {
    "apiVersion" => "2019-06-10",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "portal.sso",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceAbbreviation" => "SSO",
    "serviceFullName" => "AWS Single Sign-On",
    "serviceId" => "SSO",
    "signatureVersion" => "v4",
    "signingName" => "awsssoportal",
    "uid" => "sso-2019-06-10",
  }

  api.add_operation(:get_role_credentials, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetRoleCredentials"
    o.http_method = "GET"
    o.http_request_uri = "/federation/credentials"
    o['authtype'] = "none"
    o['auth'] = ["smithy.api#noAuth"]
    o.input = Shapes::ShapeRef.new(shape: GetRoleCredentialsRequest)
    o.output = Shapes::ShapeRef.new(shape: GetRoleCredentialsResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:list_account_roles, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListAccountRoles"
    o.http_method = "GET"
    o.http_request_uri = "/assignment/roles"
    o['authtype'] = "none"
    o['auth'] = ["smithy.api#noAuth"]
    o.input = Shapes::ShapeRef.new(shape: ListAccountRolesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListAccountRolesResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_accounts, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListAccounts"
    o.http_method = "GET"
    o.http_request_uri = "/assignment/accounts"
    o['authtype'] = "none"
    o['auth'] = ["smithy.api#noAuth"]
    o.input = Shapes::ShapeRef.new(shape: ListAccountsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListAccountsResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:logout, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Logout"
    o.http_method = "POST"
    o.http_request_uri = "/logout"
    o['authtype'] = "none"
    o['auth'] = ["smithy.api#noAuth"]
    o.input = Shapes::ShapeRef.new(shape: LogoutRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
  end)
end