Sha256: a60dee49708f361ccfa3cf3181f0bb73c8f61d73e39f2a3b0180171af7ee5d09

Contents?: true

Size: 1.99 KB

Versions: 37

Compression:

Stored size: 1.99 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 CreateTokenWithIAM
      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

37 entries across 37 versions & 1 rubygems

Version Path
aws-sdk-core-3.204.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.203.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.202.2 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.202.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.202.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.5 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.4 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.3 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.2 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.201.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.200.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.199.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.198.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.197.2 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.197.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.197.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.194.1 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.194.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.193.0 lib/aws-sdk-ssooidc/endpoints.rb