diff --git a/go.mod b/go.mod index 602cfe930..435e61841 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.42.1 github.com/aws/aws-sdk-go-v2/config v1.32.29 github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.0 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.56.0 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.57.0 github.com/aws/aws-sdk-go-v2/service/ssm v1.71.0 github.com/mattn/go-isatty v0.0.22 github.com/onsi/ginkgo/v2 v2.32.0 diff --git a/go.sum b/go.sum index fa1cdb323..dfa54416f 100644 --- a/go.sum +++ b/go.sum @@ -16,8 +16,8 @@ github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.31 h1:3GUprIsfmGcC5SACIyB0e7E0BM1 github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.31/go.mod h1:7PuV1yl5e2xnUbm+RqvVg5i2iBM8EyijZNoI9wsOoOc= github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.0 h1:LlxNun/oe5B2XMff8Mkh/3bJeHl1K7Fod+rMYtjagw4= github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.0/go.mod h1:eoF0SIRbTgKWnTcTPYckiURPba/7ilfEkvwL4V1iHK4= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.56.0 h1:OJRqQ6G7RjmwJ9fkhFgcJBSinjrLJxfd5AacBUrhKXc= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.56.0/go.mod h1:qNnJkZTDHDL2sO8hyVH2yILcfSEkjP/pIns2JsF1g1o= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.57.0 h1:Qq9WDWJ6jKchg3U1Uwy511vdmYldeo8RZrg0+nRHjfI= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.57.0/go.mod h1:qNnJkZTDHDL2sO8hyVH2yILcfSEkjP/pIns2JsF1g1o= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 h1:mbRIur/BiHK6SKPjoBIXSE/hJ6g6JGRLuxQy1jGjlN4= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13/go.mod h1:ITg9em2KbJx1s0y4aqRX5OYWG6HBZ5TVR//OdpEZ2CQ= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.30 h1:/Z5jmNrKsSD7EmDjzAPsm/3L9IuOkzaynklJZ1qX7S4= diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/CHANGELOG.md index 103916eb3..eb3531fc7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.57.0 (2026-07-15) + +* **Feature**: This release adds support for the IpAddressType field on SourceIpConfig, enabling Network Load Balancer listener rules to match traffic based on whether the source IP is IPv4 or IPv6. + +# v1.56.1 (2026-07-13) + +* No change notes available for this release. + # v1.56.0 (2026-07-06) * **Feature**: Add request serialization snapshot tests. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/deserializers.go index 2d5f02900..90b6eb52a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/deserializers.go @@ -15073,6 +15073,19 @@ func awsAwsquery_deserializeDocumentSourceIpConditionConfig(v **types.SourceIpCo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("IpAddressType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.IpAddressType = types.SourceIpAddressTypeEnum(xtv) + } + case strings.EqualFold("Values", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsAwsquery_deserializeDocumentListOfString(&sv.Values, nodeDecoder); err != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/generated.json index 27526ef37..10959f95a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/generated.json @@ -69,7 +69,8 @@ "internal/endpoints/endpoints.go", "internal/endpoints/endpoints_test.go", "options.go", - "serde_snapshot_test.go", + "request_snapshot_test.go", + "response_snapshot_test.go", "serializers.go", "snapshot_test.go", "sra_operation_order_test.go", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/go_module_metadata.go index a0298e892..ed005c24b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticloadbalancingv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.56.0" +const goModuleVersion = "1.57.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/serializers.go index accf64ff8..2418945d5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/serializers.go @@ -4596,6 +4596,11 @@ func awsAwsquery_serializeDocumentSourceIpConditionConfig(v *types.SourceIpCondi object := value.Object() _ = object + if len(v.IpAddressType) > 0 { + objectKey := object.Key("IpAddressType") + objectKey.String(string(v.IpAddressType)) + } + if v.Values != nil { objectKey := object.Key("Values") if err := awsAwsquery_serializeDocumentListOfString(v.Values, objectKey); err != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/enums.go index e826ddaf1..e7a1decfb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/enums.go @@ -408,6 +408,25 @@ func (RevocationType) Values() []RevocationType { } } +type SourceIpAddressTypeEnum string + +// Enum values for SourceIpAddressTypeEnum +const ( + SourceIpAddressTypeEnumIpv4 SourceIpAddressTypeEnum = "ipv4" + SourceIpAddressTypeEnumIpv6 SourceIpAddressTypeEnum = "ipv6" +) + +// Values returns all known values for SourceIpAddressTypeEnum. Note that this can +// be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (SourceIpAddressTypeEnum) Values() []SourceIpAddressTypeEnum { + return []SourceIpAddressTypeEnum{ + "ipv4", + "ipv6", + } +} + type TargetAdministrativeOverrideReasonEnum string // Enum values for TargetAdministrativeOverrideReasonEnum diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/types.go index d93446d7e..80b10b51d 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/types/types.go @@ -1244,6 +1244,15 @@ type RuleTransform struct { // address of the proxy not the IP address of the client. type SourceIpConditionConfig struct { + // The IP address type for Network Load Balancers. + // + // The valid values are: + // + // - ipv4 – IPv4 addresses only. + // + // - ipv6 – IPv6 addresses only. + IpAddressType SourceIpAddressTypeEnum + // The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 // addresses. Wildcards are not supported. // diff --git a/vendor/modules.txt b/vendor/modules.txt index 6aeffa7f2..feca99361 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -61,7 +61,7 @@ github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4 github.com/aws/aws-sdk-go-v2/service/ec2 github.com/aws/aws-sdk-go-v2/service/ec2/internal/endpoints github.com/aws/aws-sdk-go-v2/service/ec2/types -# github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.56.0 +# github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.57.0 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/internal/endpoints