rebase: bump github.com/aws/aws-sdk-go from 1.44.127 to 1.44.132

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.127 to 1.44.132.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.127...v1.44.132)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2022-11-08 10:21:51 +00:00
committed by mergify[bot]
parent 03480d2927
commit c65a4e1d8a
13 changed files with 608 additions and 32 deletions

View File

@ -3356,6 +3356,82 @@ func (c *EC2) CancelExportTaskWithContext(ctx aws.Context, input *CancelExportTa
return out, req.Send()
}
const opCancelImageLaunchPermission = "CancelImageLaunchPermission"
// CancelImageLaunchPermissionRequest generates a "aws/request.Request" representing the
// client's request for the CancelImageLaunchPermission operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CancelImageLaunchPermission for more information on using the CancelImageLaunchPermission
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// // Example sending a request using the CancelImageLaunchPermissionRequest method.
// req, resp := client.CancelImageLaunchPermissionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImageLaunchPermission
func (c *EC2) CancelImageLaunchPermissionRequest(input *CancelImageLaunchPermissionInput) (req *request.Request, output *CancelImageLaunchPermissionOutput) {
op := &request.Operation{
Name: opCancelImageLaunchPermission,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CancelImageLaunchPermissionInput{}
}
output = &CancelImageLaunchPermissionOutput{}
req = c.newRequest(op, input, output)
return
}
// CancelImageLaunchPermission API operation for Amazon Elastic Compute Cloud.
//
// Removes your Amazon Web Services account from the launch permissions for
// the specified AMI. For more information, see Cancel sharing an AMI with your
// Amazon Web Services account (https://docs.aws.amazon.com/) in the Amazon
// Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation CancelImageLaunchPermission for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImageLaunchPermission
func (c *EC2) CancelImageLaunchPermission(input *CancelImageLaunchPermissionInput) (*CancelImageLaunchPermissionOutput, error) {
req, out := c.CancelImageLaunchPermissionRequest(input)
return out, req.Send()
}
// CancelImageLaunchPermissionWithContext is the same as CancelImageLaunchPermission with the addition of
// the ability to pass a context and additional request options.
//
// See CancelImageLaunchPermission for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) CancelImageLaunchPermissionWithContext(ctx aws.Context, input *CancelImageLaunchPermissionInput, opts ...request.Option) (*CancelImageLaunchPermissionOutput, error) {
req, out := c.CancelImageLaunchPermissionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCancelImportTask = "CancelImportTask"
// CancelImportTaskRequest generates a "aws/request.Request" representing the
@ -27432,7 +27508,7 @@ func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetReq
// recorded event. Spot Fleet events are available for 48 hours.
//
// For more information, see Monitor fleet events using Amazon EventBridge (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html)
// in the Amazon EC2 User Guide for Linux Instances.
// in the Amazon EC2 User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -47157,12 +47233,12 @@ func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *reques
// only the spot-fleet-request and instance resource types are supported.
//
// For more information, see Spot Fleet requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html)
// in the Amazon EC2 User Guide for Linux Instances.
// in the Amazon EC2 User Guide.
//
// We strongly discourage using the RequestSpotFleet API because it is a legacy
// API with no planned investment. For options for requesting Spot Instances,
// see Which is the best Spot request method to use? (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use)
// in the Amazon EC2 User Guide for Linux Instances.
// in the Amazon EC2 User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -57662,6 +57738,95 @@ func (s CancelExportTaskOutput) GoString() string {
return s.String()
}
type CancelImageLaunchPermissionInput struct {
_ struct{} `type:"structure"`
// 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 UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The ID of the AMI that was shared with your Amazon Web Services account.
//
// ImageId is a required field
ImageId *string `type:"string" required:"true"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CancelImageLaunchPermissionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CancelImageLaunchPermissionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CancelImageLaunchPermissionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CancelImageLaunchPermissionInput"}
if s.ImageId == nil {
invalidParams.Add(request.NewErrParamRequired("ImageId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetDryRun sets the DryRun field's value.
func (s *CancelImageLaunchPermissionInput) SetDryRun(v bool) *CancelImageLaunchPermissionInput {
s.DryRun = &v
return s
}
// SetImageId sets the ImageId field's value.
func (s *CancelImageLaunchPermissionInput) SetImageId(v string) *CancelImageLaunchPermissionInput {
s.ImageId = &v
return s
}
type CancelImageLaunchPermissionOutput struct {
_ struct{} `type:"structure"`
// Returns true if the request succeeds; otherwise, it returns an error.
Return *bool `locationName:"return" type:"boolean"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CancelImageLaunchPermissionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s CancelImageLaunchPermissionOutput) GoString() string {
return s.String()
}
// SetReturn sets the Return field's value.
func (s *CancelImageLaunchPermissionOutput) SetReturn(v bool) *CancelImageLaunchPermissionOutput {
s.Return = &v
return s
}
type CancelImportTaskInput struct {
_ struct{} `type:"structure"`
@ -67938,7 +68103,7 @@ func (s *CreatePlacementGroupInput) SetTagSpecifications(v []*TagSpecification)
type CreatePlacementGroupOutput struct {
_ struct{} `type:"structure"`
// Describes a placement group.
// Information about the placement group.
PlacementGroup *PlacementGroup `locationName:"placementGroup" type:"structure"`
}
@ -105507,7 +105672,8 @@ type EnableImageDeprecationInput struct {
// the seconds to the nearest minute.
//
// You cant specify a date in the past. The upper limit for DeprecateAt is
// 10 years from now.
// 10 years from now, except for public AMIs, where the upper limit is 2 years
// from the creation date.
//
// DeprecateAt is a required field
DeprecateAt *time.Time `type:"timestamp" required:"true"`
@ -109037,7 +109203,7 @@ func (s *FleetLaunchTemplateOverridesRequest) SetWeightedCapacity(v float64) *Fl
//
// For information about launch templates, see Launch an instance from a launch
// template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html)
// in the Amazon EC2 User Guide for Linux Instances.
// in the Amazon EC2 User Guide.
type FleetLaunchTemplateSpecification struct {
_ struct{} `type:"structure"`
@ -120611,6 +120777,16 @@ func (s *InstancePrivateIpAddress) SetPrivateIpAddress(v string) *InstancePrivat
// all of the specified attributes. If you specify multiple values for an attribute,
// you get instance types that satisfy any of the specified values.
//
// To limit the list of instance types from which Amazon EC2 can identify matching
// instance types, you can use one of the following parameters, but not both
// in the same request:
//
// - AllowedInstanceTypes - The instance types to include in the list. All
// other instance types are ignored, even if they match your specified attributes.
//
// - ExcludedInstanceTypes - The instance types to exclude from the list,
// even if they match your specified attributes.
//
// You must specify VCpuCount and MemoryMiB. All other attributes are optional.
// Any unspecified optional attribute is set to its default.
//
@ -120683,6 +120859,23 @@ type InstanceRequirements struct {
// Default: Any accelerator type
AcceleratorTypes []*string `locationName:"acceleratorTypeSet" locationNameList:"item" type:"list" enum:"AcceleratorType"`
// The instance types to apply your specified attributes against. All other
// instance types are ignored, even if they match your specified attributes.
//
// You can use strings with one or more wild cards, represented by an asterisk
// (*), to allow an instance type, size, or generation. The following are examples:
// m5.8xlarge, c5*.*, m5a.*, r*, *3*.
//
// For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance
// family, which includes all C5a and C5n instance types. If you specify m5a.*,
// Amazon EC2 will allow all the M5a instance types, but not the M5n instance
// types.
//
// If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.
//
// Default: All instance types
AllowedInstanceTypes []*string `locationName:"allowedInstanceTypeSet" locationNameList:"item" type:"list"`
// Indicates whether bare metal instance types must be included, excluded, or
// required.
//
@ -120740,6 +120933,8 @@ type InstanceRequirements struct {
// Amazon EC2 will exclude all the M5a instance types, but not the M5n instance
// types.
//
// If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.
//
// Default: No excluded instance types
ExcludedInstanceTypes []*string `locationName:"excludedInstanceTypeSet" locationNameList:"item" type:"list"`
@ -120787,6 +120982,12 @@ type InstanceRequirements struct {
// The minimum and maximum amount of memory, in MiB.
MemoryMiB *MemoryMiB `locationName:"memoryMiB" type:"structure"`
// The minimum and maximum amount of network bandwidth, in gigabits per second
// (Gbps).
//
// Default: No minimum or maximum limits
NetworkBandwidthGbps *NetworkBandwidthGbps `locationName:"networkBandwidthGbps" type:"structure"`
// The minimum and maximum number of network interfaces.
//
// Default: No minimum or maximum limits
@ -120896,6 +121097,12 @@ func (s *InstanceRequirements) SetAcceleratorTypes(v []*string) *InstanceRequire
return s
}
// SetAllowedInstanceTypes sets the AllowedInstanceTypes field's value.
func (s *InstanceRequirements) SetAllowedInstanceTypes(v []*string) *InstanceRequirements {
s.AllowedInstanceTypes = v
return s
}
// SetBareMetal sets the BareMetal field's value.
func (s *InstanceRequirements) SetBareMetal(v string) *InstanceRequirements {
s.BareMetal = &v
@ -120956,6 +121163,12 @@ func (s *InstanceRequirements) SetMemoryMiB(v *MemoryMiB) *InstanceRequirements
return s
}
// SetNetworkBandwidthGbps sets the NetworkBandwidthGbps field's value.
func (s *InstanceRequirements) SetNetworkBandwidthGbps(v *NetworkBandwidthGbps) *InstanceRequirements {
s.NetworkBandwidthGbps = v
return s
}
// SetNetworkInterfaceCount sets the NetworkInterfaceCount field's value.
func (s *InstanceRequirements) SetNetworkInterfaceCount(v *NetworkInterfaceCount) *InstanceRequirements {
s.NetworkInterfaceCount = v
@ -120999,6 +121212,16 @@ func (s *InstanceRequirements) SetVCpuCount(v *VCpuCountRange) *InstanceRequirem
// all of the specified attributes. If you specify multiple values for an attribute,
// you get instance types that satisfy any of the specified values.
//
// To limit the list of instance types from which Amazon EC2 can identify matching
// instance types, you can use one of the following parameters, but not both
// in the same request:
//
// - AllowedInstanceTypes - The instance types to include in the list. All
// other instance types are ignored, even if they match your specified attributes.
//
// - ExcludedInstanceTypes - The instance types to exclude from the list,
// even if they match your specified attributes.
//
// You must specify VCpuCount and MemoryMiB. All other attributes are optional.
// Any unspecified optional attribute is set to its default.
//
@ -121071,6 +121294,23 @@ type InstanceRequirementsRequest struct {
// Default: Any accelerator type
AcceleratorTypes []*string `locationName:"AcceleratorType" locationNameList:"item" type:"list" enum:"AcceleratorType"`
// The instance types to apply your specified attributes against. All other
// instance types are ignored, even if they match your specified attributes.
//
// You can use strings with one or more wild cards, represented by an asterisk
// (*), to allow an instance type, size, or generation. The following are examples:
// m5.8xlarge, c5*.*, m5a.*, r*, *3*.
//
// For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance
// family, which includes all C5a and C5n instance types. If you specify m5a.*,
// Amazon EC2 will allow all the M5a instance types, but not the M5n instance
// types.
//
// If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.
//
// Default: All instance types
AllowedInstanceTypes []*string `locationName:"AllowedInstanceType" locationNameList:"item" type:"list"`
// Indicates whether bare metal instance types must be included, excluded, or
// required.
//
@ -121128,6 +121368,8 @@ type InstanceRequirementsRequest struct {
// Amazon EC2 will exclude all the M5a instance types, but not the M5n instance
// types.
//
// If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.
//
// Default: No excluded instance types
ExcludedInstanceTypes []*string `locationName:"ExcludedInstanceType" locationNameList:"item" type:"list"`
@ -121177,6 +121419,12 @@ type InstanceRequirementsRequest struct {
// MemoryMiB is a required field
MemoryMiB *MemoryMiBRequest `type:"structure" required:"true"`
// The minimum and maximum amount of network bandwidth, in gigabits per second
// (Gbps).
//
// Default: No minimum or maximum limits
NetworkBandwidthGbps *NetworkBandwidthGbpsRequest `type:"structure"`
// The minimum and maximum number of network interfaces.
//
// Default: No minimum or maximum limits
@ -121314,6 +121562,12 @@ func (s *InstanceRequirementsRequest) SetAcceleratorTypes(v []*string) *Instance
return s
}
// SetAllowedInstanceTypes sets the AllowedInstanceTypes field's value.
func (s *InstanceRequirementsRequest) SetAllowedInstanceTypes(v []*string) *InstanceRequirementsRequest {
s.AllowedInstanceTypes = v
return s
}
// SetBareMetal sets the BareMetal field's value.
func (s *InstanceRequirementsRequest) SetBareMetal(v string) *InstanceRequirementsRequest {
s.BareMetal = &v
@ -121374,6 +121628,12 @@ func (s *InstanceRequirementsRequest) SetMemoryMiB(v *MemoryMiBRequest) *Instanc
return s
}
// SetNetworkBandwidthGbps sets the NetworkBandwidthGbps field's value.
func (s *InstanceRequirementsRequest) SetNetworkBandwidthGbps(v *NetworkBandwidthGbpsRequest) *InstanceRequirementsRequest {
s.NetworkBandwidthGbps = v
return s
}
// SetNetworkInterfaceCount sets the NetworkInterfaceCount field's value.
func (s *InstanceRequirementsRequest) SetNetworkInterfaceCount(v *NetworkInterfaceCountRequest) *InstanceRequirementsRequest {
s.NetworkInterfaceCount = v
@ -131199,7 +131459,7 @@ func (s *ModifyInstanceEventStartTimeInput) SetNotBefore(v time.Time) *ModifyIns
type ModifyInstanceEventStartTimeOutput struct {
_ struct{} `type:"structure"`
// Describes a scheduled event for an instance.
// Information about the event.
Event *InstanceStatusEvent `locationName:"event" type:"structure"`
}
@ -137603,6 +137863,108 @@ func (s *NetworkAclEntry) SetRuleNumber(v int64) *NetworkAclEntry {
return s
}
// The minimum and maximum amount of network bandwidth, in gigabits per second
// (Gbps).
//
// Setting the minimum bandwidth does not guarantee that your instance will
// achieve the minimum bandwidth. Amazon EC2 will identify instance types that
// support the specified minimum bandwidth, but the actual bandwidth of your
// instance might go below the specified minimum at times. For more information,
// see Available instance bandwidth (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth)
// in the Amazon EC2 User Guide.
type NetworkBandwidthGbps struct {
_ struct{} `type:"structure"`
// The maximum amount of network bandwidth, in Gbps. If this parameter is not
// specified, there is no maximum limit.
Max *float64 `locationName:"max" type:"double"`
// The minimum amount of network bandwidth, in Gbps. If this parameter is not
// specified, there is no minimum limit.
Min *float64 `locationName:"min" type:"double"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkBandwidthGbps) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkBandwidthGbps) GoString() string {
return s.String()
}
// SetMax sets the Max field's value.
func (s *NetworkBandwidthGbps) SetMax(v float64) *NetworkBandwidthGbps {
s.Max = &v
return s
}
// SetMin sets the Min field's value.
func (s *NetworkBandwidthGbps) SetMin(v float64) *NetworkBandwidthGbps {
s.Min = &v
return s
}
// The minimum and maximum amount of network bandwidth, in gigabits per second
// (Gbps).
//
// Setting the minimum bandwidth does not guarantee that your instance will
// achieve the minimum bandwidth. Amazon EC2 will identify instance types that
// support the specified minimum bandwidth, but the actual bandwidth of your
// instance might go below the specified minimum at times. For more information,
// see Available instance bandwidth (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth)
// in the Amazon EC2 User Guide.
type NetworkBandwidthGbpsRequest struct {
_ struct{} `type:"structure"`
// The maximum amount of network bandwidth, in Gbps. To specify no maximum limit,
// omit this parameter.
Max *float64 `type:"double"`
// The minimum amount of network bandwidth, in Gbps. To specify no minimum limit,
// omit this parameter.
Min *float64 `type:"double"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkBandwidthGbpsRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s NetworkBandwidthGbpsRequest) GoString() string {
return s.String()
}
// SetMax sets the Max field's value.
func (s *NetworkBandwidthGbpsRequest) SetMax(v float64) *NetworkBandwidthGbpsRequest {
s.Max = &v
return s
}
// SetMin sets the Min field's value.
func (s *NetworkBandwidthGbpsRequest) SetMin(v float64) *NetworkBandwidthGbpsRequest {
s.Min = &v
return s
}
// Describes the network card support of the instance type.
type NetworkCardInfo struct {
_ struct{} `type:"structure"`
@ -155008,7 +155370,7 @@ type SpotFleetRequestConfigData struct {
// The strategy that determines how to allocate the target Spot Instance capacity
// across the Spot Instance pools specified by the Spot Fleet launch configuration.
// For more information, see Allocation strategies for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html)
// in the Amazon EC2 User Guide for Linux Instances.
// in the Amazon EC2 User Guide.
//
// lowestPrice - Spot Fleet launches instances from the lowest-price Spot Instance
// pool that has available capacity. If the cheapest pool doesn't have available
@ -155056,9 +155418,9 @@ type SpotFleetRequestConfigData struct {
// role that grants the Spot Fleet the permission to request, launch, terminate,
// and tag instances on your behalf. For more information, see Spot Fleet prerequisites
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites)
// in the Amazon EC2 User Guide for Linux Instances. Spot Fleet can terminate
// Spot Instances on your behalf when you cancel its Spot Fleet request using
// CancelSpotFleetRequests (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests)
// in the Amazon EC2 User Guide. Spot Fleet can terminate Spot Instances on
// your behalf when you cancel its Spot Fleet request using CancelSpotFleetRequests
// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests)
// or when the Spot Fleet request expires, if you set TerminateInstancesWithExpiration.
//
// IamFleetRole is a required field