rebase: bump github.com/aws/aws-sdk-go from 1.44.20 to 1.44.24

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.20 to 1.44.24.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.20...v1.44.24)

---
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-05-30 20:20:45 +00:00 committed by mergify[bot]
parent 8665d054b2
commit 01923ab166
6 changed files with 339 additions and 30 deletions

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.17
require ( require (
github.com/IBM/keyprotect-go-client v0.7.0 github.com/IBM/keyprotect-go-client v0.7.0
github.com/aws/aws-sdk-go v1.44.20 github.com/aws/aws-sdk-go v1.44.24
github.com/aws/aws-sdk-go-v2/service/sts v1.16.5 github.com/aws/aws-sdk-go-v2/service/sts v1.16.5
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000 github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
// TODO: API for managing NFS-exports requires `ceph_ci_untested` build-tag // TODO: API for managing NFS-exports requires `ceph_ci_untested` build-tag

4
go.sum
View File

@ -141,8 +141,8 @@ github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi
github.com/aws/aws-sdk-go v1.25.41/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.41/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k= github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.44.20 h1:nllTRN24EfhDSeKsNbIc6HoC8Ogd2NCJTRB8l84kDlM= github.com/aws/aws-sdk-go v1.44.24 h1:3nOkwJBJLiGBmJKWp3z0utyXuBkxyGkRRwWjrTItJaY=
github.com/aws/aws-sdk-go v1.44.20/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.24/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go-v2 v1.16.3 h1:0W1TSJ7O6OzwuEvIXAtJGvOeQ0SGAhcpxPN2/NK5EhM= github.com/aws/aws-sdk-go-v2 v1.16.3 h1:0W1TSJ7O6OzwuEvIXAtJGvOeQ0SGAhcpxPN2/NK5EhM=
github.com/aws/aws-sdk-go-v2 v1.16.3/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU= github.com/aws/aws-sdk-go-v2 v1.16.3/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU=
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.10 h1:uFWgo6mGJI1n17nbcvSc6fxVuR3xLNqvXt12JCnEcT8= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.10 h1:uFWgo6mGJI1n17nbcvSc6fxVuR3xLNqvXt12JCnEcT8=

View File

@ -3046,6 +3046,73 @@ var awsPartition = partition{
}: endpoint{}, }: endpoint{},
}, },
}, },
"backup-gateway": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "af-south-1",
}: endpoint{},
endpointKey{
Region: "ap-east-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
endpointKey{
Region: "ap-northeast-3",
}: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
endpointKey{
Region: "eu-west-2",
}: endpoint{},
endpointKey{
Region: "eu-west-3",
}: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
endpointKey{
Region: "sa-east-1",
}: endpoint{},
endpointKey{
Region: "us-east-1",
}: endpoint{},
endpointKey{
Region: "us-east-2",
}: endpoint{},
endpointKey{
Region: "us-west-1",
}: endpoint{},
endpointKey{
Region: "us-west-2",
}: endpoint{},
},
},
"batch": service{ "batch": service{
Defaults: endpointDefaults{ Defaults: endpointDefaults{
defaultKey{}: endpoint{}, defaultKey{}: endpoint{},
@ -3080,6 +3147,9 @@ var awsPartition = partition{
endpointKey{ endpointKey{
Region: "ap-southeast-2", Region: "ap-southeast-2",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{ endpointKey{
Region: "ca-central-1", Region: "ca-central-1",
}: endpoint{}, }: endpoint{},
@ -8314,24 +8384,96 @@ var awsPartition = partition{
}, },
"email": service{ "email": service{
Endpoints: serviceEndpoints{ Endpoints: serviceEndpoints{
endpointKey{
Region: "af-south-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
endpointKey{
Region: "ap-northeast-3",
}: endpoint{},
endpointKey{ endpointKey{
Region: "ap-south-1", Region: "ap-south-1",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
endpointKey{ endpointKey{
Region: "ap-southeast-2", Region: "ap-southeast-2",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{ endpointKey{
Region: "eu-central-1", Region: "eu-central-1",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
endpointKey{ endpointKey{
Region: "eu-west-1", Region: "eu-west-1",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "eu-west-2",
}: endpoint{},
endpointKey{
Region: "eu-west-3",
}: endpoint{},
endpointKey{
Region: "fips-us-east-1",
}: endpoint{
Hostname: "email-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-east-1",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-west-2",
}: endpoint{
Hostname: "email-fips.us-west-2.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-west-2",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "me-south-1",
}: endpoint{},
endpointKey{
Region: "sa-east-1",
}: endpoint{},
endpointKey{ endpointKey{
Region: "us-east-1", Region: "us-east-1",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "us-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "email-fips.us-east-1.amazonaws.com",
},
endpointKey{
Region: "us-east-2",
}: endpoint{},
endpointKey{
Region: "us-west-1",
}: endpoint{},
endpointKey{ endpointKey{
Region: "us-west-2", Region: "us-west-2",
}: endpoint{}, }: endpoint{},
endpointKey{
Region: "us-west-2",
Variant: fipsVariant,
}: endpoint{
Hostname: "email-fips.us-west-2.amazonaws.com",
},
}, },
}, },
"emr-containers": service{ "emr-containers": service{
@ -8461,6 +8603,52 @@ var awsPartition = partition{
}, },
}, },
}, },
"emr-serverless": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
endpointKey{
Region: "fips-us-east-1",
}: endpoint{
Hostname: "emr-serverless-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-east-1",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-west-2",
}: endpoint{
Hostname: "emr-serverless-fips.us-west-2.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-west-2",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "us-east-1",
}: endpoint{},
endpointKey{
Region: "us-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "emr-serverless-fips.us-east-1.amazonaws.com",
},
endpointKey{
Region: "us-west-2",
}: endpoint{},
endpointKey{
Region: "us-west-2",
Variant: fipsVariant,
}: endpoint{
Hostname: "emr-serverless-fips.us-west-2.amazonaws.com",
},
},
},
"entitlement.marketplace": service{ "entitlement.marketplace": service{
Defaults: endpointDefaults{ Defaults: endpointDefaults{
defaultKey{}: endpoint{ defaultKey{}: endpoint{
@ -10475,14 +10663,6 @@ var awsPartition = partition{
}, },
}, },
"health": service{ "health": service{
PartitionEndpoint: "aws-global",
IsRegionalized: boxedFalse,
Defaults: endpointDefaults{
defaultKey{}: endpoint{
SSLCommonName: "health.us-east-1.amazonaws.com",
Protocols: []string{"https"},
},
},
Endpoints: serviceEndpoints{ Endpoints: serviceEndpoints{
endpointKey{ endpointKey{
Region: "fips-us-east-2", Region: "fips-us-east-2",
@ -14728,6 +14908,14 @@ var awsPartition = partition{
Region: "ap-northeast-2", Region: "ap-northeast-2",
}, },
}, },
endpointKey{
Region: "ap-northeast-3",
}: endpoint{
Hostname: "oidc.ap-northeast-3.amazonaws.com",
CredentialScope: credentialScope{
Region: "ap-northeast-3",
},
},
endpointKey{ endpointKey{
Region: "ap-south-1", Region: "ap-south-1",
}: endpoint{ }: endpoint{
@ -15421,6 +15609,14 @@ var awsPartition = partition{
Region: "ap-northeast-2", Region: "ap-northeast-2",
}, },
}, },
endpointKey{
Region: "ap-northeast-3",
}: endpoint{
Hostname: "portal.sso.ap-northeast-3.amazonaws.com",
CredentialScope: credentialScope{
Region: "ap-northeast-3",
},
},
endpointKey{ endpointKey{
Region: "ap-south-1", Region: "ap-south-1",
}: endpoint{ }: endpoint{
@ -25059,6 +25255,16 @@ var awsusgovPartition = partition{
}: endpoint{}, }: endpoint{},
}, },
}, },
"backup-gateway": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-gov-east-1",
}: endpoint{},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
},
},
"batch": service{ "batch": service{
Defaults: endpointDefaults{ Defaults: endpointDefaults{
defaultKey{}: endpoint{}, defaultKey{}: endpoint{},

View File

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go" const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK // SDKVersion is the version of this SDK
const SDKVersion = "1.44.20" const SDKVersion = "1.44.24"

View File

@ -5708,7 +5708,7 @@ func (c *EC2) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) (req
// A launch template contains the parameters to launch an instance. When you // A launch template contains the parameters to launch an instance. When you
// launch an instance using RunInstances, you can specify a launch template // launch an instance using RunInstances, you can specify a launch template
// instead of providing the launch parameters in the request. For more information, // instead of providing the launch parameters in the request. For more information,
// see Launching an instance from a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) // see Launch an instance from a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html)
// in the Amazon Elastic Compute Cloud User Guide. // in the Amazon Elastic Compute Cloud User Guide.
// //
// If you want to clone an existing launch template as the basis for creating // If you want to clone an existing launch template as the basis for creating
@ -5795,7 +5795,12 @@ func (c *EC2) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVers
// Launch template versions are numbered in the order in which they are created. // Launch template versions are numbered in the order in which they are created.
// You cannot specify, change, or replace the numbering of launch template versions. // You cannot specify, change, or replace the numbering of launch template versions.
// //
// For more information, see Managing launch template versions (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions)in // Launch templates are immutable; after you create a launch template, you can't
// modify it. Instead, you can create a new version of the launch template that
// includes any changes you require.
//
// For more information, see Modify a launch template (manage launch template
// versions) (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions)in
// the Amazon Elastic Compute Cloud User Guide. // the Amazon Elastic Compute Cloud User Guide.
// //
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -63576,7 +63581,7 @@ type CreateLaunchTemplateInput struct {
_ struct{} `type:"structure"` _ struct{} `type:"structure"`
// Unique, case-sensitive identifier you provide to ensure the idempotency of // Unique, case-sensitive identifier you provide to ensure the idempotency of
// the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // the request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
// //
// Constraint: Maximum 128 ASCII characters. // Constraint: Maximum 128 ASCII characters.
ClientToken *string `type:"string"` ClientToken *string `type:"string"`
@ -63728,7 +63733,7 @@ type CreateLaunchTemplateVersionInput struct {
_ struct{} `type:"structure"` _ struct{} `type:"structure"`
// Unique, case-sensitive identifier you provide to ensure the idempotency of // Unique, case-sensitive identifier you provide to ensure the idempotency of
// the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // the request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
// //
// Constraint: Maximum 128 ASCII characters. // Constraint: Maximum 128 ASCII characters.
ClientToken *string `type:"string"` ClientToken *string `type:"string"`
@ -83255,6 +83260,10 @@ type DescribeInstanceAttributeOutput struct {
// The block device mapping of the instance. // The block device mapping of the instance.
BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"`
// To enable the instance for Amazon Web Services Stop Protection, set this
// parameter to true; otherwise, set it to false.
DisableApiStop *AttributeBooleanValue `locationName:"disableApiStop" type:"structure"`
// If the value is true, you can't terminate the instance through the Amazon // If the value is true, you can't terminate the instance through the Amazon
// EC2 console, CLI, or API; otherwise, you can. // EC2 console, CLI, or API; otherwise, you can.
DisableApiTermination *AttributeBooleanValue `locationName:"disableApiTermination" type:"structure"` DisableApiTermination *AttributeBooleanValue `locationName:"disableApiTermination" type:"structure"`
@ -83334,6 +83343,12 @@ func (s *DescribeInstanceAttributeOutput) SetBlockDeviceMappings(v []*InstanceBl
return s return s
} }
// SetDisableApiStop sets the DisableApiStop field's value.
func (s *DescribeInstanceAttributeOutput) SetDisableApiStop(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
s.DisableApiStop = v
return s
}
// SetDisableApiTermination sets the DisableApiTermination field's value. // SetDisableApiTermination sets the DisableApiTermination field's value.
func (s *DescribeInstanceAttributeOutput) SetDisableApiTermination(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput { func (s *DescribeInstanceAttributeOutput) SetDisableApiTermination(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
s.DisableApiTermination = v s.DisableApiTermination = v
@ -121101,7 +121116,7 @@ func (s *LaunchTemplateHibernationOptions) SetConfigured(v bool) *LaunchTemplate
} }
// Indicates whether the instance is configured for hibernation. This parameter // Indicates whether the instance is configured for hibernation. This parameter
// is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). // is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html).
type LaunchTemplateHibernationOptionsRequest struct { type LaunchTemplateHibernationOptionsRequest struct {
_ struct{} `type:"structure"` _ struct{} `type:"structure"`
@ -126102,6 +126117,10 @@ type ModifyInstanceAttributeInput struct {
// in the Amazon EC2 User Guide. // in the Amazon EC2 User Guide.
BlockDeviceMappings []*InstanceBlockDeviceMappingSpecification `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` BlockDeviceMappings []*InstanceBlockDeviceMappingSpecification `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"`
// Indicates whether an instance is enabled for stop protection. For more information,
// see Stop Protection (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
DisableApiStop *AttributeBooleanValue `type:"structure"`
// If the value is true, you can't terminate the instance using the Amazon EC2 // If the value is true, you can't terminate the instance using the Amazon EC2
// console, CLI, or API; otherwise, you can. You cannot use this parameter for // console, CLI, or API; otherwise, you can. You cannot use this parameter for
// Spot Instances. // Spot Instances.
@ -126229,6 +126248,12 @@ func (s *ModifyInstanceAttributeInput) SetBlockDeviceMappings(v []*InstanceBlock
return s return s
} }
// SetDisableApiStop sets the DisableApiStop field's value.
func (s *ModifyInstanceAttributeInput) SetDisableApiStop(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
s.DisableApiStop = v
return s
}
// SetDisableApiTermination sets the DisableApiTermination field's value. // SetDisableApiTermination sets the DisableApiTermination field's value.
func (s *ModifyInstanceAttributeInput) SetDisableApiTermination(v *AttributeBooleanValue) *ModifyInstanceAttributeInput { func (s *ModifyInstanceAttributeInput) SetDisableApiTermination(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
s.DisableApiTermination = v s.DisableApiTermination = v
@ -127779,7 +127804,7 @@ type ModifyLaunchTemplateInput struct {
_ struct{} `type:"structure"` _ struct{} `type:"structure"`
// Unique, case-sensitive identifier you provide to ensure the idempotency of // Unique, case-sensitive identifier you provide to ensure the idempotency of
// the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // the request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
// //
// Constraint: Maximum 128 ASCII characters. // Constraint: Maximum 128 ASCII characters.
ClientToken *string `type:"string"` ClientToken *string `type:"string"`
@ -140812,6 +140837,10 @@ type RequestLaunchTemplateData struct {
// instances only. // instances only.
CreditSpecification *CreditSpecificationRequest `type:"structure"` CreditSpecification *CreditSpecificationRequest `type:"structure"`
// Indicates whether to enable the instance for stop protection. For more information,
// see Stop Protection (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
DisableApiStop *bool `type:"boolean"`
// If you set this parameter to true, you can't terminate the instance using // If you set this parameter to true, you can't terminate the instance using
// the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute
// after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). // after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html).
@ -140841,7 +140870,7 @@ type RequestLaunchTemplateData struct {
EnclaveOptions *LaunchTemplateEnclaveOptionsRequest `type:"structure"` EnclaveOptions *LaunchTemplateEnclaveOptionsRequest `type:"structure"`
// Indicates whether an instance is enabled for hibernation. This parameter // Indicates whether an instance is enabled for hibernation. This parameter
// is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). // is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html).
// For more information, see Hibernate your instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) // For more information, see Hibernate your instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html)
// in the Amazon Elastic Compute Cloud User Guide. // in the Amazon Elastic Compute Cloud User Guide.
HibernationOptions *LaunchTemplateHibernationOptionsRequest `type:"structure"` HibernationOptions *LaunchTemplateHibernationOptionsRequest `type:"structure"`
@ -140867,7 +140896,7 @@ type RequestLaunchTemplateData struct {
// If you specify InstanceRequirements, you can't specify InstanceTypes. // If you specify InstanceRequirements, you can't specify InstanceTypes.
InstanceRequirements *InstanceRequirementsRequest `type:"structure"` InstanceRequirements *InstanceRequirementsRequest `type:"structure"`
// The instance type. For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // The instance type. For more information, see Instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html)
// in the Amazon Elastic Compute Cloud User Guide. // in the Amazon Elastic Compute Cloud User Guide.
// //
// If you specify InstanceTypes, you can't specify InstanceRequirements. // If you specify InstanceTypes, you can't specify InstanceRequirements.
@ -140876,7 +140905,7 @@ type RequestLaunchTemplateData struct {
// The ID of the kernel. // The ID of the kernel.
// //
// We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
// information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // information, see User provided kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html)
// in the Amazon Elastic Compute Cloud User Guide. // in the Amazon Elastic Compute Cloud User Guide.
KernelId *string `type:"string"` KernelId *string `type:"string"`
@ -140915,7 +140944,7 @@ type RequestLaunchTemplateData struct {
// The ID of the RAM disk. // The ID of the RAM disk.
// //
// We recommend that you use PV-GRUB instead of kernels and RAM disks. For more // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
// information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // information, see User provided kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html)
// in the Amazon Elastic Compute Cloud User Guide. // in the Amazon Elastic Compute Cloud User Guide.
RamDiskId *string `type:"string"` RamDiskId *string `type:"string"`
@ -140937,10 +140966,10 @@ type RequestLaunchTemplateData struct {
TagSpecifications []*LaunchTemplateTagSpecificationRequest `locationName:"TagSpecification" locationNameList:"LaunchTemplateTagSpecificationRequest" type:"list"` TagSpecifications []*LaunchTemplateTagSpecificationRequest `locationName:"TagSpecification" locationNameList:"LaunchTemplateTagSpecificationRequest" type:"list"`
// The user data to make available to the instance. You must provide base64-encoded // The user data to make available to the instance. You must provide base64-encoded
// text. User data is limited to 16 KB. For more information, see Running Commands // text. User data is limited to 16 KB. For more information, see Run commands
// on Your Linux Instance at Launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) // on your Linux instance at launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html)
// (Linux) or Adding User Data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) // (Linux) or Work with instance user data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html)
// (Windows). // (Windows) in the Amazon Elastic Compute Cloud User Guide.
// //
// If you are creating the launch template for use with Batch, the user data // If you are creating the launch template for use with Batch, the user data
// must be provided in the MIME multi-part archive format (https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive). // must be provided in the MIME multi-part archive format (https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive).
@ -141031,6 +141060,12 @@ func (s *RequestLaunchTemplateData) SetCreditSpecification(v *CreditSpecificatio
return s return s
} }
// SetDisableApiStop sets the DisableApiStop field's value.
func (s *RequestLaunchTemplateData) SetDisableApiStop(v bool) *RequestLaunchTemplateData {
s.DisableApiStop = &v
return s
}
// SetDisableApiTermination sets the DisableApiTermination field's value. // SetDisableApiTermination sets the DisableApiTermination field's value.
func (s *RequestLaunchTemplateData) SetDisableApiTermination(v bool) *RequestLaunchTemplateData { func (s *RequestLaunchTemplateData) SetDisableApiTermination(v bool) *RequestLaunchTemplateData {
s.DisableApiTermination = &v s.DisableApiTermination = &v
@ -143549,6 +143584,10 @@ type ResponseLaunchTemplateData struct {
// The credit option for CPU usage of the instance. // The credit option for CPU usage of the instance.
CreditSpecification *CreditSpecification `locationName:"creditSpecification" type:"structure"` CreditSpecification *CreditSpecification `locationName:"creditSpecification" type:"structure"`
// Indicates whether the instance is enabled for stop protection. For more information,
// see Stop Protection (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
DisableApiStop *bool `locationName:"disableApiStop" type:"boolean"`
// If set to true, indicates that the instance cannot be terminated using the // If set to true, indicates that the instance cannot be terminated using the
// Amazon EC2 console, command line tool, or API. // Amazon EC2 console, command line tool, or API.
DisableApiTermination *bool `locationName:"disableApiTermination" type:"boolean"` DisableApiTermination *bool `locationName:"disableApiTermination" type:"boolean"`
@ -143679,6 +143718,12 @@ func (s *ResponseLaunchTemplateData) SetCreditSpecification(v *CreditSpecificati
return s return s
} }
// SetDisableApiStop sets the DisableApiStop field's value.
func (s *ResponseLaunchTemplateData) SetDisableApiStop(v bool) *ResponseLaunchTemplateData {
s.DisableApiStop = &v
return s
}
// SetDisableApiTermination sets the DisableApiTermination field's value. // SetDisableApiTermination sets the DisableApiTermination field's value.
func (s *ResponseLaunchTemplateData) SetDisableApiTermination(v bool) *ResponseLaunchTemplateData { func (s *ResponseLaunchTemplateData) SetDisableApiTermination(v bool) *ResponseLaunchTemplateData {
s.DisableApiTermination = &v s.DisableApiTermination = &v
@ -145358,6 +145403,10 @@ type RunInstancesInput struct {
// For T3 instances with host tenancy, only standard is supported. // For T3 instances with host tenancy, only standard is supported.
CreditSpecification *CreditSpecificationRequest `type:"structure"` CreditSpecification *CreditSpecificationRequest `type:"structure"`
// Indicates whether an instance is enabled for stop protection. For more information,
// see Stop Protection (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection).
DisableApiStop *bool `type:"boolean"`
// If you set this parameter to true, you can't terminate the instance using // If you set this parameter to true, you can't terminate the instance using
// the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute
// after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). // after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html).
@ -145686,6 +145735,12 @@ func (s *RunInstancesInput) SetCreditSpecification(v *CreditSpecificationRequest
return s return s
} }
// SetDisableApiStop sets the DisableApiStop field's value.
func (s *RunInstancesInput) SetDisableApiStop(v bool) *RunInstancesInput {
s.DisableApiStop = &v
return s
}
// SetDisableApiTermination sets the DisableApiTermination field's value. // SetDisableApiTermination sets the DisableApiTermination field's value.
func (s *RunInstancesInput) SetDisableApiTermination(v bool) *RunInstancesInput { func (s *RunInstancesInput) SetDisableApiTermination(v bool) *RunInstancesInput {
s.DisableApiTermination = &v s.DisableApiTermination = &v
@ -158183,12 +158238,12 @@ type ValidationError struct {
_ struct{} `type:"structure"` _ struct{} `type:"structure"`
// The error code that indicates why the parameter or parameter combination // The error code that indicates why the parameter or parameter combination
// is not valid. For more information about error codes, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). // is not valid. For more information about error codes, see Error codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html).
Code *string `locationName:"code" type:"string"` Code *string `locationName:"code" type:"string"`
// The error message that describes why the parameter or parameter combination // The error message that describes why the parameter or parameter combination
// is not valid. For more information about error messages, see Error Codes // is not valid. For more information about error messages, see Error codes
// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html).
Message *string `locationName:"message" type:"string"` Message *string `locationName:"message" type:"string"`
} }
@ -163362,6 +163417,9 @@ const (
// InstanceAttributeNameEnclaveOptions is a InstanceAttributeName enum value // InstanceAttributeNameEnclaveOptions is a InstanceAttributeName enum value
InstanceAttributeNameEnclaveOptions = "enclaveOptions" InstanceAttributeNameEnclaveOptions = "enclaveOptions"
// InstanceAttributeNameDisableApiStop is a InstanceAttributeName enum value
InstanceAttributeNameDisableApiStop = "disableApiStop"
) )
// InstanceAttributeName_Values returns all elements of the InstanceAttributeName enum // InstanceAttributeName_Values returns all elements of the InstanceAttributeName enum
@ -163382,6 +163440,7 @@ func InstanceAttributeName_Values() []string {
InstanceAttributeNameSriovNetSupport, InstanceAttributeNameSriovNetSupport,
InstanceAttributeNameEnaSupport, InstanceAttributeNameEnaSupport,
InstanceAttributeNameEnclaveOptions, InstanceAttributeNameEnclaveOptions,
InstanceAttributeNameDisableApiStop,
} }
} }
@ -165179,6 +165238,39 @@ const (
// InstanceTypeI4i32xlarge is a InstanceType enum value // InstanceTypeI4i32xlarge is a InstanceType enum value
InstanceTypeI4i32xlarge = "i4i.32xlarge" InstanceTypeI4i32xlarge = "i4i.32xlarge"
// InstanceTypeI4iMetal is a InstanceType enum value
InstanceTypeI4iMetal = "i4i.metal"
// InstanceTypeX2idnMetal is a InstanceType enum value
InstanceTypeX2idnMetal = "x2idn.metal"
// InstanceTypeX2iednMetal is a InstanceType enum value
InstanceTypeX2iednMetal = "x2iedn.metal"
// InstanceTypeC7gMedium is a InstanceType enum value
InstanceTypeC7gMedium = "c7g.medium"
// InstanceTypeC7gLarge is a InstanceType enum value
InstanceTypeC7gLarge = "c7g.large"
// InstanceTypeC7gXlarge is a InstanceType enum value
InstanceTypeC7gXlarge = "c7g.xlarge"
// InstanceTypeC7g2xlarge is a InstanceType enum value
InstanceTypeC7g2xlarge = "c7g.2xlarge"
// InstanceTypeC7g4xlarge is a InstanceType enum value
InstanceTypeC7g4xlarge = "c7g.4xlarge"
// InstanceTypeC7g8xlarge is a InstanceType enum value
InstanceTypeC7g8xlarge = "c7g.8xlarge"
// InstanceTypeC7g12xlarge is a InstanceType enum value
InstanceTypeC7g12xlarge = "c7g.12xlarge"
// InstanceTypeC7g16xlarge is a InstanceType enum value
InstanceTypeC7g16xlarge = "c7g.16xlarge"
) )
// InstanceType_Values returns all elements of the InstanceType enum // InstanceType_Values returns all elements of the InstanceType enum
@ -165698,6 +165790,17 @@ func InstanceType_Values() []string {
InstanceTypeI4i8xlarge, InstanceTypeI4i8xlarge,
InstanceTypeI4i16xlarge, InstanceTypeI4i16xlarge,
InstanceTypeI4i32xlarge, InstanceTypeI4i32xlarge,
InstanceTypeI4iMetal,
InstanceTypeX2idnMetal,
InstanceTypeX2iednMetal,
InstanceTypeC7gMedium,
InstanceTypeC7gLarge,
InstanceTypeC7gXlarge,
InstanceTypeC7g2xlarge,
InstanceTypeC7g4xlarge,
InstanceTypeC7g8xlarge,
InstanceTypeC7g12xlarge,
InstanceTypeC7g16xlarge,
} }
} }

2
vendor/modules.txt vendored
View File

@ -14,7 +14,7 @@ github.com/armon/go-metrics
# github.com/armon/go-radix v1.0.0 # github.com/armon/go-radix v1.0.0
## explicit ## explicit
github.com/armon/go-radix github.com/armon/go-radix
# github.com/aws/aws-sdk-go v1.44.20 # github.com/aws/aws-sdk-go v1.44.24
## explicit; go 1.11 ## explicit; go 1.11
github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws
github.com/aws/aws-sdk-go/aws/awserr github.com/aws/aws-sdk-go/aws/awserr