1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2024-12-19 19:40:19 +00:00

rebase: bump github.com/aws/aws-sdk-go from 1.43.22 to 1.43.32

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.22 to 1.43.32.
- [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.22...v1.43.32)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2022-04-05 07:56:10 +00:00 committed by mergify[bot]
parent bd3db134b9
commit 6ba740edc3
6 changed files with 876 additions and 13 deletions
go.modgo.sum
vendor
github.com/aws/aws-sdk-go
aws
service/ec2
modules.txt

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.17
require (
github.com/IBM/keyprotect-go-client v0.7.0
github.com/aws/aws-sdk-go v1.43.22
github.com/aws/aws-sdk-go v1.43.32
github.com/aws/aws-sdk-go-v2/service/sts v1.16.0
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
github.com/ceph/go-ceph v0.14.0

4
go.sum
View File

@ -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.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.43.22 h1:QY9/1TZB73UDEVQ68sUVJXf/7QUiHZl7zbbLF1wpqlc=
github.com/aws/aws-sdk-go v1.43.22/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.43.32 h1:b2NQnfWfImfo7yzXq6gzXEC+6s5v1t2RU3G9o+VirYo=
github.com/aws/aws-sdk-go v1.43.32/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go-v2 v1.15.0 h1:f9kWLNfyCzCB43eupDAk3/XgJ2EpgktiySD6leqs0js=
github.com/aws/aws-sdk-go-v2 v1.15.0/go.mod h1:lJYcuZZEHWNIb6ugJjbQY1fykdoobWbOS7kJYb4APoI=
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.6 h1:xiGjGVQsem2cxoIX61uRGy+Jux2s9C/kKbTrWLdrU54=

View File

@ -2374,6 +2374,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
@ -5222,6 +5225,147 @@ var awsPartition = partition{
}: endpoint{},
},
},
"data-ats.iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
Protocols: []string{"https"},
CredentialScope: credentialScope{
Service: "iotdata",
},
},
},
Endpoints: serviceEndpoints{
endpointKey{
Region: "ap-east-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.ca-central-1.amazonaws.com",
},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
endpointKey{
Region: "eu-west-2",
}: endpoint{},
endpointKey{
Region: "eu-west-3",
}: endpoint{},
endpointKey{
Region: "fips-ca-central-1",
}: endpoint{
Hostname: "data.iot-fips.ca-central-1.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-east-1",
}: endpoint{
Hostname: "data.iot-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-east-2",
}: endpoint{
Hostname: "data.iot-fips.us-east-2.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-west-1",
}: endpoint{
Hostname: "data.iot-fips.us-west-1.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-west-2",
}: endpoint{
Hostname: "data.iot-fips.us-west-2.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "me-south-1",
}: endpoint{},
endpointKey{
Region: "sa-east-1",
}: endpoint{},
endpointKey{
Region: "us-east-1",
}: endpoint{},
endpointKey{
Region: "us-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-east-1.amazonaws.com",
},
endpointKey{
Region: "us-east-2",
}: endpoint{},
endpointKey{
Region: "us-east-2",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-east-2.amazonaws.com",
},
endpointKey{
Region: "us-west-1",
}: endpoint{},
endpointKey{
Region: "us-west-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-west-1.amazonaws.com",
},
endpointKey{
Region: "us-west-2",
}: endpoint{},
endpointKey{
Region: "us-west-2",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-west-2.amazonaws.com",
},
},
},
"data.jobs.iot": service{
Endpoints: serviceEndpoints{
endpointKey{
@ -6481,6 +6625,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@ -9563,6 +9710,13 @@ var awsPartition = partition{
}: endpoint{},
},
},
"gamesparks": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-east-1",
}: endpoint{},
},
},
"glacier": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
@ -15112,9 +15266,15 @@ var awsPartition = partition{
},
"profile": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "af-south-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@ -18680,6 +18840,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@ -22411,6 +22574,16 @@ var awscnPartition = partition{
},
},
},
"cloudcontrolapi": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "cn-north-1",
}: endpoint{},
endpointKey{
Region: "cn-northwest-1",
}: endpoint{},
},
},
"cloudformation": service{
Endpoints: serviceEndpoints{
endpointKey{
@ -22530,6 +22703,24 @@ var awscnPartition = partition{
}: endpoint{},
},
},
"data-ats.iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
Protocols: []string{"https"},
CredentialScope: credentialScope{
Service: "iotdata",
},
},
},
Endpoints: serviceEndpoints{
endpointKey{
Region: "cn-north-1",
}: endpoint{},
endpointKey{
Region: "cn-northwest-1",
}: endpoint{},
},
},
"data.jobs.iot": service{
Endpoints: serviceEndpoints{
endpointKey{
@ -24783,6 +24974,54 @@ var awsusgovPartition = partition{
}: endpoint{},
},
},
"data-ats.iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
Protocols: []string{"https"},
CredentialScope: credentialScope{
Service: "iotdata",
},
},
},
Endpoints: serviceEndpoints{
endpointKey{
Region: "fips-us-gov-east-1",
}: endpoint{
Hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "fips-us-gov-west-1",
}: endpoint{
Hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Service: "iotdata",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "us-gov-east-1",
}: endpoint{},
endpointKey{
Region: "us-gov-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
endpointKey{
Region: "us-gov-west-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
},
},
},
"data.jobs.iot": service{
Endpoints: serviceEndpoints{
endpointKey{
@ -26425,6 +26664,46 @@ var awsusgovPartition = partition{
},
},
},
"meetings-chime": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-gov-east-1",
}: endpoint{},
endpointKey{
Region: "us-gov-east-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "meetings-chime-fips.us-gov-east-1.amazonaws.com",
},
endpointKey{
Region: "us-gov-east-1-fips",
}: endpoint{
Hostname: "meetings-chime-fips.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
Deprecated: boxedTrue,
},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
endpointKey{
Region: "us-gov-west-1",
Variant: fipsVariant,
}: endpoint{
Hostname: "meetings-chime-fips.us-gov-west-1.amazonaws.com",
},
endpointKey{
Region: "us-gov-west-1-fips",
}: endpoint{
Hostname: "meetings-chime-fips.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
Deprecated: boxedTrue,
},
},
},
"metering.marketplace": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
@ -29116,6 +29395,13 @@ var awsisoPartition = partition{
}: endpoint{},
},
},
"tagging": service{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-iso-east-1",
}: endpoint{},
},
},
"transcribe": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{

View File

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

View File

@ -40205,6 +40205,83 @@ func (c *EC2) ModifyInstanceEventWindowWithContext(ctx aws.Context, input *Modif
return out, req.Send()
}
const opModifyInstanceMaintenanceOptions = "ModifyInstanceMaintenanceOptions"
// ModifyInstanceMaintenanceOptionsRequest generates a "aws/request.Request" representing the
// client's request for the ModifyInstanceMaintenanceOptions 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 ModifyInstanceMaintenanceOptions for more information on using the ModifyInstanceMaintenanceOptions
// 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 ModifyInstanceMaintenanceOptionsRequest method.
// req, resp := client.ModifyInstanceMaintenanceOptionsRequest(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/ModifyInstanceMaintenanceOptions
func (c *EC2) ModifyInstanceMaintenanceOptionsRequest(input *ModifyInstanceMaintenanceOptionsInput) (req *request.Request, output *ModifyInstanceMaintenanceOptionsOutput) {
op := &request.Operation{
Name: opModifyInstanceMaintenanceOptions,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ModifyInstanceMaintenanceOptionsInput{}
}
output = &ModifyInstanceMaintenanceOptionsOutput{}
req = c.newRequest(op, input, output)
return
}
// ModifyInstanceMaintenanceOptions API operation for Amazon Elastic Compute Cloud.
//
// Modifies the recovery behavior of your instance to disable simplified automatic
// recovery or set the recovery behavior to default. The default configuration
// will not enable simplified automatic recovery for an unsupported instance
// type. For more information, see Simplified automatic recovery (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery).
//
// 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 ModifyInstanceMaintenanceOptions for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptions
func (c *EC2) ModifyInstanceMaintenanceOptions(input *ModifyInstanceMaintenanceOptionsInput) (*ModifyInstanceMaintenanceOptionsOutput, error) {
req, out := c.ModifyInstanceMaintenanceOptionsRequest(input)
return out, req.Send()
}
// ModifyInstanceMaintenanceOptionsWithContext is the same as ModifyInstanceMaintenanceOptions with the addition of
// the ability to pass a context and additional request options.
//
// See ModifyInstanceMaintenanceOptions 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) ModifyInstanceMaintenanceOptionsWithContext(ctx aws.Context, input *ModifyInstanceMaintenanceOptionsInput, opts ...request.Option) (*ModifyInstanceMaintenanceOptionsOutput, error) {
req, out := c.ModifyInstanceMaintenanceOptionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opModifyInstanceMetadataOptions = "ModifyInstanceMetadataOptions"
// ModifyInstanceMetadataOptionsRequest generates a "aws/request.Request" representing the
@ -49747,6 +49824,47 @@ func (s *AddPrefixListEntry) SetDescription(v string) *AddPrefixListEntry {
return s
}
// Describes an additional detail for a path analysis.
type AdditionalDetail struct {
_ struct{} `type:"structure"`
// The information type.
AdditionalDetailType *string `locationName:"additionalDetailType" type:"string"`
// The path component.
Component *AnalysisComponent `locationName:"component" type:"structure"`
}
// 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 AdditionalDetail) 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 AdditionalDetail) GoString() string {
return s.String()
}
// SetAdditionalDetailType sets the AdditionalDetailType field's value.
func (s *AdditionalDetail) SetAdditionalDetailType(v string) *AdditionalDetail {
s.AdditionalDetailType = &v
return s
}
// SetComponent sets the Component field's value.
func (s *AdditionalDetail) SetComponent(v *AnalysisComponent) *AdditionalDetail {
s.Component = v
return s
}
// Describes an Elastic IP address, or a carrier IP address.
type Address struct {
_ struct{} `type:"structure"`
@ -50993,7 +51111,7 @@ type AnalysisRouteTableRoute struct {
// The ID of a network interface.
NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"`
// Describes how the route was created. The following are possible values:
// Describes how the route was created. The following are the possible values:
//
// * CreateRouteTable - The route was automatically created when the route
// table was created.
@ -51095,7 +51213,7 @@ type AnalysisSecurityGroupRule struct {
// The IPv4 address range, in CIDR notation.
Cidr *string `locationName:"cidr" type:"string"`
// The direction. The following are possible values:
// The direction. The following are the possible values:
//
// * egress
//
@ -87271,7 +87389,7 @@ type DescribeNetworkInsightsAnalysesInput struct {
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The filters. The following are possible values:
// The filters. The following are the possible values:
//
// * PathFound - A Boolean value that indicates whether a feasible path is
// found.
@ -87423,7 +87541,7 @@ type DescribeNetworkInsightsPathsInput struct {
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The filters. The following are possible values:
// The filters. The following are the possible values:
//
// * Destination - The ID of the resource.
//
@ -101980,7 +102098,7 @@ type Explanation struct {
// The destination VPC.
DestinationVpc *AnalysisComponent `locationName:"destinationVpc" type:"structure"`
// The direction. The following are possible values:
// The direction. The following are the possible values:
//
// * egress
//
@ -102068,6 +102186,18 @@ type Explanation struct {
// The route table for the subnet.
SubnetRouteTable *AnalysisComponent `locationName:"subnetRouteTable" type:"structure"`
// The transit gateway.
TransitGateway *AnalysisComponent `locationName:"transitGateway" type:"structure"`
// The transit gateway attachment.
TransitGatewayAttachment *AnalysisComponent `locationName:"transitGatewayAttachment" type:"structure"`
// The transit gateway route table.
TransitGatewayRouteTable *AnalysisComponent `locationName:"transitGatewayRouteTable" type:"structure"`
// The transit gateway route table route.
TransitGatewayRouteTableRoute *TransitGatewayRouteTableRoute `locationName:"transitGatewayRouteTableRoute" type:"structure"`
// The component VPC.
Vpc *AnalysisComponent `locationName:"vpc" type:"structure"`
@ -102342,6 +102472,30 @@ func (s *Explanation) SetSubnetRouteTable(v *AnalysisComponent) *Explanation {
return s
}
// SetTransitGateway sets the TransitGateway field's value.
func (s *Explanation) SetTransitGateway(v *AnalysisComponent) *Explanation {
s.TransitGateway = v
return s
}
// SetTransitGatewayAttachment sets the TransitGatewayAttachment field's value.
func (s *Explanation) SetTransitGatewayAttachment(v *AnalysisComponent) *Explanation {
s.TransitGatewayAttachment = v
return s
}
// SetTransitGatewayRouteTable sets the TransitGatewayRouteTable field's value.
func (s *Explanation) SetTransitGatewayRouteTable(v *AnalysisComponent) *Explanation {
s.TransitGatewayRouteTable = v
return s
}
// SetTransitGatewayRouteTableRoute sets the TransitGatewayRouteTableRoute field's value.
func (s *Explanation) SetTransitGatewayRouteTableRoute(v *TransitGatewayRouteTableRoute) *Explanation {
s.TransitGatewayRouteTableRoute = v
return s
}
// SetVpc sets the Vpc field's value.
func (s *Explanation) SetVpc(v *AnalysisComponent) *Explanation {
s.Vpc = v
@ -113298,6 +113452,9 @@ type Instance struct {
// The license configurations for the instance.
Licenses []*LicenseConfiguration `locationName:"licenseSet" locationNameList:"item" type:"list"`
// Provides information on the recovery and maintenance options of your instance.
MaintenanceOptions *InstanceMaintenanceOptions `locationName:"maintenanceOptions" type:"structure"`
// The metadata options for the instance.
MetadataOptions *InstanceMetadataOptionsResponse `locationName:"metadataOptions" type:"structure"`
@ -113573,6 +113730,12 @@ func (s *Instance) SetLicenses(v []*LicenseConfiguration) *Instance {
return s
}
// SetMaintenanceOptions sets the MaintenanceOptions field's value.
func (s *Instance) SetMaintenanceOptions(v *InstanceMaintenanceOptions) *Instance {
s.MaintenanceOptions = v
return s
}
// SetMetadataOptions sets the MetadataOptions field's value.
func (s *Instance) SetMetadataOptions(v *InstanceMetadataOptionsResponse) *Instance {
s.MetadataOptions = v
@ -114643,6 +114806,71 @@ func (s *InstanceIpv6Prefix) SetIpv6Prefix(v string) *InstanceIpv6Prefix {
return s
}
// The maintenance options for the instance.
type InstanceMaintenanceOptions struct {
_ struct{} `type:"structure"`
// Provides information on the current automatic recovery behavior of your instance.
AutoRecovery *string `locationName:"autoRecovery" type:"string" enum:"InstanceAutoRecoveryState"`
}
// 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 InstanceMaintenanceOptions) 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 InstanceMaintenanceOptions) GoString() string {
return s.String()
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *InstanceMaintenanceOptions) SetAutoRecovery(v string) *InstanceMaintenanceOptions {
s.AutoRecovery = &v
return s
}
// The maintenance options for the instance.
type InstanceMaintenanceOptionsRequest struct {
_ struct{} `type:"structure"`
// Disables the automatic recovery behavior of your instance or sets it to default.
// For more information, see Simplified automatic recovery (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery).
AutoRecovery *string `type:"string" enum:"InstanceAutoRecoveryState"`
}
// 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 InstanceMaintenanceOptionsRequest) 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 InstanceMaintenanceOptionsRequest) GoString() string {
return s.String()
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *InstanceMaintenanceOptionsRequest) SetAutoRecovery(v string) *InstanceMaintenanceOptionsRequest {
s.AutoRecovery = &v
return s
}
// Describes the market (purchasing) option for the instances.
type InstanceMarketOptionsRequest struct {
_ struct{} `type:"structure"`
@ -120579,6 +120807,71 @@ func (s *LaunchTemplateIamInstanceProfileSpecificationRequest) SetName(v string)
return s
}
// The maintenance options of your instance.
type LaunchTemplateInstanceMaintenanceOptions struct {
_ struct{} `type:"structure"`
// Disables the automatic recovery behavior of your instance or sets it to default.
AutoRecovery *string `locationName:"autoRecovery" type:"string" enum:"LaunchTemplateAutoRecoveryState"`
}
// 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 LaunchTemplateInstanceMaintenanceOptions) 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 LaunchTemplateInstanceMaintenanceOptions) GoString() string {
return s.String()
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *LaunchTemplateInstanceMaintenanceOptions) SetAutoRecovery(v string) *LaunchTemplateInstanceMaintenanceOptions {
s.AutoRecovery = &v
return s
}
// The maintenance options of your instance.
type LaunchTemplateInstanceMaintenanceOptionsRequest struct {
_ struct{} `type:"structure"`
// Disables the automatic recovery behavior of your instance or sets it to default.
// For more information, see Simplified automatic recovery (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery).
AutoRecovery *string `type:"string" enum:"LaunchTemplateAutoRecoveryState"`
}
// 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 LaunchTemplateInstanceMaintenanceOptionsRequest) 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 LaunchTemplateInstanceMaintenanceOptionsRequest) GoString() string {
return s.String()
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *LaunchTemplateInstanceMaintenanceOptionsRequest) SetAutoRecovery(v string) *LaunchTemplateInstanceMaintenanceOptionsRequest {
s.AutoRecovery = &v
return s
}
// The market (purchasing) option for the instances.
type LaunchTemplateInstanceMarketOptions struct {
_ struct{} `type:"structure"`
@ -124675,7 +124968,8 @@ func (s *ModifyFleetInput) SetTargetCapacitySpecification(v *TargetCapacitySpeci
type ModifyFleetOutput struct {
_ struct{} `type:"structure"`
// Is true if the request succeeds, and an error otherwise.
// If the request succeeds, the response returns true. If the request fails,
// no response is returned, and instead an error message is returned.
Return *bool `locationName:"return" type:"boolean"`
}
@ -126098,6 +126392,113 @@ func (s *ModifyInstanceEventWindowOutput) SetInstanceEventWindow(v *InstanceEven
return s
}
type ModifyInstanceMaintenanceOptionsInput struct {
_ struct{} `type:"structure"`
// Disables the automatic recovery behavior of your instance or sets it to default.
AutoRecovery *string `type:"string" enum:"InstanceAutoRecoveryState"`
// 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 instance.
//
// InstanceId is a required field
InstanceId *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 ModifyInstanceMaintenanceOptionsInput) 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 ModifyInstanceMaintenanceOptionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ModifyInstanceMaintenanceOptionsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ModifyInstanceMaintenanceOptionsInput"}
if s.InstanceId == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *ModifyInstanceMaintenanceOptionsInput) SetAutoRecovery(v string) *ModifyInstanceMaintenanceOptionsInput {
s.AutoRecovery = &v
return s
}
// SetDryRun sets the DryRun field's value.
func (s *ModifyInstanceMaintenanceOptionsInput) SetDryRun(v bool) *ModifyInstanceMaintenanceOptionsInput {
s.DryRun = &v
return s
}
// SetInstanceId sets the InstanceId field's value.
func (s *ModifyInstanceMaintenanceOptionsInput) SetInstanceId(v string) *ModifyInstanceMaintenanceOptionsInput {
s.InstanceId = &v
return s
}
type ModifyInstanceMaintenanceOptionsOutput struct {
_ struct{} `type:"structure"`
// Provides information on the current automatic recovery behavior of your instance.
AutoRecovery *string `locationName:"autoRecovery" type:"string" enum:"InstanceAutoRecoveryState"`
// The ID of the instance.
InstanceId *string `locationName:"instanceId" 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 ModifyInstanceMaintenanceOptionsOutput) 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 ModifyInstanceMaintenanceOptionsOutput) GoString() string {
return s.String()
}
// SetAutoRecovery sets the AutoRecovery field's value.
func (s *ModifyInstanceMaintenanceOptionsOutput) SetAutoRecovery(v string) *ModifyInstanceMaintenanceOptionsOutput {
s.AutoRecovery = &v
return s
}
// SetInstanceId sets the InstanceId field's value.
func (s *ModifyInstanceMaintenanceOptionsOutput) SetInstanceId(v string) *ModifyInstanceMaintenanceOptionsOutput {
s.InstanceId = &v
return s
}
type ModifyInstanceMetadataOptionsInput struct {
_ struct{} `type:"structure"`
@ -128026,7 +128427,8 @@ func (s *ModifySpotFleetRequestInput) SetTargetCapacity(v int64) *ModifySpotFlee
type ModifySpotFleetRequestOutput struct {
_ struct{} `type:"structure"`
// Is true if the request succeeds, and an error otherwise.
// If the request succeeds, the response returns true. If the request fails,
// no response is returned, and instead an error message is returned.
Return *bool `locationName:"return" type:"boolean"`
}
@ -133920,6 +134322,9 @@ type PathComponent struct {
// The network ACL rule.
AclRule *AnalysisAclRule `locationName:"aclRule" type:"structure"`
// The additional details.
AdditionalDetails []*AdditionalDetail `locationName:"additionalDetailSet" locationNameList:"item" type:"list"`
// The resource to which the path component is attached.
AttachedTo *AnalysisComponent `locationName:"attachedTo" type:"structure"`
@ -133950,6 +134355,12 @@ type PathComponent struct {
// The subnet.
Subnet *AnalysisComponent `locationName:"subnet" type:"structure"`
// Describes a path component.
TransitGateway *AnalysisComponent `locationName:"transitGateway" type:"structure"`
// The route in a transit gateway route table.
TransitGatewayRouteTableRoute *TransitGatewayRouteTableRoute `locationName:"transitGatewayRouteTableRoute" type:"structure"`
// The component VPC.
Vpc *AnalysisComponent `locationName:"vpc" type:"structure"`
}
@ -133978,6 +134389,12 @@ func (s *PathComponent) SetAclRule(v *AnalysisAclRule) *PathComponent {
return s
}
// SetAdditionalDetails sets the AdditionalDetails field's value.
func (s *PathComponent) SetAdditionalDetails(v []*AdditionalDetail) *PathComponent {
s.AdditionalDetails = v
return s
}
// SetAttachedTo sets the AttachedTo field's value.
func (s *PathComponent) SetAttachedTo(v *AnalysisComponent) *PathComponent {
s.AttachedTo = v
@ -134038,6 +134455,18 @@ func (s *PathComponent) SetSubnet(v *AnalysisComponent) *PathComponent {
return s
}
// SetTransitGateway sets the TransitGateway field's value.
func (s *PathComponent) SetTransitGateway(v *AnalysisComponent) *PathComponent {
s.TransitGateway = v
return s
}
// SetTransitGatewayRouteTableRoute sets the TransitGatewayRouteTableRoute field's value.
func (s *PathComponent) SetTransitGatewayRouteTableRoute(v *TransitGatewayRouteTableRoute) *PathComponent {
s.TransitGatewayRouteTableRoute = v
return s
}
// SetVpc sets the Vpc field's value.
func (s *PathComponent) SetVpc(v *AnalysisComponent) *PathComponent {
s.Vpc = v
@ -139991,6 +140420,9 @@ type RequestLaunchTemplateData struct {
// The license configurations.
LicenseSpecifications []*LaunchTemplateLicenseConfigurationRequest `locationName:"LicenseSpecification" locationNameList:"item" type:"list"`
// The maintenance options for the instance.
MaintenanceOptions *LaunchTemplateInstanceMaintenanceOptionsRequest `type:"structure"`
// The metadata options for the instance. For more information, see Instance
// metadata and user data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
// in the Amazon Elastic Compute Cloud User Guide.
@ -140219,6 +140651,12 @@ func (s *RequestLaunchTemplateData) SetLicenseSpecifications(v []*LaunchTemplate
return s
}
// SetMaintenanceOptions sets the MaintenanceOptions field's value.
func (s *RequestLaunchTemplateData) SetMaintenanceOptions(v *LaunchTemplateInstanceMaintenanceOptionsRequest) *RequestLaunchTemplateData {
s.MaintenanceOptions = v
return s
}
// SetMetadataOptions sets the MetadataOptions field's value.
func (s *RequestLaunchTemplateData) SetMetadataOptions(v *LaunchTemplateInstanceMetadataOptionsRequest) *RequestLaunchTemplateData {
s.MetadataOptions = v
@ -142224,7 +142662,6 @@ type ResetInstanceAttributeInput struct {
// The attribute to reset.
//
// You can only reset the following attributes: kernel | ramdisk | sourceDestCheck.
// To change an instance attribute, use ModifyInstanceAttribute.
//
// Attribute is a required field
Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"InstanceAttributeName"`
@ -142694,6 +143131,9 @@ type ResponseLaunchTemplateData struct {
// The license configurations.
LicenseSpecifications []*LaunchTemplateLicenseConfiguration `locationName:"licenseSet" locationNameList:"item" type:"list"`
// The maintenance options for your instance.
MaintenanceOptions *LaunchTemplateInstanceMaintenanceOptions `locationName:"maintenanceOptions" type:"structure"`
// The metadata options for the instance. For more information, see Instance
// metadata and user data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
// in the Amazon Elastic Compute Cloud User Guide.
@ -142859,6 +143299,12 @@ func (s *ResponseLaunchTemplateData) SetLicenseSpecifications(v []*LaunchTemplat
return s
}
// SetMaintenanceOptions sets the MaintenanceOptions field's value.
func (s *ResponseLaunchTemplateData) SetMaintenanceOptions(v *LaunchTemplateInstanceMaintenanceOptions) *ResponseLaunchTemplateData {
s.MaintenanceOptions = v
return s
}
// SetMetadataOptions sets the MetadataOptions field's value.
func (s *ResponseLaunchTemplateData) SetMetadataOptions(v *LaunchTemplateInstanceMetadataOptions) *ResponseLaunchTemplateData {
s.MetadataOptions = v
@ -144561,6 +145007,9 @@ type RunInstancesInput struct {
// The license configurations.
LicenseSpecifications []*LicenseConfigurationRequest `locationName:"LicenseSpecification" locationNameList:"item" type:"list"`
// The maintenance and recovery options for the instance.
MaintenanceOptions *InstanceMaintenanceOptionsRequest `type:"structure"`
// The maximum number of instances to launch. If you specify more instances
// than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches
// the largest possible number of instances above MinCount.
@ -144871,6 +145320,12 @@ func (s *RunInstancesInput) SetLicenseSpecifications(v []*LicenseConfigurationRe
return s
}
// SetMaintenanceOptions sets the MaintenanceOptions field's value.
func (s *RunInstancesInput) SetMaintenanceOptions(v *InstanceMaintenanceOptionsRequest) *RunInstancesInput {
s.MaintenanceOptions = v
return s
}
// SetMaxCount sets the MaxCount field's value.
func (s *RunInstancesInput) SetMaxCount(v int64) *RunInstancesInput {
s.MaxCount = &v
@ -155627,6 +156082,96 @@ func (s *TransitGatewayRouteTablePropagation) SetTransitGatewayAttachmentId(v st
return s
}
// Describes a route in a transit gateway route table.
type TransitGatewayRouteTableRoute struct {
_ struct{} `type:"structure"`
// The ID of the route attachment.
AttachmentId *string `locationName:"attachmentId" type:"string"`
// The CIDR block used for destination matches.
DestinationCidr *string `locationName:"destinationCidr" type:"string"`
// The ID of the prefix list.
PrefixListId *string `locationName:"prefixListId" type:"string"`
// The ID of the resource for the route attachment.
ResourceId *string `locationName:"resourceId" type:"string"`
// The resource type for the route attachment.
ResourceType *string `locationName:"resourceType" type:"string"`
// The route origin. The following are the possible values:
//
// * static
//
// * propagated
RouteOrigin *string `locationName:"routeOrigin" type:"string"`
// The state of the route.
State *string `locationName:"state" 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 TransitGatewayRouteTableRoute) 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 TransitGatewayRouteTableRoute) GoString() string {
return s.String()
}
// SetAttachmentId sets the AttachmentId field's value.
func (s *TransitGatewayRouteTableRoute) SetAttachmentId(v string) *TransitGatewayRouteTableRoute {
s.AttachmentId = &v
return s
}
// SetDestinationCidr sets the DestinationCidr field's value.
func (s *TransitGatewayRouteTableRoute) SetDestinationCidr(v string) *TransitGatewayRouteTableRoute {
s.DestinationCidr = &v
return s
}
// SetPrefixListId sets the PrefixListId field's value.
func (s *TransitGatewayRouteTableRoute) SetPrefixListId(v string) *TransitGatewayRouteTableRoute {
s.PrefixListId = &v
return s
}
// SetResourceId sets the ResourceId field's value.
func (s *TransitGatewayRouteTableRoute) SetResourceId(v string) *TransitGatewayRouteTableRoute {
s.ResourceId = &v
return s
}
// SetResourceType sets the ResourceType field's value.
func (s *TransitGatewayRouteTableRoute) SetResourceType(v string) *TransitGatewayRouteTableRoute {
s.ResourceType = &v
return s
}
// SetRouteOrigin sets the RouteOrigin field's value.
func (s *TransitGatewayRouteTableRoute) SetRouteOrigin(v string) *TransitGatewayRouteTableRoute {
s.RouteOrigin = &v
return s
}
// SetState sets the State field's value.
func (s *TransitGatewayRouteTableRoute) SetState(v string) *TransitGatewayRouteTableRoute {
s.State = &v
return s
}
// Describes a VPC attachment.
type TransitGatewayVpcAttachment struct {
_ struct{} `type:"structure"`
@ -162278,6 +162823,22 @@ func InstanceAttributeName_Values() []string {
}
}
const (
// InstanceAutoRecoveryStateDisabled is a InstanceAutoRecoveryState enum value
InstanceAutoRecoveryStateDisabled = "disabled"
// InstanceAutoRecoveryStateDefault is a InstanceAutoRecoveryState enum value
InstanceAutoRecoveryStateDefault = "default"
)
// InstanceAutoRecoveryState_Values returns all elements of the InstanceAutoRecoveryState enum
func InstanceAutoRecoveryState_Values() []string {
return []string{
InstanceAutoRecoveryStateDisabled,
InstanceAutoRecoveryStateDefault,
}
}
const (
// InstanceEventWindowStateCreating is a InstanceEventWindowState enum value
InstanceEventWindowStateCreating = "creating"
@ -164898,6 +165459,22 @@ func KeyType_Values() []string {
}
}
const (
// LaunchTemplateAutoRecoveryStateDefault is a LaunchTemplateAutoRecoveryState enum value
LaunchTemplateAutoRecoveryStateDefault = "default"
// LaunchTemplateAutoRecoveryStateDisabled is a LaunchTemplateAutoRecoveryState enum value
LaunchTemplateAutoRecoveryStateDisabled = "disabled"
)
// LaunchTemplateAutoRecoveryState_Values returns all elements of the LaunchTemplateAutoRecoveryState enum
func LaunchTemplateAutoRecoveryState_Values() []string {
return []string{
LaunchTemplateAutoRecoveryStateDefault,
LaunchTemplateAutoRecoveryStateDisabled,
}
}
const (
// LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist is a LaunchTemplateErrorCode enum value
LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist = "launchTemplateIdDoesNotExist"

2
vendor/modules.txt vendored
View File

@ -8,7 +8,7 @@ github.com/armon/go-metrics
# github.com/armon/go-radix v1.0.0
## explicit
github.com/armon/go-radix
# github.com/aws/aws-sdk-go v1.43.22
# github.com/aws/aws-sdk-go v1.43.32
## explicit; go 1.11
github.com/aws/aws-sdk-go/aws
github.com/aws/aws-sdk-go/aws/awserr