diff --git a/go.mod b/go.mod index ce1278d87..18ba522b0 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/NVIDIA/holodeck go 1.24.1 require ( - github.com/aws/aws-sdk-go-v2 v1.37.1 + github.com/aws/aws-sdk-go-v2 v1.38.0 github.com/aws/aws-sdk-go-v2/config v1.30.1 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.237.0 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.242.0 github.com/aws/aws-sdk-go-v2/service/ssm v1.61.0 github.com/mattn/go-isatty v0.0.20 github.com/onsi/ginkgo/v2 v2.23.4 @@ -22,11 +22,11 @@ require ( require ( github.com/aws/aws-sdk-go-v2/credentials v1.18.2 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.1 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.1 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.3 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.3 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.3 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.26.1 // indirect github.com/aws/aws-sdk-go-v2/service/ssooidc v1.31.1 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.35.1 // indirect diff --git a/go.sum b/go.sum index 185625a55..99d9e87e9 100644 --- a/go.sum +++ b/go.sum @@ -1,23 +1,23 @@ -github.com/aws/aws-sdk-go-v2 v1.37.1 h1:SMUxeNz3Z6nqGsXv0JuJXc8w5YMtrQMuIBmDx//bBDY= -github.com/aws/aws-sdk-go-v2 v1.37.1/go.mod h1:9Q0OoGQoboYIAJyslFyF1f5K1Ryddop8gqMhWx/n4Wg= +github.com/aws/aws-sdk-go-v2 v1.38.0 h1:UCRQ5mlqcFk9HJDIqENSLR3wiG1VTWlyUfLDEvY7RxU= +github.com/aws/aws-sdk-go-v2 v1.38.0/go.mod h1:9Q0OoGQoboYIAJyslFyF1f5K1Ryddop8gqMhWx/n4Wg= github.com/aws/aws-sdk-go-v2/config v1.30.1 h1:sHL8g/+9tcZATeV2tEkEfxZeaNokDtKsSjGMGHD49qA= github.com/aws/aws-sdk-go-v2/config v1.30.1/go.mod h1:wkibEyFfxXRyTSzRU4bbF5IUsSXyE4xQ4ZjkGmi5tFo= github.com/aws/aws-sdk-go-v2/credentials v1.18.2 h1:mfm0GKY/PHLhs7KO0sUaOtFnIQ15Qqxt+wXbO/5fIfs= github.com/aws/aws-sdk-go-v2/credentials v1.18.2/go.mod h1:v0SdJX6ayPeZFQxgXUKw5RhLpAoZUuynxWDfh8+Eknc= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.1 h1:owmNBboeA0kHKDcdF8KiSXmrIuXZustfMGGytv6OMkM= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.1/go.mod h1:Bg1miN59SGxrZqlP8vJZSmXW+1N8Y1MjQDq1OfuNod8= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.1 h1:ksZXBYv80EFTcgc8OJO48aQ8XDWXIQL7gGasPeCoTzI= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.1/go.mod h1:HSksQyyJETVZS7uM54cir0IgxttTD+8aEoJMPGepHBI= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.1 h1:+dn/xF/05utS7tUhjIcndbuaPjfll2LhbH1cCDGLYUQ= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.1/go.mod h1:hyAGz30LHdm5KBZDI58MXx5lDVZ5CUfvfTZvMu4HCZo= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.3 h1:o9RnO+YZ4X+kt5Z7Nvcishlz0nksIt2PIzDglLMP0vA= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.3/go.mod h1:+6aLJzOG1fvMOyzIySYjOFjcguGvVRL68R+uoRencN4= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.3 h1:joyyUFhiTQQmVK6ImzNU9TQSNRNeD9kOklqTzyk5v6s= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.3/go.mod h1:+vNIyZQP3b3B1tSLI0lxvrU9cfM7gpdRXMFfm67ZcPc= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d2KyU5X/BZxjOkRo= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.237.0 h1:XHE2G+yaDQql32FZt19QmQt4WuisqQJIkMUSCxeCUl8= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.237.0/go.mod h1:t11/j/nH9i6bbsPH9xc04BJOsV2nVPUqrB67/TLDsyM= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.242.0 h1:xgbWik/QFlVCvoUbumUPPZI7+0RXiScb8eHSV06CELU= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.242.0/go.mod h1:EeWmteKqZjaMj45MUmPET1SisFI+HkqWIRQoyjMivcc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 h1:6+lZi2JeGKtCraAj1rpoZfKqnQ9SptseRZioejfUOLM= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0/go.mod h1:eb3gfbVIxIoGgJsi9pGne19dhCBpK6opTYpQqAmdy44= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.1 h1:ky79ysLMxhwk5rxJtS+ILd3Mc8kC5fhsLBrP27r6h4I= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.1/go.mod h1:+2MmkvFvPYM1vsozBWduoLJUi5maxFk5B7KJFECujhY= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.3 h1:ieRzyHXypu5ByllM7Sp4hC5f/1Fy5wqxqY0yB85hC7s= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.3/go.mod h1:O5ROz8jHiOAKAwx179v+7sHMhfobFVi6nZt8DEyiYoM= github.com/aws/aws-sdk-go-v2/service/ssm v1.61.0 h1:JRd8S8zteNH3TB2LgA8woCObScv/LImxfNyr+bE7jKw= github.com/aws/aws-sdk-go-v2/service/ssm v1.61.0/go.mod h1:4xJVAEeQ2GRGZW7nSyOYXFHdxHf2mkz16+hm7Z+acgU= github.com/aws/aws-sdk-go-v2/service/sso v1.26.1 h1:uWaz3DoNK9MNhm7i6UGxqufwu3BEuJZm72WlpGwyVtY= diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/config.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/config.go index 709808740..3219517da 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/config.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/config.go @@ -196,6 +196,14 @@ type Config struct { // Registry of HTTP interceptors. Interceptors smithyhttp.InterceptorRegistry + + // Priority list of preferred auth scheme IDs. + AuthSchemePreference []string + + // ServiceOptions provides service specific configuration options that will be applied + // when constructing clients for specific services. Each callback function receives the service ID + // and the service's Options struct, allowing for dynamic configuration based on the service. + ServiceOptions []func(string, any) } // NewConfig returns a new Config pointer that can be chained with builder diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go index bfcd0c296..dbbd7f0b9 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go @@ -3,4 +3,4 @@ package aws // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.37.1" +const goModuleVersion = "1.38.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md index 538475c26..17250d76a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.4.3 (2025-08-11) + +* **Dependency Update**: Updated to the latest SDK module versions + +# 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 diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go index 7292b353b..046d00237 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go @@ -3,4 +3,4 @@ package configsources // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.1" +const goModuleVersion = "1.4.3" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md index ff649898f..b7bd93f37 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md @@ -1,3 +1,11 @@ +# v2.7.3 (2025-08-11) + +* **Dependency Update**: Updated to the latest SDK module versions + +# 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 diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go index 78a71f6ce..fd1a4e368 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go @@ -3,4 +3,4 @@ package endpoints // goModuleVersion is the tagged release for this module -const goModuleVersion = "2.7.1" +const goModuleVersion = "2.7.3" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md index be5f9f184..1efeff3d2 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md @@ -1,3 +1,27 @@ +# v1.242.0 (2025-08-11) + +* **Feature**: Add support for configuring per-service Options via callback on global config. +* **Feature**: This release adds AvailabilityZoneId support for CreateVolume, DescribeVolume, LaunchTemplates, RunInstances, DescribeInstances, CreateDefaultSubnet, SpotInstances, and CreateDefaultSubnet APIs. +* **Dependency Update**: Updated to the latest SDK module versions + +# 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. + +# v1.238.0 (2025-07-30) + +* **Feature**: Release to show the next hop IP address for routes propagated by VPC Route Server into VPC route tables. +* **Dependency Update**: Updated to the latest SDK module versions + # v1.237.0 (2025-07-28) * **Feature**: Add support for HTTP interceptors. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go index 5e200d725..31695be56 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go @@ -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) @@ -445,7 +446,14 @@ func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client { resolveUseDualStackEndpoint(cfg, &opts) resolveUseFIPSEndpoint(cfg, &opts) resolveBaseEndpoint(cfg, &opts) - return New(opts, optFns...) + return New(opts, func(o *Options) { + for _, opt := range cfg.ServiceOptions { + opt(ServiceID, o) + } + for _, opt := range optFns { + opt(o) + } + }) } func resolveHTTPClient(o *Options) { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go index 38a4ffd94..d08e53403 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go @@ -35,9 +35,14 @@ type CreateDefaultSubnetInput struct { // The Availability Zone in which to create the default subnet. // - // This member is required. + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. AvailabilityZone *string + // The ID of the Availability Zone. + // + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. + AvailabilityZoneId *string + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation . Otherwise, it is @@ -130,9 +135,6 @@ func (c *Client) addOperationCreateDefaultSubnetMiddlewares(stack *middleware.St if err = addCredentialSource(stack, options); err != nil { return err } - if err = addOpCreateDefaultSubnetValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDefaultSubnet(options.Region), middleware.Before); err != nil { return err } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go index d92ba56ed..c7c3167b0 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go @@ -218,7 +218,8 @@ type CreateSnapshotOutput struct { TransferType types.TransferType // The ID of the volume that was used to create the snapshot. Snapshots created by - // the CopySnapshotaction have an arbitrary volume ID that should not be used for any purpose. + // a copy snapshot operation have an arbitrary volume ID that you should not use + // for any purpose. VolumeId *string // The size of the volume, in GiB. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go index 1db0c1457..8414b7178 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go @@ -52,9 +52,15 @@ type CreateVolumeInput struct { // The ID of the Availability Zone in which to create the volume. For example, // us-east-1a . // - // This member is required. + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. AvailabilityZone *string + // The ID of the Availability Zone in which to create the volume. For example, + // use1-az1 . + // + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. + AvailabilityZoneId *string + // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. For more information, see [Ensure Idempotency]. // @@ -236,6 +242,9 @@ type CreateVolumeOutput struct { // The Availability Zone for the volume. AvailabilityZone *string + // The ID of the Availability Zone for the volume. + AvailabilityZoneId *string + // The time stamp when volume creation was initiated. CreateTime *time.Time @@ -373,9 +382,6 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op if err = addIdempotencyToken_opCreateVolumeMiddleware(stack, options); err != nil { return err } - if err = addOpCreateVolumeValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVolume(options.Region), middleware.Before); err != nil { return err } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go index b23c467ef..1182d15dd 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go @@ -75,6 +75,8 @@ type DescribeInstanceStatusInput struct { // // - availability-zone - The Availability Zone of the instance. // + // - availability-zone-id - The ID of the Availability Zone of the instance. + // // - event.code - The code for the scheduled event ( instance-reboot | // system-reboot | system-maintenance | instance-retirement | instance-stop ). // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go index 7f842927c..6a559b921 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go @@ -83,6 +83,8 @@ type DescribeInstancesInput struct { // // - availability-zone - The Availability Zone of the instance. // + // - availability-zone-id - The ID of the Availability Zone of the instance. + // // - block-device-mapping.attach-time - The attach time for an EBS volume mapped // to the instance, for example, 2022-09-15T17:15:20.000Z . // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go index 08bae9f97..951f5f1eb 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go @@ -57,8 +57,6 @@ import ( // If you are describing a long list of snapshots, we recommend that you paginate // the output to make the list more manageable. For more information, see [Pagination]. // -// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores. -// // For more information about EBS snapshots, see [Amazon EBS snapshots] in the Amazon EBS User Guide. // // We strongly recommend using only paginated requests. Unpaginated requests are diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go index 6aad179c6..a6a152648 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go @@ -108,6 +108,9 @@ type DescribeSpotInstanceRequestsInput struct { // - launched-availability-zone - The Availability Zone in which the request is // launched. // + // - launched-availability-zone-id - The ID of the Availability Zone in which the + // request is launched. + // // - network-interface.addresses.primary - Indicates whether the IP address is // the primary private IP address. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go index a07f665e7..2e96be46b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go @@ -39,8 +39,15 @@ func (c *Client) DescribeSpotPriceHistory(ctx context.Context, params *DescribeS type DescribeSpotPriceHistoryInput struct { // Filters the results by the specified Availability Zone. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both AvailabilityZone *string + // Filters the results by the specified ID of the Availability Zone. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both + AvailabilityZoneId *string + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation . Otherwise, it is @@ -56,6 +63,9 @@ type DescribeSpotPriceHistoryInput struct { // - availability-zone - The Availability Zone for which prices should be // returned. // + // - availability-zone-id - The ID of the Availability Zone for which prices + // should be returned. + // // - instance-type - The type of instance (for example, m3.medium ). // // - product-description - The product description for the Spot price ( Linux/UNIX diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go index 6ad29a273..fe131a377 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go @@ -39,8 +39,8 @@ import ( // Actions: Reflect the actions you might have to take in response to an event. // For example, if the status of the volume is impaired and the volume event shows // potential-data-inconsistency , then the action shows enable-volume-io . This -// means that you may want to enable the I/O operations for the volume by calling -// the EnableVolumeIOaction and then check the volume for data consistency. +// means that you may want to enable the I/O operations for the volume and then +// check the volume for data consistency. For more information, see [Work with an impaired EBS volume]. // // Volume status is based on the volume status checks, and does not reflect the // volume state. Therefore, volume status does not indicate volumes in the error @@ -51,6 +51,7 @@ import ( // particular order. // // [Monitor the status of your volumes]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-status.html +// [Work with an impaired EBS volume]: https://docs.aws.amazon.com/ebs/latest/userguide/work_volumes_impaired.html func (c *Client) DescribeVolumeStatus(ctx context.Context, params *DescribeVolumeStatusInput, optFns ...func(*Options)) (*DescribeVolumeStatusOutput, error) { if params == nil { params = &DescribeVolumeStatusInput{} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go index 26ccf648c..6ec8f43e4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go @@ -72,6 +72,9 @@ type DescribeVolumesInput struct { // // - availability-zone - The Availability Zone in which the volume was created. // + // - availability-zone-id - The ID of the Availability Zone in which the volume + // was created. + // // - create-time - The time stamp when the volume was created. // // - encrypted - Indicates whether the volume is encrypted ( true | false ) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go index 4be55aee9..31be9a7cc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go @@ -17,8 +17,6 @@ import ( // specified when you created each volume. For more information, see [Amazon EBS encryption]in the Amazon // EBS User Guide. // -// You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. -// // Enabling encryption by default has no effect on the encryption status of your // existing volumes. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go index 8fb4904bd..4816521f6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go @@ -15,8 +15,7 @@ import ( // Availability Zones. // // You get the full benefit of fast snapshot restores after they enter the enabled -// state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable -// fast snapshot restores, use DisableFastSnapshotRestores. +// state. // // For more information, see [Amazon EBS fast snapshot restore] in the Amazon EBS User Guide. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go index ab5926ecd..8dd6d5fe7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go @@ -11,8 +11,7 @@ import ( ) // Describes the default KMS key for EBS encryption by default for your account in -// this Region. You can change the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId -// or ResetEbsDefaultKmsKeyId. +// this Region. // // For more information, see [Amazon EBS encryption] in the Amazon EBS User Guide. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go index 8028b9832..112e29789 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go @@ -38,11 +38,6 @@ func (c *Client) ImportVolume(ctx context.Context, params *ImportVolumeInput, op type ImportVolumeInput struct { - // The Availability Zone for the resulting EBS volume. - // - // This member is required. - AvailabilityZone *string - // The disk image. // // This member is required. @@ -53,6 +48,16 @@ type ImportVolumeInput struct { // This member is required. Volume *types.VolumeDetail + // The Availability Zone for the resulting EBS volume. + // + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. + AvailabilityZone *string + + // The ID of the Availability Zone for the resulting EBS volume. + // + // Either AvailabilityZone or AvailabilityZoneId must be specified, but not both. + AvailabilityZoneId *string + // A description of the volume. Description *string diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go index 5ffb607f6..6d574270c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go @@ -16,9 +16,7 @@ import ( // Amazon Web Services creates a unique Amazon Web Services managed KMS key in // each Region for use with encryption by default. If you change the default KMS // key to a symmetric customer managed KMS key, it is used instead of the Amazon -// Web Services managed KMS key. To reset the default KMS key to the Amazon Web -// Services managed KMS key for EBS, use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric -// KMS keys. +// Web Services managed KMS key. Amazon EBS does not support asymmetric KMS keys. // // If you delete or disable the customer managed KMS key that you specified for // use with encryption by default, your instances will fail to launch. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go index d768c71b6..98ec2ee6c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go @@ -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 diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go index 3053a0a0f..f9fd11fab 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go @@ -21,9 +21,9 @@ import ( // (OU) or root (the entire Amazon Web Services Organization). // // The report is saved to your specified S3 bucket, using the following path -// structure (with the capitalized placeholders representing your specific values): +// structure (with the italicized placeholders representing your specific values): // -// s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv +// s3://amzn-s3-demo-bucket/your-optional-s3-prefix/ec2_targetId_reportId_yyyyMMddThhmmZ.csv // // Prerequisites for generating a report // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go index 10232794c..af7e435b1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go @@ -107,6 +107,12 @@ type TerminateInstancesInput struct { // UnauthorizedOperation . DryRun *bool + // Forces the instances to terminate. The instance will first attempt a graceful + // shutdown, which includes flushing file system caches and metadata. If the + // graceful shutdown fails to complete within the timeout period, the instance + // shuts down forcibly without flushing the file system caches and metadata. + Force *bool + // Specifies whether to bypass the graceful OS shutdown process when the instance // is terminated. // diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go index 1fe418e02..a8825dad3 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/auth.go @@ -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 { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go index 0057ce0ea..793112a51 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go @@ -94048,6 +94048,19 @@ func awsEc2query_deserializeDocumentImportInstanceVolumeDetailItem(v **types.Imp sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("bytesConverted", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -94375,6 +94388,19 @@ func awsEc2query_deserializeDocumentImportVolumeTaskDetails(v **types.ImportVolu sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("bytesConverted", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -99860,6 +99886,19 @@ func awsEc2query_deserializeDocumentInstanceStatus(v **types.InstanceStatus, dec sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("eventsSet", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentInstanceStatusEventList(&sv.Events, nodeDecoder); err != nil { @@ -110927,6 +110966,19 @@ func awsEc2query_deserializeDocumentLaunchTemplatePlacement(v **types.LaunchTemp sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("groupId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -122410,6 +122462,19 @@ func awsEc2query_deserializeDocumentPlacement(v **types.Placement, decoder smith sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("groupId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -129706,6 +129771,19 @@ func awsEc2query_deserializeDocumentRoute(v **types.Route, decoder smithyxml.Nod sv.InstanceOwnerId = ptr.String(xtv) } + case strings.EqualFold("ipAddress", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.IpAddress = ptr.String(xtv) + } + case strings.EqualFold("localGatewayId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -134359,6 +134437,12 @@ func awsEc2query_deserializeDocumentServiceConfiguration(v **types.ServiceConfig sv.AcceptanceRequired = ptr.Bool(xtv) } + case strings.EqualFold("availabilityZoneIdSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentValueStringList(&sv.AvailabilityZoneIds, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("availabilityZoneSet", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentValueStringList(&sv.AvailabilityZones, nodeDecoder); err != nil { @@ -134630,6 +134714,12 @@ func awsEc2query_deserializeDocumentServiceDetail(v **types.ServiceDetail, decod sv.AcceptanceRequired = ptr.Bool(xtv) } + case strings.EqualFold("availabilityZoneIdSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentValueStringList(&sv.AvailabilityZoneIds, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("availabilityZoneSet", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentValueStringList(&sv.AvailabilityZones, nodeDecoder); err != nil { @@ -138126,6 +138216,19 @@ func awsEc2query_deserializeDocumentSpotInstanceRequest(v **types.SpotInstanceRe sv.LaunchedAvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("launchedAvailabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.LaunchedAvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("launchGroup", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -138925,6 +139028,19 @@ func awsEc2query_deserializeDocumentSpotPrice(v **types.SpotPrice, decoder smith sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("instanceType", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -154433,6 +154549,19 @@ func awsEc2query_deserializeDocumentVolume(v **types.Volume, decoder smithyxml.N sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("createTime", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -167075,6 +167204,19 @@ func awsEc2query_deserializeOpDocumentCreateVolumeOutput(v **CreateVolumeOutput, sv.AvailabilityZone = ptr.String(xtv) } + case strings.EqualFold("availabilityZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZoneId = ptr.String(xtv) + } + case strings.EqualFold("createTime", t.Name.Local): val, err := decoder.Value() if err != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go index bcdfe05a1..20d36c444 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.237.0" +const goModuleVersion = "1.242.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go index af0867f54..3c934b008 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go @@ -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. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go index 60555d4f0..1375c4232 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go @@ -53217,6 +53217,11 @@ func awsEc2query_serializeDocumentLaunchTemplatePlacementRequest(v *types.Launch objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.GroupId != nil { objectKey := object.Key("GroupId") objectKey.String(*v.GroupId) @@ -54960,6 +54965,11 @@ func awsEc2query_serializeDocumentPlacement(v *types.Placement, value query.Valu objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.GroupId != nil { objectKey := object.Key("GroupId") objectKey.String(*v.GroupId) @@ -61234,6 +61244,11 @@ func awsEc2query_serializeOpDocumentCreateDefaultSubnetInput(v *CreateDefaultSub objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.DryRun != nil { objectKey := object.Key("DryRun") objectKey.Boolean(*v.DryRun) @@ -64423,6 +64438,11 @@ func awsEc2query_serializeOpDocumentCreateVolumeInput(v *CreateVolumeInput, valu objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.ClientToken != nil { objectKey := object.Key("ClientToken") objectKey.String(*v.ClientToken) @@ -70936,6 +70956,11 @@ func awsEc2query_serializeOpDocumentDescribeSpotPriceHistoryInput(v *DescribeSpo objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.DryRun != nil { objectKey := object.Key("DryRun") objectKey.Boolean(*v.DryRun) @@ -75632,6 +75657,11 @@ func awsEc2query_serializeOpDocumentImportVolumeInput(v *ImportVolumeInput, valu objectKey.String(*v.AvailabilityZone) } + if v.AvailabilityZoneId != nil { + objectKey := object.Key("AvailabilityZoneId") + objectKey.String(*v.AvailabilityZoneId) + } + if v.Description != nil { objectKey := object.Key("Description") objectKey.String(*v.Description) @@ -80860,6 +80890,11 @@ func awsEc2query_serializeOpDocumentTerminateInstancesInput(v *TerminateInstance objectKey.Boolean(*v.DryRun) } + if v.Force != nil { + objectKey := object.Key("Force") + objectKey.Boolean(*v.Force) + } + if v.InstanceIds != nil { objectKey := object.FlatKey("InstanceId") if err := awsEc2query_serializeDocumentInstanceIdStringList(v.InstanceIds, objectKey); err != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go index 5e2568fa0..a56384742 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go @@ -7277,6 +7277,9 @@ type ImportInstanceVolumeDetailItem struct { // The Availability Zone where the resulting instance will reside. AvailabilityZone *string + // The ID of the Availability Zone where the resulting instance will reside. + AvailabilityZoneId *string + // The number of bytes converted so far. BytesConverted *int64 @@ -7322,6 +7325,9 @@ type ImportVolumeTaskDetails struct { // The Availability Zone where the resulting volume will reside. AvailabilityZone *string + // The ID of the Availability Zone where the resulting volume will reside. + AvailabilityZoneId *string + // The number of bytes converted so far. BytesConverted *int64 @@ -9390,6 +9396,9 @@ type InstanceStatus struct { // The Availability Zone of the instance. AvailabilityZone *string + // The ID of the Availability Zone of the instance. + AvailabilityZoneId *string + // Any scheduled events associated with the instance. Events []InstanceStatusEvent @@ -12052,6 +12061,9 @@ type LaunchTemplatePlacement struct { // The Availability Zone of the instance. AvailabilityZone *string + // The ID of the Availability Zone of the instance. + AvailabilityZoneId *string + // The Group ID of the placement group. You must specify the Placement Group Group // ID to launch an instance in a shared placement group. GroupId *string @@ -12086,8 +12098,15 @@ type LaunchTemplatePlacementRequest struct { Affinity *string // The Availability Zone for the instance. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both AvailabilityZone *string + // The ID of the Availability Zone for the instance. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both + AvailabilityZoneId *string + // The Group Id of a placement group. You must specify the Placement Group Group // Id to launch an instance in a shared placement group. GroupId *string @@ -15007,7 +15026,8 @@ type Placement struct { // The Availability Zone of the instance. // - // If not specified, an Availability Zone will be automatically chosen for you + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both. + // If neither is specified, Amazon EC2 automatically selects an Availability Zone // based on the load balancing criteria for the Region. // // This parameter is not supported for [CreateFleet]. @@ -15015,6 +15035,17 @@ type Placement struct { // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet AvailabilityZone *string + // The ID of the Availability Zone of the instance. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both. + // If neither is specified, Amazon EC2 automatically selects an Availability Zone + // based on the load balancing criteria for the Region. + // + // This parameter is not supported for [CreateFleet]. + // + // [CreateFleet]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet + AvailabilityZoneId *string + // The ID of the placement group that the instance is in. If you specify GroupId , // you can't specify GroupName . GroupId *string @@ -15844,6 +15875,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. @@ -15853,6 +15887,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 @@ -16750,6 +16787,10 @@ type Route struct { // The ID of Amazon Web Services account that owns the instance. InstanceOwnerId *string + // The next hop IP address for routes propagated by VPC Route Server into VPC + // route tables. + IpAddress *string + // The ID of the local gateway. LocalGatewayId *string @@ -17936,7 +17977,14 @@ type ServiceConfiguration struct { // endpoint to the service must first be accepted. AcceptanceRequired *bool + // The IDs of the Availability Zones in which the service is available. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both + AvailabilityZoneIds []string + // The Availability Zones in which the service is available. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both AvailabilityZones []string // The DNS names for the service. @@ -17996,7 +18044,14 @@ type ServiceDetail struct { // accepted by the service owner. AcceptanceRequired *bool + // The IDs of the Availability Zones in which the service is available. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both + AvailabilityZoneIds []string + // The Availability Zones in which the service is available. + // + // Either AvailabilityZone or AvailabilityZoneId can be specified, but not both AvailabilityZones []string // The DNS names for the service. @@ -18238,7 +18293,8 @@ type Snapshot struct { TransferType TransferType // The ID of the volume that was used to create the snapshot. Snapshots created by - // the CopySnapshotaction have an arbitrary volume ID that should not be used for any purpose. + // a copy snapshot operation have an arbitrary volume ID that you should not use + // for any purpose. VolumeId *string // The size of the volume, in GiB. @@ -18970,8 +19026,17 @@ type SpotInstanceRequest struct { LaunchSpecification *LaunchSpecification // The Availability Zone in which the request is launched. + // + // Either launchedAvailabilityZone or launchedAvailabilityZoneId can be specified, + // but not both LaunchedAvailabilityZone *string + // The ID of the Availability Zone in which the request is launched. + // + // Either launchedAvailabilityZone or launchedAvailabilityZoneId can be specified, + // but not both + LaunchedAvailabilityZoneId *string + // The product description associated with the Spot Instance. ProductDescription RIProductDescription @@ -19401,6 +19466,9 @@ type SpotPrice struct { // The Availability Zone. AvailabilityZone *string + // The ID of the Availability Zone. + AvailabilityZoneId *string + // The instance type. InstanceType InstanceType @@ -22204,6 +22272,9 @@ type Volume struct { // The Availability Zone for the volume. AvailabilityZone *string + // The ID of the Availability Zone for the volume. + AvailabilityZoneId *string + // The time stamp when volume creation was initiated. CreateTime *time.Time diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go index d590e5855..823b3d93c 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go @@ -1270,26 +1270,6 @@ func (m *validateOpCreateCustomerGateway) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } -type validateOpCreateDefaultSubnet struct { -} - -func (*validateOpCreateDefaultSubnet) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpCreateDefaultSubnet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*CreateDefaultSubnetInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpCreateDefaultSubnetInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpCreateDelegateMacVolumeOwnershipTask struct { } @@ -2510,26 +2490,6 @@ func (m *validateOpCreateVerifiedAccessTrustProvider) HandleInitialize(ctx conte return next.HandleInitialize(ctx, in) } -type validateOpCreateVolume struct { -} - -func (*validateOpCreateVolume) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpCreateVolume) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*CreateVolumeInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpCreateVolumeInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpCreateVpcBlockPublicAccessExclusion struct { } @@ -9922,10 +9882,6 @@ func addOpCreateCustomerGatewayValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpCreateCustomerGateway{}, middleware.After) } -func addOpCreateDefaultSubnetValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpCreateDefaultSubnet{}, middleware.After) -} - func addOpCreateDelegateMacVolumeOwnershipTaskValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateDelegateMacVolumeOwnershipTask{}, middleware.After) } @@ -10170,10 +10126,6 @@ func addOpCreateVerifiedAccessTrustProviderValidationMiddleware(stack *middlewar return stack.Initialize.Add(&validateOpCreateVerifiedAccessTrustProvider{}, middleware.After) } -func addOpCreateVolumeValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpCreateVolume{}, middleware.After) -} - func addOpCreateVpcBlockPublicAccessExclusionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateVpcBlockPublicAccessExclusion{}, middleware.After) } @@ -13594,21 +13546,6 @@ func validateOpCreateCustomerGatewayInput(v *CreateCustomerGatewayInput) error { } } -func validateOpCreateDefaultSubnetInput(v *CreateDefaultSubnetInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "CreateDefaultSubnetInput"} - if v.AvailabilityZone == nil { - invalidParams.Add(smithy.NewErrParamRequired("AvailabilityZone")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpCreateDelegateMacVolumeOwnershipTaskInput(v *CreateDelegateMacVolumeOwnershipTaskInput) error { if v == nil { return nil @@ -14731,21 +14668,6 @@ func validateOpCreateVerifiedAccessTrustProviderInput(v *CreateVerifiedAccessTru } } -func validateOpCreateVolumeInput(v *CreateVolumeInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "CreateVolumeInput"} - if v.AvailabilityZone == nil { - invalidParams.Add(smithy.NewErrParamRequired("AvailabilityZone")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpCreateVpcBlockPublicAccessExclusionInput(v *CreateVpcBlockPublicAccessExclusionInput) error { if v == nil { return nil @@ -18255,9 +18177,6 @@ func validateOpImportVolumeInput(v *ImportVolumeInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ImportVolumeInput"} - if v.AvailabilityZone == nil { - invalidParams.Add(smithy.NewErrParamRequired("AvailabilityZone")) - } if v.Image == nil { invalidParams.Add(smithy.NewErrParamRequired("Image")) } else if v.Image != nil { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md index 0d5a82b64..18bff6cea 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.13.3 (2025-08-11) + +* **Dependency Update**: Updated to the latest SDK module versions + +# 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 diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go index 89b8f34ff..226823eb7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go @@ -3,4 +3,4 @@ package presignedurl // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.3" diff --git a/vendor/modules.txt b/vendor/modules.txt index 317ed799d..39be37f9f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/aws/aws-sdk-go-v2 v1.37.1 +# github.com/aws/aws-sdk-go-v2 v1.38.0 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/aws github.com/aws/aws-sdk-go-v2/aws/defaults @@ -41,16 +41,16 @@ github.com/aws/aws-sdk-go-v2/credentials/stscreds ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/feature/ec2/imds github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config -# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.1 +# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.3 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/internal/configsources -# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.1 +# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.3 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 # github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/internal/ini -# github.com/aws/aws-sdk-go-v2/service/ec2 v1.237.0 +# github.com/aws/aws-sdk-go-v2/service/ec2 v1.242.0 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/ec2 github.com/aws/aws-sdk-go-v2/service/ec2/internal/endpoints @@ -58,7 +58,7 @@ github.com/aws/aws-sdk-go-v2/service/ec2/types # github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding -# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.1 +# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.3 ## explicit; go 1.22 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url # github.com/aws/aws-sdk-go-v2/service/ssm v1.61.0