rebase: bump github.com/aws/aws-sdk-go from 1.44.249 to 1.44.254

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.249 to 1.44.254.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.249...v1.44.254)

---
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]
2023-05-02 18:02:00 +00:00
committed by mergify[bot]
parent 6a4f847af6
commit 3d6cdce353
7 changed files with 788 additions and 259 deletions

View File

@ -44635,10 +44635,10 @@ func (c *EC2) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput
// only one attribute at a time.
//
// Note: Using this action to change the security groups associated with an
// elastic network interface (ENI) attached to an instance in a VPC can result
// in an error if the instance has more than one ENI. To change the security
// groups associated with an ENI attached to an instance that has multiple ENIs,
// we recommend that you use the ModifyNetworkInterfaceAttribute action.
// elastic network interface (ENI) attached to an instance can result in an
// error if the instance has more than one ENI. To change the security groups
// associated with an ENI attached to an instance that has multiple ENIs, we
// recommend that you use the ModifyNetworkInterfaceAttribute action.
//
// To modify some attributes, the instance must be stopped. For more information,
// see Modify a stopped instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingAttributesWhileInstanceStopped.html)
@ -46037,10 +46037,6 @@ func (c *EC2) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput
// For more information, see Modifying Reserved Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html)
// in the Amazon EC2 User Guide.
//
// We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic
// to a VPC. For more information, see Migrate from EC2-Classic to a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html)
// 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.
@ -49242,10 +49238,6 @@ func (c *EC2) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedIn
// and Reserved Instance Marketplace (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html)
// in the Amazon EC2 User Guide.
//
// We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic
// to a VPC. For more information, see Migrate from EC2-Classic to a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html)
// 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.
@ -51216,10 +51208,6 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req
// 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.
//
// We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic
// to a VPC. For more information, see Migrate from EC2-Classic to a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html)
// in the Amazon EC2 User Guide for Linux Instances.
//
// 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.
@ -52481,20 +52469,13 @@ func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Reques
// You can specify a number of options, or leave the default options. The following
// rules apply:
//
// - [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet
// from your default VPC for you. If you don't have a default VPC, you must
// specify a subnet ID in the request.
// - If you don't specify a subnet ID, we choose a default subnet from your
// default VPC for you. If you don't have a default VPC, you must specify
// a subnet ID in the request.
//
// - [EC2-Classic] If don't specify an Availability Zone, we choose one for
// you.
//
// - Some instance types must be launched into a VPC. If you do not have
// a default VPC, or if you do not specify a subnet ID, the request fails.
// For more information, see Instance types available only in a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types).
//
// - [EC2-VPC] All instances have a network interface with a primary private
// IPv4 address. If you don't specify this address, we choose one from the
// IPv4 range of your subnet.
// - All instances have a network interface with a primary private IPv4 address.
// If you don't specify this address, we choose one from the IPv4 range of
// your subnet.
//
// - Not all instance types support IPv6 addresses. For more information,
// see Instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
@ -52528,10 +52509,6 @@ func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Reques
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html),
// and Troubleshooting connecting to your instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html).
//
// We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic
// to a VPC. For more information, see Migrate from EC2-Classic to a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html)
// 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
// the error.
@ -62958,7 +62935,7 @@ type CancelSpotInstanceRequestsInput struct {
// it is UnauthorizedOperation.
DryRun *bool `locationName:"dryRun" type:"boolean"`
// One or more Spot Instance request IDs.
// The IDs of the Spot Instance requests.
//
// SpotInstanceRequestIds is a required field
SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"`
@ -63011,7 +62988,7 @@ func (s *CancelSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []*string)
type CancelSpotInstanceRequestsOutput struct {
_ struct{} `type:"structure"`
// One or more Spot Instance requests.
// The Spot Instance requests.
CancelledSpotInstanceRequests []*CancelledSpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"`
}
@ -66780,6 +66757,9 @@ func (s *CopySnapshotOutput) SetTags(v []*Tag) *CopySnapshotOutput {
type CpuOptions struct {
_ struct{} `type:"structure"`
// Indicates whether the instance is enabled for AMD SEV-SNP.
AmdSevSnp *string `locationName:"amdSevSnp" type:"string" enum:"AmdSevSnpSpecification"`
// The number of CPU cores for the instance.
CoreCount *int64 `locationName:"coreCount" type:"integer"`
@ -66805,6 +66785,12 @@ func (s CpuOptions) GoString() string {
return s.String()
}
// SetAmdSevSnp sets the AmdSevSnp field's value.
func (s *CpuOptions) SetAmdSevSnp(v string) *CpuOptions {
s.AmdSevSnp = &v
return s
}
// SetCoreCount sets the CoreCount field's value.
func (s *CpuOptions) SetCoreCount(v int64) *CpuOptions {
s.CoreCount = &v
@ -66822,6 +66808,10 @@ func (s *CpuOptions) SetThreadsPerCore(v int64) *CpuOptions {
type CpuOptionsRequest struct {
_ struct{} `type:"structure"`
// Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is
// supported with M6a, R6a, and C6a instance types only.
AmdSevSnp *string `type:"string" enum:"AmdSevSnpSpecification"`
// The number of CPU cores for the instance.
CoreCount *int64 `type:"integer"`
@ -66848,6 +66838,12 @@ func (s CpuOptionsRequest) GoString() string {
return s.String()
}
// SetAmdSevSnp sets the AmdSevSnp field's value.
func (s *CpuOptionsRequest) SetAmdSevSnp(v string) *CpuOptionsRequest {
s.AmdSevSnp = &v
return s
}
// SetCoreCount sets the CoreCount field's value.
func (s *CpuOptionsRequest) SetCoreCount(v int64) *CpuOptionsRequest {
s.CoreCount = &v
@ -94409,8 +94405,8 @@ type DescribeInstanceTypesInput struct {
// One or more filters. Filter names and values are case-sensitive.
//
// * auto-recovery-supported - Indicates whether auto recovery is supported
// (true | false).
// * auto-recovery-supported - Indicates whether Amazon CloudWatch action
// based recovery is supported (true | false).
//
// * bare-metal - Indicates whether it is a bare metal instance type (true
// | false).
@ -94699,12 +94695,6 @@ type DescribeInstancesInput struct {
//
// * dns-name - The public DNS name of the instance.
//
// * group-id - The ID of the security group for the instance. EC2-Classic
// only.
//
// * group-name - The name of the security group for the instance. EC2-Classic
// only.
//
// * hibernation-options.configured - A Boolean that indicates whether the
// instance is enabled for hibernation. A value of true means that the instance
// is enabled for hibernation.
@ -99709,16 +99699,11 @@ type DescribeReservedInstancesInput struct {
//
// * scope - The scope of the Reserved Instance (Region or Availability Zone).
//
// * product-description - The Reserved Instance product platform description.
// Instances that include (Amazon VPC) in the product platform description
// will only be displayed to EC2-Classic account holders and are for use
// with Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE
// Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux
// (Amazon VPC) | Red Hat Enterprise Linux with HA (Amazon VPC) | Windows
// | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with
// SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows
// with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise
// | Windows with SQL Server Enterprise (Amazon VPC)).
// * product-description - The Reserved Instance product platform description
// (Linux/UNIX | Linux with SQL Server Standard | Linux with SQL Server Web
// | Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux
// | Red Hat Enterprise Linux with HA | Windows | Windows with SQL Server
// Standard | Windows with SQL Server Web | Windows with SQL Server Enterprise).
//
// * reserved-instances-id - The ID of the Reserved Instance.
//
@ -99920,9 +99905,6 @@ type DescribeReservedInstancesModificationsInput struct {
// * modification-result.target-configuration.instance-type - The instance
// type of the new Reserved Instances.
//
// * modification-result.target-configuration.platform - The network platform
// of the new Reserved Instances (EC2-Classic | EC2-VPC).
//
// * reserved-instances-id - The ID of the Reserved Instances modified.
//
// * reserved-instances-modification-id - The ID of the modification request.
@ -100051,16 +100033,11 @@ type DescribeReservedInstancesOfferingsInput struct {
// all offerings from both Amazon Web Services and the Reserved Instance
// Marketplace are listed.
//
// * product-description - The Reserved Instance product platform description.
// Instances that include (Amazon VPC) in the product platform description
// will only be displayed to EC2-Classic account holders and are for use
// with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux |
// SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise
// Linux (Amazon VPC) | Red Hat Enterprise Linux with HA (Amazon VPC) | Windows
// | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with
// SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows
// with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise
// | Windows with SQL Server Enterprise (Amazon VPC))
// * product-description - The Reserved Instance product platform description
// (Linux/UNIX | Linux with SQL Server Standard | Linux with SQL Server Web
// | Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux
// | Red Hat Enterprise Linux with HA | Windows | Windows with SQL Server
// Standard | Windows with SQL Server Web | Windows with SQL Server Enterprise).
//
// * reserved-instances-offering-id - The Reserved Instances offering ID.
//
@ -100521,8 +100498,6 @@ type DescribeScheduledInstanceAvailabilityInput struct {
//
// * instance-type - The instance type (for example, c4.large).
//
// * network-platform - The network platform (EC2-Classic or EC2-VPC).
//
// * platform - The platform (Linux/UNIX or Windows).
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
@ -100703,8 +100678,6 @@ type DescribeScheduledInstancesInput struct {
//
// * instance-type - The instance type (for example, c4.large).
//
// * network-platform - The network platform (EC2-Classic or EC2-VPC).
//
// * platform - The platform (Linux/UNIX or Windows).
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
@ -102176,7 +102149,7 @@ type DescribeSpotInstanceRequestsInput struct {
// it is UnauthorizedOperation.
DryRun *bool `locationName:"dryRun" type:"boolean"`
// One or more filters.
// The filters.
//
// * availability-zone-group - The Availability Zone group.
//
@ -102293,7 +102266,7 @@ type DescribeSpotInstanceRequestsInput struct {
// from the end of the items returned by the previous request.
NextToken *string `type:"string"`
// One or more Spot Instance request IDs.
// The IDs of the Spot Instance requests.
SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list"`
}
@ -102353,7 +102326,7 @@ type DescribeSpotInstanceRequestsOutput struct {
// value is null when there are no more items to return.
NextToken *string `locationName:"nextToken" type:"string"`
// One or more Spot Instance requests.
// The Spot Instance requests.
SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"`
}
@ -102404,7 +102377,7 @@ type DescribeSpotPriceHistoryInput struct {
// the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
EndTime *time.Time `locationName:"endTime" type:"timestamp"`
// One or more filters.
// The filters.
//
// * availability-zone - The Availability Zone for which prices should be
// returned.
@ -127925,7 +127898,7 @@ type Instance struct {
// The monitoring for the instance.
Monitoring *Monitoring `locationName:"monitoring" type:"structure"`
// [EC2-VPC] The network interfaces for the instance.
// The network interfaces for the instance.
NetworkInterfaces []*InstanceNetworkInterface `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"`
// The Amazon Resource Name (ARN) of the Outpost.
@ -127942,14 +127915,14 @@ type Instance struct {
// in the Amazon EC2 User Guide.
PlatformDetails *string `locationName:"platformDetails" type:"string"`
// (IPv4 only) The private DNS hostname name assigned to the instance. This
// [IPv4 only] The private DNS hostname name assigned to the instance. This
// DNS hostname can only be used inside the Amazon EC2 network. This name is
// not available until the instance enters the running state.
//
// [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private
// DNS hostnames if you've enabled DNS resolution and DNS hostnames in your
// VPC. If you are not using the Amazon-provided DNS server in your VPC, your
// custom domain name servers must resolve the hostname as appropriate.
// The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames
// if you've enabled DNS resolution and DNS hostnames in your VPC. If you are
// not using the Amazon-provided DNS server in your VPC, your custom domain
// name servers must resolve the hostname as appropriate.
PrivateDnsName *string `locationName:"privateDnsName" type:"string"`
// The options for the instance hostname.
@ -127961,9 +127934,9 @@ type Instance struct {
// The product codes attached to this instance, if applicable.
ProductCodes []*ProductCode `locationName:"productCodes" locationNameList:"item" type:"list"`
// (IPv4 only) The public DNS name assigned to the instance. This name is not
// available until the instance enters the running state. For EC2-VPC, this
// name is only available if you've enabled DNS hostnames for your VPC.
// [IPv4 only] The public DNS name assigned to the instance. This name is not
// available until the instance enters the running state. This name is only
// available if you've enabled DNS hostnames for your VPC.
PublicDnsName *string `locationName:"dnsName" type:"string"`
// The public IPv4 address, or the Carrier IP address assigned to the instance,
@ -128005,7 +127978,7 @@ type Instance struct {
// The reason for the most recent state transition. This might be an empty string.
StateTransitionReason *string `locationName:"reason" type:"string"`
// [EC2-VPC] The ID of the subnet in which the instance is running.
// The ID of the subnet in which the instance is running.
SubnetId *string `locationName:"subnetId" type:"string"`
// Any tags assigned to the instance.
@ -128027,7 +128000,7 @@ type Instance struct {
// The virtualization type of the instance.
VirtualizationType *string `locationName:"virtualizationType" type:"string" enum:"VirtualizationType"`
// [EC2-VPC] The ID of the VPC in which the instance is running.
// The ID of the VPC in which the instance is running.
VpcId *string `locationName:"vpcId" type:"string"`
}
@ -131820,7 +131793,7 @@ func (s *InstanceTagNotificationAttribute) SetInstanceTagKeys(v []*string) *Inst
type InstanceTypeInfo struct {
_ struct{} `type:"structure"`
// Indicates whether auto recovery is supported.
// Indicates whether Amazon CloudWatch action based recovery is supported.
AutoRecoverySupported *bool `locationName:"autoRecoverySupported" type:"boolean"`
// Indicates whether the instance is a bare metal instance type.
@ -134896,7 +134869,7 @@ type LaunchSpecification struct {
// Deprecated.
AddressingType *string `locationName:"addressingType" type:"string"`
// One or more block device mapping entries.
// The block device mapping entries.
BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"`
// Indicates whether the instance is optimized for EBS I/O. This optimization
@ -134926,8 +134899,8 @@ type LaunchSpecification struct {
// Describes the monitoring of an instance.
Monitoring *RunInstancesMonitoringEnabled `locationName:"monitoring" type:"structure"`
// One or more network interfaces. If you specify a network interface, you must
// specify subnet IDs and security group IDs using the network interface.
// The network interfaces. If you specify a network interface, you must specify
// subnet IDs and security group IDs using the network interface.
NetworkInterfaces []*InstanceNetworkInterfaceSpecification `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"`
// The placement information for the instance.
@ -134936,9 +134909,7 @@ type LaunchSpecification struct {
// The ID of the RAM disk.
RamdiskId *string `locationName:"ramdiskId" type:"string"`
// One or more security groups. When requesting instances in a VPC, you must
// specify the IDs of the security groups. When requesting instances in EC2-Classic,
// you can specify the names or the IDs of the security groups.
// The IDs of the security groups.
SecurityGroups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"`
// The ID of the subnet in which to launch the instance.
@ -135476,6 +135447,9 @@ func (s *LaunchTemplateConfig) SetOverrides(v []*LaunchTemplateOverrides) *Launc
type LaunchTemplateCpuOptions struct {
_ struct{} `type:"structure"`
// Indicates whether the instance is enabled for AMD SEV-SNP.
AmdSevSnp *string `locationName:"amdSevSnp" type:"string" enum:"AmdSevSnpSpecification"`
// The number of CPU cores for the instance.
CoreCount *int64 `locationName:"coreCount" type:"integer"`
@ -135501,6 +135475,12 @@ func (s LaunchTemplateCpuOptions) GoString() string {
return s.String()
}
// SetAmdSevSnp sets the AmdSevSnp field's value.
func (s *LaunchTemplateCpuOptions) SetAmdSevSnp(v string) *LaunchTemplateCpuOptions {
s.AmdSevSnp = &v
return s
}
// SetCoreCount sets the CoreCount field's value.
func (s *LaunchTemplateCpuOptions) SetCoreCount(v int64) *LaunchTemplateCpuOptions {
s.CoreCount = &v
@ -135518,6 +135498,10 @@ func (s *LaunchTemplateCpuOptions) SetThreadsPerCore(v int64) *LaunchTemplateCpu
type LaunchTemplateCpuOptionsRequest struct {
_ struct{} `type:"structure"`
// Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is
// supported with M6a, R6a, and C6a instance types only.
AmdSevSnp *string `type:"string" enum:"AmdSevSnpSpecification"`
// The number of CPU cores for the instance.
CoreCount *int64 `type:"integer"`
@ -135544,6 +135528,12 @@ func (s LaunchTemplateCpuOptionsRequest) GoString() string {
return s.String()
}
// SetAmdSevSnp sets the AmdSevSnp field's value.
func (s *LaunchTemplateCpuOptionsRequest) SetAmdSevSnp(v string) *LaunchTemplateCpuOptionsRequest {
s.AmdSevSnp = &v
return s
}
// SetCoreCount sets the CoreCount field's value.
func (s *LaunchTemplateCpuOptionsRequest) SetCoreCount(v int64) *LaunchTemplateCpuOptionsRequest {
s.CoreCount = &v
@ -137087,8 +137077,8 @@ type LaunchTemplatePlacement struct {
// Reserved for future use.
SpreadDomain *string `locationName:"spreadDomain" type:"string"`
// The tenancy of the instance (if the instance is running in a VPC). An instance
// with a tenancy of dedicated runs on single-tenant hardware.
// The tenancy of the instance. An instance with a tenancy of dedicated runs
// on single-tenant hardware.
Tenancy *string `locationName:"tenancy" type:"string" enum:"Tenancy"`
}
@ -137196,8 +137186,8 @@ type LaunchTemplatePlacementRequest struct {
// Reserved for future use.
SpreadDomain *string `type:"string"`
// The tenancy of the instance (if the instance is running in a VPC). An instance
// with a tenancy of dedicated runs on single-tenant hardware.
// The tenancy of the instance. An instance with a tenancy of dedicated runs
// on single-tenant hardware.
Tenancy *string `type:"string" enum:"Tenancy"`
}
@ -141282,10 +141272,9 @@ type ModifyInstanceAttributeInput struct {
// a PV instance can make it unreachable.
EnaSupport *AttributeBooleanValue `locationName:"enaSupport" type:"structure"`
// [EC2-VPC] Replaces the security groups of the instance with the specified
// security groups. You must specify at least one security group, even if it's
// just the default security group for the VPC. You must specify the security
// group ID, not the security group name.
// Replaces the security groups of the instance with the specified security
// groups. You must specify the ID of at least one security group, even if it's
// just the default security group for the VPC.
Groups []*string `locationName:"GroupId" locationNameList:"groupId" type:"list"`
// The ID of the instance.
@ -152800,8 +152789,8 @@ type Placement struct {
// Reserved for future use.
SpreadDomain *string `locationName:"spreadDomain" type:"string"`
// The tenancy of the instance (if the instance is running in a VPC). An instance
// with a tenancy of dedicated runs on single-tenant hardware.
// The tenancy of the instance. An instance with a tenancy of dedicated runs
// on single-tenant hardware.
//
// This parameter is not supported for CreateFleet (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
// The host tenancy is not supported for ImportInstance (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html)
@ -153804,6 +153793,10 @@ type ProcessorInfo struct {
// The architectures supported by the instance type.
SupportedArchitectures []*string `locationName:"supportedArchitectures" locationNameList:"item" type:"list" enum:"ArchitectureType"`
// Indicates whether the instance type supports AMD SEV-SNP. If the request
// returns amd-sev-snp, AMD SEV-SNP is supported. Otherwise, it is not supported.
SupportedFeatures []*string `locationName:"supportedFeatures" locationNameList:"item" type:"list" enum:"SupportedAdditionalProcessorFeature"`
// The speed of the processor, in GHz.
SustainedClockSpeedInGhz *float64 `locationName:"sustainedClockSpeedInGhz" type:"double"`
}
@ -153832,6 +153825,12 @@ func (s *ProcessorInfo) SetSupportedArchitectures(v []*string) *ProcessorInfo {
return s
}
// SetSupportedFeatures sets the SupportedFeatures field's value.
func (s *ProcessorInfo) SetSupportedFeatures(v []*string) *ProcessorInfo {
s.SupportedFeatures = v
return s
}
// SetSustainedClockSpeedInGhz sets the SustainedClockSpeedInGhz field's value.
func (s *ProcessorInfo) SetSustainedClockSpeedInGhz(v float64) *ProcessorInfo {
s.SustainedClockSpeedInGhz = &v
@ -158263,8 +158262,14 @@ type RequestLaunchTemplateData struct {
//
// * resolve:ssm:parameter-name:label
//
// For more information, see Use a Systems Manager parameter to find an AMI
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#using-systems-manager-parameter-to-find-AMI)
// * resolve:ssm:public-parameter
//
// Currently, EC2 Fleet and Spot Fleet do not support specifying a Systems Manager
// parameter. If the launch template will be used by an EC2 Fleet or Spot Fleet,
// you must specify the AMI ID.
//
// For more information, see Use a Systems Manager parameter instead of an AMI
// ID (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id)
// in the Amazon Elastic Compute Cloud User Guide.
ImageId *string `type:"string"`
@ -158934,7 +158939,7 @@ func (s *RequestSpotInstancesInput) SetValidUntil(v time.Time) *RequestSpotInsta
type RequestSpotInstancesOutput struct {
_ struct{} `type:"structure"`
// One or more Spot Instance requests.
// The Spot Instance requests.
SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"`
}
@ -158969,8 +158974,8 @@ type RequestSpotLaunchSpecification struct {
// Deprecated.
AddressingType *string `locationName:"addressingType" type:"string"`
// One or more block device mapping entries. You can't specify both a snapshot
// ID and an encryption value. This is because only blank volumes can be encrypted
// The block device mapping entries. You can't specify both a snapshot ID and
// an encryption value. This is because only blank volumes can be encrypted
// on creation. If a snapshot is the basis for a volume, it is not blank and
// its encryption status is used for the volume encryption status.
BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"`
@ -159004,8 +159009,8 @@ type RequestSpotLaunchSpecification struct {
// Default: Disabled
Monitoring *RunInstancesMonitoringEnabled `locationName:"monitoring" type:"structure"`
// One or more network interfaces. If you specify a network interface, you must
// specify subnet IDs and security group IDs using the network interface.
// The network interfaces. If you specify a network interface, you must specify
// subnet IDs and security group IDs using the network interface.
NetworkInterfaces []*InstanceNetworkInterfaceSpecification `locationName:"NetworkInterface" locationNameList:"item" type:"list"`
// The placement information for the instance.
@ -159014,12 +159019,10 @@ type RequestSpotLaunchSpecification struct {
// The ID of the RAM disk.
RamdiskId *string `locationName:"ramdiskId" type:"string"`
// One or more security group IDs.
// The IDs of the security groups.
SecurityGroupIds []*string `locationName:"SecurityGroupId" locationNameList:"item" type:"list"`
// One or more security groups. When requesting instances in a VPC, you must
// specify the IDs of the security groups. When requesting instances in EC2-Classic,
// you can specify the names or the IDs of the security groups.
// Not supported.
SecurityGroups []*string `locationName:"SecurityGroup" locationNameList:"item" type:"list"`
// The ID of the subnet in which to launch the instance.
@ -159169,7 +159172,7 @@ func (s *RequestSpotLaunchSpecification) SetUserData(v string) *RequestSpotLaunc
type Reservation struct {
_ struct{} `type:"structure"`
// [EC2-Classic only] The security groups.
// Not supported.
Groups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"`
// The instances.
@ -159689,8 +159692,7 @@ type ReservedInstancesConfiguration struct {
// The instance type for the modified Reserved Instances.
InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
// The network platform of the modified Reserved Instances, which is either
// EC2-Classic or EC2-VPC.
// The network platform of the modified Reserved Instances.
Platform *string `locationName:"platform" type:"string"`
// Whether the Reserved Instance is applied to instances in a Region or instances
@ -163052,9 +163054,9 @@ type RunInstancesInput struct {
// Default: m1.small
InstanceType *string `type:"string" enum:"InstanceType"`
// [EC2-VPC] The number of IPv6 addresses to associate with the primary network
// interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
// You cannot specify this option and the option to assign specific IPv6 addresses
// The number of IPv6 addresses to associate with the primary network interface.
// Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You
// cannot specify this option and the option to assign specific IPv6 addresses
// in the same request. You can specify this option if you've specified a minimum
// number of instances to launch.
//
@ -163062,10 +163064,10 @@ type RunInstancesInput struct {
// request.
Ipv6AddressCount *int64 `type:"integer"`
// [EC2-VPC] The IPv6 addresses from the range of the subnet to associate with
// the primary network interface. You cannot specify this option and the option
// to assign a number of IPv6 addresses in the same request. You cannot specify
// this option if you've specified a minimum number of instances to launch.
// The IPv6 addresses from the range of the subnet to associate with the primary
// network interface. You cannot specify this option and the option to assign
// a number of IPv6 addresses in the same request. You cannot specify this option
// if you've specified a minimum number of instances to launch.
//
// You cannot specify this option and the network interfaces option in the same
// request.
@ -163139,8 +163141,8 @@ type RunInstancesInput struct {
// the subnet.
PrivateDnsNameOptions *PrivateDnsNameOptionsRequest `type:"structure"`
// [EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4
// address range of the subnet.
// The primary IPv4 address. You must specify a value from the IPv4 address
// range of the subnet.
//
// Only one private IP address can be designated as primary. You can't specify
// this option if you've specified the option to designate a private IP address
@ -163168,7 +163170,7 @@ type RunInstancesInput struct {
// as part of the network interface.
SecurityGroupIds []*string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"`
// [EC2-Classic, default VPC] The names of the security groups.
// [Default VPC] The names of the security groups.
//
// If you specify a network interface, you must specify any security groups
// as part of the network interface.
@ -163176,7 +163178,7 @@ type RunInstancesInput struct {
// Default: Amazon EC2 uses the default security group.
SecurityGroups []*string `locationName:"SecurityGroup" locationNameList:"SecurityGroup" type:"list"`
// [EC2-VPC] The ID of the subnet to launch the instance into.
// The ID of the subnet to launch the instance into.
//
// If you specify a network interface, you must specify any subnets as part
// of the network interface.
@ -163844,7 +163846,7 @@ type ScheduledInstance struct {
// The instance type.
InstanceType *string `locationName:"instanceType" type:"string"`
// The network platform (EC2-Classic or EC2-VPC).
// The network platform.
NetworkPlatform *string `locationName:"networkPlatform" type:"string"`
// The time for the next schedule to start.
@ -164009,7 +164011,7 @@ type ScheduledInstanceAvailability struct {
// The minimum term. The only possible value is 365 days.
MinTermDurationInDays *int64 `locationName:"minTermDurationInDays" type:"integer"`
// The network platform (EC2-Classic or EC2-VPC).
// The network platform.
NetworkPlatform *string `locationName:"networkPlatform" type:"string"`
// The platform (Linux/UNIX or Windows).
@ -167498,9 +167500,7 @@ type SpotFleetLaunchSpecification struct {
// Resource Center and search for the kernel ID.
RamdiskId *string `locationName:"ramdiskId" type:"string"`
// One or more security groups. When requesting instances in a VPC, you must
// specify the IDs of the security groups. When requesting instances in EC2-Classic,
// you can specify the names or the IDs of the security groups.
// The security groups.
SecurityGroups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"`
// The maximum price per unit hour that you are willing to pay for a Spot Instance.
@ -181242,6 +181242,22 @@ func AllowsMultipleInstanceTypes_Values() []string {
}
}
const (
// AmdSevSnpSpecificationEnabled is a AmdSevSnpSpecification enum value
AmdSevSnpSpecificationEnabled = "enabled"
// AmdSevSnpSpecificationDisabled is a AmdSevSnpSpecification enum value
AmdSevSnpSpecificationDisabled = "disabled"
)
// AmdSevSnpSpecification_Values returns all elements of the AmdSevSnpSpecification enum
func AmdSevSnpSpecification_Values() []string {
return []string{
AmdSevSnpSpecificationEnabled,
AmdSevSnpSpecificationDisabled,
}
}
const (
// AnalysisStatusRunning is a AnalysisStatus enum value
AnalysisStatusRunning = "running"
@ -189198,6 +189214,18 @@ func SummaryStatus_Values() []string {
}
}
const (
// SupportedAdditionalProcessorFeatureAmdSevSnp is a SupportedAdditionalProcessorFeature enum value
SupportedAdditionalProcessorFeatureAmdSevSnp = "amd-sev-snp"
)
// SupportedAdditionalProcessorFeature_Values returns all elements of the SupportedAdditionalProcessorFeature enum
func SupportedAdditionalProcessorFeature_Values() []string {
return []string{
SupportedAdditionalProcessorFeatureAmdSevSnp,
}
}
const (
// TargetCapacityUnitTypeVcpu is a TargetCapacityUnitType enum value
TargetCapacityUnitTypeVcpu = "vcpu"