Sha256: d4f3fdbd0553c3bc9c4a899f13cc4f307917bf20c3b8c20602341888f8269f1b

Contents?: true

Size: 1.77 KB

Versions: 6

Compression:

Stored size: 1.77 KB

Contents

# frozen_string_literal: true

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE


module Aws::SSO
  # @api private
  module Endpoints

    class GetRoleCredentials
      def self.build(context)
        Aws::SSO::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

    class ListAccountRoles
      def self.build(context)
        Aws::SSO::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

    class ListAccounts
      def self.build(context)
        Aws::SSO::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

    class Logout
      def self.build(context)
        Aws::SSO::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aws-sdk-core-3.209.1 lib/aws-sdk-sso/endpoints.rb
aws-sdk-core-3.209.0 lib/aws-sdk-sso/endpoints.rb
aws-sdk-core-3.208.0 lib/aws-sdk-sso/endpoints.rb
aws-sdk-core-3.207.0 lib/aws-sdk-sso/endpoints.rb
aws-sdk-core-3.206.0 lib/aws-sdk-sso/endpoints.rb
aws-sdk-core-3.205.0 lib/aws-sdk-sso/endpoints.rb