vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -2268,11 +2268,7 @@ func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequest
// CancelSpotInstanceRequests API operation for Amazon Elastic Compute Cloud.
//
// Cancels one or more Spot Instance requests. Spot Instances are instances
// that Amazon EC2 starts on your behalf when the maximum price that you specify
// exceeds the current Spot price. For more information, see Spot Instance Requests
// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in
// the Amazon EC2 User Guide for Linux Instances.
// Cancels one or more Spot Instance requests.
//
// Canceling a Spot Instance request does not terminate running Spot Instances
// associated with the request.
@ -3129,7 +3125,7 @@ func (c *EC2) CreateFleetRequest(input *CreateFleetInput) (req *request.Request,
// You can create a single EC2 Fleet that includes multiple launch specifications
// that vary by instance type, AMI, Availability Zone, or subnet.
//
// For more information, see Launching an EC2 Fleet (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-ec2-fleet.html)
// For more information, see Launching an EC2 Fleet (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -3851,11 +3847,12 @@ func (c *EC2) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *reques
// CreateNatGateway API operation for Amazon Elastic Compute Cloud.
//
// Creates a NAT gateway in the specified subnet. A NAT gateway can be used
// to enable instances in a private subnet to connect to the Internet. This
// action creates a network interface in the specified subnet with a private
// IP address from the IP address range of the subnet. For more information,
// see NAT Gateways (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html)
// Creates a NAT gateway in the specified public subnet. This action creates
// a network interface in the specified subnet with a private IP address from
// the IP address range of the subnet. Internet-bound traffic from a private
// subnet can be routed to the NAT gateway, therefore enabling instances in
// the private subnet to connect to the internet. For more information, see
// NAT Gateways (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html)
// in the Amazon Virtual Private Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -4178,8 +4175,8 @@ func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterf
// CreateNetworkInterfacePermission API operation for Amazon Elastic Compute Cloud.
//
// Grants an AWS authorized partner account permission to attach the specified
// network interface to an instance in their account.
// Grants an AWS-authorized account permission to attach the specified network
// interface to an instance in their account.
//
// You can grant permission to a single AWS account only, and only one account
// at a time.
@ -13674,11 +13671,7 @@ func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceReq
// DescribeSpotInstanceRequests API operation for Amazon Elastic Compute Cloud.
//
// Describes the Spot Instance requests that belong to your account. Spot Instances
// are instances that Amazon EC2 launches when the Spot price that you specify
// exceeds the current Spot price. For more information, see Spot Instance Requests
// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in
// the Amazon EC2 User Guide for Linux Instances.
// Describes the specified Spot Instance requests.
//
// You can use DescribeSpotInstanceRequests to find a running Spot Instance
// by examining the response. If the status of the Spot Instance is fulfilled,
@ -16974,24 +16967,23 @@ func (c *EC2) GetConsoleOutputRequest(input *GetConsoleOutputInput) (req *reques
// GetConsoleOutput API operation for Amazon Elastic Compute Cloud.
//
// Gets the console output for the specified instance.
// Gets the console output for the specified instance. For Linux instances,
// the instance console output displays the exact console output that would
// normally be displayed on a physical monitor attached to a computer. For Windows
// instances, the instance console output includes output from the EC2Config
// service.
//
// Instances do not have a physical monitor through which you can view their
// console output. They also lack physical controls that allow you to power
// up, reboot, or shut them down. To allow these actions, we provide them through
// the Amazon EC2 API and command line interface.
// GetConsoleOutput returns up to 64 KB of console output shortly after it's
// generated by the instance.
//
// Instance console output is buffered and posted shortly after instance boot,
// reboot, and termination. Amazon EC2 preserves the most recent 64 KB output,
// which is available for at least one hour after the most recent post.
// By default, the console output returns buffered information that was posted
// shortly after an instance transition state (start, stop, reboot, or terminate).
// This information is available for at least one hour after the most recent
// post.
//
// For Linux instances, the instance console output displays the exact console
// output that would normally be displayed on a physical monitor attached to
// a computer. This output is buffered because the instance produces it and
// then posts it to a store where the instance's owner can retrieve it.
//
// For Windows instances, the instance console output includes output from the
// EC2Config service.
// You can optionally retrieve the latest serial console output at any time
// during the instance lifecycle. This option is only supported on C5, M5, and
// i3.metal instances.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -21367,9 +21359,9 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req
// RequestSpotInstances API operation for Amazon Elastic Compute Cloud.
//
// Creates a Spot Instance request. Spot Instances are instances that Amazon
// EC2 launches when the maximum price that you specify exceeds the current
// Spot price. For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
// Creates a Spot Instance request.
//
// For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html)
// in the Amazon EC2 User Guide for Linux Instances.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@ -26672,9 +26664,7 @@ type ConversionTask struct {
_ struct{} `type:"structure"`
// The ID of the conversion task.
//
// ConversionTaskId is a required field
ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"`
ConversionTaskId *string `locationName:"conversionTaskId" type:"string"`
// The time when the task expires. If the upload isn't complete before the expiration
// time, we automatically cancel the task.
@ -26689,9 +26679,7 @@ type ConversionTask struct {
ImportVolume *ImportVolumeTaskDetails `locationName:"importVolume" type:"structure"`
// The state of the conversion task.
//
// State is a required field
State *string `locationName:"state" type:"string" required:"true" enum:"ConversionTaskState"`
State *string `locationName:"state" type:"string" enum:"ConversionTaskState"`
// The status message related to the conversion task.
StatusMessage *string `locationName:"statusMessage" type:"string"`
@ -27222,6 +27210,75 @@ func (s *CopySnapshotOutput) SetSnapshotId(v string) *CopySnapshotOutput {
return s
}
// The CPU options for the instance.
type CpuOptions struct {
_ struct{} `type:"structure"`
// The number of CPU cores for the instance.
CoreCount *int64 `locationName:"coreCount" type:"integer"`
// The number of threads per CPU core.
ThreadsPerCore *int64 `locationName:"threadsPerCore" type:"integer"`
}
// String returns the string representation
func (s CpuOptions) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CpuOptions) GoString() string {
return s.String()
}
// SetCoreCount sets the CoreCount field's value.
func (s *CpuOptions) SetCoreCount(v int64) *CpuOptions {
s.CoreCount = &v
return s
}
// SetThreadsPerCore sets the ThreadsPerCore field's value.
func (s *CpuOptions) SetThreadsPerCore(v int64) *CpuOptions {
s.ThreadsPerCore = &v
return s
}
// The CPU options for the instance. Both the core count and threads per core
// must be specified in the request.
type CpuOptionsRequest struct {
_ struct{} `type:"structure"`
// The number of CPU cores for the instance.
CoreCount *int64 `type:"integer"`
// The number of threads per CPU core. To disable Intel Hyper-Threading Technology
// for the instance, specify a value of 1. Otherwise, specify the default value
// of 2.
ThreadsPerCore *int64 `type:"integer"`
}
// String returns the string representation
func (s CpuOptionsRequest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CpuOptionsRequest) GoString() string {
return s.String()
}
// SetCoreCount sets the CoreCount field's value.
func (s *CpuOptionsRequest) SetCoreCount(v int64) *CpuOptionsRequest {
s.CoreCount = &v
return s
}
// SetThreadsPerCore sets the ThreadsPerCore field's value.
func (s *CpuOptionsRequest) SetThreadsPerCore(v int64) *CpuOptionsRequest {
s.ThreadsPerCore = &v
return s
}
// Contains the parameters for CreateCustomerGateway.
type CreateCustomerGatewayInput struct {
_ struct{} `type:"structure"`
@ -28831,12 +28888,12 @@ type CreateNetworkAclEntryInput struct {
PortRange *PortRange `locationName:"portRange" type:"structure"`
// The protocol. A value of -1 or all means all protocols. If you specify all,
// -1, or a protocol number other than tcp, udp, or icmp, traffic on all ports
// is allowed, regardless of any ports or ICMP types or codes you specify. If
// you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block, traffic
// for all ICMP types and codes allowed, regardless of any that you specify.
// If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block, you must
// specify an ICMP type and code.
// -1, or a protocol number other than 6 (tcp), 17 (udp), or 1 (icmp), traffic
// on all ports is allowed, regardless of any ports or ICMP types or codes you
// specify. If you specify protocol 58 (ICMPv6) and specify an IPv4 CIDR block,
// traffic for all ICMP types and codes allowed, regardless of any that you
// specify. If you specify protocol 58 (ICMPv6) and specify an IPv6 CIDR block,
// you must specify an ICMP type and code.
//
// Protocol is a required field
Protocol *string `locationName:"protocol" type:"string" required:"true"`
@ -37550,7 +37607,7 @@ type DescribeInstancesInput struct {
// The maximum number of results to return in a single call. To retrieve the
// remaining results, make another call with the returned NextToken value. This
// value can be between 5 and 1000. You cannot specify this parameter and the
// instance IDs parameter or tag filters in the same call.
// instance IDs parameter in the same call.
MaxResults *int64 `locationName:"maxResults" type:"integer"`
// The token to request the next page of results.
@ -44764,9 +44821,7 @@ type DiskImageDescription struct {
Checksum *string `locationName:"checksum" type:"string"`
// The disk image format.
//
// Format is a required field
Format *string `locationName:"format" type:"string" required:"true" enum:"DiskImageFormat"`
Format *string `locationName:"format" type:"string" enum:"DiskImageFormat"`
// A presigned URL for the import manifest stored in Amazon S3. For information
// about creating a presigned URL for an Amazon S3 object, read the "Query String
@ -44776,14 +44831,10 @@ type DiskImageDescription struct {
//
// For information about the import manifest referenced by this API action,
// see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html).
//
// ImportManifestUrl is a required field
ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"`
ImportManifestUrl *string `locationName:"importManifestUrl" type:"string"`
// The size of the disk image, in GiB.
//
// Size is a required field
Size *int64 `locationName:"size" type:"long" required:"true"`
Size *int64 `locationName:"size" type:"long"`
}
// String returns the string representation
@ -44899,9 +44950,7 @@ type DiskImageVolumeDescription struct {
_ struct{} `type:"structure"`
// The volume identifier.
//
// Id is a required field
Id *string `locationName:"id" type:"string" required:"true"`
Id *string `locationName:"id" type:"string"`
// The size of the volume, in GiB.
Size *int64 `locationName:"size" type:"long"`
@ -46857,6 +46906,11 @@ type GetConsoleOutputInput struct {
//
// InstanceId is a required field
InstanceId *string `type:"string" required:"true"`
// When enabled, retrieves the latest console output for the instance.
//
// Default: disabled (false)
Latest *bool `type:"boolean"`
}
// String returns the string representation
@ -46894,6 +46948,12 @@ func (s *GetConsoleOutputInput) SetInstanceId(v string) *GetConsoleOutputInput {
return s
}
// SetLatest sets the Latest field's value.
func (s *GetConsoleOutputInput) SetLatest(v bool) *GetConsoleOutputInput {
s.Latest = &v
return s
}
// Contains the output of GetConsoleOutput.
type GetConsoleOutputOutput struct {
_ struct{} `type:"structure"`
@ -46901,11 +46961,11 @@ type GetConsoleOutputOutput struct {
// The ID of the instance.
InstanceId *string `locationName:"instanceId" type:"string"`
// The console output, Base64-encoded. If using a command line tool, the tool
// decodes the output for you.
// The console output, base64-encoded. If you are using a command line tool,
// the tool decodes the output for you.
Output *string `locationName:"output" type:"string"`
// The time the output was last updated.
// The time at which the output was last updated.
Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601"`
}
@ -49128,9 +49188,7 @@ type ImportInstanceTaskDetails struct {
Platform *string `locationName:"platform" type:"string" enum:"PlatformValues"`
// One or more volumes.
//
// Volumes is a required field
Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list" required:"true"`
Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list"`
}
// String returns the string representation
@ -49639,27 +49697,19 @@ type ImportVolumeTaskDetails struct {
_ struct{} `type:"structure"`
// The Availability Zone where the resulting volume will reside.
//
// AvailabilityZone is a required field
AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`
AvailabilityZone *string `locationName:"availabilityZone" type:"string"`
// The number of bytes converted so far.
//
// BytesConverted is a required field
BytesConverted *int64 `locationName:"bytesConverted" type:"long" required:"true"`
BytesConverted *int64 `locationName:"bytesConverted" type:"long"`
// The description you provided when starting the import volume task.
Description *string `locationName:"description" type:"string"`
// The image.
//
// Image is a required field
Image *DiskImageDescription `locationName:"image" type:"structure" required:"true"`
Image *DiskImageDescription `locationName:"image" type:"structure"`
// The volume.
//
// Volume is a required field
Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"`
Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"`
}
// String returns the string representation
@ -49719,6 +49769,9 @@ type Instance struct {
// The idempotency token you provided when you launched the instance, if applicable.
ClientToken *string `locationName:"clientToken" type:"string"`
// The CPU options for the instance.
CpuOptions *CpuOptions `locationName:"cpuOptions" type:"structure"`
// Indicates whether the instance is optimized for Amazon EBS I/O. This optimization
// provides dedicated throughput to Amazon EBS and an optimized configuration
// stack to provide optimal I/O performance. This optimization isn't available
@ -49880,6 +49933,12 @@ func (s *Instance) SetClientToken(v string) *Instance {
return s
}
// SetCpuOptions sets the CpuOptions field's value.
func (s *Instance) SetCpuOptions(v *CpuOptions) *Instance {
s.CpuOptions = v
return s
}
// SetEbsOptimized sets the EbsOptimized field's value.
func (s *Instance) SetEbsOptimized(v bool) *Instance {
s.EbsOptimized = &v
@ -62446,6 +62505,11 @@ type RunInstancesInput struct {
// Constraints: Maximum 64 ASCII characters
ClientToken *string `locationName:"clientToken" type:"string"`
// The CPU options for the instance. For more information, see Optimizing CPU
// Options (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html)
// in the Amazon Elastic Compute Cloud User Guide.
CpuOptions *CpuOptionsRequest `type:"structure"`
// The credit option for CPU usage of the instance. Valid values are standard
// and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification.
// For more information, see T2 Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html)
@ -62688,6 +62752,12 @@ func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput {
return s
}
// SetCpuOptions sets the CpuOptions field's value.
func (s *RunInstancesInput) SetCpuOptions(v *CpuOptionsRequest) *RunInstancesInput {
s.CpuOptions = v
return s
}
// SetCreditSpecification sets the CreditSpecification field's value.
func (s *RunInstancesInput) SetCreditSpecification(v *CreditSpecificationRequest) *RunInstancesInput {
s.CreditSpecification = v
@ -66380,19 +66450,23 @@ type StateReason struct {
// The message for the state change.
//
// * Server.InsufficientInstanceCapacity: There was insufficient instance
// capacity to satisfy the launch request.
// * Server.InsufficientInstanceCapacity: There was insufficient capacity
// available to satisfy the launch request.
//
// * Server.InternalError: An internal error occurred during instance launch,
// resulting in termination.
// * Server.InternalError: An internal error caused the instance to terminate
// during launch.
//
// * Server.ScheduledStop: The instance was stopped due to a scheduled retirement.
//
// * Server.SpotInstanceTermination: A Spot Instance was terminated due to
// an increase in the Spot price.
// * Server.SpotInstanceShutdown: The instance was stopped because the number
// of Spot requests with a maximum price equal to or higher than the Spot
// price exceeded available capacity or because of an increase in the Spot
// price.
//
// * Client.InternalError: A client error caused the instance to terminate
// on launch.
// * Server.SpotInstanceTermination: The instance was terminated because
// the number of Spot requests with a maximum price equal to or higher than
// the Spot price exceeded available capacity or because of an increase in
// the Spot price.
//
// * Client.InstanceInitiatedShutdown: The instance was shut down using the
// shutdown -h command from the instance.
@ -66400,14 +66474,17 @@ type StateReason struct {
// * Client.InstanceTerminated: The instance was terminated or rebooted during
// AMI creation.
//
// * Client.InternalError: A client error caused the instance to terminate
// during launch.
//
// * Client.InvalidSnapshot.NotFound: The specified snapshot was not found.
//
// * Client.UserInitiatedShutdown: The instance was shut down using the Amazon
// EC2 API.
//
// * Client.VolumeLimitExceeded: The limit on the number of EBS volumes or
// total storage was exceeded. Decrease usage or request an increase in your
// limits.
//
// * Client.InvalidSnapshot.NotFound: The specified snapshot was not found.
// account limits.
Message *string `locationName:"message" type:"string"`
}
@ -66891,7 +66968,7 @@ type TagSpecification struct {
_ struct{} `type:"structure"`
// The type of resource to tag. Currently, the resource types that support tagging
// on creation are instance and volume.
// on creation are instance, snapshot, and volume.
ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
// The tags to apply to the resource.
@ -70616,6 +70693,9 @@ const (
// InstanceTypeI316xlarge is a InstanceType enum value
InstanceTypeI316xlarge = "i3.16xlarge"
// InstanceTypeI3Metal is a InstanceType enum value
InstanceTypeI3Metal = "i3.metal"
// InstanceTypeHi14xlarge is a InstanceType enum value
InstanceTypeHi14xlarge = "hi1.4xlarge"
@ -70676,6 +70756,24 @@ const (
// InstanceTypeC518xlarge is a InstanceType enum value
InstanceTypeC518xlarge = "c5.18xlarge"
// InstanceTypeC5dLarge is a InstanceType enum value
InstanceTypeC5dLarge = "c5d.large"
// InstanceTypeC5dXlarge is a InstanceType enum value
InstanceTypeC5dXlarge = "c5d.xlarge"
// InstanceTypeC5d2xlarge is a InstanceType enum value
InstanceTypeC5d2xlarge = "c5d.2xlarge"
// InstanceTypeC5d4xlarge is a InstanceType enum value
InstanceTypeC5d4xlarge = "c5d.4xlarge"
// InstanceTypeC5d9xlarge is a InstanceType enum value
InstanceTypeC5d9xlarge = "c5d.9xlarge"
// InstanceTypeC5d18xlarge is a InstanceType enum value
InstanceTypeC5d18xlarge = "c5d.18xlarge"
// InstanceTypeCc14xlarge is a InstanceType enum value
InstanceTypeCc14xlarge = "cc1.4xlarge"
@ -70754,6 +70852,24 @@ const (
// InstanceTypeM524xlarge is a InstanceType enum value
InstanceTypeM524xlarge = "m5.24xlarge"
// InstanceTypeM5dLarge is a InstanceType enum value
InstanceTypeM5dLarge = "m5d.large"
// InstanceTypeM5dXlarge is a InstanceType enum value
InstanceTypeM5dXlarge = "m5d.xlarge"
// InstanceTypeM5d2xlarge is a InstanceType enum value
InstanceTypeM5d2xlarge = "m5d.2xlarge"
// InstanceTypeM5d4xlarge is a InstanceType enum value
InstanceTypeM5d4xlarge = "m5d.4xlarge"
// InstanceTypeM5d12xlarge is a InstanceType enum value
InstanceTypeM5d12xlarge = "m5d.12xlarge"
// InstanceTypeM5d24xlarge is a InstanceType enum value
InstanceTypeM5d24xlarge = "m5d.24xlarge"
// InstanceTypeH12xlarge is a InstanceType enum value
InstanceTypeH12xlarge = "h1.2xlarge"