mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
rebase: bump github.com/aws/aws-sdk-go from 1.43.41 to 1.44.0
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.41 to 1.44.0. - [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.43.41...v1.44.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
b50e93e689
commit
1ca5e8efb0
2
go.mod
2
go.mod
@ -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.43.41
|
github.com/aws/aws-sdk-go v1.44.0
|
||||||
github.com/aws/aws-sdk-go-v2/service/sts v1.16.4
|
github.com/aws/aws-sdk-go-v2/service/sts v1.16.4
|
||||||
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
4
go.sum
@ -138,8 +138,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.43.41 h1:HaazVplP8/t6SOfybQlNUmjAxLWDKdLdX8BSEHFlJdY=
|
github.com/aws/aws-sdk-go v1.44.0 h1:jwtHuNqfnJxL4DKHBUVUmQlfueQqBW7oXP6yebZR/R0=
|
||||||
github.com/aws/aws-sdk-go v1.43.41/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
github.com/aws/aws-sdk-go v1.44.0/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=
|
||||||
|
40
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
40
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
@ -5673,6 +5673,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{},
|
||||||
@ -11227,6 +11230,28 @@ var awsPartition = partition{
|
|||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"iottwinmaker": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"iotwireless": service{
|
"iotwireless": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
@ -15370,6 +15395,12 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "qldb-fips.ca-central-1.amazonaws.com",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-central-1",
|
Region: "eu-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -15379,6 +15410,15 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-west-2",
|
Region: "eu-west-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-ca-central-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "qldb-fips.ca-central-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "fips-us-east-1",
|
Region: "fips-us-east-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
|
5
vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go
generated
vendored
5
vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go
generated
vendored
@ -330,6 +330,9 @@ func MakeAddToUserAgentFreeFormHandler(s string) func(*Request) {
|
|||||||
// WithSetRequestHeaders updates the operation request's HTTP header to contain
|
// WithSetRequestHeaders updates the operation request's HTTP header to contain
|
||||||
// the header key value pairs provided. If the header key already exists in the
|
// the header key value pairs provided. If the header key already exists in the
|
||||||
// request's HTTP header set, the existing value(s) will be replaced.
|
// request's HTTP header set, the existing value(s) will be replaced.
|
||||||
|
//
|
||||||
|
// Header keys added will be added as canonical format with title casing
|
||||||
|
// applied via http.Header.Set method.
|
||||||
func WithSetRequestHeaders(h map[string]string) Option {
|
func WithSetRequestHeaders(h map[string]string) Option {
|
||||||
return withRequestHeader(h).SetRequestHeaders
|
return withRequestHeader(h).SetRequestHeaders
|
||||||
}
|
}
|
||||||
@ -338,6 +341,6 @@ type withRequestHeader map[string]string
|
|||||||
|
|
||||||
func (h withRequestHeader) SetRequestHeaders(r *Request) {
|
func (h withRequestHeader) SetRequestHeaders(r *Request) {
|
||||||
for k, v := range h {
|
for k, v := range h {
|
||||||
r.HTTPRequest.Header[k] = []string{v}
|
r.HTTPRequest.Header.Set(k, v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
@ -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.43.41"
|
const SDKVersion = "1.44.0"
|
||||||
|
55
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
55
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
@ -45629,6 +45629,11 @@ func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *reques
|
|||||||
// For more information, see Spot Fleet requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html)
|
// For more information, see Spot Fleet requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html)
|
||||||
// in the Amazon EC2 User Guide for Linux Instances.
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
//
|
//
|
||||||
|
// We strongly discourage using the RequestSpotFleet API because it is a legacy
|
||||||
|
// API with no planned investment. For options for requesting Spot Instances,
|
||||||
|
// see Which is the best Spot request method to use? (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use)
|
||||||
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
|
//
|
||||||
// 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
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
@ -45706,6 +45711,11 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req
|
|||||||
// For more information, see Spot Instance requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
|
// For more information, see Spot Instance requests (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
|
||||||
// in the Amazon EC2 User Guide for Linux Instances.
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
//
|
//
|
||||||
|
// We strongly discourage using the RequestSpotInstances API because it is a
|
||||||
|
// legacy API with no planned investment. For options for requesting Spot Instances,
|
||||||
|
// see Which is the best Spot request method to use? (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use)
|
||||||
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
|
//
|
||||||
// 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
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
@ -63378,7 +63388,11 @@ func (s *CreateKeyPairInput) SetTagSpecifications(v []*TagSpecification) *Create
|
|||||||
type CreateKeyPairOutput struct {
|
type CreateKeyPairOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The SHA-1 digest of the DER encoded private key.
|
// * For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER
|
||||||
|
// encoded private key.
|
||||||
|
//
|
||||||
|
// * For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256
|
||||||
|
// digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
|
||||||
KeyFingerprint *string `locationName:"keyFingerprint" type:"string"`
|
KeyFingerprint *string `locationName:"keyFingerprint" type:"string"`
|
||||||
|
|
||||||
// An unencrypted PEM encoded RSA or ED25519 private key.
|
// An unencrypted PEM encoded RSA or ED25519 private key.
|
||||||
@ -84191,6 +84205,9 @@ type DescribeInstancesInput struct {
|
|||||||
//
|
//
|
||||||
// * block-device-mapping.volume-id - The volume ID of the EBS volume.
|
// * block-device-mapping.volume-id - The volume ID of the EBS volume.
|
||||||
//
|
//
|
||||||
|
// * capacity-reservation-id - The ID of the Capacity Reservation into which
|
||||||
|
// the instance was launched.
|
||||||
|
//
|
||||||
// * client-token - The idempotency token you provided when you launched
|
// * client-token - The idempotency token you provided when you launched
|
||||||
// the instance.
|
// the instance.
|
||||||
//
|
//
|
||||||
@ -91428,7 +91445,7 @@ type DescribeSpotInstanceRequestsInput struct {
|
|||||||
// * state - The state of the Spot Instance request (open | active | closed
|
// * state - The state of the Spot Instance request (open | active | closed
|
||||||
// | cancelled | failed). Spot request status information can help you track
|
// | cancelled | failed). Spot request status information can help you track
|
||||||
// your Amazon EC2 Spot Instance requests. For more information, see Spot
|
// your Amazon EC2 Spot Instance requests. For more information, see Spot
|
||||||
// request status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html)
|
// request status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html)
|
||||||
// in the Amazon EC2 User Guide for Linux Instances.
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
//
|
//
|
||||||
// * status-code - The short code describing the most recent evaluation of
|
// * status-code - The short code describing the most recent evaluation of
|
||||||
@ -112750,7 +112767,11 @@ func (s *ImportKeyPairInput) SetTagSpecifications(v []*TagSpecification) *Import
|
|||||||
type ImportKeyPairOutput struct {
|
type ImportKeyPairOutput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
// * For RSA key pairs, the key fingerprint is the MD5 public key fingerprint
|
||||||
|
// as specified in section 4 of RFC 4716.
|
||||||
|
//
|
||||||
|
// * For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256
|
||||||
|
// digest, which is the default for OpenSSH, starting with OpenSSH 6.8 (http://www.openssh.com/txt/release-6.8).
|
||||||
KeyFingerprint *string `locationName:"keyFingerprint" type:"string"`
|
KeyFingerprint *string `locationName:"keyFingerprint" type:"string"`
|
||||||
|
|
||||||
// The key pair name that you provided.
|
// The key pair name that you provided.
|
||||||
@ -119603,7 +119624,7 @@ type LaunchSpecification struct {
|
|||||||
// The ID of the AMI.
|
// The ID of the AMI.
|
||||||
ImageId *string `locationName:"imageId" type:"string"`
|
ImageId *string `locationName:"imageId" type:"string"`
|
||||||
|
|
||||||
// The instance type.
|
// The instance type. Only one instance type can be specified.
|
||||||
InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
|
InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
|
||||||
|
|
||||||
// The ID of the kernel.
|
// The ID of the kernel.
|
||||||
@ -128488,11 +128509,11 @@ type ModifySubnetAttributeInput struct {
|
|||||||
// in the specified subnet should be assigned a public IPv4 address.
|
// in the specified subnet should be assigned a public IPv4 address.
|
||||||
MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"`
|
MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"`
|
||||||
|
|
||||||
// The type of hostnames to assign to instances in the subnet at launch. For
|
// The type of hostname to assign to instances in the subnet at launch. For
|
||||||
// IPv4 only subnets, an instance DNS name must be based on the instance IPv4
|
// IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can
|
||||||
// address. For IPv6 only subnets, an instance DNS name must be based on the
|
// be based on the instance IPv4 address (ip-name) or the instance ID (resource-name).
|
||||||
// instance ID. For dual-stack subnets, you can specify whether DNS names use
|
// For IPv6 only subnets, an instance DNS name must be based on the instance
|
||||||
// the instance IPv4 address or the instance ID.
|
// ID (resource-name).
|
||||||
PrivateDnsHostnameTypeOnLaunch *string `type:"string" enum:"HostnameType"`
|
PrivateDnsHostnameTypeOnLaunch *string `type:"string" enum:"HostnameType"`
|
||||||
|
|
||||||
// The ID of the subnet.
|
// The ID of the subnet.
|
||||||
@ -141059,7 +141080,7 @@ type RequestSpotLaunchSpecification struct {
|
|||||||
// The ID of the AMI.
|
// The ID of the AMI.
|
||||||
ImageId *string `locationName:"imageId" type:"string"`
|
ImageId *string `locationName:"imageId" type:"string"`
|
||||||
|
|
||||||
// The instance type.
|
// The instance type. Only one instance type can be specified.
|
||||||
InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
|
InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"`
|
||||||
|
|
||||||
// The ID of the kernel.
|
// The ID of the kernel.
|
||||||
@ -145089,7 +145110,11 @@ type RunInstancesInput struct {
|
|||||||
// If you are using a command line tool, base64-encoding is performed for you,
|
// If you are using a command line tool, base64-encoding is performed for you,
|
||||||
// and you can load the text from a file. Otherwise, you must provide base64-encoded
|
// and you can load the text from a file. Otherwise, you must provide base64-encoded
|
||||||
// text. User data is limited to 16 KB.
|
// text. User data is limited to 16 KB.
|
||||||
UserData *string `type:"string"`
|
//
|
||||||
|
// UserData is a sensitive parameter and its value will be
|
||||||
|
// replaced with "sensitive" in string returned by RunInstancesInput's
|
||||||
|
// String and GoString methods.
|
||||||
|
UserData *string `type:"string" sensitive:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// String returns the string representation.
|
// String returns the string representation.
|
||||||
@ -150089,8 +150114,9 @@ type SpotInstanceRequest struct {
|
|||||||
// The maximum price per hour that you are willing to pay for a Spot Instance.
|
// The maximum price per hour that you are willing to pay for a Spot Instance.
|
||||||
SpotPrice *string `locationName:"spotPrice" type:"string"`
|
SpotPrice *string `locationName:"spotPrice" type:"string"`
|
||||||
|
|
||||||
// The state of the Spot Instance request. Spot status information helps track
|
// The state of the Spot Instance request. Spot request status information helps
|
||||||
// your Spot Instance requests. For more information, see Spot status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html)
|
// track your Spot Instance requests. For more information, see Spot request
|
||||||
|
// status (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html)
|
||||||
// in the Amazon EC2 User Guide for Linux Instances.
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
State *string `locationName:"state" type:"string" enum:"SpotInstanceState"`
|
State *string `locationName:"state" type:"string" enum:"SpotInstanceState"`
|
||||||
|
|
||||||
@ -150297,7 +150323,8 @@ func (s *SpotInstanceStateFault) SetMessage(v string) *SpotInstanceStateFault {
|
|||||||
type SpotInstanceStatus struct {
|
type SpotInstanceStatus struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The status code. For a list of status codes, see Spot status codes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html#spot-instance-bid-status-understand)
|
// The status code. For a list of status codes, see Spot request status codes
|
||||||
|
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand)
|
||||||
// in the Amazon EC2 User Guide for Linux Instances.
|
// in the Amazon EC2 User Guide for Linux Instances.
|
||||||
Code *string `locationName:"code" type:"string"`
|
Code *string `locationName:"code" type:"string"`
|
||||||
|
|
||||||
|
51
vendor/github.com/aws/aws-sdk-go/service/ec2/waiters.go
generated
vendored
51
vendor/github.com/aws/aws-sdk-go/service/ec2/waiters.go
generated
vendored
@ -906,6 +906,57 @@ func (c *EC2) WaitUntilNatGatewayAvailableWithContext(ctx aws.Context, input *De
|
|||||||
return w.WaitWithContext(ctx)
|
return w.WaitWithContext(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WaitUntilNatGatewayDeleted uses the Amazon EC2 API operation
|
||||||
|
// DescribeNatGateways to wait for a condition to be met before returning.
|
||||||
|
// If the condition is not met within the max attempt window, an error will
|
||||||
|
// be returned.
|
||||||
|
func (c *EC2) WaitUntilNatGatewayDeleted(input *DescribeNatGatewaysInput) error {
|
||||||
|
return c.WaitUntilNatGatewayDeletedWithContext(aws.BackgroundContext(), input)
|
||||||
|
}
|
||||||
|
|
||||||
|
// WaitUntilNatGatewayDeletedWithContext is an extended version of WaitUntilNatGatewayDeleted.
|
||||||
|
// With the support for passing in a context and options to configure the
|
||||||
|
// Waiter and the underlying request options.
|
||||||
|
//
|
||||||
|
// 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) WaitUntilNatGatewayDeletedWithContext(ctx aws.Context, input *DescribeNatGatewaysInput, opts ...request.WaiterOption) error {
|
||||||
|
w := request.Waiter{
|
||||||
|
Name: "WaitUntilNatGatewayDeleted",
|
||||||
|
MaxAttempts: 40,
|
||||||
|
Delay: request.ConstantWaiterDelay(15 * time.Second),
|
||||||
|
Acceptors: []request.WaiterAcceptor{
|
||||||
|
{
|
||||||
|
State: request.SuccessWaiterState,
|
||||||
|
Matcher: request.PathAllWaiterMatch, Argument: "NatGateways[].State",
|
||||||
|
Expected: "deleted",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
State: request.SuccessWaiterState,
|
||||||
|
Matcher: request.ErrorWaiterMatch,
|
||||||
|
Expected: "NatGatewayNotFound",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Logger: c.Config.Logger,
|
||||||
|
NewRequest: func(opts []request.Option) (*request.Request, error) {
|
||||||
|
var inCpy *DescribeNatGatewaysInput
|
||||||
|
if input != nil {
|
||||||
|
tmp := *input
|
||||||
|
inCpy = &tmp
|
||||||
|
}
|
||||||
|
req, _ := c.DescribeNatGatewaysRequest(inCpy)
|
||||||
|
req.SetContext(ctx)
|
||||||
|
req.ApplyOptions(opts...)
|
||||||
|
return req, nil
|
||||||
|
},
|
||||||
|
}
|
||||||
|
w.ApplyOptions(opts...)
|
||||||
|
|
||||||
|
return w.WaitWithContext(ctx)
|
||||||
|
}
|
||||||
|
|
||||||
// WaitUntilNetworkInterfaceAvailable uses the Amazon EC2 API operation
|
// WaitUntilNetworkInterfaceAvailable uses the Amazon EC2 API operation
|
||||||
// DescribeNetworkInterfaces to wait for a condition to be met before returning.
|
// DescribeNetworkInterfaces to wait for a condition to be met before returning.
|
||||||
// If the condition is not met within the max attempt window, an error will
|
// If the condition is not met within the max attempt window, an error will
|
||||||
|
1804
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
1804
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
File diff suppressed because it is too large
Load Diff
6
vendor/github.com/aws/aws-sdk-go/service/kms/doc.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/service/kms/doc.go
generated
vendored
@ -24,6 +24,12 @@
|
|||||||
// We recommend that you use the Amazon Web Services SDKs to make programmatic
|
// We recommend that you use the Amazon Web Services SDKs to make programmatic
|
||||||
// API calls to KMS.
|
// API calls to KMS.
|
||||||
//
|
//
|
||||||
|
// If you need to use FIPS 140-2 validated cryptographic modules when communicating
|
||||||
|
// with Amazon Web Services, use the FIPS endpoint in your preferred Amazon
|
||||||
|
// Web Services Region. For more information about the available FIPS endpoints,
|
||||||
|
// see Service endpoints (https://docs.aws.amazon.com/general/latest/gr/kms.html#kms_region)
|
||||||
|
// in the Key Management Service topic of the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
// Clients must support TLS (Transport Layer Security) 1.0. We recommend TLS
|
// Clients must support TLS (Transport Layer Security) 1.0. We recommend TLS
|
||||||
// 1.2. Clients must also support cipher suites with Perfect Forward Secrecy
|
// 1.2. Clients must also support cipher suites with Perfect Forward Secrecy
|
||||||
// (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral
|
// (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral
|
||||||
|
18
vendor/github.com/aws/aws-sdk-go/service/kms/errors.go
generated
vendored
18
vendor/github.com/aws/aws-sdk-go/service/kms/errors.go
generated
vendored
@ -252,9 +252,10 @@ const (
|
|||||||
// is incompatible with the type of key material in the KMS key (KeySpec).
|
// is incompatible with the type of key material in the KMS key (KeySpec).
|
||||||
//
|
//
|
||||||
// For encrypting, decrypting, re-encrypting, and generating data keys, the
|
// For encrypting, decrypting, re-encrypting, and generating data keys, the
|
||||||
// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying, the KeyUsage
|
// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the
|
||||||
// must be SIGN_VERIFY. To find the KeyUsage of a KMS key, use the DescribeKey
|
// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication
|
||||||
// operation.
|
// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage
|
||||||
|
// of a KMS key, use the DescribeKey operation.
|
||||||
//
|
//
|
||||||
// To find the encryption or signing algorithms supported for a particular KMS
|
// To find the encryption or signing algorithms supported for a particular KMS
|
||||||
// key, use the DescribeKey operation.
|
// key, use the DescribeKey operation.
|
||||||
@ -274,10 +275,18 @@ const (
|
|||||||
// valid for this request.
|
// valid for this request.
|
||||||
//
|
//
|
||||||
// For more information about how key state affects the use of a KMS key, see
|
// For more information about how key state affects the use of a KMS key, see
|
||||||
// Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
|
// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
|
||||||
// in the Key Management Service Developer Guide .
|
// in the Key Management Service Developer Guide .
|
||||||
ErrCodeInvalidStateException = "KMSInvalidStateException"
|
ErrCodeInvalidStateException = "KMSInvalidStateException"
|
||||||
|
|
||||||
|
// ErrCodeKMSInvalidMacException for service response error code
|
||||||
|
// "KMSInvalidMacException".
|
||||||
|
//
|
||||||
|
// The request was rejected because the HMAC verification failed. HMAC verification
|
||||||
|
// fails when the HMAC computed by using the specified message, HMAC KMS key,
|
||||||
|
// and MAC algorithm does not match the HMAC specified in the request.
|
||||||
|
ErrCodeKMSInvalidMacException = "KMSInvalidMacException"
|
||||||
|
|
||||||
// ErrCodeKMSInvalidSignatureException for service response error code
|
// ErrCodeKMSInvalidSignatureException for service response error code
|
||||||
// "KMSInvalidSignatureException".
|
// "KMSInvalidSignatureException".
|
||||||
//
|
//
|
||||||
@ -356,6 +365,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
|
|||||||
"InvalidKeyUsageException": newErrorInvalidKeyUsageException,
|
"InvalidKeyUsageException": newErrorInvalidKeyUsageException,
|
||||||
"InvalidMarkerException": newErrorInvalidMarkerException,
|
"InvalidMarkerException": newErrorInvalidMarkerException,
|
||||||
"KMSInvalidStateException": newErrorInvalidStateException,
|
"KMSInvalidStateException": newErrorInvalidStateException,
|
||||||
|
"KMSInvalidMacException": newErrorKMSInvalidMacException,
|
||||||
"KMSInvalidSignatureException": newErrorKMSInvalidSignatureException,
|
"KMSInvalidSignatureException": newErrorKMSInvalidSignatureException,
|
||||||
"KeyUnavailableException": newErrorKeyUnavailableException,
|
"KeyUnavailableException": newErrorKeyUnavailableException,
|
||||||
"LimitExceededException": newErrorLimitExceededException,
|
"LimitExceededException": newErrorLimitExceededException,
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -8,7 +8,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.43.41
|
# github.com/aws/aws-sdk-go v1.44.0
|
||||||
## 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
|
||||||
|
Loading…
Reference in New Issue
Block a user