module HTTPX::Plugins::AwsSdkAuthentication::InstanceMethods

  1. lib/httpx/plugins/aws_sdk_authentication.rb

Methods

Public Instance

  1. aws_sdk_authentication

Public Instance Aliases

Public Instance methods

aws_sdk_authentication( credentials: AwsSdkAuthentication.credentials(@options.aws_profile), region: AwsSdkAuthentication.region(@options.aws_profile), **options )

aws_authentication aws_authentication(credentials: Aws::Credentials.new(‘akid’, ‘secret’)) aws_authentication()

[show source]
    # File lib/httpx/plugins/aws_sdk_authentication.rb
 92 def aws_sdk_authentication(
 93   credentials: AwsSdkAuthentication.credentials(@options.aws_profile),
 94   region: AwsSdkAuthentication.region(@options.aws_profile),
 95   **options
 96 )
 97 
 98   aws_sigv4_authentication(
 99     credentials: credentials,
100     region: region,
101     provider_prefix: "aws",
102     header_provider_field: "amz",
103     **options
104   )
105 end