build(deps): bump the go-deps group with 10 updates
Bumps the go-deps group with 10 updates: | Package | From | To | | --- | --- | --- | | [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go) | `1.41.0` | `1.42.0` | | [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) | `1.37.1` | `1.37.2` | | [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.30.2` | `1.30.3` | | [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.18.2` | `1.18.3` | | [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2) | `1.18.1` | `1.18.2` | | [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) | `1.18.2` | `1.18.3` | | [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2) | `1.55.1` | `1.56.0` | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.239.0` | `1.241.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.85.1` | `1.86.0` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.244.0` | `0.246.0` | Updates `cloud.google.com/go/compute` from 1.41.0 to 1.42.0 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.41.0...pubsub/v1.42.0) Updates `github.com/aws/aws-sdk-go-v2` from 1.37.1 to 1.37.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.37.1...v1.37.2) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.30.2 to 1.30.3 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.30.2...v1.30.3) Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.18.2 to 1.18.3 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.2...config/v1.18.3) Updates `github.com/aws/aws-sdk-go-v2/feature/ec2/imds` from 1.18.1 to 1.18.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.2/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.18.1...config/v1.18.2) Updates `github.com/aws/aws-sdk-go-v2/feature/s3/manager` from 1.18.2 to 1.18.3 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.2...config/v1.18.3) Updates `github.com/aws/aws-sdk-go-v2/service/autoscaling` from 1.55.1 to 1.56.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.55.1...service/s3/v1.56.0) Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.239.0 to 1.241.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.239.0...service/ec2/v1.241.0) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.85.1 to 1.86.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.85.1...service/s3/v1.86.0) Updates `google.golang.org/api` from 0.244.0 to 0.246.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.244.0...v0.246.0) --- updated-dependencies: - dependency-name: cloud.google.com/go/compute dependency-version: 1.42.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.37.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-version: 1.30.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/credentials dependency-version: 1.18.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds dependency-version: 1.18.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager dependency-version: 1.18.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling dependency-version: 1.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.241.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.86.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps - dependency-name: google.golang.org/api dependency-version: 0.246.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
8d9f52cf1f
commit
6a51587417
68 changed files with 60717 additions and 59569 deletions
3
vendor/github.com/aws/aws-sdk-go-v2/aws/config.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/aws/config.go
generated
vendored
|
|
@ -196,6 +196,9 @@ type Config struct {
|
|||
|
||||
// Registry of HTTP interceptors.
|
||||
Interceptors smithyhttp.InterceptorRegistry
|
||||
|
||||
// Priority list of preferred auth scheme IDs.
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// NewConfig returns a new Config pointer that can be chained with builder
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package aws
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.37.1"
|
||||
const goModuleVersion = "1.37.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.30.3 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.30.2 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/config/auth_scheme_preference.go
generated
vendored
Normal file
19
vendor/github.com/aws/aws-sdk-go-v2/config/auth_scheme_preference.go
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package config
|
||||
|
||||
import "strings"
|
||||
|
||||
func toAuthSchemePreferenceList(cfg string) []string {
|
||||
if len(cfg) == 0 {
|
||||
return nil
|
||||
}
|
||||
parts := strings.Split(cfg, ",")
|
||||
ids := make([]string, 0, len(parts))
|
||||
|
||||
for _, p := range parts {
|
||||
if id := strings.TrimSpace(p); len(id) > 0 {
|
||||
ids = append(ids, id)
|
||||
}
|
||||
}
|
||||
|
||||
return ids
|
||||
}
|
||||
2
vendor/github.com/aws/aws-sdk-go-v2/config/config.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/config/config.go
generated
vendored
|
|
@ -91,6 +91,8 @@ var defaultAWSConfigResolvers = []awsConfigResolver{
|
|||
resolveResponseChecksumValidation,
|
||||
|
||||
resolveInterceptors,
|
||||
|
||||
resolveAuthSchemePreference,
|
||||
}
|
||||
|
||||
// A Config represents a generic configuration value or set of values. This type
|
||||
|
|
|
|||
14
vendor/github.com/aws/aws-sdk-go-v2/config/env_config.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go-v2/config/env_config.go
generated
vendored
|
|
@ -85,6 +85,8 @@ const (
|
|||
|
||||
awsRequestChecksumCalculation = "AWS_REQUEST_CHECKSUM_CALCULATION"
|
||||
awsResponseChecksumValidation = "AWS_RESPONSE_CHECKSUM_VALIDATION"
|
||||
|
||||
awsAuthSchemePreferenceEnv = "AWS_AUTH_SCHEME_PREFERENCE"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -304,6 +306,9 @@ type EnvConfig struct {
|
|||
|
||||
// Indicates whether response checksum should be validated
|
||||
ResponseChecksumValidation aws.ResponseChecksumValidation
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// loadEnvConfig reads configuration values from the OS's environment variables.
|
||||
|
|
@ -415,6 +420,8 @@ func NewEnvConfig() (EnvConfig, error) {
|
|||
return cfg, err
|
||||
}
|
||||
|
||||
cfg.AuthSchemePreference = toAuthSchemePreferenceList(os.Getenv(awsAuthSchemePreferenceEnv))
|
||||
|
||||
return cfg, nil
|
||||
}
|
||||
|
||||
|
|
@ -916,3 +923,10 @@ func (c EnvConfig) GetS3DisableExpressAuth() (value, ok bool) {
|
|||
|
||||
return *c.S3DisableExpressAuth, true
|
||||
}
|
||||
|
||||
func (c EnvConfig) getAuthSchemePreference() ([]string, bool) {
|
||||
if len(c.AuthSchemePreference) > 0 {
|
||||
return c.AuthSchemePreference, true
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package config
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.30.2"
|
||||
const goModuleVersion = "1.30.3"
|
||||
|
|
|
|||
20
vendor/github.com/aws/aws-sdk-go-v2/config/load_options.go
generated
vendored
20
vendor/github.com/aws/aws-sdk-go-v2/config/load_options.go
generated
vendored
|
|
@ -232,6 +232,9 @@ type LoadOptions struct {
|
|||
|
||||
// Registry of operation interceptors.
|
||||
Interceptors smithyhttp.InterceptorRegistry
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
func (o LoadOptions) getDefaultsMode(ctx context.Context) (aws.DefaultsMode, bool, error) {
|
||||
|
|
@ -1315,3 +1318,20 @@ func WithAfterExecution(i smithyhttp.AfterExecutionInterceptor) LoadOptionsFunc
|
|||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// WithAuthSchemePreference sets the priority order of auth schemes on config.
|
||||
//
|
||||
// Schemes are expressed as names e.g. sigv4a or sigv4.
|
||||
func WithAuthSchemePreference(schemeIDs ...string) LoadOptionsFunc {
|
||||
return func(o *LoadOptions) error {
|
||||
o.AuthSchemePreference = schemeIDs
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
func (o LoadOptions) getAuthSchemePreference() ([]string, bool) {
|
||||
if len(o.AuthSchemePreference) > 0 {
|
||||
return o.AuthSchemePreference, true
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
|
|
|||
15
vendor/github.com/aws/aws-sdk-go-v2/config/provider.go
generated
vendored
15
vendor/github.com/aws/aws-sdk-go-v2/config/provider.go
generated
vendored
|
|
@ -753,3 +753,18 @@ func getRetryMode(ctx context.Context, configs configs) (v aws.RetryMode, found
|
|||
}
|
||||
return v, found, err
|
||||
}
|
||||
|
||||
func getAuthSchemePreference(ctx context.Context, configs configs) ([]string, bool) {
|
||||
type provider interface {
|
||||
getAuthSchemePreference() ([]string, bool)
|
||||
}
|
||||
|
||||
for _, cfg := range configs {
|
||||
if p, ok := cfg.(provider); ok {
|
||||
if v, ok := p.getAuthSchemePreference(); ok {
|
||||
return v, true
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
|
|
|||
7
vendor/github.com/aws/aws-sdk-go-v2/config/resolve.go
generated
vendored
7
vendor/github.com/aws/aws-sdk-go-v2/config/resolve.go
generated
vendored
|
|
@ -422,3 +422,10 @@ func resolveInterceptors(ctx context.Context, cfg *aws.Config, configs configs)
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func resolveAuthSchemePreference(ctx context.Context, cfg *aws.Config, configs configs) error {
|
||||
if pref, ok := getAuthSchemePreference(ctx, configs); ok {
|
||||
cfg.AuthSchemePreference = pref
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
16
vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go
generated
vendored
16
vendor/github.com/aws/aws-sdk-go-v2/config/shared_config.go
generated
vendored
|
|
@ -123,6 +123,8 @@ const (
|
|||
responseChecksumValidationKey = "response_checksum_validation"
|
||||
checksumWhenSupported = "when_supported"
|
||||
checksumWhenRequired = "when_required"
|
||||
|
||||
authSchemePreferenceKey = "auth_scheme_preference"
|
||||
)
|
||||
|
||||
// defaultSharedConfigProfile allows for swapping the default profile for testing
|
||||
|
|
@ -357,6 +359,9 @@ type SharedConfig struct {
|
|||
|
||||
// ResponseChecksumValidation indicates if the response checksum should be validated
|
||||
ResponseChecksumValidation aws.ResponseChecksumValidation
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
func (c SharedConfig) getDefaultsMode(ctx context.Context) (value aws.DefaultsMode, ok bool, err error) {
|
||||
|
|
@ -890,6 +895,8 @@ func mergeSections(dst *ini.Sections, src ini.Sections) error {
|
|||
ssoRegionKey,
|
||||
ssoRoleNameKey,
|
||||
ssoStartURLKey,
|
||||
|
||||
authSchemePreferenceKey,
|
||||
}
|
||||
for i := range stringKeys {
|
||||
if err := mergeStringKey(&srcSection, &dstSection, sectionName, stringKeys[i]); err != nil {
|
||||
|
|
@ -1166,6 +1173,8 @@ func (c *SharedConfig) setFromIniSection(profile string, section ini.Section) er
|
|||
|
||||
updateString(&c.ServicesSectionName, section, servicesSectionKey)
|
||||
|
||||
c.AuthSchemePreference = toAuthSchemePreferenceList(section.String(authSchemePreferenceKey))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -1678,3 +1687,10 @@ func updateUseFIPSEndpoint(dst *aws.FIPSEndpointState, section ini.Section, key
|
|||
|
||||
return
|
||||
}
|
||||
|
||||
func (c SharedConfig) getAuthSchemePreference() ([]string, bool) {
|
||||
if len(c.AuthSchemePreference) > 0 {
|
||||
return c.AuthSchemePreference, true
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.18.3 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.2 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package credentials
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.18.2"
|
||||
const goModuleVersion = "1.18.3"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.18.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package imds
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.18.1"
|
||||
const goModuleVersion = "1.18.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.18.3 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.2 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package manager
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.18.2"
|
||||
const goModuleVersion = "1.18.3"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.4.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.4.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package configsources
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.4.1"
|
||||
const goModuleVersion = "1.4.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v2.7.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v2.7.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package endpoints
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "2.7.1"
|
||||
const goModuleVersion = "2.7.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.4.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.4.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package v4a
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.4.1"
|
||||
const goModuleVersion = "1.4.2"
|
||||
|
|
|
|||
5
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/CHANGELOG.md
generated
vendored
5
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# v1.56.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.55.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/api_client.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/api_client.go
generated
vendored
|
|
@ -419,15 +419,16 @@ func setResolvedDefaultsMode(o *Options) {
|
|||
// NewFromConfig returns a new client from the provided config.
|
||||
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
||||
opts := Options{
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -169,7 +171,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -188,6 +191,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package autoscaling
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.55.1"
|
||||
const goModuleVersion = "1.56.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/autoscaling/options.go
generated
vendored
|
|
@ -128,6 +128,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
9
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md
generated
vendored
9
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,12 @@
|
|||
# v1.241.0 (2025-08-06)
|
||||
|
||||
* **Feature**: Mark Elastic Inference Accelerators and Elastic Graphics Processor parameters as deprecated on the RunInstances and LaunchTemplate APIs.
|
||||
|
||||
# v1.240.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.239.0 (2025-07-31)
|
||||
|
||||
* **Feature**: Added support for the force option for the EC2 instance terminate command. This feature enables customers to recover resources associated with an instance stuck in the shutting-down state as a result of rare issues caused by a frozen operating system or an underlying hardware problem.
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go
generated
vendored
|
|
@ -427,15 +427,16 @@ func setResolvedDefaultsMode(o *Options) {
|
|||
// NewFromConfig returns a new client from the provided config.
|
||||
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
||||
opts := Options{
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
6
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go
generated
vendored
|
|
@ -181,11 +181,17 @@ type RunInstancesInput struct {
|
|||
// An elastic GPU to associate with the instance.
|
||||
//
|
||||
// Amazon Elastic Graphics reached end of life on January 8, 2024.
|
||||
//
|
||||
// Deprecated: Specifying Elastic Graphics accelerators is no longer supported on
|
||||
// the RunInstances API.
|
||||
ElasticGpuSpecification []types.ElasticGpuSpecification
|
||||
|
||||
// An elastic inference accelerator to associate with the instance.
|
||||
//
|
||||
// Amazon Elastic Inference is no longer available.
|
||||
//
|
||||
// Deprecated: Specifying Elastic Inference accelerators is no longer supported on
|
||||
// the RunInstances API.
|
||||
ElasticInferenceAccelerators []types.ElasticInferenceAccelerator
|
||||
|
||||
// If you’re launching an instance into a dual-stack or IPv6-only subnet, you can
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -169,7 +171,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -188,6 +191,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package ec2
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.239.0"
|
||||
const goModuleVersion = "1.241.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go
generated
vendored
|
|
@ -132,6 +132,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
6
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go
generated
vendored
|
|
@ -15831,6 +15831,9 @@ type RequestLaunchTemplateData struct {
|
|||
// Deprecated.
|
||||
//
|
||||
// Amazon Elastic Graphics reached end of life on January 8, 2024.
|
||||
//
|
||||
// Deprecated: Specifying Elastic Graphics accelerators is no longer supported on
|
||||
// the RunInstances API.
|
||||
ElasticGpuSpecifications []ElasticGpuSpecification
|
||||
|
||||
// Amazon Elastic Inference is no longer available.
|
||||
|
|
@ -15840,6 +15843,9 @@ type RequestLaunchTemplateData struct {
|
|||
// instances to accelerate your Deep Learning (DL) inference workloads.
|
||||
//
|
||||
// You cannot specify accelerators from different generations in the same request.
|
||||
//
|
||||
// Deprecated: Specifying Elastic Inference accelerators is no longer supported on
|
||||
// the RunInstances API.
|
||||
ElasticInferenceAccelerators []LaunchTemplateElasticInferenceAccelerator
|
||||
|
||||
// Indicates whether the instance is enabled for Amazon Web Services Nitro
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.8.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.8.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package checksum
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.8.1"
|
||||
const goModuleVersion = "1.8.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.13.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
package presignedurl
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.13.1"
|
||||
const goModuleVersion = "1.13.2"
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.19.2 (2025-08-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.19.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package s3shared
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.19.1"
|
||||
const goModuleVersion = "1.19.2"
|
||||
|
|
|
|||
5
vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
generated
vendored
5
vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# v1.86.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.85.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
1
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
generated
vendored
|
|
@ -464,6 +464,7 @@ func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
|||
AppID: cfg.AppID,
|
||||
RequestChecksumCalculation: cfg.RequestChecksumCalculation,
|
||||
ResponseChecksumValidation: cfg.ResponseChecksumValidation,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -203,7 +205,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -222,6 +225,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package s3
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.85.1"
|
||||
const goModuleVersion = "1.86.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go
generated
vendored
|
|
@ -186,6 +186,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
5
vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md
generated
vendored
5
vendor/github.com/aws/aws-sdk-go-v2/service/sso/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# v1.27.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.26.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/sso/api_client.go
generated
vendored
|
|
@ -419,15 +419,16 @@ func setResolvedDefaultsMode(o *Options) {
|
|||
// NewFromConfig returns a new client from the provided config.
|
||||
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
||||
opts := Options{
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/sso/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -193,7 +195,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -212,6 +215,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/sso/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package sso
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.26.1"
|
||||
const goModuleVersion = "1.27.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/sso/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/sso/options.go
generated
vendored
|
|
@ -128,6 +128,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
5
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md
generated
vendored
5
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# v1.32.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.31.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_client.go
generated
vendored
|
|
@ -419,15 +419,16 @@ func setResolvedDefaultsMode(o *Options) {
|
|||
// NewFromConfig returns a new client from the provided config.
|
||||
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
||||
opts := Options{
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -187,7 +189,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -206,6 +209,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package ssooidc
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.31.1"
|
||||
const goModuleVersion = "1.32.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/options.go
generated
vendored
|
|
@ -128,6 +128,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
5
vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md
generated
vendored
5
vendor/github.com/aws/aws-sdk-go-v2/service/sts/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# v1.36.0 (2025-08-04)
|
||||
|
||||
* **Feature**: Support configurable auth scheme preferences in service clients via AWS_AUTH_SCHEME_PREFERENCE in the environment, auth_scheme_preference in the config file, and through in-code settings on LoadDefaultConfig and client constructor methods.
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.35.1 (2025-07-30)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
19
vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/sts/api_client.go
generated
vendored
|
|
@ -423,15 +423,16 @@ func setResolvedDefaultsMode(o *Options) {
|
|||
// NewFromConfig returns a new client from the provided config.
|
||||
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
|
||||
opts := Options{
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
Region: cfg.Region,
|
||||
DefaultsMode: cfg.DefaultsMode,
|
||||
RuntimeEnvironment: cfg.RuntimeEnvironment,
|
||||
HTTPClient: cfg.HTTPClient,
|
||||
Credentials: cfg.Credentials,
|
||||
APIOptions: cfg.APIOptions,
|
||||
Logger: cfg.Logger,
|
||||
ClientLogMode: cfg.ClientLogMode,
|
||||
AppID: cfg.AppID,
|
||||
AuthSchemePreference: cfg.AuthSchemePreference,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
|
|||
28
vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/sts/auth.go
generated
vendored
|
|
@ -12,6 +12,8 @@ import (
|
|||
"github.com/aws/smithy-go/middleware"
|
||||
"github.com/aws/smithy-go/tracing"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"slices"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) {
|
||||
|
|
@ -181,7 +183,8 @@ func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in mid
|
|||
}
|
||||
|
||||
func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) {
|
||||
for _, option := range options {
|
||||
sorted := sortAuthOptions(options, m.options.AuthSchemePreference)
|
||||
for _, option := range sorted {
|
||||
if option.SchemeID == smithyauth.SchemeIDAnonymous {
|
||||
return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true
|
||||
}
|
||||
|
|
@ -200,6 +203,29 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option)
|
|||
return nil, false
|
||||
}
|
||||
|
||||
func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option {
|
||||
byPriority := make([]*smithyauth.Option, 0, len(options))
|
||||
for _, prefName := range preferred {
|
||||
for _, option := range options {
|
||||
optName := option.SchemeID
|
||||
if parts := strings.Split(option.SchemeID, "#"); len(parts) == 2 {
|
||||
optName = parts[1]
|
||||
}
|
||||
if prefName == optName {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, option := range options {
|
||||
if !slices.ContainsFunc(byPriority, func(o *smithyauth.Option) bool {
|
||||
return o.SchemeID == option.SchemeID
|
||||
}) {
|
||||
byPriority = append(byPriority, option)
|
||||
}
|
||||
}
|
||||
return byPriority
|
||||
}
|
||||
|
||||
type resolvedAuthSchemeKey struct{}
|
||||
|
||||
type resolvedAuthScheme struct {
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/sts/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package sts
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.35.1"
|
||||
const goModuleVersion = "1.36.0"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/sts/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/sts/options.go
generated
vendored
|
|
@ -128,6 +128,9 @@ type Options struct {
|
|||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue