Extend this when adding support for a new service.
Extend this when adding support for a new service.
The AWS client type
Wraps provision of credentials for AWS clients.
Wraps provision of credentials for AWS clients. Use constructors in Credential
to create a credential.
There is also a kadai ConfigReader to configure credentials as either:
* static - configure static access key and secret key like:
credential {
mode = static // Use static credential mode
static {
access-key = foo
secret-key = bar
}
}
* default - i.e. use default credential chain in AWS clients (load from env vars, sys props etc.). Config file needs to include a 'mode' of 'default'
the standard set of combinators all AwsAction specialisations get for free
Extracts configuration suitable for Amazon ClientConfiguration from a kadai Config.
Extracts configuration suitable for Amazon ClientConfiguration from a kadai Config.
Just import this, and then you can just do the following to get it from a kadai Config:
val c = config[AmazonClientConnectionDef]("config-section")
this is being removed in favour of extending AmazonClientBase for each service, thus avoiding core depending on all the AWS SDK libraries.