Struct: aws.CredentialsProviderFunc

import "../ibm-cos-sdk-go-v2/aws"

Overview

Retrieve delegates to the function value the CredentialsProviderFunc wraps.

Implemented Interfaces

types.AnalyticsFilter, CredentialsProvider, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, customizations.S3ExpressCredentialsProvider, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (fn CredentialsProviderFunc) Retrieve(ctx context.Context) (Credentials, error)



199
200
201
// File 'aws/credentials.go', line 199

func (fn CredentialsProviderFunc) Retrieve(ctx context.Context) (Credentials, error) { return fn(ctx) }