Sha256: 892cdb4ed60adcad727d6d2abe0f377066d5cbe87b2b60bde6ad03a07df4d0aa

Contents?: true

Size: 1.8 KB

Versions: 6

Compression:

Stored size: 1.8 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)
        Aws::SSOOIDC::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 CreateTokenWithIAM
      def self.build(context)
        Aws::SSOOIDC::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 RegisterClient
      def self.build(context)
        Aws::SSOOIDC::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 StartDeviceAuthorization
      def self.build(context)
        Aws::SSOOIDC::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-ssooidc/endpoints.rb
aws-sdk-core-3.209.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.208.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.207.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.206.0 lib/aws-sdk-ssooidc/endpoints.rb
aws-sdk-core-3.205.0 lib/aws-sdk-ssooidc/endpoints.rb