Sha256: b6f518289c16418f786419096580fa19636038a452af912794ea1a6a0a64f354

Contents?: true

Size: 1.57 KB

Versions: 20

Compression:

Stored size: 1.57 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::SSOOIDC
  # @api private
  module Endpoints

    class CreateToken
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SSOOIDC::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

    class RegisterClient
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SSOOIDC::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

    class StartDeviceAuthorization
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SSOOIDC::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
aws-sdk-core-3.186.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.185.2 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.185.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.185.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.184.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.183.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.183.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.182.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.181.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.181.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.180.3 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.180.2 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.180.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.180.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.179.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.178.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.177.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.176.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.176.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.175.0 lib/aws-sdk-ssooidc/endpoints.rb