AwsClient

org.encalmo.aws.AwsClient
See theAwsClient companion trait
object AwsClient

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AwsClient.type

Members list

Value members

Concrete methods

inline def callerAccountId(using awsClient: AwsClient): String
inline def createApiGatewayClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): ApiGatewayClient
inline def createApiGatewayV2Client(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): ApiGatewayV2Client
inline def createDynamoDbClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): DynamoDbClient
inline def createIamClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): IamClient
inline def createKmsClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): KmsClient
inline def createLambdaClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): LambdaClient
inline def createS3Client(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): S3Client
inline def createSecretsManagerClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): SecretsManagerClient
inline def createSqsClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): SqsClient
inline def createStsClient(region: Region, httpClientBuilder: Builder, credentialsProvider: Option[AwsCredentialsProvider]): StsClient
inline def currentRegion(using awsClient: AwsClient): Region
def initialize(region: Region): AwsClient

Creates new instance of the AwsClient for the given region

Creates new instance of the AwsClient for the given region

Attributes

inline def initialize(): AwsClient
inline def initializeWithProperties(map: Map[String, String], includeEnvironmentVariables: Boolean): AwsClient

Creates new instance of the AwsClient for the given region using a function to retrieve system properties

Creates new instance of the AwsClient for the given region using a function to retrieve system properties

Attributes

inline def invoke[R](inline description: => String)(body: => R)(using awsClient: AwsClient): R
inline def maybe[R](using AwsClient)(block: AwsClient ?=> R): Either[Throwable, R]
inline def optionally[R](using AwsClient)(block: AwsClient ?=> Option[R]): Option[R]

Concrete fields

val tracingInterceptor: ExecutionInterceptor

Extensions

Extensions

extension [B <: AwsClientBuilder[LazyRef(...), _]](builder: B)
inline def optionalConfiguration[A](value: Option[A], function: B => A => B): B