Package-level declarations
Types
Link copied to clipboard
abstract class AwsJsonAction<R : Any>(service: AwsService, clazz: KClass<R>, autoMarshalling: AutoMarshalling, contentType: ContentType = ContentType("application/x-amz-json-1.1")) : Action<Result<R, RemoteFailure>>
Link copied to clipboard
Link copied to clipboard
abstract class AwsQueryAction<Rsp : Any>(base: Request, clazz: KClass<Rsp>, autoMarshalling: AutoMarshallingJson<MoshiNode>, actionName: String, version: String, wrapper: String?) : Action<Result4k<Rsp, RemoteFailure>>
Link copied to clipboard
abstract class AwsRestJsonAction<R : Any>(base: Request, clazz: KClass<R>, autoMarshalling: AutoMarshalling) : Action<Result4k<R, RemoteFailure>>
Link copied to clipboard
class AwsRestJsonFake(val autoMarshalling: AutoMarshalling, val awsService: AwsService, val region: Region, val accountId: AwsAccount)
Link copied to clipboard
Shared infra for all AWS services.
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RestfulError(val status: Status, val message: String, val resourceId: ARN?, val resourceType: String?)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
For directly injecting the WebIdentityToken into the environment.
Link copied to clipboard
Use when WebIdentityToken is to be stored in file on disk (eg. in K8S)
Functions
Link copied to clipboard
fun AwsReverseProxy(vararg awsServices: Pair<AwsServiceCompanion, HttpHandler>): (request: Request) -> Response
Simple ReverseProxy for AWS services. Allows for simple traffic splitting based on the Host header.
Link copied to clipboard
Link copied to clipboard
fun CredentialsProvider.Companion.Environment(env: Map<String, String> = System.getenv()): CredentialsProvider
fun RegionProvider.Companion.Environment(env: Map<String, String> = System.getenv()): RegionProvider
Link copied to clipboard
fun CredentialsChain.Companion.Profile(profileName: ProfileName, credentialsPath: Path, configPath: Path = credentialsPath.resolveSibling("config")): CredentialsChain
fun RegionProvider.Companion.Profile(profileName: ProfileName, credentialsPath: Path, configPath: Path = credentialsPath.resolveSibling("config")): RegionProvider
fun CredentialsChain.Companion.Profile(env: Environment = Environment.ENV, profileName: ProfileName = AWS_PROFILE(env), credentialsPath: Path = AWS_CREDENTIAL_PROFILES_FILE(env), configPath: Path = AWS_CONFIG_FILE(env)): CredentialsChain
fun CredentialsProvider.Companion.Profile(env: Environment = Environment.ENV, profileName: ProfileName = AWS_PROFILE(env), credentialsPath: Path = AWS_CREDENTIAL_PROFILES_FILE(env), configPath: Path = AWS_CONFIG_FILE(env)): CredentialsProvider