build(deps): bump the go-deps group across 1 directory with 14 updates

Bumps the go-deps group with 11 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go) | `1.25.1` | `1.26.0` |
| [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.5.1` | `1.5.2` |
| [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5](https://github.com/Azure/azure-sdk-for-go) | `5.5.0` | `5.7.0` |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.51.25` | `1.52.0` |
| [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) | `0.26.0` | `0.27.0` |
| [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud) | `1.10.0` | `1.11.0` |
| [github.com/jackc/pgtype](https://github.com/jackc/pgtype) | `1.14.1` | `1.14.3` |
| [github.com/labstack/echo/v4](https://github.com/labstack/echo) | `4.11.4` | `4.12.0` |
| [github.com/openshift-online/ocm-sdk-go](https://github.com/openshift-online/ocm-sdk-go) | `0.1.398` | `0.1.418` |
| [github.com/osbuild/images](https://github.com/osbuild/images) | `0.56.0` | `0.58.0` |
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `1.18.0` | `1.19.0` |



Updates `cloud.google.com/go/compute` from 1.25.1 to 1.26.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.25.1...pubsub/v1.26.0)

Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.1 to 1.5.2
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.1...sdk/internal/v1.5.2)

Updates `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5` from 5.5.0 to 5.7.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/resourcemanager/compute/armcompute/v5.5.0...sdk/resourcemanager/compute/armcompute/v5.7.0)

Updates `github.com/aws/aws-sdk-go` from 1.51.25 to 1.52.0
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.51.25...v1.52.0)

Updates `github.com/getsentry/sentry-go` from 0.26.0 to 0.27.0
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.26.0...v0.27.0)

Updates `github.com/gophercloud/gophercloud` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/gophercloud/gophercloud/releases)
- [Changelog](https://github.com/gophercloud/gophercloud/blob/v1.11.0/CHANGELOG.md)
- [Commits](https://github.com/gophercloud/gophercloud/compare/v1.10.0...v1.11.0)

Updates `github.com/jackc/pgtype` from 1.14.1 to 1.14.3
- [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgtype/compare/v1.14.1...v1.14.3)

Updates `github.com/jackc/pgx/v4` from 4.18.1 to 4.18.2
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2)

Updates `github.com/labstack/echo/v4` from 4.11.4 to 4.12.0
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.11.4...v4.12.0)

Updates `github.com/openshift-online/ocm-sdk-go` from 0.1.398 to 0.1.418
- [Release notes](https://github.com/openshift-online/ocm-sdk-go/releases)
- [Changelog](https://github.com/openshift-online/ocm-sdk-go/blob/main/CHANGES.md)
- [Commits](https://github.com/openshift-online/ocm-sdk-go/compare/v0.1.398...v0.1.418)

Updates `github.com/osbuild/images` from 0.56.0 to 0.58.0
- [Release notes](https://github.com/osbuild/images/releases)
- [Commits](https://github.com/osbuild/images/compare/v0.56.0...v0.58.0)

Updates `github.com/prometheus/client_golang` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0)

Updates `golang.org/x/sync` from 0.6.0 to 0.7.0
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0)

Updates `google.golang.org/api` from 0.175.0 to 0.177.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.175.0...v0.177.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/gophercloud/gophercloud
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/jackc/pgtype
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/openshift-online/ocm-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/osbuild/images
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2024-05-02 04:46:13 +00:00 committed by Achilleas Koutsou
parent 49566b7ce4
commit 9193f3eebc
285 changed files with 70293 additions and 63914 deletions

View file

@ -4798,6 +4798,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@ -4812,6 +4815,14 @@ var awsPartition = partition{
Region: "ap-northeast-1",
},
},
endpointKey{
Region: "bedrock-ap-south-1",
}: endpoint{
Hostname: "bedrock.ap-south-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "ap-south-1",
},
},
endpointKey{
Region: "bedrock-ap-southeast-1",
}: endpoint{
@ -4836,6 +4847,14 @@ var awsPartition = partition{
Region: "eu-central-1",
},
},
endpointKey{
Region: "bedrock-eu-west-1",
}: endpoint{
Hostname: "bedrock.eu-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "eu-west-1",
},
},
endpointKey{
Region: "bedrock-eu-west-3",
}: endpoint{
@ -4868,6 +4887,14 @@ var awsPartition = partition{
Region: "ap-northeast-1",
},
},
endpointKey{
Region: "bedrock-runtime-ap-south-1",
}: endpoint{
Hostname: "bedrock-runtime.ap-south-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "ap-south-1",
},
},
endpointKey{
Region: "bedrock-runtime-ap-southeast-1",
}: endpoint{
@ -4892,6 +4919,14 @@ var awsPartition = partition{
Region: "eu-central-1",
},
},
endpointKey{
Region: "bedrock-runtime-eu-west-1",
}: endpoint{
Hostname: "bedrock-runtime.eu-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "eu-west-1",
},
},
endpointKey{
Region: "bedrock-runtime-eu-west-3",
}: endpoint{
@ -4951,6 +4986,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
endpointKey{
Region: "eu-west-3",
}: endpoint{},
@ -26008,6 +26046,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
endpointKey{
Region: "ap-south-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@ -26017,18 +26058,27 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{
Region: "ap-southeast-4",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-2",
}: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
endpointKey{
Region: "eu-south-2",
}: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@ -26038,6 +26088,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
endpointKey{
Region: "me-central-1",
}: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@ -34537,6 +34590,23 @@ var awsPartition = partition{
Region: "ca-central-1",
},
},
endpointKey{
Region: "ca-west-1",
}: endpoint{
Hostname: "wafv2.ca-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "ca-west-1",
},
},
endpointKey{
Region: "ca-west-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "wafv2-fips.ca-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "ca-west-1",
},
},
endpointKey{
Region: "eu-central-1",
}: endpoint{
@ -34781,6 +34851,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-ca-west-1",
}: endpoint{
Hostname: "wafv2-fips.ca-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "ca-west-1",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-eu-central-1",
}: endpoint{
@ -36382,6 +36461,19 @@ var awscnPartition = partition{
}: endpoint{},
},
},
"entitlement.marketplace": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "cn-northwest-1",
}: endpoint{
Hostname: "entitlement-marketplace.cn-northwest-1.amazonaws.com.cn",
Protocols: []string{"https"},
CredentialScope: credentialScope{
Region: "cn-northwest-1",
},
},
},
},
"es": service{
Endpoints: serviceEndpoints{
endpointKey{
@ -36819,7 +36911,7 @@ var awscnPartition = partition{
endpointKey{
Region: "cn-northwest-1",
}: endpoint{
Hostname: "subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn",
Hostname: "mediaconvert.cn-northwest-1.amazonaws.com.cn",
CredentialScope: credentialScope{
Region: "cn-northwest-1",
},
@ -40211,6 +40303,15 @@ var awsusgovPartition = partition{
},
"email": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "fips-us-gov-east-1",
}: endpoint{
Hostname: "email-fips.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-gov-west-1",
}: endpoint{
@ -40220,6 +40321,15 @@ var awsusgovPartition = partition{
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "us-gov-east-1",
}: endpoint{},
endpointKey{
Region: "us-gov-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "email-fips.us-gov-east-1.amazonaws.com",
},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
@ -41649,6 +41759,16 @@ var awsusgovPartition = partition{
}: endpoint{},
},
},
"license-manager-user-subscriptions": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-gov-east-1",
}: endpoint{},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
},
},
"logs": service{
Endpoints: serviceEndpoints{
endpointKey{

View file

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

View file

@ -5323,10 +5323,10 @@ func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *requ
// that you specify 2. Broadcast and multicast are not supported. For more
// information about NetBIOS node types, see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt).
//
// - ipv6-preferred-lease-time - A value (in seconds, minutes, hours, or
// years) for how frequently a running instance with an IPv6 assigned to
// it goes through DHCPv6 lease renewal. Acceptable values are between 140
// and 2147483647 seconds (approximately 68 years). If no value is entered,
// - ipv6-address-preferred-lease-time - A value (in seconds, minutes, hours,
// or years) for how frequently a running instance with an IPv6 assigned
// to it goes through DHCPv6 lease renewal. Acceptable values are between
// 140 and 2147483647 seconds (approximately 68 years). If no value is entered,
// the default lease time is 140 seconds. If you use long-term addressing
// for EC2 instances, you can increase the lease time and avoid frequent
// lease renewal requests. Lease renewal typically occurs when half of the
@ -6553,10 +6553,10 @@ func (c *EC2) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) (req
// 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.
//
// If you want to clone an existing launch template as the basis for creating
// a new launch template, you can use the Amazon EC2 console. The API, SDKs,
// and CLI do not support cloning a template. For more information, see Create
// a launch template from an existing launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template-from-existing-launch-template)
// To clone an existing launch template as the basis for a new launch template,
// use the Amazon EC2 console. The API, SDKs, and CLI do not support cloning
// a template. For more information, see Create a launch template from an existing
// launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template-from-existing-launch-template)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -6630,15 +6630,17 @@ func (c *EC2) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVers
// CreateLaunchTemplateVersion API operation for Amazon Elastic Compute Cloud.
//
// Creates a new version of a launch template. You can specify an existing version
// of launch template from which to base the new version.
// Creates a new version of a launch template. You must specify an existing
// launch template, either by name or ID. You can determine whether the new
// version inherits parameters from a source version, and add or overwrite parameters
// as needed.
//
// 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 can't specify, change, or replace the numbering of launch template versions.
//
// 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.
// includes the changes that 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)
@ -15571,9 +15573,10 @@ func (c *EC2) DeleteTransitGatewayRouteTableRequest(input *DeleteTransitGatewayR
// DeleteTransitGatewayRouteTable API operation for Amazon Elastic Compute Cloud.
//
// Deletes the specified transit gateway route table. You must disassociate
// the route table from any transit gateway route tables before you can delete
// it.
// Deletes the specified transit gateway route table. If there are any route
// tables associated with the transit gateway route table, you must first run
// DisassociateRouteTable before you can delete the transit gateway route table.
// This removes any route tables associated with the transit gateway route table.
//
// 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
@ -22209,6 +22212,9 @@ func (c *EC2) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re
// AMI are terminated, specifying the ID of the image will eventually return
// an error indicating that the AMI ID cannot be found.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// The order of the elements in the response, including those within nested
// structures, might vary. Applications should not assume the elements appear
// in a particular order.
@ -23761,6 +23767,9 @@ func (c *EC2) DescribeInstancesRequest(input *DescribeInstancesInput) (req *requ
// If you describe instances and specify only instance IDs that are in an unaffected
// zone, the call works normally.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// The order of the elements in the response, including those within nested
// structures, might vary. Applications should not assume the elements appear
// in a particular order.
@ -27473,6 +27482,9 @@ func (c *EC2) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesI
// you use pagination or one of the following filters: group-id, mac-address,
// private-dns-name, private-ip-address, private-dns-name, subnet-id, or vpc-id.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// 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.
@ -29759,6 +29771,9 @@ func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ
// For more information about EBS snapshots, see Amazon EBS snapshots (https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html)
// in the Amazon EBS User Guide.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// 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.
@ -30949,6 +30964,9 @@ func (c *EC2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
// For more information about tags, see Tag your Amazon EC2 resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// The order of the elements in the response, including those within nested
// structures, might vary. Applications should not assume the elements appear
// in a particular order.
@ -33813,6 +33831,9 @@ func (c *EC2) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.
// For more information about EBS volumes, see Amazon EBS volumes (https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html)
// in the Amazon EBS User Guide.
//
// We strongly recommend using only paginated requests. Unpaginated requests
// are susceptible to throttling and timeouts.
//
// The order of the elements in the response, including those within nested
// structures, might vary. Applications should not assume the elements appear
// in a particular order.
@ -36570,6 +36591,87 @@ func (c *EC2) DisableImageDeprecationWithContext(ctx aws.Context, input *Disable
return out, req.Send()
}
const opDisableImageDeregistrationProtection = "DisableImageDeregistrationProtection"
// DisableImageDeregistrationProtectionRequest generates a "aws/request.Request" representing the
// client's request for the DisableImageDeregistrationProtection 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 DisableImageDeregistrationProtection for more information on using the DisableImageDeregistrationProtection
// 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 DisableImageDeregistrationProtectionRequest method.
// req, resp := client.DisableImageDeregistrationProtectionRequest(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/DisableImageDeregistrationProtection
func (c *EC2) DisableImageDeregistrationProtectionRequest(input *DisableImageDeregistrationProtectionInput) (req *request.Request, output *DisableImageDeregistrationProtectionOutput) {
op := &request.Operation{
Name: opDisableImageDeregistrationProtection,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DisableImageDeregistrationProtectionInput{}
}
output = &DisableImageDeregistrationProtectionOutput{}
req = c.newRequest(op, input, output)
return
}
// DisableImageDeregistrationProtection API operation for Amazon Elastic Compute Cloud.
//
// Disables deregistration protection for an AMI. When deregistration protection
// is disabled, the AMI can be deregistered.
//
// If you chose to include a 24-hour cooldown period when you enabled deregistration
// protection for the AMI, then, when you disable deregistration protection,
// you wont immediately be able to deregister the AMI.
//
// For more information, see Protect an AMI from deregistration (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection)
// 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.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation DisableImageDeregistrationProtection for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImageDeregistrationProtection
func (c *EC2) DisableImageDeregistrationProtection(input *DisableImageDeregistrationProtectionInput) (*DisableImageDeregistrationProtectionOutput, error) {
req, out := c.DisableImageDeregistrationProtectionRequest(input)
return out, req.Send()
}
// DisableImageDeregistrationProtectionWithContext is the same as DisableImageDeregistrationProtection with the addition of
// the ability to pass a context and additional request options.
//
// See DisableImageDeregistrationProtection 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) DisableImageDeregistrationProtectionWithContext(ctx aws.Context, input *DisableImageDeregistrationProtectionInput, opts ...request.Option) (*DisableImageDeregistrationProtectionOutput, error) {
req, out := c.DisableImageDeregistrationProtectionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDisableIpamOrganizationAdminAccount = "DisableIpamOrganizationAdminAccount"
// DisableIpamOrganizationAdminAccountRequest generates a "aws/request.Request" representing the
@ -38903,6 +39005,86 @@ func (c *EC2) EnableImageDeprecationWithContext(ctx aws.Context, input *EnableIm
return out, req.Send()
}
const opEnableImageDeregistrationProtection = "EnableImageDeregistrationProtection"
// EnableImageDeregistrationProtectionRequest generates a "aws/request.Request" representing the
// client's request for the EnableImageDeregistrationProtection 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 EnableImageDeregistrationProtection for more information on using the EnableImageDeregistrationProtection
// 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 EnableImageDeregistrationProtectionRequest method.
// req, resp := client.EnableImageDeregistrationProtectionRequest(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/EnableImageDeregistrationProtection
func (c *EC2) EnableImageDeregistrationProtectionRequest(input *EnableImageDeregistrationProtectionInput) (req *request.Request, output *EnableImageDeregistrationProtectionOutput) {
op := &request.Operation{
Name: opEnableImageDeregistrationProtection,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &EnableImageDeregistrationProtectionInput{}
}
output = &EnableImageDeregistrationProtectionOutput{}
req = c.newRequest(op, input, output)
return
}
// EnableImageDeregistrationProtection API operation for Amazon Elastic Compute Cloud.
//
// Enables deregistration protection for an AMI. When deregistration protection
// is enabled, the AMI can't be deregistered.
//
// To allow the AMI to be deregistered, you must first disable deregistration
// protection using DisableImageDeregistrationProtection.
//
// For more information, see Protect an AMI from deregistration (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection)
// 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.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation EnableImageDeregistrationProtection for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImageDeregistrationProtection
func (c *EC2) EnableImageDeregistrationProtection(input *EnableImageDeregistrationProtectionInput) (*EnableImageDeregistrationProtectionOutput, error) {
req, out := c.EnableImageDeregistrationProtectionRequest(input)
return out, req.Send()
}
// EnableImageDeregistrationProtectionWithContext is the same as EnableImageDeregistrationProtection with the addition of
// the ability to pass a context and additional request options.
//
// See EnableImageDeregistrationProtection 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) EnableImageDeregistrationProtectionWithContext(ctx aws.Context, input *EnableImageDeregistrationProtectionInput, opts ...request.Option) (*EnableImageDeregistrationProtectionOutput, error) {
req, out := c.EnableImageDeregistrationProtectionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opEnableIpamOrganizationAdminAccount = "EnableIpamOrganizationAdminAccount"
// EnableIpamOrganizationAdminAccountRequest generates a "aws/request.Request" representing the
@ -62346,12 +62528,12 @@ type AssociatedRole struct {
// The name of the Amazon S3 bucket in which the Amazon S3 object is stored.
CertificateS3BucketName *string `locationName:"certificateS3BucketName" type:"string"`
// The key of the Amazon S3 object ey where the certificate, certificate chain,
// and encrypted private key bundle is stored. The object key is formated as
// follows: role_arn/certificate_arn.
// The key of the Amazon S3 object where the certificate, certificate chain,
// and encrypted private key bundle are stored. The object key is formatted
// as follows: role_arn/certificate_arn.
CertificateS3ObjectKey *string `locationName:"certificateS3ObjectKey" type:"string"`
// The ID of the KMS customer master key (CMK) used to encrypt the private key.
// The ID of the KMS key used to encrypt the private key.
EncryptionKmsKeyId *string `locationName:"encryptionKmsKeyId" type:"string"`
}
@ -74404,14 +74586,14 @@ type CreateLaunchTemplateVersionInput struct {
// The ID of the launch template.
//
// You must specify either the LaunchTemplateId or the LaunchTemplateName, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateId *string `type:"string"`
// The name of the launch template.
//
// You must specify the LaunchTemplateName or the LaunchTemplateId, but not
// both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateName *string `min:"3" type:"string"`
// If true, and if a Systems Manager parameter is specified for ImageId, the
@ -74422,11 +74604,17 @@ type CreateLaunchTemplateVersionInput struct {
// Default: false
ResolveAlias *bool `type:"boolean"`
// The version number of the launch template version on which to base the new
// version. The new version inherits the same launch parameters as the source
// version, except for parameters that you specify in LaunchTemplateData. Snapshots
// The version of the launch template on which to base the new version. Snapshots
// applied to the block device mapping are ignored when creating a new version
// unless they are explicitly included.
//
// If you specify this parameter, the new version inherits the launch parameters
// from the source version. If you specify additional launch parameters for
// the new version, they overwrite any corresponding launch parameters inherited
// from the source version.
//
// If you omit this parameter, the new version contains only the launch parameters
// that you specify for the new version.
SourceVersion *string `type:"string"`
// A description for the version of the launch template.
@ -85309,14 +85497,14 @@ type DeleteLaunchTemplateInput struct {
// The ID of the launch template.
//
// You must specify either the LaunchTemplateId or the LaunchTemplateName, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateId *string `type:"string"`
// The name of the launch template.
//
// You must specify either the LaunchTemplateName or the LaunchTemplateId, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateName *string `min:"3" type:"string"`
}
@ -85411,14 +85599,14 @@ type DeleteLaunchTemplateVersionsInput struct {
// The ID of the launch template.
//
// You must specify either the LaunchTemplateId or the LaunchTemplateName, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateId *string `type:"string"`
// The name of the launch template.
//
// You must specify either the LaunchTemplateName or the LaunchTemplateId, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateName *string `min:"3" type:"string"`
// The version numbers of one or more launch template versions to delete. You
@ -96839,6 +97027,9 @@ type DescribeImageAttributeOutput struct {
// The boot mode.
BootMode *AttributeValue `locationName:"bootMode" type:"structure"`
// Indicates whether deregistration protection is enabled for the AMI.
DeregistrationProtection *AttributeValue `locationName:"deregistrationProtection" type:"structure"`
// A description for the AMI.
Description *AttributeValue `locationName:"description" type:"structure"`
@ -96918,6 +97109,12 @@ func (s *DescribeImageAttributeOutput) SetBootMode(v *AttributeValue) *DescribeI
return s
}
// SetDeregistrationProtection sets the DeregistrationProtection field's value.
func (s *DescribeImageAttributeOutput) SetDeregistrationProtection(v *AttributeValue) *DescribeImageAttributeOutput {
s.DeregistrationProtection = v
return s
}
// SetDescription sets the Description field's value.
func (s *DescribeImageAttributeOutput) SetDescription(v *AttributeValue) *DescribeImageAttributeOutput {
s.Description = v
@ -100689,7 +100886,8 @@ type DescribeLaunchTemplateVersionsInput struct {
// The ID of the launch template.
//
// To describe one or more versions of a specified launch template, you must
// specify either the LaunchTemplateId or the LaunchTemplateName, but not both.
// specify either the launch template ID or the launch template name, but not
// both.
//
// To describe all the latest or default launch template versions in your account,
// you must omit this parameter.
@ -100698,7 +100896,8 @@ type DescribeLaunchTemplateVersionsInput struct {
// The name of the launch template.
//
// To describe one or more versions of a specified launch template, you must
// specify either the LaunchTemplateName or the LaunchTemplateId, but not both.
// specify either the launch template name or the launch template ID, but not
// both.
//
// To describe all the latest or default launch template versions in your account,
// you must omit this parameter.
@ -103362,6 +103561,11 @@ func (s *DescribeNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string)
type DescribeNetworkInterfaceAttributeOutput struct {
_ struct{} `type:"structure"`
// Indicates whether to assign a public IPv4 address to a network interface.
// This option can be enabled for any network interface but will only apply
// to the primary network interface (eth0).
AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"`
// The attachment (if any) of the network interface.
Attachment *NetworkInterfaceAttachment `locationName:"attachment" type:"structure"`
@ -103396,6 +103600,12 @@ func (s DescribeNetworkInterfaceAttributeOutput) GoString() string {
return s.String()
}
// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
func (s *DescribeNetworkInterfaceAttributeOutput) SetAssociatePublicIpAddress(v bool) *DescribeNetworkInterfaceAttributeOutput {
s.AssociatePublicIpAddress = &v
return s
}
// SetAttachment sets the Attachment field's value.
func (s *DescribeNetworkInterfaceAttributeOutput) SetAttachment(v *NetworkInterfaceAttachment) *DescribeNetworkInterfaceAttributeOutput {
s.Attachment = v
@ -103757,7 +103967,7 @@ func (s *DescribeNetworkInterfacesInput) SetNextToken(v string) *DescribeNetwork
type DescribeNetworkInterfacesOutput struct {
_ struct{} `type:"structure"`
// Information about one or more network interfaces.
// Information about the network interfaces.
NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"`
// The token to include in another request to get the next page of items. This
@ -107854,13 +108064,8 @@ type DescribeTagsInput struct {
//
// * resource-id - The ID of the resource.
//
// * resource-type - The resource type (customer-gateway | dedicated-host
// | dhcp-options | elastic-ip | fleet | fpga-image | host-reservation |
// image | instance | internet-gateway | key-pair | launch-template | natgateway
// | network-acl | network-interface | placement-group | reserved-instances
// | route-table | security-group | snapshot | spot-instances-request | subnet
// | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-peering-connection
// | vpn-connection | vpn-gateway).
// * resource-type - The resource type. For a list of possible values, see
// TagSpecification (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html).
//
// * tag:<key> - The key/value combination of the tag. For example, specify
// "tag:Owner" for the filter name and "TeamA" for the filter value to find
@ -109638,6 +109843,12 @@ type DescribeTransitGatewaysInput struct {
// | modifying | pending).
//
// * transit-gateway-id - The ID of the transit gateway.
//
// * tag-key - The key/value combination of a tag assigned to the resource.
// Use the tag key in the filter name and the tag value as the filter value.
// For example, to find all resources that have a tag with the key Owner
// and the value TeamA, specify tag:Owner for the filter name and TeamA for
// the filter value.
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
// The maximum number of results to return with a single call. To retrieve the
@ -114702,6 +114913,95 @@ func (s *DisableImageDeprecationOutput) SetReturn(v bool) *DisableImageDeprecati
return s
}
type DisableImageDeregistrationProtectionInput 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.
//
// 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 DisableImageDeregistrationProtectionInput) 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 DisableImageDeregistrationProtectionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DisableImageDeregistrationProtectionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DisableImageDeregistrationProtectionInput"}
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 *DisableImageDeregistrationProtectionInput) SetDryRun(v bool) *DisableImageDeregistrationProtectionInput {
s.DryRun = &v
return s
}
// SetImageId sets the ImageId field's value.
func (s *DisableImageDeregistrationProtectionInput) SetImageId(v string) *DisableImageDeregistrationProtectionInput {
s.ImageId = &v
return s
}
type DisableImageDeregistrationProtectionOutput struct {
_ struct{} `type:"structure"`
// Returns true if the request succeeds; otherwise, it returns an error.
Return *string `locationName:"return" type:"string"`
}
// 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 DisableImageDeregistrationProtectionOutput) 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 DisableImageDeregistrationProtectionOutput) GoString() string {
return s.String()
}
// SetReturn sets the Return field's value.
func (s *DisableImageDeregistrationProtectionOutput) SetReturn(v string) *DisableImageDeregistrationProtectionOutput {
s.Return = &v
return s
}
type DisableImageInput struct {
_ struct{} `type:"structure"`
@ -119674,6 +119974,105 @@ func (s *EnableImageDeprecationOutput) SetReturn(v bool) *EnableImageDeprecation
return s
}
type EnableImageDeregistrationProtectionInput 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.
//
// ImageId is a required field
ImageId *string `type:"string" required:"true"`
// If true, enforces deregistration protection for 24 hours after deregistration
// protection is disabled.
WithCooldown *bool `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 EnableImageDeregistrationProtectionInput) 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 EnableImageDeregistrationProtectionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *EnableImageDeregistrationProtectionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "EnableImageDeregistrationProtectionInput"}
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 *EnableImageDeregistrationProtectionInput) SetDryRun(v bool) *EnableImageDeregistrationProtectionInput {
s.DryRun = &v
return s
}
// SetImageId sets the ImageId field's value.
func (s *EnableImageDeregistrationProtectionInput) SetImageId(v string) *EnableImageDeregistrationProtectionInput {
s.ImageId = &v
return s
}
// SetWithCooldown sets the WithCooldown field's value.
func (s *EnableImageDeregistrationProtectionInput) SetWithCooldown(v bool) *EnableImageDeregistrationProtectionInput {
s.WithCooldown = &v
return s
}
type EnableImageDeregistrationProtectionOutput struct {
_ struct{} `type:"structure"`
// Returns true if the request succeeds; otherwise, it returns an error.
Return *string `locationName:"return" type:"string"`
}
// 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 EnableImageDeregistrationProtectionOutput) 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 EnableImageDeregistrationProtectionOutput) GoString() string {
return s.String()
}
// SetReturn sets the Return field's value.
func (s *EnableImageDeregistrationProtectionOutput) SetReturn(v string) *EnableImageDeregistrationProtectionOutput {
s.Return = &v
return s
}
type EnableImageInput struct {
_ struct{} `type:"structure"`
@ -131823,6 +132222,9 @@ type Image struct {
// the seconds to the nearest minute.
DeprecationTime *string `locationName:"deprecationTime" type:"string"`
// Indicates whether deregistration protection is enabled for the AMI.
DeregistrationProtection *string `locationName:"deregistrationProtection" type:"string"`
// The description of the AMI that was provided during image creation.
Description *string `locationName:"description" type:"string"`
@ -131856,6 +132258,13 @@ type Image struct {
// images.
KernelId *string `locationName:"kernelId" type:"string"`
// The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
// when the AMI was last used to launch an EC2 instance. When the AMI is used
// to launch an instance, there is a 24-hour delay before that usage is reported.
//
// lastLaunchedTime data is available starting April 2017.
LastLaunchedTime *string `locationName:"lastLaunchedTime" type:"string"`
// The name of the AMI that was provided during image creation.
Name *string `locationName:"name" type:"string"`
@ -131975,6 +132384,12 @@ func (s *Image) SetDeprecationTime(v string) *Image {
return s
}
// SetDeregistrationProtection sets the DeregistrationProtection field's value.
func (s *Image) SetDeregistrationProtection(v string) *Image {
s.DeregistrationProtection = &v
return s
}
// SetDescription sets the Description field's value.
func (s *Image) SetDescription(v string) *Image {
s.Description = &v
@ -132029,6 +132444,12 @@ func (s *Image) SetKernelId(v string) *Image {
return s
}
// SetLastLaunchedTime sets the LastLaunchedTime field's value.
func (s *Image) SetLastLaunchedTime(v string) *Image {
s.LastLaunchedTime = &v
return s
}
// SetName sets the Name field's value.
func (s *Image) SetName(v string) *Image {
s.Name = &v
@ -144125,7 +144546,11 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct {
// A description for the network interface.
Description *string `type:"string"`
// The device index for the network interface attachment.
// The device index for the network interface attachment. Each network interface
// requires a device index. If you create a launch template that includes secondary
// network interfaces but not a primary network interface, then you must add
// a primary network interface as a launch parameter when you launch an instance
// from the template.
DeviceIndex *int64 `type:"integer"`
// Configure ENA Express settings for your launch template.
@ -144851,30 +145276,27 @@ func (s *LaunchTemplatePrivateDnsNameOptionsRequest) SetHostnameType(v string) *
return s
}
// The launch template to use. You must specify either the launch template ID
// or launch template name in the request, but not both.
// Describes the launch template to use.
type LaunchTemplateSpecification struct {
_ struct{} `type:"structure"`
// The ID of the launch template.
//
// You must specify the LaunchTemplateId or the LaunchTemplateName, but not
// both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateId *string `type:"string"`
// The name of the launch template.
//
// You must specify the LaunchTemplateName or the LaunchTemplateId, but not
// both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateName *string `type:"string"`
// The launch template version number, $Latest, or $Default.
//
// If the value is $Latest, Amazon EC2 uses the latest version of the launch
// template.
// A value of $Latest uses the latest version of the launch template.
//
// If the value is $Default, Amazon EC2 uses the default version of the launch
// template.
// A value of $Default uses the default version of the launch template.
//
// Default: The default version of the launch template.
Version *string `type:"string"`
@ -151268,14 +151690,14 @@ type ModifyLaunchTemplateInput struct {
// The ID of the launch template.
//
// You must specify either the LaunchTemplateId or the LaunchTemplateName, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateId *string `type:"string"`
// The name of the launch template.
//
// You must specify either the LaunchTemplateName or the LaunchTemplateId, but
// not both.
// You must specify either the launch template ID or the launch template name,
// but not both.
LaunchTemplateName *string `min:"3" type:"string"`
}
@ -151663,6 +152085,11 @@ func (s *ModifyManagedPrefixListOutput) SetPrefixList(v *ManagedPrefixList) *Mod
type ModifyNetworkInterfaceAttributeInput struct {
_ struct{} `type:"structure"`
// Indicates whether to assign a public IPv4 address to a network interface.
// This option can be enabled for any network interface but will only apply
// to the primary network interface (eth0).
AssociatePublicIpAddress *bool `type:"boolean"`
// Information about the interface attachment. If modifying the delete on termination
// attribute, you must specify the ID of the interface attachment.
Attachment *NetworkInterfaceAttachmentChanges `locationName:"attachment" type:"structure"`
@ -151749,6 +152176,12 @@ func (s *ModifyNetworkInterfaceAttributeInput) Validate() error {
return nil
}
// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
func (s *ModifyNetworkInterfaceAttributeInput) SetAssociatePublicIpAddress(v bool) *ModifyNetworkInterfaceAttributeInput {
s.AssociatePublicIpAddress = &v
return s
}
// SetAttachment sets the Attachment field's value.
func (s *ModifyNetworkInterfaceAttributeInput) SetAttachment(v *NetworkInterfaceAttachmentChanges) *ModifyNetworkInterfaceAttributeInput {
s.Attachment = v
@ -172050,9 +172483,8 @@ type RunInstancesInput struct {
// you choose an AMI that is configured to allow users another way to log in.
KeyName *string `type:"string"`
// The launch template to use to launch the instances. Any parameters that you
// specify in RunInstances override the same parameters in the launch template.
// You can specify either the name or ID of a launch template, but not both.
// The launch template. Any additional parameters that you specify for the new
// instance overwrite the corresponding parameters included in the launch template.
LaunchTemplate *LaunchTemplateSpecification `type:"structure"`
// The license configurations.
@ -187644,6 +188076,9 @@ func (s *VgwTelemetry) SetStatusMessage(v string) *VgwTelemetry {
type Volume struct {
_ struct{} `type:"structure"`
//
// This parameter is not returned by CreateVolume.
//
// Information about the volume attachments.
Attachments []*VolumeAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"`
@ -187656,6 +188091,9 @@ type Volume struct {
// Indicates whether the volume is encrypted.
Encrypted *bool `locationName:"encrypted" type:"boolean"`
//
// This parameter is not returned by CreateVolume.
//
// Indicates whether the volume was created using fast snapshot restore.
FastRestored *bool `locationName:"fastRestored" type:"boolean"`
@ -187681,6 +188119,9 @@ type Volume struct {
// The snapshot from which the volume was created, if applicable.
SnapshotId *string `locationName:"snapshotId" type:"string"`
//
// This parameter is not returned by CreateVolume.
//
// Reserved for future use.
SseType *string `locationName:"sseType" type:"string" enum:"SSEType"`
@ -193066,6 +193507,9 @@ const (
// ImageAttributeNameImdsSupport is a ImageAttributeName enum value
ImageAttributeNameImdsSupport = "imdsSupport"
// ImageAttributeNameDeregistrationProtection is a ImageAttributeName enum value
ImageAttributeNameDeregistrationProtection = "deregistrationProtection"
)
// ImageAttributeName_Values returns all elements of the ImageAttributeName enum
@ -193083,6 +193527,7 @@ func ImageAttributeName_Values() []string {
ImageAttributeNameUefiData,
ImageAttributeNameLastLaunchedTime,
ImageAttributeNameImdsSupport,
ImageAttributeNameDeregistrationProtection,
}
}
@ -198070,6 +198515,9 @@ const (
// NetworkInterfaceAttributeAttachment is a NetworkInterfaceAttribute enum value
NetworkInterfaceAttributeAttachment = "attachment"
// NetworkInterfaceAttributeAssociatePublicIpAddress is a NetworkInterfaceAttribute enum value
NetworkInterfaceAttributeAssociatePublicIpAddress = "associatePublicIpAddress"
)
// NetworkInterfaceAttribute_Values returns all elements of the NetworkInterfaceAttribute enum
@ -198079,6 +198527,7 @@ func NetworkInterfaceAttribute_Values() []string {
NetworkInterfaceAttributeGroupSet,
NetworkInterfaceAttributeSourceDestCheck,
NetworkInterfaceAttributeAttachment,
NetworkInterfaceAttributeAssociatePublicIpAddress,
}
}