mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-31 15:06:26 +00:00
87c77727e4
* lib/backup/s3remote: update AWS SDK to v2 * Update lib/backup/s3remote/s3.go Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com> * lib/backup/s3remote: refactor error handling Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
14 lines
595 B
Go
14 lines
595 B
Go
package aws
|
|
|
|
// ExecutionEnvironmentID is the AWS execution environment runtime identifier.
|
|
type ExecutionEnvironmentID string
|
|
|
|
// RuntimeEnvironment is a collection of values that are determined at runtime
|
|
// based on the environment that the SDK is executing in. Some of these values
|
|
// may or may not be present based on the executing environment and certain SDK
|
|
// configuration properties that drive whether these values are populated..
|
|
type RuntimeEnvironment struct {
|
|
EnvironmentIdentifier ExecutionEnvironmentID
|
|
Region string
|
|
EC2InstanceMetadataRegion string
|
|
}
|