Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.29.7 to 1.29.8
Bumps [github.com/aws/aws-sdk-go-v2/service/kinesis](https://github.com/aws/aws-sdk-go-v2) from 1.29.7 to 1.29.8. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/sqs/v1.29.7...service/sns/v1.29.8) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/kinesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
a65f2dfbe7
commit
8d909fb4fa
8 changed files with 18 additions and 41 deletions
2
go.mod
2
go.mod
|
|
@ -10,7 +10,7 @@ require (
|
|||
github.com/aws/aws-sdk-go-v2/credentials v1.17.33
|
||||
github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.15.4
|
||||
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.34.10
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.7
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.8
|
||||
github.com/awslabs/kinesis-aggregation/go/v2 v2.0.0-20230808105340-e631fe742486
|
||||
github.com/go-sql-driver/mysql v1.8.1
|
||||
github.com/lib/pq v1.10.9
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -36,8 +36,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.18/go.mod
|
|||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.19 h1:rfprUlsdzgl7ZL2KlXiUAoJnI/VxfHCvDFr2QDFj6u4=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.19/go.mod h1:SCWkEdRq8/7EK60NcvvQ6NXKuTcchAD4ROAsC37VEZE=
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.6.0/go.mod h1:9O7UG2pELnP0hq35+Gd7XDjOLBkg7tmgRQ0y14ZjoJI=
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.7 h1:vIyT3PV/OTjhi3mY6wWDpHQ0sbp7zB7lH6g/63N5ZlY=
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.7/go.mod h1:URGOU9fStCYx2LYLwT0g8XpsIa5CAk8mq+MbrxCgJDc=
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.8 h1:l+OOHQ/s1pV1eWDbxrJKKzdXf1SbMRFpUOqvDVMiV78=
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.8/go.mod h1:URGOU9fStCYx2LYLwT0g8XpsIa5CAk8mq+MbrxCgJDc=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.22.8 h1:JRwuL+S1Qe1owZQoxblV7ORgRf2o0SrtzDVIbaVCdQ0=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.22.8/go.mod h1:eEygMHnTKH/3kNp9Jr1n3PdejuSNcgwLe1dWgQtO0VQ=
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.8 h1:+HpGETD9463PFSj7lX5+eq7aLDs85QUIA+NBkeAsscA=
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,7 @@
|
|||
# v1.29.8 (2024-09-17)
|
||||
|
||||
* **Bug Fix**: **BREAKFIX**: Only generate AccountIDEndpointMode config for services that use it. This is a compiler break, but removes no actual functionality, as no services currently use the account ID in endpoint resolution.
|
||||
|
||||
# v1.29.7 (2024-09-04)
|
||||
|
||||
* No change notes available for this release.
|
||||
|
|
|
|||
38
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/api_client.go
generated
vendored
38
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/api_client.go
generated
vendored
|
|
@ -239,16 +239,15 @@ 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,
|
||||
AccountIDEndpointMode: cfg.AccountIDEndpointMode,
|
||||
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,
|
||||
}
|
||||
resolveAWSRetryerProvider(cfg, &opts)
|
||||
resolveAWSRetryMaxAttempts(cfg, &opts)
|
||||
|
|
@ -542,25 +541,6 @@ func initializeTimeOffsetResolver(c *Client) {
|
|||
c.timeOffset = new(atomic.Int64)
|
||||
}
|
||||
|
||||
func checkAccountID(identity smithyauth.Identity, mode aws.AccountIDEndpointMode) error {
|
||||
switch mode {
|
||||
case aws.AccountIDEndpointModeUnset:
|
||||
case aws.AccountIDEndpointModePreferred:
|
||||
case aws.AccountIDEndpointModeDisabled:
|
||||
case aws.AccountIDEndpointModeRequired:
|
||||
if ca, ok := identity.(*internalauthsmithy.CredentialsAdapter); !ok {
|
||||
return fmt.Errorf("accountID is required but not set")
|
||||
} else if ca.Credentials.AccountID == "" {
|
||||
return fmt.Errorf("accountID is required but not set")
|
||||
}
|
||||
// default check in case invalid mode is configured through request config
|
||||
default:
|
||||
return fmt.Errorf("invalid accountID endpoint mode %s, must be preferred/required/disabled", mode)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func addUserAgentRetryMode(stack *middleware.Stack, options Options) error {
|
||||
ua, err := getOrAddRequestUserAgent(stack)
|
||||
if err != nil {
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/endpoints.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/endpoints.go
generated
vendored
|
|
@ -1062,10 +1062,6 @@ func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in mid
|
|||
return next.HandleFinalize(ctx, in)
|
||||
}
|
||||
|
||||
if err := checkAccountID(getIdentity(ctx), m.options.AccountIDEndpointMode); err != nil {
|
||||
return out, metadata, fmt.Errorf("invalid accountID set: %w", err)
|
||||
}
|
||||
|
||||
req, ok := in.Request.(*smithyhttp.Request)
|
||||
if !ok {
|
||||
return out, metadata, fmt.Errorf("unknown transport type %T", in.Request)
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/go_module_metadata.go
generated
vendored
|
|
@ -3,4 +3,4 @@
|
|||
package kinesis
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.29.7"
|
||||
const goModuleVersion = "1.29.8"
|
||||
|
|
|
|||
3
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/options.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go-v2/service/kinesis/options.go
generated
vendored
|
|
@ -24,9 +24,6 @@ type Options struct {
|
|||
// modify this list for per operation behavior.
|
||||
APIOptions []func(*middleware.Stack) error
|
||||
|
||||
// Indicates how aws account ID is applied in endpoint2.0 routing
|
||||
AccountIDEndpointMode aws.AccountIDEndpointMode
|
||||
|
||||
// The optional application specific identifier appended to the User-Agent header.
|
||||
AppID string
|
||||
|
||||
|
|
|
|||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
|
@ -90,7 +90,7 @@ github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery
|
|||
# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.19
|
||||
## explicit; go 1.21
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
|
||||
# github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.7
|
||||
# github.com/aws/aws-sdk-go-v2/service/kinesis v1.29.8
|
||||
## explicit; go 1.21
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis
|
||||
github.com/aws/aws-sdk-go-v2/service/kinesis/internal/customizations
|
||||
|
|
|
|||
Loading…
Reference in a new issue