mirror of https://github.com/kubernetes/kops.git
Update aws-sdk-go to v1.12.79
Should address https://github.com/aws/aws-sdk-go/pull/1770 and kops issue #4484
This commit is contained in:
parent
533d0a72b1
commit
7070254e73
|
@ -93,6 +93,7 @@
|
|||
"aws/request",
|
||||
"aws/session",
|
||||
"aws/signer/v4",
|
||||
"internal/sdkrand",
|
||||
"internal/shareddefaults",
|
||||
"private/protocol",
|
||||
"private/protocol/ec2query",
|
||||
|
@ -119,7 +120,7 @@
|
|||
"service/s3",
|
||||
"service/sts"
|
||||
]
|
||||
revision = "5177d71d80f123f6d82aaf762387e39b88c5ba23"
|
||||
revision = "bff41fb23b7550368282029f6478819d6a99ae0f"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/beorn7/perks"
|
||||
|
@ -1540,6 +1541,6 @@
|
|||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "44436cf800022ae978ae92627ffb7855936a7574f8bb041bca837216aa1456e4"
|
||||
inputs-digest = "7445d8b26618a25cff0c477f71b45cfe1c66c213599a07c2c751ad94ee64e86d"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
|
|
|
@ -23,8 +23,8 @@ required = [
|
|||
# aws-sdk-go is one of our critical dependencies
|
||||
[[override]]
|
||||
name = "github.com/aws/aws-sdk-go"
|
||||
revision = "5177d71d80f123f6d82aaf762387e39b88c5ba23"
|
||||
#version = "v1.12.57"
|
||||
revision = "bff41fb23b7550368282029f6478819d6a99ae0f"
|
||||
#version = "v1.12.79"
|
||||
|
||||
# We need this for our build
|
||||
[[override]]
|
||||
|
|
|
@ -13,5 +13,6 @@ go_library(
|
|||
"//vendor/github.com/aws/aws-sdk-go/aws:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/aws/client/metadata:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/aws/request:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/internal/sdkrand:go_default_library",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/internal/sdkrand"
|
||||
)
|
||||
|
||||
// DefaultRetryer implements basic retry logic using exponential backoff for
|
||||
|
@ -31,8 +30,6 @@ func (d DefaultRetryer) MaxRetries() int {
|
|||
return d.NumMaxRetries
|
||||
}
|
||||
|
||||
var seededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})
|
||||
|
||||
// RetryRules returns the delay duration before retrying this request again
|
||||
func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
|
||||
// Set the upper limit of delay in retrying at ~five minutes
|
||||
|
@ -53,7 +50,7 @@ func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
|
|||
retryCount = 13
|
||||
}
|
||||
|
||||
delay := (1 << uint(retryCount)) * (seededRand.Intn(minTime) + minTime)
|
||||
delay := (1 << uint(retryCount)) * (sdkrand.SeededRand.Intn(minTime) + minTime)
|
||||
return time.Duration(delay) * time.Millisecond
|
||||
}
|
||||
|
||||
|
@ -117,22 +114,3 @@ func canUseRetryAfterHeader(r *request.Request) bool {
|
|||
|
||||
return true
|
||||
}
|
||||
|
||||
// lockedSource is a thread-safe implementation of rand.Source
|
||||
type lockedSource struct {
|
||||
lk sync.Mutex
|
||||
src rand.Source
|
||||
}
|
||||
|
||||
func (r *lockedSource) Int63() (n int64) {
|
||||
r.lk.Lock()
|
||||
n = r.src.Int63()
|
||||
r.lk.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
func (r *lockedSource) Seed(seed int64) {
|
||||
r.lk.Lock()
|
||||
r.src.Seed(seed)
|
||||
r.lk.Unlock()
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ func (reader *teeReaderCloser) Close() error {
|
|||
|
||||
func logRequest(r *request.Request) {
|
||||
logBody := r.Config.LogLevel.Matches(aws.LogDebugWithHTTPBody)
|
||||
bodySeekable := aws.IsReaderSeekable(r.Body)
|
||||
dumpedBody, err := httputil.DumpRequestOut(r.HTTPRequest, logBody)
|
||||
if err != nil {
|
||||
r.Config.Logger.Log(fmt.Sprintf(logReqErrMsg, r.ClientInfo.ServiceName, r.Operation.Name, err))
|
||||
|
@ -53,6 +54,9 @@ func logRequest(r *request.Request) {
|
|||
}
|
||||
|
||||
if logBody {
|
||||
if !bodySeekable {
|
||||
r.SetReaderBody(aws.ReadSeekCloser(r.HTTPRequest.Body))
|
||||
}
|
||||
// Reset the request body because dumpRequest will re-wrap the r.HTTPRequest's
|
||||
// Body as a NoOpCloser and will not be reset after read by the HTTP
|
||||
// client reader.
|
||||
|
|
|
@ -3,7 +3,6 @@ package corehandlers
|
|||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -36,18 +35,13 @@ var BuildContentLengthHandler = request.NamedHandler{Name: "core.BuildContentLen
|
|||
if slength := r.HTTPRequest.Header.Get("Content-Length"); slength != "" {
|
||||
length, _ = strconv.ParseInt(slength, 10, 64)
|
||||
} else {
|
||||
switch body := r.Body.(type) {
|
||||
case nil:
|
||||
length = 0
|
||||
case lener:
|
||||
length = int64(body.Len())
|
||||
case io.Seeker:
|
||||
r.BodyStart, _ = body.Seek(0, 1)
|
||||
end, _ := body.Seek(0, 2)
|
||||
body.Seek(r.BodyStart, 0) // make sure to seek back to original location
|
||||
length = end - r.BodyStart
|
||||
default:
|
||||
panic("Cannot get length of body, must provide `ContentLength`")
|
||||
if r.Body != nil {
|
||||
var err error
|
||||
length, err = aws.SeekerLen(r.Body)
|
||||
if err != nil {
|
||||
r.Error = awserr.New(request.ErrCodeSerialization, "failed to get request body's length", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
)
|
||||
|
@ -84,11 +85,34 @@ func decodeV3Endpoints(modelDef modelDefinition, opts DecodeModelOptions) (Resol
|
|||
custAddEC2Metadata(p)
|
||||
custAddS3DualStack(p)
|
||||
custRmIotDataService(p)
|
||||
|
||||
custFixCloudHSMv2SigningName(p)
|
||||
}
|
||||
|
||||
return ps, nil
|
||||
}
|
||||
|
||||
func custFixCloudHSMv2SigningName(p *partition) {
|
||||
// Workaround for aws/aws-sdk-go#1745 until the endpoint model can be
|
||||
// fixed upstream. TODO remove this once the endpoints model is updated.
|
||||
|
||||
s, ok := p.Services["cloudhsmv2"]
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
if len(s.Defaults.CredentialScope.Service) != 0 {
|
||||
fmt.Fprintf(os.Stderr, "cloudhsmv2 signing name already set, ignoring override.\n")
|
||||
// If the value is already set don't override
|
||||
return
|
||||
}
|
||||
|
||||
s.Defaults.CredentialScope.Service = "cloudhsm"
|
||||
fmt.Fprintf(os.Stderr, "cloudhsmv2 signing name not set, overriding.\n")
|
||||
|
||||
p.Services["cloudhsmv2"] = s
|
||||
}
|
||||
|
||||
func custAddS3DualStack(p *partition) {
|
||||
if p.ID != "aws" {
|
||||
return
|
||||
|
|
|
@ -52,6 +52,7 @@ const (
|
|||
Appstream2ServiceID = "appstream2" // Appstream2.
|
||||
AthenaServiceID = "athena" // Athena.
|
||||
AutoscalingServiceID = "autoscaling" // Autoscaling.
|
||||
AutoscalingPlansServiceID = "autoscaling-plans" // AutoscalingPlans.
|
||||
BatchServiceID = "batch" // Batch.
|
||||
BudgetsServiceID = "budgets" // Budgets.
|
||||
ClouddirectoryServiceID = "clouddirectory" // Clouddirectory.
|
||||
|
@ -105,12 +106,16 @@ const (
|
|||
IotServiceID = "iot" // Iot.
|
||||
KinesisServiceID = "kinesis" // Kinesis.
|
||||
KinesisanalyticsServiceID = "kinesisanalytics" // Kinesisanalytics.
|
||||
KinesisvideoServiceID = "kinesisvideo" // Kinesisvideo.
|
||||
KmsServiceID = "kms" // Kms.
|
||||
LambdaServiceID = "lambda" // Lambda.
|
||||
LightsailServiceID = "lightsail" // Lightsail.
|
||||
LogsServiceID = "logs" // Logs.
|
||||
MachinelearningServiceID = "machinelearning" // Machinelearning.
|
||||
MarketplacecommerceanalyticsServiceID = "marketplacecommerceanalytics" // Marketplacecommerceanalytics.
|
||||
MediaconvertServiceID = "mediaconvert" // Mediaconvert.
|
||||
MedialiveServiceID = "medialive" // Medialive.
|
||||
MediapackageServiceID = "mediapackage" // Mediapackage.
|
||||
MeteringMarketplaceServiceID = "metering.marketplace" // MeteringMarketplace.
|
||||
MghServiceID = "mgh" // Mgh.
|
||||
MobileanalyticsServiceID = "mobileanalytics" // Mobileanalytics.
|
||||
|
@ -131,6 +136,7 @@ const (
|
|||
S3ServiceID = "s3" // S3.
|
||||
SdbServiceID = "sdb" // Sdb.
|
||||
ServicecatalogServiceID = "servicecatalog" // Servicecatalog.
|
||||
ServicediscoveryServiceID = "servicediscovery" // Servicediscovery.
|
||||
ShieldServiceID = "shield" // Shield.
|
||||
SmsServiceID = "sms" // Sms.
|
||||
SnowballServiceID = "snowball" // Snowball.
|
||||
|
@ -370,6 +376,22 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"autoscaling-plans": service{
|
||||
Defaults: endpoint{
|
||||
Hostname: "autoscaling.{region}.amazonaws.com",
|
||||
Protocols: []string{"http", "https"},
|
||||
CredentialScope: credentialScope{
|
||||
Service: "autoscaling-plans",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-southeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"batch": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -402,6 +424,7 @@ var awsPartition = partition{
|
|||
Endpoints: endpoints{
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
|
@ -459,7 +482,11 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
"cloudhsmv2": service{
|
||||
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
Service: "cloudhsm",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
|
@ -588,6 +615,7 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
|
@ -689,6 +717,8 @@ var awsPartition = partition{
|
|||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
|
@ -740,6 +770,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1043,10 +1074,13 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1093,10 +1127,11 @@ var awsPartition = partition{
|
|||
"glue": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"greengrass": service{
|
||||
|
@ -1156,6 +1191,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
|
@ -1207,6 +1243,16 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"kinesisvideo": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"kms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1295,6 +1341,42 @@ var awsPartition = partition{
|
|||
"us-east-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"mediaconvert": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"medialive": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"mediapackage": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"metering.marketplace": service{
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
|
@ -1489,6 +1571,7 @@ var awsPartition = partition{
|
|||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1537,24 +1620,68 @@ var awsPartition = partition{
|
|||
Hostname: "s3.ap-northeast-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-northeast-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-northeast-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-northeast-2-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-northeast-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-northeast-3-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-northeast-3.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-south-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-south-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-southeast-1": endpoint{
|
||||
Hostname: "s3.ap-southeast-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-southeast-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-southeast-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-southeast-2": endpoint{
|
||||
Hostname: "s3.ap-southeast-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ap-southeast-2-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ap-southeast-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"ca-central-1": endpoint{},
|
||||
"ca-central-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.ca-central-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-central-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.eu-central-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"eu-west-1": endpoint{
|
||||
Hostname: "s3.eu-west-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"eu-west-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.eu-west-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-2-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.eu-west-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"eu-west-3": endpoint{},
|
||||
"eu-west-3-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.eu-west-3.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"s3-external-1": endpoint{
|
||||
Hostname: "s3-external-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
|
@ -1566,19 +1693,39 @@ var awsPartition = partition{
|
|||
Hostname: "s3.sa-east-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"sa-east-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.sa-east-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-east-1": endpoint{
|
||||
Hostname: "s3.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-east-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.us-east-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-east-2": endpoint{},
|
||||
"us-east-2-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.us-east-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-west-1": endpoint{
|
||||
Hostname: "s3.us-west-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-west-1-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.us-west-1.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-west-2": endpoint{
|
||||
Hostname: "s3.us-west-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
"us-west-2-dualstack": endpoint{
|
||||
Hostname: "s3.dualstack.us-west-2.amazonaws.com",
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
},
|
||||
},
|
||||
},
|
||||
"sdb": service{
|
||||
|
@ -1619,6 +1766,15 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"servicediscovery": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"shield": service{
|
||||
IsRegionalized: boxedFalse,
|
||||
Defaults: endpoint{
|
||||
|
@ -1636,8 +1792,10 @@ var awsPartition = partition{
|
|||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1733,7 +1891,9 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
|
@ -1912,6 +2072,8 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
|
@ -2233,6 +2395,12 @@ var awscnPartition = partition{
|
|||
"cn-northwest-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"sms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"snowball": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2423,6 +2591,18 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"ecr": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"ecs": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"elasticache": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2451,6 +2631,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"es": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"events": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
|
|
@ -224,6 +224,9 @@ func (r *Request) SetContext(ctx aws.Context) {
|
|||
|
||||
// WillRetry returns if the request's can be retried.
|
||||
func (r *Request) WillRetry() bool {
|
||||
if !aws.IsReaderSeekable(r.Body) && r.HTTPRequest.Body != NoBody {
|
||||
return false
|
||||
}
|
||||
return r.Error != nil && aws.BoolValue(r.Retryable) && r.RetryCount < r.MaxRetries()
|
||||
}
|
||||
|
||||
|
@ -255,6 +258,7 @@ func (r *Request) SetStringBody(s string) {
|
|||
// SetReaderBody will set the request's body reader.
|
||||
func (r *Request) SetReaderBody(reader io.ReadSeeker) {
|
||||
r.Body = reader
|
||||
r.BodyStart, _ = reader.Seek(0, 1) // Get the Bodies current offset.
|
||||
r.ResetBody()
|
||||
}
|
||||
|
||||
|
@ -393,7 +397,7 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
// of the SDK if they used that field.
|
||||
//
|
||||
// Related golang/go#18257
|
||||
l, err := computeBodyLength(r.Body)
|
||||
l, err := aws.SeekerLen(r.Body)
|
||||
if err != nil {
|
||||
return nil, awserr.New(ErrCodeSerialization, "failed to compute request body size", err)
|
||||
}
|
||||
|
@ -411,7 +415,8 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
// Transfer-Encoding: chunked bodies for these methods.
|
||||
//
|
||||
// This would only happen if a aws.ReaderSeekerCloser was used with
|
||||
// a io.Reader that was not also an io.Seeker.
|
||||
// a io.Reader that was not also an io.Seeker, or did not implement
|
||||
// Len() method.
|
||||
switch r.Operation.HTTPMethod {
|
||||
case "GET", "HEAD", "DELETE":
|
||||
body = NoBody
|
||||
|
@ -423,42 +428,6 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
return body, nil
|
||||
}
|
||||
|
||||
// Attempts to compute the length of the body of the reader using the
|
||||
// io.Seeker interface. If the value is not seekable because of being
|
||||
// a ReaderSeekerCloser without an unerlying Seeker -1 will be returned.
|
||||
// If no error occurs the length of the body will be returned.
|
||||
func computeBodyLength(r io.ReadSeeker) (int64, error) {
|
||||
seekable := true
|
||||
// Determine if the seeker is actually seekable. ReaderSeekerCloser
|
||||
// hides the fact that a io.Readers might not actually be seekable.
|
||||
switch v := r.(type) {
|
||||
case aws.ReaderSeekerCloser:
|
||||
seekable = v.IsSeeker()
|
||||
case *aws.ReaderSeekerCloser:
|
||||
seekable = v.IsSeeker()
|
||||
}
|
||||
if !seekable {
|
||||
return -1, nil
|
||||
}
|
||||
|
||||
curOffset, err := r.Seek(0, 1)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
endOffset, err := r.Seek(0, 2)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
_, err = r.Seek(curOffset, 0)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return endOffset - curOffset, nil
|
||||
}
|
||||
|
||||
// GetBody will return an io.ReadSeeker of the Request's underlying
|
||||
// input body with a concurrency safe wrapper.
|
||||
func (r *Request) GetBody() io.ReadSeeker {
|
||||
|
|
|
@ -142,13 +142,28 @@ func (r *Request) nextPageTokens() []interface{} {
|
|||
tokens := []interface{}{}
|
||||
tokenAdded := false
|
||||
for _, outToken := range r.Operation.OutputTokens {
|
||||
v, _ := awsutil.ValuesAtPath(r.Data, outToken)
|
||||
if len(v) > 0 {
|
||||
tokens = append(tokens, v[0])
|
||||
tokenAdded = true
|
||||
} else {
|
||||
vs, _ := awsutil.ValuesAtPath(r.Data, outToken)
|
||||
if len(vs) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
v := vs[0]
|
||||
|
||||
switch tv := v.(type) {
|
||||
case *string:
|
||||
if len(aws.StringValue(tv)) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
case string:
|
||||
if len(tv) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
tokenAdded = true
|
||||
tokens = append(tokens, v)
|
||||
}
|
||||
if !tokenAdded {
|
||||
return nil
|
||||
|
|
|
@ -5,6 +5,7 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/defaults"
|
||||
)
|
||||
|
||||
// EnvProviderName provides a name of the provider when config is loaded from environment.
|
||||
|
@ -176,6 +177,13 @@ func envConfigLoad(enableSharedConfig bool) envConfig {
|
|||
setFromEnvVal(&cfg.SharedCredentialsFile, sharedCredsFileEnvKey)
|
||||
setFromEnvVal(&cfg.SharedConfigFile, sharedConfigFileEnvKey)
|
||||
|
||||
if len(cfg.SharedCredentialsFile) == 0 {
|
||||
cfg.SharedCredentialsFile = defaults.SharedCredentialsFilename()
|
||||
}
|
||||
if len(cfg.SharedConfigFile) == 0 {
|
||||
cfg.SharedConfigFile = defaults.SharedConfigFilename()
|
||||
}
|
||||
|
||||
cfg.CustomCABundle = os.Getenv("AWS_CA_BUNDLE")
|
||||
|
||||
return cfg
|
||||
|
|
|
@ -58,7 +58,12 @@ func New(cfgs ...*aws.Config) *Session {
|
|||
envCfg := loadEnvConfig()
|
||||
|
||||
if envCfg.EnableSharedConfig {
|
||||
s, err := newSession(Options{}, envCfg, cfgs...)
|
||||
var cfg aws.Config
|
||||
cfg.MergeIn(cfgs...)
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: cfg,
|
||||
SharedConfigState: SharedConfigEnable,
|
||||
})
|
||||
if err != nil {
|
||||
// Old session.New expected all errors to be discovered when
|
||||
// a request is made, and would report the errors then. This
|
||||
|
@ -243,13 +248,6 @@ func NewSessionWithOptions(opts Options) (*Session, error) {
|
|||
envCfg.EnableSharedConfig = true
|
||||
}
|
||||
|
||||
if len(envCfg.SharedCredentialsFile) == 0 {
|
||||
envCfg.SharedCredentialsFile = defaults.SharedCredentialsFilename()
|
||||
}
|
||||
if len(envCfg.SharedConfigFile) == 0 {
|
||||
envCfg.SharedConfigFile = defaults.SharedConfigFilename()
|
||||
}
|
||||
|
||||
// Only use AWS_CA_BUNDLE if session option is not provided.
|
||||
if len(envCfg.CustomCABundle) != 0 && opts.CustomCABundle == nil {
|
||||
f, err := os.Open(envCfg.CustomCABundle)
|
||||
|
|
|
@ -341,7 +341,9 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi
|
|||
|
||||
ctx.sanitizeHostForHeader()
|
||||
ctx.assignAmzQueryValues()
|
||||
ctx.build(v4.DisableHeaderHoisting)
|
||||
if err := ctx.build(v4.DisableHeaderHoisting); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// If the request is not presigned the body should be attached to it. This
|
||||
// prevents the confusion of wanting to send a signed request without
|
||||
|
@ -503,11 +505,13 @@ func (v4 *Signer) logSigningInfo(ctx *signingCtx) {
|
|||
v4.Logger.Log(msg)
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) build(disableHeaderHoisting bool) {
|
||||
func (ctx *signingCtx) build(disableHeaderHoisting bool) error {
|
||||
ctx.buildTime() // no depends
|
||||
ctx.buildCredentialString() // no depends
|
||||
|
||||
ctx.buildBodyDigest()
|
||||
if err := ctx.buildBodyDigest(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
unsignedHeaders := ctx.Request.Header
|
||||
if ctx.isPresign {
|
||||
|
@ -535,6 +539,8 @@ func (ctx *signingCtx) build(disableHeaderHoisting bool) {
|
|||
}
|
||||
ctx.Request.Header.Set("Authorization", strings.Join(parts, ", "))
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) buildTime() {
|
||||
|
@ -661,7 +667,7 @@ func (ctx *signingCtx) buildSignature() {
|
|||
ctx.signature = hex.EncodeToString(signature)
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) buildBodyDigest() {
|
||||
func (ctx *signingCtx) buildBodyDigest() error {
|
||||
hash := ctx.Request.Header.Get("X-Amz-Content-Sha256")
|
||||
if hash == "" {
|
||||
if ctx.unsignedPayload || (ctx.isPresign && ctx.ServiceName == "s3") {
|
||||
|
@ -669,6 +675,9 @@ func (ctx *signingCtx) buildBodyDigest() {
|
|||
} else if ctx.Body == nil {
|
||||
hash = emptyStringSHA256
|
||||
} else {
|
||||
if !aws.IsReaderSeekable(ctx.Body) {
|
||||
return fmt.Errorf("cannot use unseekable request body %T, for signed request with body", ctx.Body)
|
||||
}
|
||||
hash = hex.EncodeToString(makeSha256Reader(ctx.Body))
|
||||
}
|
||||
if ctx.unsignedPayload || ctx.ServiceName == "s3" || ctx.ServiceName == "glacier" {
|
||||
|
@ -676,6 +685,8 @@ func (ctx *signingCtx) buildBodyDigest() {
|
|||
}
|
||||
}
|
||||
ctx.bodyDigest = hash
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// isRequestSigned returns if the request is currently signed or presigned
|
||||
|
|
|
@ -22,6 +22,22 @@ type ReaderSeekerCloser struct {
|
|||
r io.Reader
|
||||
}
|
||||
|
||||
// IsReaderSeekable returns if the underlying reader type can be seeked. A
|
||||
// io.Reader might not actually be seekable if it is the ReaderSeekerCloser
|
||||
// type.
|
||||
func IsReaderSeekable(r io.Reader) bool {
|
||||
switch v := r.(type) {
|
||||
case ReaderSeekerCloser:
|
||||
return v.IsSeeker()
|
||||
case *ReaderSeekerCloser:
|
||||
return v.IsSeeker()
|
||||
case io.ReadSeeker:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
// Read reads from the reader up to size of p. The number of bytes read, and
|
||||
// error if it occurred will be returned.
|
||||
//
|
||||
|
@ -56,6 +72,71 @@ func (r ReaderSeekerCloser) IsSeeker() bool {
|
|||
return ok
|
||||
}
|
||||
|
||||
// HasLen returns the length of the underlying reader if the value implements
|
||||
// the Len() int method.
|
||||
func (r ReaderSeekerCloser) HasLen() (int, bool) {
|
||||
type lenner interface {
|
||||
Len() int
|
||||
}
|
||||
|
||||
if lr, ok := r.r.(lenner); ok {
|
||||
return lr.Len(), true
|
||||
}
|
||||
|
||||
return 0, false
|
||||
}
|
||||
|
||||
// GetLen returns the length of the bytes remaining in the underlying reader.
|
||||
// Checks first for Len(), then io.Seeker to determine the size of the
|
||||
// underlying reader.
|
||||
//
|
||||
// Will return -1 if the length cannot be determined.
|
||||
func (r ReaderSeekerCloser) GetLen() (int64, error) {
|
||||
if l, ok := r.HasLen(); ok {
|
||||
return int64(l), nil
|
||||
}
|
||||
|
||||
if s, ok := r.r.(io.Seeker); ok {
|
||||
return seekerLen(s)
|
||||
}
|
||||
|
||||
return -1, nil
|
||||
}
|
||||
|
||||
// SeekerLen attempts to get the number of bytes remaining at the seeker's
|
||||
// current position. Returns the number of bytes remaining or error.
|
||||
func SeekerLen(s io.Seeker) (int64, error) {
|
||||
// Determine if the seeker is actually seekable. ReaderSeekerCloser
|
||||
// hides the fact that a io.Readers might not actually be seekable.
|
||||
switch v := s.(type) {
|
||||
case ReaderSeekerCloser:
|
||||
return v.GetLen()
|
||||
case *ReaderSeekerCloser:
|
||||
return v.GetLen()
|
||||
}
|
||||
|
||||
return seekerLen(s)
|
||||
}
|
||||
|
||||
func seekerLen(s io.Seeker) (int64, error) {
|
||||
curOffset, err := s.Seek(0, 1)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
endOffset, err := s.Seek(0, 2)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
_, err = s.Seek(curOffset, 0)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return endOffset - curOffset, nil
|
||||
}
|
||||
|
||||
// Close closes the ReaderSeekerCloser.
|
||||
//
|
||||
// If the ReaderSeekerCloser is not an io.Closer nothing will be done.
|
||||
|
|
|
@ -5,4 +5,4 @@ package aws
|
|||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.12.57"
|
||||
const SDKVersion = "1.12.79"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["locked_source.go"],
|
||||
importpath = "github.com/aws/aws-sdk-go/internal/sdkrand",
|
||||
visibility = ["//vendor/github.com/aws/aws-sdk-go:__subpackages__"],
|
||||
)
|
29
vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go
generated
vendored
Normal file
29
vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
package sdkrand
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
// lockedSource is a thread-safe implementation of rand.Source
|
||||
type lockedSource struct {
|
||||
lk sync.Mutex
|
||||
src rand.Source
|
||||
}
|
||||
|
||||
func (r *lockedSource) Int63() (n int64) {
|
||||
r.lk.Lock()
|
||||
n = r.src.Int63()
|
||||
r.lk.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
func (r *lockedSource) Seed(seed int64) {
|
||||
r.lk.Lock()
|
||||
r.src.Seed(seed)
|
||||
r.lk.Unlock()
|
||||
}
|
||||
|
||||
// SeededRand is a new RNG using a thread safe implementation of rand.Source
|
||||
var SeededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})
|
|
@ -5058,7 +5058,6 @@ func (c *AutoScaling) UpdateAutoScalingGroupWithContext(ctx aws.Context, input *
|
|||
// Describes scaling activity, which is a long-running process that represents
|
||||
// a change to your Auto Scaling group, such as changing its size or replacing
|
||||
// an instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Activity
|
||||
type Activity struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5177,7 +5176,6 @@ func (s *Activity) SetStatusMessage(v string) *Activity {
|
|||
//
|
||||
// For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html)
|
||||
// in the Auto Scaling User Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AdjustmentType
|
||||
type AdjustmentType struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5203,7 +5201,6 @@ func (s *AdjustmentType) SetAdjustmentType(v string) *AdjustmentType {
|
|||
}
|
||||
|
||||
// Describes an alarm.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Alarm
|
||||
type Alarm struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5236,7 +5233,6 @@ func (s *Alarm) SetAlarmName(v string) *Alarm {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesQuery
|
||||
type AttachInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5287,7 +5283,6 @@ func (s *AttachInstancesInput) SetInstanceIds(v []*string) *AttachInstancesInput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesOutput
|
||||
type AttachInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5302,7 +5297,6 @@ func (s AttachInstancesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType
|
||||
type AttachLoadBalancerTargetGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5358,7 +5352,6 @@ func (s *AttachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *A
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsResultType
|
||||
type AttachLoadBalancerTargetGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5373,7 +5366,6 @@ func (s AttachLoadBalancerTargetGroupsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersType
|
||||
type AttachLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5429,7 +5421,6 @@ func (s *AttachLoadBalancersInput) SetLoadBalancerNames(v []*string) *AttachLoad
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType
|
||||
type AttachLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5445,7 +5436,6 @@ func (s AttachLoadBalancersOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Describes a block device mapping.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BlockDeviceMapping
|
||||
type BlockDeviceMapping struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5526,7 +5516,6 @@ func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionType
|
||||
type CompleteLifecycleActionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5626,7 +5615,6 @@ func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteL
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer
|
||||
type CompleteLifecycleActionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5641,7 +5629,6 @@ func (s CompleteLifecycleActionOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType
|
||||
type CreateAutoScalingGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5955,7 +5942,6 @@ func (s *CreateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *CreateAuto
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupOutput
|
||||
type CreateAutoScalingGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5970,7 +5956,6 @@ func (s CreateAutoScalingGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType
|
||||
type CreateLaunchConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6292,7 +6277,6 @@ func (s *CreateLaunchConfigurationInput) SetUserData(v string) *CreateLaunchConf
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationOutput
|
||||
type CreateLaunchConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6307,7 +6291,6 @@ func (s CreateLaunchConfigurationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsType
|
||||
type CreateOrUpdateTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6356,7 +6339,6 @@ func (s *CreateOrUpdateTagsInput) SetTags(v []*Tag) *CreateOrUpdateTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsOutput
|
||||
type CreateOrUpdateTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6372,7 +6354,6 @@ func (s CreateOrUpdateTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Configures a customized metric for a target tracking policy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification
|
||||
type CustomizedMetricSpecification struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6467,7 +6448,6 @@ func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpeci
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupType
|
||||
type DeleteAutoScalingGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6520,7 +6500,6 @@ func (s *DeleteAutoScalingGroupInput) SetForceDelete(v bool) *DeleteAutoScalingG
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupOutput
|
||||
type DeleteAutoScalingGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6535,7 +6514,6 @@ func (s DeleteAutoScalingGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNameType
|
||||
type DeleteLaunchConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6577,7 +6555,6 @@ func (s *DeleteLaunchConfigurationInput) SetLaunchConfigurationName(v string) *D
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfigurationOutput
|
||||
type DeleteLaunchConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6592,7 +6569,6 @@ func (s DeleteLaunchConfigurationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookType
|
||||
type DeleteLifecycleHookInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6651,7 +6627,6 @@ func (s *DeleteLifecycleHookInput) SetLifecycleHookName(v string) *DeleteLifecyc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer
|
||||
type DeleteLifecycleHookOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6666,7 +6641,6 @@ func (s DeleteLifecycleHookOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationType
|
||||
type DeleteNotificationConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6726,7 +6700,6 @@ func (s *DeleteNotificationConfigurationInput) SetTopicARN(v string) *DeleteNoti
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationOutput
|
||||
type DeleteNotificationConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6741,7 +6714,6 @@ func (s DeleteNotificationConfigurationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyType
|
||||
type DeletePolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6795,7 +6767,6 @@ func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyOutput
|
||||
type DeletePolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6810,7 +6781,6 @@ func (s DeletePolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionType
|
||||
type DeleteScheduledActionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6869,7 +6839,6 @@ func (s *DeleteScheduledActionInput) SetScheduledActionName(v string) *DeleteSch
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionOutput
|
||||
type DeleteScheduledActionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6884,7 +6853,6 @@ func (s DeleteScheduledActionOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsType
|
||||
type DeleteTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6933,7 +6901,6 @@ func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsOutput
|
||||
type DeleteTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6948,7 +6915,6 @@ func (s DeleteTagsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsInput
|
||||
type DescribeAccountLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6963,7 +6929,6 @@ func (s DescribeAccountLimitsInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer
|
||||
type DescribeAccountLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7016,7 +6981,6 @@ func (s *DescribeAccountLimitsOutput) SetNumberOfLaunchConfigurations(v int64) *
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesInput
|
||||
type DescribeAdjustmentTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7031,7 +6995,6 @@ func (s DescribeAdjustmentTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesAnswer
|
||||
type DescribeAdjustmentTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7055,7 +7018,6 @@ func (s *DescribeAdjustmentTypesOutput) SetAdjustmentTypes(v []*AdjustmentType)
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupNamesType
|
||||
type DescribeAutoScalingGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7100,7 +7062,6 @@ func (s *DescribeAutoScalingGroupsInput) SetNextToken(v string) *DescribeAutoSca
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupsType
|
||||
type DescribeAutoScalingGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7136,7 +7097,6 @@ func (s *DescribeAutoScalingGroupsOutput) SetNextToken(v string) *DescribeAutoSc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstancesType
|
||||
type DescribeAutoScalingInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7182,7 +7142,6 @@ func (s *DescribeAutoScalingInstancesInput) SetNextToken(v string) *DescribeAuto
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesType
|
||||
type DescribeAutoScalingInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7216,7 +7175,6 @@ func (s *DescribeAutoScalingInstancesOutput) SetNextToken(v string) *DescribeAut
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesInput
|
||||
type DescribeAutoScalingNotificationTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7231,7 +7189,6 @@ func (s DescribeAutoScalingNotificationTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesAnswer
|
||||
type DescribeAutoScalingNotificationTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7255,7 +7212,6 @@ func (s *DescribeAutoScalingNotificationTypesOutput) SetAutoScalingNotificationT
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType
|
||||
type DescribeLaunchConfigurationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7300,7 +7256,6 @@ func (s *DescribeLaunchConfigurationsInput) SetNextToken(v string) *DescribeLaun
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationsType
|
||||
type DescribeLaunchConfigurationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7336,7 +7291,6 @@ func (s *DescribeLaunchConfigurationsOutput) SetNextToken(v string) *DescribeLau
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesInput
|
||||
type DescribeLifecycleHookTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7351,7 +7305,6 @@ func (s DescribeLifecycleHookTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesAnswer
|
||||
type DescribeLifecycleHookTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7375,7 +7328,6 @@ func (s *DescribeLifecycleHookTypesOutput) SetLifecycleHookTypes(v []*string) *D
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksType
|
||||
type DescribeLifecycleHooksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7427,7 +7379,6 @@ func (s *DescribeLifecycleHooksInput) SetLifecycleHookNames(v []*string) *Descri
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksAnswer
|
||||
type DescribeLifecycleHooksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7451,7 +7402,6 @@ func (s *DescribeLifecycleHooksOutput) SetLifecycleHooks(v []*LifecycleHook) *De
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest
|
||||
type DescribeLoadBalancerTargetGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7513,7 +7463,6 @@ func (s *DescribeLoadBalancerTargetGroupsInput) SetNextToken(v string) *Describe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsResponse
|
||||
type DescribeLoadBalancerTargetGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7547,7 +7496,6 @@ func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *Describ
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest
|
||||
type DescribeLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7609,7 +7557,6 @@ func (s *DescribeLoadBalancersInput) SetNextToken(v string) *DescribeLoadBalance
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersResponse
|
||||
type DescribeLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7643,7 +7590,6 @@ func (s *DescribeLoadBalancersOutput) SetNextToken(v string) *DescribeLoadBalanc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesInput
|
||||
type DescribeMetricCollectionTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7658,7 +7604,6 @@ func (s DescribeMetricCollectionTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesAnswer
|
||||
type DescribeMetricCollectionTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7691,7 +7636,6 @@ func (s *DescribeMetricCollectionTypesOutput) SetMetrics(v []*MetricCollectionTy
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType
|
||||
type DescribeNotificationConfigurationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7735,7 +7679,6 @@ func (s *DescribeNotificationConfigurationsInput) SetNextToken(v string) *Descri
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsAnswer
|
||||
type DescribeNotificationConfigurationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7771,7 +7714,6 @@ func (s *DescribeNotificationConfigurationsOutput) SetNotificationConfigurations
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType
|
||||
type DescribePoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7849,7 +7791,6 @@ func (s *DescribePoliciesInput) SetPolicyTypes(v []*string) *DescribePoliciesInp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType
|
||||
type DescribePoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7883,7 +7824,6 @@ func (s *DescribePoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *Describ
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType
|
||||
type DescribeScalingActivitiesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7953,7 +7893,6 @@ func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScaling
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivitiesType
|
||||
type DescribeScalingActivitiesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7990,7 +7929,6 @@ func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalin
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypesInput
|
||||
type DescribeScalingProcessTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8005,7 +7943,6 @@ func (s DescribeScalingProcessTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessesType
|
||||
type DescribeScalingProcessTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8029,7 +7966,6 @@ func (s *DescribeScalingProcessTypesOutput) SetProcesses(v []*ProcessType) *Desc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType
|
||||
type DescribeScheduledActionsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8121,7 +8057,6 @@ func (s *DescribeScheduledActionsInput) SetStartTime(v time.Time) *DescribeSched
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledActionsType
|
||||
type DescribeScheduledActionsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8155,7 +8090,6 @@ func (s *DescribeScheduledActionsOutput) SetScheduledUpdateGroupActions(v []*Sch
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8199,7 +8133,6 @@ func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagsType
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8233,7 +8166,6 @@ func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesInput
|
||||
type DescribeTerminationPolicyTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8248,7 +8180,6 @@ func (s DescribeTerminationPolicyTypesInput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesAnswer
|
||||
type DescribeTerminationPolicyTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8273,7 +8204,6 @@ func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []*st
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery
|
||||
type DetachInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8339,7 +8269,6 @@ func (s *DetachInstancesInput) SetShouldDecrementDesiredCapacity(v bool) *Detach
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesAnswer
|
||||
type DetachInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8363,7 +8292,6 @@ func (s *DetachInstancesOutput) SetActivities(v []*Activity) *DetachInstancesOut
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsType
|
||||
type DetachLoadBalancerTargetGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8419,7 +8347,6 @@ func (s *DetachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *D
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsResultType
|
||||
type DetachLoadBalancerTargetGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8434,7 +8361,6 @@ func (s DetachLoadBalancerTargetGroupsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersType
|
||||
type DetachLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8490,7 +8416,6 @@ func (s *DetachLoadBalancersInput) SetLoadBalancerNames(v []*string) *DetachLoad
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType
|
||||
type DetachLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8505,7 +8430,6 @@ func (s DetachLoadBalancersOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery
|
||||
type DisableMetricsCollectionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8573,7 +8497,6 @@ func (s *DisableMetricsCollectionInput) SetMetrics(v []*string) *DisableMetricsC
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionOutput
|
||||
type DisableMetricsCollectionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8589,7 +8512,6 @@ func (s DisableMetricsCollectionOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Describes an Amazon EBS volume.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Ebs
|
||||
type Ebs struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8701,7 +8623,6 @@ func (s *Ebs) SetVolumeType(v string) *Ebs {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery
|
||||
type EnableMetricsCollectionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8787,7 +8708,6 @@ func (s *EnableMetricsCollectionInput) SetMetrics(v []*string) *EnableMetricsCol
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionOutput
|
||||
type EnableMetricsCollectionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8803,7 +8723,6 @@ func (s EnableMetricsCollectionOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Describes an enabled metric.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnabledMetric
|
||||
type EnabledMetric struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8852,7 +8771,6 @@ func (s *EnabledMetric) SetMetric(v string) *EnabledMetric {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery
|
||||
type EnterStandbyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8921,7 +8839,6 @@ func (s *EnterStandbyInput) SetShouldDecrementDesiredCapacity(v bool) *EnterStan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyAnswer
|
||||
type EnterStandbyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8945,7 +8862,6 @@ func (s *EnterStandbyOutput) SetActivities(v []*Activity) *EnterStandbyOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType
|
||||
type ExecutePolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9046,7 +8962,6 @@ func (s *ExecutePolicyInput) SetPolicyName(v string) *ExecutePolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyOutput
|
||||
type ExecutePolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -9061,7 +8976,6 @@ func (s ExecutePolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyQuery
|
||||
type ExitStandbyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9112,7 +9026,6 @@ func (s *ExitStandbyInput) SetInstanceIds(v []*string) *ExitStandbyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyAnswer
|
||||
type ExitStandbyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9137,7 +9050,6 @@ func (s *ExitStandbyOutput) SetActivities(v []*Activity) *ExitStandbyOutput {
|
|||
}
|
||||
|
||||
// Describes a filter.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter
|
||||
type Filter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9172,7 +9084,6 @@ func (s *Filter) SetValues(v []*string) *Filter {
|
|||
}
|
||||
|
||||
// Describes an Auto Scaling group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup
|
||||
type Group struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9419,7 +9330,6 @@ func (s *Group) SetVPCZoneIdentifier(v string) *Group {
|
|||
}
|
||||
|
||||
// Describes an EC2 instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance
|
||||
type Instance struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9512,7 +9422,6 @@ func (s *Instance) SetProtectedFromScaleIn(v bool) *Instance {
|
|||
}
|
||||
|
||||
// Describes an EC2 instance associated with an Auto Scaling group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails
|
||||
type InstanceDetails struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9618,7 +9527,6 @@ func (s *InstanceDetails) SetProtectedFromScaleIn(v bool) *InstanceDetails {
|
|||
}
|
||||
|
||||
// Describes whether detailed monitoring is enabled for the Auto Scaling instances.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring
|
||||
type InstanceMonitoring struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9643,7 +9551,6 @@ func (s *InstanceMonitoring) SetEnabled(v bool) *InstanceMonitoring {
|
|||
}
|
||||
|
||||
// Describes a launch configuration.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration
|
||||
type LaunchConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9848,7 +9755,6 @@ func (s *LaunchConfiguration) SetUserData(v string) *LaunchConfiguration {
|
|||
}
|
||||
|
||||
// Describes a launch template.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification
|
||||
type LaunchTemplateSpecification struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9917,7 +9823,6 @@ func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecif
|
|||
//
|
||||
// For more information, see Auto Scaling Lifecycle Hooks (http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html)
|
||||
// in the Auto Scaling User Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHook
|
||||
type LifecycleHook struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10029,7 +9934,6 @@ func (s *LifecycleHook) SetRoleARN(v string) *LifecycleHook {
|
|||
//
|
||||
// For more information, see Auto Scaling Lifecycle Hooks (http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html)
|
||||
// in the Auto Scaling User Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHookSpecification
|
||||
type LifecycleHookSpecification struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10156,7 +10060,6 @@ func (s *LifecycleHookSpecification) SetRoleARN(v string) *LifecycleHookSpecific
|
|||
// for the load balancer, the state transitions to InService after at least
|
||||
// one instance in the group passes the health check. If EC2 health checks are
|
||||
// enabled instead, the load balancer remains in the Added state.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerState
|
||||
type LoadBalancerState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10212,7 +10115,6 @@ func (s *LoadBalancerState) SetState(v string) *LoadBalancerState {
|
|||
// state transitions to InService after at least one Auto Scaling instance passes
|
||||
// the health check. If EC2 health checks are enabled instead, the target group
|
||||
// remains in the Added state.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerTargetGroupState
|
||||
type LoadBalancerTargetGroupState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10261,7 +10163,6 @@ func (s *LoadBalancerTargetGroupState) SetState(v string) *LoadBalancerTargetGro
|
|||
}
|
||||
|
||||
// Describes a metric.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricCollectionType
|
||||
type MetricCollectionType struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10302,7 +10203,6 @@ func (s *MetricCollectionType) SetMetric(v string) *MetricCollectionType {
|
|||
}
|
||||
|
||||
// Describes the dimension of a metric.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension
|
||||
type MetricDimension struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10356,7 +10256,6 @@ func (s *MetricDimension) SetValue(v string) *MetricDimension {
|
|||
}
|
||||
|
||||
// Describes a granularity of a metric.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricGranularityType
|
||||
type MetricGranularityType struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10381,7 +10280,6 @@ func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType
|
|||
}
|
||||
|
||||
// Describes a notification.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/NotificationConfiguration
|
||||
type NotificationConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10435,7 +10333,6 @@ func (s *NotificationConfiguration) SetTopicARN(v string) *NotificationConfigura
|
|||
}
|
||||
|
||||
// Configures a predefined metric for a target tracking policy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification
|
||||
type PredefinedMetricSpecification struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10513,7 +10410,6 @@ func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMe
|
|||
//
|
||||
// For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types)
|
||||
// in the Auto Scaling User Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessType
|
||||
type ProcessType struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10555,7 +10451,6 @@ func (s *ProcessType) SetProcessName(v string) *ProcessType {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookType
|
||||
type PutLifecycleHookInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10701,7 +10596,6 @@ func (s *PutLifecycleHookInput) SetRoleARN(v string) *PutLifecycleHookInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer
|
||||
type PutLifecycleHookOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -10716,7 +10610,6 @@ func (s PutLifecycleHookOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType
|
||||
type PutNotificationConfigurationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10791,7 +10684,6 @@ func (s *PutNotificationConfigurationInput) SetTopicARN(v string) *PutNotificati
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationOutput
|
||||
type PutNotificationConfigurationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -10806,7 +10698,6 @@ func (s PutNotificationConfigurationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType
|
||||
type PutScalingPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11019,7 +10910,6 @@ func (s *PutScalingPolicyInput) SetTargetTrackingConfiguration(v *TargetTracking
|
|||
}
|
||||
|
||||
// Contains the output of PutScalingPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType
|
||||
type PutScalingPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11052,7 +10942,6 @@ func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType
|
||||
type PutScheduledUpdateGroupActionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11186,7 +11075,6 @@ func (s *PutScheduledUpdateGroupActionInput) SetTime(v time.Time) *PutScheduledU
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionOutput
|
||||
type PutScheduledUpdateGroupActionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11201,7 +11089,6 @@ func (s PutScheduledUpdateGroupActionOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatType
|
||||
type RecordLifecycleActionHeartbeatInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11286,7 +11173,6 @@ func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleHookName(v string) *Re
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer
|
||||
type RecordLifecycleActionHeartbeatOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11301,7 +11187,6 @@ func (s RecordLifecycleActionHeartbeatOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcessesOutput
|
||||
type ResumeProcessesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11317,7 +11202,6 @@ func (s ResumeProcessesOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Describes a scaling policy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingPolicy
|
||||
type ScalingPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11468,7 +11352,6 @@ func (s *ScalingPolicy) SetTargetTrackingConfiguration(v *TargetTrackingConfigur
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery
|
||||
type ScalingProcessQuery struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11537,7 +11420,6 @@ func (s *ScalingProcessQuery) SetScalingProcesses(v []*string) *ScalingProcessQu
|
|||
}
|
||||
|
||||
// Describes a scheduled update to an Auto Scaling group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupAction
|
||||
type ScheduledUpdateGroupAction struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11647,7 +11529,6 @@ func (s *ScheduledUpdateGroupAction) SetTime(v time.Time) *ScheduledUpdateGroupA
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType
|
||||
type SetDesiredCapacityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11715,7 +11596,6 @@ func (s *SetDesiredCapacityInput) SetHonorCooldown(v bool) *SetDesiredCapacityIn
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityOutput
|
||||
type SetDesiredCapacityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11730,7 +11610,6 @@ func (s SetDesiredCapacityOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery
|
||||
type SetInstanceHealthInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11806,7 +11685,6 @@ func (s *SetInstanceHealthInput) SetShouldRespectGracePeriod(v bool) *SetInstanc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthOutput
|
||||
type SetInstanceHealthOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11821,7 +11699,6 @@ func (s SetInstanceHealthOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionQuery
|
||||
type SetInstanceProtectionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11892,7 +11769,6 @@ func (s *SetInstanceProtectionInput) SetProtectedFromScaleIn(v bool) *SetInstanc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer
|
||||
type SetInstanceProtectionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -11935,7 +11811,6 @@ func (s SetInstanceProtectionOutput) GoString() string {
|
|||
// with a null upper bound.
|
||||
//
|
||||
// * The upper and lower bound can't be null in the same step adjustment.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StepAdjustment
|
||||
type StepAdjustment struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12005,7 +11880,6 @@ func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcessesOutput
|
||||
type SuspendProcessesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -12022,7 +11896,6 @@ func (s SuspendProcessesOutput) GoString() string {
|
|||
|
||||
// Describes an Auto Scaling process that has been suspended. For more information,
|
||||
// see ProcessType.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendedProcess
|
||||
type SuspendedProcess struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12056,7 +11929,6 @@ func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess {
|
|||
}
|
||||
|
||||
// Describes a tag for an Auto Scaling group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12136,7 +12008,6 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// Describes a tag for an Auto Scaling group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagDescription
|
||||
type TagDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12198,7 +12069,6 @@ func (s *TagDescription) SetValue(v string) *TagDescription {
|
|||
}
|
||||
|
||||
// Represents a target tracking policy configuration.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration
|
||||
type TargetTrackingConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12279,7 +12149,6 @@ func (s *TargetTrackingConfiguration) SetTargetValue(v float64) *TargetTrackingC
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType
|
||||
type TerminateInstanceInAutoScalingGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12336,7 +12205,6 @@ func (s *TerminateInstanceInAutoScalingGroupInput) SetShouldDecrementDesiredCapa
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivityType
|
||||
type TerminateInstanceInAutoScalingGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12360,7 +12228,6 @@ func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *Te
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType
|
||||
type UpdateAutoScalingGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -12568,7 +12435,6 @@ func (s *UpdateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *UpdateAuto
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupOutput
|
||||
type UpdateAutoScalingGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
|
|
@ -3844,7 +3844,6 @@ func (c *CloudFormation) ValidateTemplateWithContext(ctx aws.Context, input *Val
|
|||
// result status for that account and region to FAILED.
|
||||
//
|
||||
// For more information, see Configuring a target account gate (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html).
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountGateResult
|
||||
type AccountGateResult struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3904,7 +3903,6 @@ func (s *AccountGateResult) SetStatusReason(v string) *AccountGateResult {
|
|||
}
|
||||
|
||||
// The AccountLimit data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit
|
||||
type AccountLimit struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3938,7 +3936,6 @@ func (s *AccountLimit) SetValue(v int64) *AccountLimit {
|
|||
}
|
||||
|
||||
// The input for the CancelUpdateStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput
|
||||
type CancelUpdateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3993,7 +3990,6 @@ func (s *CancelUpdateStackInput) SetStackName(v string) *CancelUpdateStackInput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackOutput
|
||||
type CancelUpdateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4010,7 +4006,6 @@ func (s CancelUpdateStackOutput) GoString() string {
|
|||
|
||||
// The Change structure describes the changes AWS CloudFormation will perform
|
||||
// if you execute the change set.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Change
|
||||
type Change struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4047,7 +4042,6 @@ func (s *Change) SetType(v string) *Change {
|
|||
|
||||
// The ChangeSetSummary structure describes a change set, its status, and the
|
||||
// stack with which it's associated.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary
|
||||
type ChangeSetSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4150,7 +4144,6 @@ func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary {
|
|||
}
|
||||
|
||||
// The input for the ContinueUpdateRollback action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput
|
||||
type ContinueUpdateRollbackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4277,7 +4270,6 @@ func (s *ContinueUpdateRollbackInput) SetStackName(v string) *ContinueUpdateRoll
|
|||
}
|
||||
|
||||
// The output for a ContinueUpdateRollback action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput
|
||||
type ContinueUpdateRollbackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4293,7 +4285,6 @@ func (s ContinueUpdateRollbackOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the CreateChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput
|
||||
type CreateChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4581,7 +4572,6 @@ func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetIn
|
|||
}
|
||||
|
||||
// The output for the CreateChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput
|
||||
type CreateChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4615,7 +4605,6 @@ func (s *CreateChangeSetOutput) SetStackId(v string) *CreateChangeSetOutput {
|
|||
}
|
||||
|
||||
// The input for CreateStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput
|
||||
type CreateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4942,7 +4931,6 @@ func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesInput
|
||||
type CreateStackInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5087,7 +5075,6 @@ func (s *CreateStackInstancesInput) SetStackSetName(v string) *CreateStackInstan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesOutput
|
||||
type CreateStackInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5112,7 +5099,6 @@ func (s *CreateStackInstancesOutput) SetOperationId(v string) *CreateStackInstan
|
|||
}
|
||||
|
||||
// The output for a CreateStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput
|
||||
type CreateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5136,7 +5122,6 @@ func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetInput
|
||||
type CreateStackSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5324,7 +5309,6 @@ func (s *CreateStackSetInput) SetTemplateURL(v string) *CreateStackSetInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetOutput
|
||||
type CreateStackSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5349,7 +5333,6 @@ func (s *CreateStackSetOutput) SetStackSetId(v string) *CreateStackSetOutput {
|
|||
}
|
||||
|
||||
// The input for the DeleteChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput
|
||||
type DeleteChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5406,7 +5389,6 @@ func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput {
|
|||
}
|
||||
|
||||
// The output for the DeleteChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput
|
||||
type DeleteChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5422,7 +5404,6 @@ func (s DeleteChangeSetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for DeleteStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput
|
||||
type DeleteStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5519,7 +5500,6 @@ func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesInput
|
||||
type DeleteStackInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5641,7 +5621,6 @@ func (s *DeleteStackInstancesInput) SetStackSetName(v string) *DeleteStackInstan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesOutput
|
||||
type DeleteStackInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5665,7 +5644,6 @@ func (s *DeleteStackInstancesOutput) SetOperationId(v string) *DeleteStackInstan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackOutput
|
||||
type DeleteStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5680,7 +5658,6 @@ func (s DeleteStackOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetInput
|
||||
type DeleteStackSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5720,7 +5697,6 @@ func (s *DeleteStackSetInput) SetStackSetName(v string) *DeleteStackSetInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetOutput
|
||||
type DeleteStackSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5736,7 +5712,6 @@ func (s DeleteStackSetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the DescribeAccountLimits action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsInput
|
||||
type DescribeAccountLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5774,7 +5749,6 @@ func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimi
|
|||
}
|
||||
|
||||
// The output for the DescribeAccountLimits action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput
|
||||
type DescribeAccountLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5810,7 +5784,6 @@ func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLim
|
|||
}
|
||||
|
||||
// The input for the DescribeChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput
|
||||
type DescribeChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5880,7 +5853,6 @@ func (s *DescribeChangeSetInput) SetStackName(v string) *DescribeChangeSetInput
|
|||
}
|
||||
|
||||
// The output for the DescribeChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput
|
||||
type DescribeChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6055,7 +6027,6 @@ func (s *DescribeChangeSetOutput) SetTags(v []*Tag) *DescribeChangeSetOutput {
|
|||
}
|
||||
|
||||
// The input for DescribeStackEvents action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput
|
||||
type DescribeStackEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6110,7 +6081,6 @@ func (s *DescribeStackEventsInput) SetStackName(v string) *DescribeStackEventsIn
|
|||
}
|
||||
|
||||
// The output for a DescribeStackEvents action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput
|
||||
type DescribeStackEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6144,7 +6114,6 @@ func (s *DescribeStackEventsOutput) SetStackEvents(v []*StackEvent) *DescribeSta
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceInput
|
||||
type DescribeStackInstanceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6212,7 +6181,6 @@ func (s *DescribeStackInstanceInput) SetStackSetName(v string) *DescribeStackIns
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceOutput
|
||||
type DescribeStackInstanceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6237,7 +6205,6 @@ func (s *DescribeStackInstanceOutput) SetStackInstance(v *StackInstance) *Descri
|
|||
}
|
||||
|
||||
// The input for DescribeStackResource action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput
|
||||
type DescribeStackResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6301,7 +6268,6 @@ func (s *DescribeStackResourceInput) SetStackName(v string) *DescribeStackResour
|
|||
}
|
||||
|
||||
// The output for a DescribeStackResource action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput
|
||||
type DescribeStackResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6327,7 +6293,6 @@ func (s *DescribeStackResourceOutput) SetStackResourceDetail(v *StackResourceDet
|
|||
}
|
||||
|
||||
// The input for DescribeStackResources action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput
|
||||
type DescribeStackResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6394,7 +6359,6 @@ func (s *DescribeStackResourcesInput) SetStackName(v string) *DescribeStackResou
|
|||
}
|
||||
|
||||
// The output for a DescribeStackResources action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput
|
||||
type DescribeStackResourcesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6418,7 +6382,6 @@ func (s *DescribeStackResourcesOutput) SetStackResources(v []*StackResource) *De
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetInput
|
||||
type DescribeStackSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6457,7 +6420,6 @@ func (s *DescribeStackSetInput) SetStackSetName(v string) *DescribeStackSetInput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationInput
|
||||
type DescribeStackSetOperationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6513,7 +6475,6 @@ func (s *DescribeStackSetOperationInput) SetStackSetName(v string) *DescribeStac
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationOutput
|
||||
type DescribeStackSetOperationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6537,7 +6498,6 @@ func (s *DescribeStackSetOperationOutput) SetStackSetOperation(v *StackSetOperat
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOutput
|
||||
type DescribeStackSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6562,7 +6522,6 @@ func (s *DescribeStackSetOutput) SetStackSet(v *StackSet) *DescribeStackSetOutpu
|
|||
}
|
||||
|
||||
// The input for DescribeStacks action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput
|
||||
type DescribeStacksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6617,7 +6576,6 @@ func (s *DescribeStacksInput) SetStackName(v string) *DescribeStacksInput {
|
|||
}
|
||||
|
||||
// The output for a DescribeStacks action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput
|
||||
type DescribeStacksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6652,7 +6610,6 @@ func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput {
|
|||
}
|
||||
|
||||
// The input for an EstimateTemplateCost action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput
|
||||
type EstimateTemplateCostInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6723,7 +6680,6 @@ func (s *EstimateTemplateCostInput) SetTemplateURL(v string) *EstimateTemplateCo
|
|||
}
|
||||
|
||||
// The output for a EstimateTemplateCost action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput
|
||||
type EstimateTemplateCostOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6749,7 +6705,6 @@ func (s *EstimateTemplateCostOutput) SetUrl(v string) *EstimateTemplateCostOutpu
|
|||
}
|
||||
|
||||
// The input for the ExecuteChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput
|
||||
type ExecuteChangeSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6822,7 +6777,6 @@ func (s *ExecuteChangeSetInput) SetStackName(v string) *ExecuteChangeSetInput {
|
|||
}
|
||||
|
||||
// The output for the ExecuteChangeSet action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput
|
||||
type ExecuteChangeSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6838,7 +6792,6 @@ func (s ExecuteChangeSetOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The Export structure describes the exported output values for a stack.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Export
|
||||
type Export struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6884,7 +6837,6 @@ func (s *Export) SetValue(v string) *Export {
|
|||
}
|
||||
|
||||
// The input for the GetStackPolicy action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput
|
||||
type GetStackPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6925,7 +6877,6 @@ func (s *GetStackPolicyInput) SetStackName(v string) *GetStackPolicyInput {
|
|||
}
|
||||
|
||||
// The output for the GetStackPolicy action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput
|
||||
type GetStackPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6952,7 +6903,6 @@ func (s *GetStackPolicyOutput) SetStackPolicyBody(v string) *GetStackPolicyOutpu
|
|||
}
|
||||
|
||||
// The input for a GetTemplate action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput
|
||||
type GetTemplateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7024,7 +6974,6 @@ func (s *GetTemplateInput) SetTemplateStage(v string) *GetTemplateInput {
|
|||
}
|
||||
|
||||
// The output for GetTemplate action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput
|
||||
type GetTemplateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7066,7 +7015,6 @@ func (s *GetTemplateOutput) SetTemplateBody(v string) *GetTemplateOutput {
|
|||
}
|
||||
|
||||
// The input for the GetTemplateSummary action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput
|
||||
type GetTemplateSummaryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7158,7 +7106,6 @@ func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryIn
|
|||
}
|
||||
|
||||
// The output for the GetTemplateSummary action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput
|
||||
type GetTemplateSummaryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7257,7 +7204,6 @@ func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutpu
|
|||
}
|
||||
|
||||
// The input for the ListChangeSets action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput
|
||||
type ListChangeSetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7314,7 +7260,6 @@ func (s *ListChangeSetsInput) SetStackName(v string) *ListChangeSetsInput {
|
|||
}
|
||||
|
||||
// The output for the ListChangeSets action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput
|
||||
type ListChangeSetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7349,7 +7294,6 @@ func (s *ListChangeSetsOutput) SetSummaries(v []*ChangeSetSummary) *ListChangeSe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput
|
||||
type ListExportsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7387,7 +7331,6 @@ func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput
|
||||
type ListExportsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7421,7 +7364,6 @@ func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput
|
||||
type ListImportsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7474,7 +7416,6 @@ func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput
|
||||
type ListImportsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7508,7 +7449,6 @@ func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesInput
|
||||
type ListStackInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7597,7 +7537,6 @@ func (s *ListStackInstancesInput) SetStackSetName(v string) *ListStackInstancesI
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesOutput
|
||||
type ListStackInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7635,7 +7574,6 @@ func (s *ListStackInstancesOutput) SetSummaries(v []*StackInstanceSummary) *List
|
|||
}
|
||||
|
||||
// The input for the ListStackResource action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput
|
||||
type ListStackResourcesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7696,7 +7634,6 @@ func (s *ListStackResourcesInput) SetStackName(v string) *ListStackResourcesInpu
|
|||
}
|
||||
|
||||
// The output for a ListStackResources action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput
|
||||
type ListStackResourcesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7730,7 +7667,6 @@ func (s *ListStackResourcesOutput) SetStackResourceSummaries(v []*StackResourceS
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsInput
|
||||
type ListStackSetOperationResultsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7818,7 +7754,6 @@ func (s *ListStackSetOperationResultsInput) SetStackSetName(v string) *ListStack
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsOutput
|
||||
type ListStackSetOperationResultsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7856,7 +7791,6 @@ func (s *ListStackSetOperationResultsOutput) SetSummaries(v []*StackSetOperation
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsInput
|
||||
type ListStackSetOperationsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7927,7 +7861,6 @@ func (s *ListStackSetOperationsInput) SetStackSetName(v string) *ListStackSetOpe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsOutput
|
||||
type ListStackSetOperationsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7964,7 +7897,6 @@ func (s *ListStackSetOperationsOutput) SetSummaries(v []*StackSetOperationSummar
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsInput
|
||||
type ListStackSetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8029,7 +7961,6 @@ func (s *ListStackSetsInput) SetStatus(v string) *ListStackSetsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsOutput
|
||||
type ListStackSetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8067,7 +7998,6 @@ func (s *ListStackSetsOutput) SetSummaries(v []*StackSetSummary) *ListStackSetsO
|
|||
}
|
||||
|
||||
// The input for ListStacks action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput
|
||||
type ListStacksInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8116,7 +8046,6 @@ func (s *ListStacksInput) SetStackStatusFilter(v []*string) *ListStacksInput {
|
|||
}
|
||||
|
||||
// The output for ListStacks action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput
|
||||
type ListStacksOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8152,7 +8081,6 @@ func (s *ListStacksOutput) SetStackSummaries(v []*StackSummary) *ListStacksOutpu
|
|||
}
|
||||
|
||||
// The Output data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output
|
||||
type Output struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8204,7 +8132,6 @@ func (s *Output) SetOutputValue(v string) *Output {
|
|||
}
|
||||
|
||||
// The Parameter data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter
|
||||
type Parameter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8264,7 +8191,6 @@ func (s *Parameter) SetUsePreviousValue(v bool) *Parameter {
|
|||
// A set of criteria that AWS CloudFormation uses to validate parameter values.
|
||||
// Although other constraints might be defined in the stack template, AWS CloudFormation
|
||||
// returns only the AllowedValues property.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterConstraints
|
||||
type ParameterConstraints struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8289,7 +8215,6 @@ func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstrain
|
|||
}
|
||||
|
||||
// The ParameterDeclaration data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration
|
||||
type ParameterDeclaration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8361,7 +8286,6 @@ func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration
|
|||
|
||||
// The ResourceChange structure describes the resource and the action that AWS
|
||||
// CloudFormation will perform on it if you execute this change set.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange
|
||||
type ResourceChange struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8456,7 +8380,6 @@ func (s *ResourceChange) SetScope(v []*string) *ResourceChange {
|
|||
|
||||
// For a resource with Modify as the action, the ResourceChange structure describes
|
||||
// the changes AWS CloudFormation will make to that resource.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail
|
||||
type ResourceChangeDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8550,7 +8473,6 @@ func (s *ResourceChangeDetail) SetTarget(v *ResourceTargetDefinition) *ResourceC
|
|||
|
||||
// The field that AWS CloudFormation will change, such as the name of a resource's
|
||||
// property, and whether the resource will be recreated.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition
|
||||
type ResourceTargetDefinition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8622,7 +8544,6 @@ func (s *ResourceTargetDefinition) SetRequiresRecreation(v string) *ResourceTarg
|
|||
//
|
||||
// AWS CloudFormation does not monitor rollback triggers when it rolls back
|
||||
// a stack during an update operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
|
||||
type RollbackConfiguration struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8718,7 +8639,6 @@ func (s *RollbackConfiguration) SetRollbackTriggers(v []*RollbackTrigger) *Rollb
|
|||
// of stacks. If any of the alarms you specify goes to ALERT state during the
|
||||
// stack operation or within the specified monitoring period afterwards, CloudFormation
|
||||
// rolls back the entire stack operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger
|
||||
type RollbackTrigger struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8774,7 +8694,6 @@ func (s *RollbackTrigger) SetType(v string) *RollbackTrigger {
|
|||
}
|
||||
|
||||
// The input for the SetStackPolicy action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput
|
||||
type SetStackPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8843,7 +8762,6 @@ func (s *SetStackPolicyInput) SetStackPolicyURL(v string) *SetStackPolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyOutput
|
||||
type SetStackPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8859,7 +8777,6 @@ func (s SetStackPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The input for the SignalResource action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceInput
|
||||
type SignalResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8952,7 +8869,6 @@ func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceOutput
|
||||
type SignalResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8968,7 +8884,6 @@ func (s SignalResourceOutput) GoString() string {
|
|||
}
|
||||
|
||||
// The Stack data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack
|
||||
type Stack struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9202,7 +9117,6 @@ func (s *Stack) SetTimeoutInMinutes(v int64) *Stack {
|
|||
}
|
||||
|
||||
// The StackEvent data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent
|
||||
type StackEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9345,7 +9259,6 @@ func (s *StackEvent) SetTimestamp(v time.Time) *StackEvent {
|
|||
// some reason. A stack instance is associated with only one stack set. Each
|
||||
// stack instance contains the ID of its associated stack set, as well as the
|
||||
// ID of the actual stack and the stack status.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstance
|
||||
type StackInstance struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9444,7 +9357,6 @@ func (s *StackInstance) SetStatusReason(v string) *StackInstance {
|
|||
}
|
||||
|
||||
// The structure that contains summary information about a stack instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceSummary
|
||||
type StackInstanceSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9532,7 +9444,6 @@ func (s *StackInstanceSummary) SetStatusReason(v string) *StackInstanceSummary {
|
|||
}
|
||||
|
||||
// The StackResource data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource
|
||||
type StackResource struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9640,7 +9551,6 @@ func (s *StackResource) SetTimestamp(v time.Time) *StackResource {
|
|||
}
|
||||
|
||||
// Contains detailed information about the specified stack resource.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail
|
||||
type StackResourceDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9759,7 +9669,6 @@ func (s *StackResourceDetail) SetStackName(v string) *StackResourceDetail {
|
|||
}
|
||||
|
||||
// Contains high-level information about the specified stack resource.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary
|
||||
type StackResourceSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9843,7 +9752,6 @@ func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary {
|
|||
// you to provision stacks into AWS accounts and across regions by using a single
|
||||
// CloudFormation template. In the stack set, you specify the template to use,
|
||||
// as well as any parameters and capabilities that the template requires.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet
|
||||
type StackSet struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -9938,7 +9846,6 @@ func (s *StackSet) SetTemplateBody(v string) *StackSet {
|
|||
}
|
||||
|
||||
// The structure that contains information about a stack set operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperation
|
||||
type StackSetOperation struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10060,7 +9967,6 @@ func (s *StackSetOperation) SetStatus(v string) *StackSetOperation {
|
|||
//
|
||||
// For more information on maximum concurrent accounts and failure tolerance,
|
||||
// see Stack set operation options (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options).
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationPreferences
|
||||
type StackSetOperationPreferences struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10175,7 +10081,6 @@ func (s *StackSetOperationPreferences) SetRegionOrder(v []*string) *StackSetOper
|
|||
|
||||
// The structure that contains information about a specified operation's results
|
||||
// for a given account in a given region.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary
|
||||
type StackSetOperationResultSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10257,7 +10162,6 @@ func (s *StackSetOperationResultSummary) SetStatusReason(v string) *StackSetOper
|
|||
}
|
||||
|
||||
// The structures that contain summary information about the specified operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationSummary
|
||||
type StackSetOperationSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10346,7 +10250,6 @@ func (s *StackSetOperationSummary) SetStatus(v string) *StackSetOperationSummary
|
|||
|
||||
// The structures that contain summary information about the specified stack
|
||||
// set.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetSummary
|
||||
type StackSetSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10399,7 +10302,6 @@ func (s *StackSetSummary) SetStatus(v string) *StackSetSummary {
|
|||
}
|
||||
|
||||
// The StackSummary Data Type
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary
|
||||
type StackSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10520,7 +10422,6 @@ func (s *StackSummary) SetTemplateDescription(v string) *StackSummary {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationInput
|
||||
type StopStackSetOperationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10577,7 +10478,6 @@ func (s *StopStackSetOperationInput) SetStackSetName(v string) *StopStackSetOper
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationOutput
|
||||
type StopStackSetOperationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -10594,7 +10494,6 @@ func (s StopStackSetOperationOutput) GoString() string {
|
|||
|
||||
// The Tag type enables you to specify a key-value pair that can be used to
|
||||
// store information about an AWS CloudFormation stack.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10657,7 +10556,6 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The TemplateParameter data type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter
|
||||
type TemplateParameter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -10710,7 +10608,6 @@ func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter {
|
|||
}
|
||||
|
||||
// The input for an UpdateStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput
|
||||
type UpdateStackInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11030,7 +10927,6 @@ func (s *UpdateStackInput) SetUsePreviousTemplate(v bool) *UpdateStackInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesInput
|
||||
type UpdateStackInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11178,7 +11074,6 @@ func (s *UpdateStackInstancesInput) SetStackSetName(v string) *UpdateStackInstan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesOutput
|
||||
type UpdateStackInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11203,7 +11098,6 @@ func (s *UpdateStackInstancesOutput) SetOperationId(v string) *UpdateStackInstan
|
|||
}
|
||||
|
||||
// The output for an UpdateStack action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput
|
||||
type UpdateStackOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11227,7 +11121,6 @@ func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetInput
|
||||
type UpdateStackSetInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11459,7 +11352,6 @@ func (s *UpdateStackSetInput) SetUsePreviousTemplate(v bool) *UpdateStackSetInpu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetOutput
|
||||
type UpdateStackSetOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11483,7 +11375,6 @@ func (s *UpdateStackSetOutput) SetOperationId(v string) *UpdateStackSetOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionInput
|
||||
type UpdateTerminationProtectionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11540,7 +11431,6 @@ func (s *UpdateTerminationProtectionInput) SetStackName(v string) *UpdateTermina
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionOutput
|
||||
type UpdateTerminationProtectionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11565,7 +11455,6 @@ func (s *UpdateTerminationProtectionOutput) SetStackId(v string) *UpdateTerminat
|
|||
}
|
||||
|
||||
// The input for ValidateTemplate action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput
|
||||
type ValidateTemplateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -11627,7 +11516,6 @@ func (s *ValidateTemplateInput) SetTemplateURL(v string) *ValidateTemplateInput
|
|||
}
|
||||
|
||||
// The output for ValidateTemplate action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput
|
||||
type ValidateTemplateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ go_library(
|
|||
"//vendor/github.com/aws/aws-sdk-go/aws/endpoints:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/aws/request:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/aws/signer/v4:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/internal/sdkrand:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/private/protocol:go_default_library",
|
||||
"//vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query:go_default_library",
|
||||
],
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,11 +5,64 @@ import (
|
|||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awsutil"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/endpoints"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/internal/sdkrand"
|
||||
)
|
||||
|
||||
type retryer struct {
|
||||
client.DefaultRetryer
|
||||
}
|
||||
|
||||
func (d retryer) RetryRules(r *request.Request) time.Duration {
|
||||
switch r.Operation.Name {
|
||||
case opModifyNetworkInterfaceAttribute:
|
||||
fallthrough
|
||||
case opAssignPrivateIpAddresses:
|
||||
return customRetryRule(r)
|
||||
default:
|
||||
return d.DefaultRetryer.RetryRules(r)
|
||||
}
|
||||
}
|
||||
|
||||
func customRetryRule(r *request.Request) time.Duration {
|
||||
retryTimes := []time.Duration{
|
||||
time.Second,
|
||||
3 * time.Second,
|
||||
5 * time.Second,
|
||||
}
|
||||
|
||||
count := r.RetryCount
|
||||
if count >= len(retryTimes) {
|
||||
count = len(retryTimes) - 1
|
||||
}
|
||||
|
||||
minTime := int(retryTimes[count])
|
||||
return time.Duration(sdkrand.SeededRand.Intn(minTime) + minTime)
|
||||
}
|
||||
|
||||
func setCustomRetryer(c *client.Client) {
|
||||
maxRetries := aws.IntValue(c.Config.MaxRetries)
|
||||
if c.Config.MaxRetries == nil || maxRetries == aws.UseServiceDefaultRetries {
|
||||
maxRetries = 3
|
||||
}
|
||||
|
||||
c.Retryer = retryer{
|
||||
DefaultRetryer: client.DefaultRetryer{
|
||||
NumMaxRetries: maxRetries,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
initClient = func(c *client.Client) {
|
||||
if c.Config.Retryer == nil {
|
||||
// Only override the retryer with a custom one if the config
|
||||
// does not already contain a retryer
|
||||
setCustomRetryer(c)
|
||||
}
|
||||
}
|
||||
initRequest = func(r *request.Request) {
|
||||
if r.Operation.Name == opCopySnapshot { // fill the PresignedURL parameter
|
||||
r.Handlers.Build.PushFront(fillPresignedURL)
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
// requests to Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity
|
||||
// in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your
|
||||
// need to invest in hardware up front, so you can develop and deploy applications
|
||||
// faster.
|
||||
// in the AWS Cloud. Using Amazon EC2 eliminates the need to invest in hardware
|
||||
// up front, so you can develop and deploy applications faster.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.
|
||||
//
|
||||
|
|
|
@ -468,6 +468,10 @@ type EC2API interface {
|
|||
DescribeAddressesWithContext(aws.Context, *ec2.DescribeAddressesInput, ...request.Option) (*ec2.DescribeAddressesOutput, error)
|
||||
DescribeAddressesRequest(*ec2.DescribeAddressesInput) (*request.Request, *ec2.DescribeAddressesOutput)
|
||||
|
||||
DescribeAggregateIdFormat(*ec2.DescribeAggregateIdFormatInput) (*ec2.DescribeAggregateIdFormatOutput, error)
|
||||
DescribeAggregateIdFormatWithContext(aws.Context, *ec2.DescribeAggregateIdFormatInput, ...request.Option) (*ec2.DescribeAggregateIdFormatOutput, error)
|
||||
DescribeAggregateIdFormatRequest(*ec2.DescribeAggregateIdFormatInput) (*request.Request, *ec2.DescribeAggregateIdFormatOutput)
|
||||
|
||||
DescribeAvailabilityZones(*ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)
|
||||
DescribeAvailabilityZonesWithContext(aws.Context, *ec2.DescribeAvailabilityZonesInput, ...request.Option) (*ec2.DescribeAvailabilityZonesOutput, error)
|
||||
DescribeAvailabilityZonesRequest(*ec2.DescribeAvailabilityZonesInput) (*request.Request, *ec2.DescribeAvailabilityZonesOutput)
|
||||
|
@ -629,6 +633,10 @@ type EC2API interface {
|
|||
DescribePrefixListsWithContext(aws.Context, *ec2.DescribePrefixListsInput, ...request.Option) (*ec2.DescribePrefixListsOutput, error)
|
||||
DescribePrefixListsRequest(*ec2.DescribePrefixListsInput) (*request.Request, *ec2.DescribePrefixListsOutput)
|
||||
|
||||
DescribePrincipalIdFormat(*ec2.DescribePrincipalIdFormatInput) (*ec2.DescribePrincipalIdFormatOutput, error)
|
||||
DescribePrincipalIdFormatWithContext(aws.Context, *ec2.DescribePrincipalIdFormatInput, ...request.Option) (*ec2.DescribePrincipalIdFormatOutput, error)
|
||||
DescribePrincipalIdFormatRequest(*ec2.DescribePrincipalIdFormatInput) (*request.Request, *ec2.DescribePrincipalIdFormatOutput)
|
||||
|
||||
DescribeRegions(*ec2.DescribeRegionsInput) (*ec2.DescribeRegionsOutput, error)
|
||||
DescribeRegionsWithContext(aws.Context, *ec2.DescribeRegionsInput, ...request.Option) (*ec2.DescribeRegionsOutput, error)
|
||||
DescribeRegionsRequest(*ec2.DescribeRegionsInput) (*request.Request, *ec2.DescribeRegionsOutput)
|
||||
|
|
|
@ -2236,7 +2236,6 @@ func (c *ECR) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPart
|
|||
}
|
||||
|
||||
// An object representing authorization data for an Amazon ECR registry.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/AuthorizationData
|
||||
type AuthorizationData struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2283,7 +2282,6 @@ func (s *AuthorizationData) SetProxyEndpoint(v string) *AuthorizationData {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityRequest
|
||||
type BatchCheckLayerAvailabilityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2352,7 +2350,6 @@ func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchChe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityResponse
|
||||
type BatchCheckLayerAvailabilityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2388,7 +2385,6 @@ func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLay
|
|||
|
||||
// Deletes specified images within a specified repository. Images are specified
|
||||
// with either the imageTag or imageDigest.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageRequest
|
||||
type BatchDeleteImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2458,7 +2454,6 @@ func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageResponse
|
||||
type BatchDeleteImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2491,7 +2486,6 @@ func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteI
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageRequest
|
||||
type BatchGetImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2576,7 +2570,6 @@ func (s *BatchGetImageInput) SetRepositoryName(v string) *BatchGetImageInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageResponse
|
||||
type BatchGetImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2609,7 +2602,6 @@ func (s *BatchGetImageOutput) SetImages(v []*Image) *BatchGetImageOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadRequest
|
||||
type CompleteLayerUploadInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2693,7 +2685,6 @@ func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadResponse
|
||||
type CompleteLayerUploadOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2744,7 +2735,6 @@ func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest
|
||||
type CreateRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2788,7 +2778,6 @@ func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryResponse
|
||||
type CreateRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2812,7 +2801,6 @@ func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryO
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyRequest
|
||||
type DeleteLifecyclePolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2865,7 +2853,6 @@ func (s *DeleteLifecyclePolicyInput) SetRepositoryName(v string) *DeleteLifecycl
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyResponse
|
||||
type DeleteLifecyclePolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2916,7 +2903,6 @@ func (s *DeleteLifecyclePolicyOutput) SetRepositoryName(v string) *DeleteLifecyc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest
|
||||
type DeleteRepositoryInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2977,7 +2963,6 @@ func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryResponse
|
||||
type DeleteRepositoryOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3001,7 +2986,6 @@ func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryO
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyRequest
|
||||
type DeleteRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3055,7 +3039,6 @@ func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteReposit
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyResponse
|
||||
type DeleteRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3098,7 +3081,6 @@ func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteReposi
|
|||
}
|
||||
|
||||
// An object representing a filter on a DescribeImages operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter
|
||||
type DescribeImagesFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3123,7 +3105,6 @@ func (s *DescribeImagesFilter) SetTagStatus(v string) *DescribeImagesFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest
|
||||
type DescribeImagesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3228,7 +3209,6 @@ func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesResponse
|
||||
type DescribeImagesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3264,7 +3244,6 @@ func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest
|
||||
type DescribeRepositoriesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3347,7 +3326,6 @@ func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRep
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesResponse
|
||||
type DescribeRepositoriesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3383,7 +3361,6 @@ func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeR
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest
|
||||
type GetAuthorizationTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3422,7 +3399,6 @@ func (s *GetAuthorizationTokenInput) SetRegistryIds(v []*string) *GetAuthorizati
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse
|
||||
type GetAuthorizationTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3447,7 +3423,6 @@ func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v []*AuthorizationDat
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerRequest
|
||||
type GetDownloadUrlForLayerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3513,7 +3488,6 @@ func (s *GetDownloadUrlForLayerInput) SetRepositoryName(v string) *GetDownloadUr
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerResponse
|
||||
type GetDownloadUrlForLayerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3546,7 +3520,6 @@ func (s *GetDownloadUrlForLayerOutput) SetLayerDigest(v string) *GetDownloadUrlF
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyRequest
|
||||
type GetLifecyclePolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3598,7 +3571,6 @@ func (s *GetLifecyclePolicyInput) SetRepositoryName(v string) *GetLifecyclePolic
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyResponse
|
||||
type GetLifecyclePolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3649,7 +3621,6 @@ func (s *GetLifecyclePolicyOutput) SetRepositoryName(v string) *GetLifecyclePoli
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewRequest
|
||||
type GetLifecyclePolicyPreviewInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3755,7 +3726,6 @@ func (s *GetLifecyclePolicyPreviewInput) SetRepositoryName(v string) *GetLifecyc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewResponse
|
||||
type GetLifecyclePolicyPreviewOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3836,7 +3806,6 @@ func (s *GetLifecyclePolicyPreviewOutput) SetSummary(v *LifecyclePolicyPreviewSu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyRequest
|
||||
type GetRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3888,7 +3857,6 @@ func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPol
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyResponse
|
||||
type GetRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3931,7 +3899,6 @@ func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPo
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image
|
||||
type Image struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3983,7 +3950,6 @@ func (s *Image) SetRepositoryName(v string) *Image {
|
|||
}
|
||||
|
||||
// An object that describes an image returned by a DescribeImages operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail
|
||||
type ImageDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4059,7 +4025,6 @@ func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail {
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image failure.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageFailure
|
||||
type ImageFailure struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4102,7 +4067,6 @@ func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure {
|
|||
}
|
||||
|
||||
// An object with identifying information for an Amazon ECR image.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageIdentifier
|
||||
type ImageIdentifier struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4135,7 +4099,6 @@ func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadRequest
|
||||
type InitiateLayerUploadInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4187,7 +4150,6 @@ func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUpl
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadResponse
|
||||
type InitiateLayerUploadOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4223,7 +4185,6 @@ func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOu
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image layer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Layer
|
||||
type Layer struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4276,7 +4237,6 @@ func (s *Layer) SetMediaType(v string) *Layer {
|
|||
}
|
||||
|
||||
// An object representing an Amazon ECR image layer failure.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerFailure
|
||||
type LayerFailure struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4319,7 +4279,6 @@ func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure {
|
|||
}
|
||||
|
||||
// The filter for the lifecycle policy preview.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewFilter
|
||||
type LifecyclePolicyPreviewFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4344,7 +4303,6 @@ func (s *LifecyclePolicyPreviewFilter) SetTagStatus(v string) *LifecyclePolicyPr
|
|||
}
|
||||
|
||||
// The result of the lifecycle policy preview.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult
|
||||
type LifecyclePolicyPreviewResult struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4406,7 +4364,6 @@ func (s *LifecyclePolicyPreviewResult) SetImageTags(v []*string) *LifecyclePolic
|
|||
}
|
||||
|
||||
// The summary of the lifecycle policy preview request.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary
|
||||
type LifecyclePolicyPreviewSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4431,7 +4388,6 @@ func (s *LifecyclePolicyPreviewSummary) SetExpiringImageTotalCount(v int64) *Lif
|
|||
}
|
||||
|
||||
// The type of action to be taken.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction
|
||||
type LifecyclePolicyRuleAction struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4456,7 +4412,6 @@ func (s *LifecyclePolicyRuleAction) SetType(v string) *LifecyclePolicyRuleAction
|
|||
}
|
||||
|
||||
// An object representing a filter on a ListImages operation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter
|
||||
type ListImagesFilter struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4481,7 +4436,6 @@ func (s *ListImagesFilter) SetTagStatus(v string) *ListImagesFilter {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesRequest
|
||||
type ListImagesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4576,7 +4530,6 @@ func (s *ListImagesInput) SetRepositoryName(v string) *ListImagesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesResponse
|
||||
type ListImagesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4612,7 +4565,6 @@ func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest
|
||||
type PutImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4689,7 +4641,6 @@ func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse
|
||||
type PutImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4713,7 +4664,6 @@ func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyRequest
|
||||
type PutLifecyclePolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4782,7 +4732,6 @@ func (s *PutLifecyclePolicyInput) SetRepositoryName(v string) *PutLifecyclePolic
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyResponse
|
||||
type PutLifecyclePolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4825,7 +4774,6 @@ func (s *PutLifecyclePolicyOutput) SetRepositoryName(v string) *PutLifecyclePoli
|
|||
}
|
||||
|
||||
// An object representing a repository.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository
|
||||
type Repository struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4889,7 +4837,6 @@ func (s *Repository) SetRepositoryUri(v string) *Repository {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest
|
||||
type SetRepositoryPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4966,7 +4913,6 @@ func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPol
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyResponse
|
||||
type SetRepositoryPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5008,7 +4954,6 @@ func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPo
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewRequest
|
||||
type StartLifecyclePolicyPreviewInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5073,7 +5018,6 @@ func (s *StartLifecyclePolicyPreviewInput) SetRepositoryName(v string) *StartLif
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewResponse
|
||||
type StartLifecyclePolicyPreviewOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5124,7 +5068,6 @@ func (s *StartLifecyclePolicyPreviewOutput) SetStatus(v string) *StartLifecycleP
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartRequest
|
||||
type UploadLayerPartInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5235,7 +5178,6 @@ func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartResponse
|
||||
type UploadLayerPartOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -682,6 +682,9 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re
|
|||
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
|
||||
// The specified protocol or signature version is not supported.
|
||||
//
|
||||
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
|
||||
// This operation is not allowed.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
|
||||
func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
|
||||
req, out := c.CreateLoadBalancerRequest(input)
|
||||
|
@ -2724,7 +2727,6 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerWithContext(ctx aws.Context, inpu
|
|||
}
|
||||
|
||||
// Information about the AccessLog attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessLog
|
||||
type AccessLog struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2796,7 +2798,6 @@ func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog {
|
|||
}
|
||||
|
||||
// Contains the parameters for AddTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2863,7 +2864,6 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of AddTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2879,7 +2879,6 @@ func (s AddTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// This data type is reserved.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AdditionalAttribute
|
||||
type AdditionalAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2913,7 +2912,6 @@ func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute {
|
|||
}
|
||||
|
||||
// Information about a policy for application-controlled session stickiness.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy
|
||||
type AppCookieStickinessPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2948,7 +2946,6 @@ func (s *AppCookieStickinessPolicy) SetPolicyName(v string) *AppCookieStickiness
|
|||
}
|
||||
|
||||
// Contains the parameters for ApplySecurityGroupsToLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput
|
||||
type ApplySecurityGroupsToLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3003,7 +3000,6 @@ func (s *ApplySecurityGroupsToLoadBalancerInput) SetSecurityGroups(v []*string)
|
|||
}
|
||||
|
||||
// Contains the output of ApplySecurityGroupsToLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput
|
||||
type ApplySecurityGroupsToLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3028,7 +3024,6 @@ func (s *ApplySecurityGroupsToLoadBalancerOutput) SetSecurityGroups(v []*string)
|
|||
}
|
||||
|
||||
// Contains the parameters for AttachLoaBalancerToSubnets.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput
|
||||
type AttachLoadBalancerToSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3083,7 +3078,6 @@ func (s *AttachLoadBalancerToSubnetsInput) SetSubnets(v []*string) *AttachLoadBa
|
|||
}
|
||||
|
||||
// Contains the output of AttachLoadBalancerToSubnets.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput
|
||||
type AttachLoadBalancerToSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3108,7 +3102,6 @@ func (s *AttachLoadBalancerToSubnetsOutput) SetSubnets(v []*string) *AttachLoadB
|
|||
}
|
||||
|
||||
// Information about the configuration of an EC2 instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription
|
||||
type BackendServerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3142,7 +3135,6 @@ func (s *BackendServerDescription) SetPolicyNames(v []*string) *BackendServerDes
|
|||
}
|
||||
|
||||
// Contains the parameters for ConfigureHealthCheck.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput
|
||||
type ConfigureHealthCheckInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3201,7 +3193,6 @@ func (s *ConfigureHealthCheckInput) SetLoadBalancerName(v string) *ConfigureHeal
|
|||
}
|
||||
|
||||
// Contains the output of ConfigureHealthCheck.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput
|
||||
type ConfigureHealthCheckOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3226,7 +3217,6 @@ func (s *ConfigureHealthCheckOutput) SetHealthCheck(v *HealthCheck) *ConfigureHe
|
|||
}
|
||||
|
||||
// Information about the ConnectionDraining attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining
|
||||
type ConnectionDraining struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3276,7 +3266,6 @@ func (s *ConnectionDraining) SetTimeout(v int64) *ConnectionDraining {
|
|||
}
|
||||
|
||||
// Information about the ConnectionSettings attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings
|
||||
type ConnectionSettings struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3320,7 +3309,6 @@ func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateAppCookieStickinessPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput
|
||||
type CreateAppCookieStickinessPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3390,7 +3378,6 @@ func (s *CreateAppCookieStickinessPolicyInput) SetPolicyName(v string) *CreateAp
|
|||
}
|
||||
|
||||
// Contains the output for CreateAppCookieStickinessPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput
|
||||
type CreateAppCookieStickinessPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3406,7 +3393,6 @@ func (s CreateAppCookieStickinessPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLBCookieStickinessPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyInput
|
||||
type CreateLBCookieStickinessPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3474,7 +3460,6 @@ func (s *CreateLBCookieStickinessPolicyInput) SetPolicyName(v string) *CreateLBC
|
|||
}
|
||||
|
||||
// Contains the output for CreateLBCookieStickinessPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput
|
||||
type CreateLBCookieStickinessPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3490,7 +3475,6 @@ func (s CreateLBCookieStickinessPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointInput
|
||||
type CreateLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3638,7 +3622,6 @@ func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput {
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerListeners.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput
|
||||
type CreateLoadBalancerListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3702,7 +3685,6 @@ func (s *CreateLoadBalancerListenersInput) SetLoadBalancerName(v string) *Create
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerListener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput
|
||||
type CreateLoadBalancerListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3718,7 +3700,6 @@ func (s CreateLoadBalancerListenersOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the output for CreateLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointOutput
|
||||
type CreateLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3743,7 +3724,6 @@ func (s *CreateLoadBalancerOutput) SetDNSName(v string) *CreateLoadBalancerOutpu
|
|||
}
|
||||
|
||||
// Contains the parameters for CreateLoadBalancerPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput
|
||||
type CreateLoadBalancerPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3821,7 +3801,6 @@ func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadB
|
|||
}
|
||||
|
||||
// Contains the output of CreateLoadBalancerPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput
|
||||
type CreateLoadBalancerPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3837,7 +3816,6 @@ func (s CreateLoadBalancerPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about the CrossZoneLoadBalancing attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CrossZoneLoadBalancing
|
||||
type CrossZoneLoadBalancing struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3877,7 +3855,6 @@ func (s *CrossZoneLoadBalancing) SetEnabled(v bool) *CrossZoneLoadBalancing {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput
|
||||
type DeleteLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3917,7 +3894,6 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalan
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancerListeners.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput
|
||||
type DeleteLoadBalancerListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3971,7 +3947,6 @@ func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *Del
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancerListeners.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput
|
||||
type DeleteLoadBalancerListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3987,7 +3962,6 @@ func (s DeleteLoadBalancerListenersOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointOutput
|
||||
type DeleteLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4003,7 +3977,6 @@ func (s DeleteLoadBalancerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeleteLoadBalancerPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyInput
|
||||
type DeleteLoadBalancerPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4057,7 +4030,6 @@ func (s *DeleteLoadBalancerPolicyInput) SetPolicyName(v string) *DeleteLoadBalan
|
|||
}
|
||||
|
||||
// Contains the output of DeleteLoadBalancerPolicy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput
|
||||
type DeleteLoadBalancerPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4073,7 +4045,6 @@ func (s DeleteLoadBalancerPolicyOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for DeregisterInstancesFromLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsInput
|
||||
type DeregisterInstancesFromLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4127,7 +4098,6 @@ func (s *DeregisterInstancesFromLoadBalancerInput) SetLoadBalancerName(v string)
|
|||
}
|
||||
|
||||
// Contains the output of DeregisterInstancesFromLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput
|
||||
type DeregisterInstancesFromLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4151,7 +4121,6 @@ func (s *DeregisterInstancesFromLoadBalancerOutput) SetInstances(v []*Instance)
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsInput
|
||||
type DescribeAccountLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4198,7 +4167,6 @@ func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimits
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsOutput
|
||||
type DescribeAccountLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4233,7 +4201,6 @@ func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLi
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeInstanceHealth.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput
|
||||
type DescribeInstanceHealthInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4282,7 +4249,6 @@ func (s *DescribeInstanceHealthInput) SetLoadBalancerName(v string) *DescribeIns
|
|||
}
|
||||
|
||||
// Contains the output for DescribeInstanceHealth.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput
|
||||
type DescribeInstanceHealthOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4307,7 +4273,6 @@ func (s *DescribeInstanceHealthOutput) SetInstanceStates(v []*InstanceState) *De
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerAttributes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput
|
||||
type DescribeLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4347,7 +4312,6 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Des
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerAttributes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput
|
||||
type DescribeLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4372,7 +4336,6 @@ func (s *DescribeLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *Load
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerPolicies.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput
|
||||
type DescribeLoadBalancerPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4406,7 +4369,6 @@ func (s *DescribeLoadBalancerPoliciesInput) SetPolicyNames(v []*string) *Describ
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerPolicies.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput
|
||||
type DescribeLoadBalancerPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4431,7 +4393,6 @@ func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDe
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancerPolicyTypes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput
|
||||
type DescribeLoadBalancerPolicyTypesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4457,7 +4418,6 @@ func (s *DescribeLoadBalancerPolicyTypesInput) SetPolicyTypeNames(v []*string) *
|
|||
}
|
||||
|
||||
// Contains the output of DescribeLoadBalancerPolicyTypes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput
|
||||
type DescribeLoadBalancerPolicyTypesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4482,7 +4442,6 @@ func (s *DescribeLoadBalancerPolicyTypesOutput) SetPolicyTypeDescriptions(v []*P
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancers.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput
|
||||
type DescribeLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4540,7 +4499,6 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeLoadBalancers.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput
|
||||
type DescribeLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4575,7 +4533,6 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan
|
|||
}
|
||||
|
||||
// Contains the parameters for DescribeTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4618,7 +4575,6 @@ func (s *DescribeTagsInput) SetLoadBalancerNames(v []*string) *DescribeTagsInput
|
|||
}
|
||||
|
||||
// Contains the output for DescribeTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4643,7 +4599,6 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa
|
|||
}
|
||||
|
||||
// Contains the parameters for DetachLoadBalancerFromSubnets.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput
|
||||
type DetachLoadBalancerFromSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4697,7 +4652,6 @@ func (s *DetachLoadBalancerFromSubnetsInput) SetSubnets(v []*string) *DetachLoad
|
|||
}
|
||||
|
||||
// Contains the output of DetachLoadBalancerFromSubnets.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput
|
||||
type DetachLoadBalancerFromSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4722,7 +4676,6 @@ func (s *DetachLoadBalancerFromSubnetsOutput) SetSubnets(v []*string) *DetachLoa
|
|||
}
|
||||
|
||||
// Contains the parameters for DisableAvailabilityZonesForLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput
|
||||
type DisableAvailabilityZonesForLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4776,7 +4729,6 @@ func (s *DisableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v str
|
|||
}
|
||||
|
||||
// Contains the output for DisableAvailabilityZonesForLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput
|
||||
type DisableAvailabilityZonesForLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4801,7 +4753,6 @@ func (s *DisableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v [
|
|||
}
|
||||
|
||||
// Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput
|
||||
type EnableAvailabilityZonesForLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4855,7 +4806,6 @@ func (s *EnableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v stri
|
|||
}
|
||||
|
||||
// Contains the output of EnableAvailabilityZonesForLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput
|
||||
type EnableAvailabilityZonesForLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4880,7 +4830,6 @@ func (s *EnableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []
|
|||
}
|
||||
|
||||
// Information about a health check.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck
|
||||
type HealthCheck struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5011,7 +4960,6 @@ func (s *HealthCheck) SetUnhealthyThreshold(v int64) *HealthCheck {
|
|||
}
|
||||
|
||||
// The ID of an EC2 instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance
|
||||
type Instance struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5036,7 +4984,6 @@ func (s *Instance) SetInstanceId(v string) *Instance {
|
|||
}
|
||||
|
||||
// Information about the state of an EC2 instance.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState
|
||||
type InstanceState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5121,7 +5068,6 @@ func (s *InstanceState) SetState(v string) *InstanceState {
|
|||
}
|
||||
|
||||
// Information about a policy for duration-based session stickiness.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy
|
||||
type LBCookieStickinessPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5158,7 +5104,6 @@ func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPo
|
|||
}
|
||||
|
||||
// Information about an Elastic Load Balancing resource limit for your AWS account.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Limit
|
||||
type Limit struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5200,7 +5145,6 @@ func (s *Limit) SetName(v string) *Limit {
|
|||
// For information about the protocols and the ports supported by Elastic Load
|
||||
// Balancing, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html)
|
||||
// in the Classic Load Balancer Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Listener
|
||||
type Listener struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5302,7 +5246,6 @@ func (s *Listener) SetSSLCertificateId(v string) *Listener {
|
|||
}
|
||||
|
||||
// The policies enabled for a listener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription
|
||||
type ListenerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5336,7 +5279,6 @@ func (s *ListenerDescription) SetPolicyNames(v []*string) *ListenerDescription {
|
|||
}
|
||||
|
||||
// The attributes for a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes
|
||||
type LoadBalancerAttributes struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5445,7 +5387,6 @@ func (s *LoadBalancerAttributes) SetCrossZoneLoadBalancing(v *CrossZoneLoadBalan
|
|||
}
|
||||
|
||||
// Information about a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription
|
||||
type LoadBalancerDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5618,7 +5559,6 @@ func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription {
|
|||
}
|
||||
|
||||
// Contains the parameters for ModifyLoadBalancerAttributes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput
|
||||
type ModifyLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5677,7 +5617,6 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Modif
|
|||
}
|
||||
|
||||
// Contains the output of ModifyLoadBalancerAttributes.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput
|
||||
type ModifyLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5711,7 +5650,6 @@ func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerName(v string) *Modi
|
|||
}
|
||||
|
||||
// The policies for a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies
|
||||
type Policies struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5754,7 +5692,6 @@ func (s *Policies) SetOtherPolicies(v []*string) *Policies {
|
|||
}
|
||||
|
||||
// Information about a policy attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute
|
||||
type PolicyAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5788,7 +5725,6 @@ func (s *PolicyAttribute) SetAttributeValue(v string) *PolicyAttribute {
|
|||
}
|
||||
|
||||
// Information about a policy attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription
|
||||
type PolicyAttributeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5822,7 +5758,6 @@ func (s *PolicyAttributeDescription) SetAttributeValue(v string) *PolicyAttribut
|
|||
}
|
||||
|
||||
// Information about a policy attribute type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription
|
||||
type PolicyAttributeTypeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5893,7 +5828,6 @@ func (s *PolicyAttributeTypeDescription) SetDescription(v string) *PolicyAttribu
|
|||
}
|
||||
|
||||
// Information about a policy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription
|
||||
type PolicyDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5936,7 +5870,6 @@ func (s *PolicyDescription) SetPolicyTypeName(v string) *PolicyDescription {
|
|||
}
|
||||
|
||||
// Information about a policy type.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription
|
||||
type PolicyTypeDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5980,7 +5913,6 @@ func (s *PolicyTypeDescription) SetPolicyTypeName(v string) *PolicyTypeDescripti
|
|||
}
|
||||
|
||||
// Contains the parameters for RegisterInstancesWithLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput
|
||||
type RegisterInstancesWithLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6034,7 +5966,6 @@ func (s *RegisterInstancesWithLoadBalancerInput) SetLoadBalancerName(v string) *
|
|||
}
|
||||
|
||||
// Contains the output of RegisterInstancesWithLoadBalancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput
|
||||
type RegisterInstancesWithLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6059,7 +5990,6 @@ func (s *RegisterInstancesWithLoadBalancerOutput) SetInstances(v []*Instance) *R
|
|||
}
|
||||
|
||||
// Contains the parameters for RemoveTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6127,7 +6057,6 @@ func (s *RemoveTagsInput) SetTags(v []*TagKeyOnly) *RemoveTagsInput {
|
|||
}
|
||||
|
||||
// Contains the output of RemoveTags.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6143,7 +6072,6 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancerListenerSSLCertificate.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateInput
|
||||
type SetLoadBalancerListenerSSLCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6211,7 +6139,6 @@ func (s *SetLoadBalancerListenerSSLCertificateInput) SetSSLCertificateId(v strin
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancerListenerSSLCertificate.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput
|
||||
type SetLoadBalancerListenerSSLCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6227,7 +6154,6 @@ func (s SetLoadBalancerListenerSSLCertificateOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerInput
|
||||
type SetLoadBalancerPoliciesForBackendServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6296,7 +6222,6 @@ func (s *SetLoadBalancerPoliciesForBackendServerInput) SetPolicyNames(v []*strin
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancerPoliciesForBackendServer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput
|
||||
type SetLoadBalancerPoliciesForBackendServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6312,7 +6237,6 @@ func (s SetLoadBalancerPoliciesForBackendServerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains the parameters for SetLoadBalancePoliciesOfListener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerInput
|
||||
type SetLoadBalancerPoliciesOfListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6382,7 +6306,6 @@ func (s *SetLoadBalancerPoliciesOfListenerInput) SetPolicyNames(v []*string) *Se
|
|||
}
|
||||
|
||||
// Contains the output of SetLoadBalancePoliciesOfListener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput
|
||||
type SetLoadBalancerPoliciesOfListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6398,7 +6321,6 @@ func (s SetLoadBalancerPoliciesOfListenerOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about a source security group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SourceSecurityGroup
|
||||
type SourceSecurityGroup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6432,7 +6354,6 @@ func (s *SourceSecurityGroup) SetOwnerAlias(v string) *SourceSecurityGroup {
|
|||
}
|
||||
|
||||
// Information about a tag.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6484,7 +6405,6 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The tags associated with a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription
|
||||
type TagDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6518,7 +6438,6 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
|
|||
}
|
||||
|
||||
// The key of a tag.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly
|
||||
type TagKeyOnly struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -3,27 +3,22 @@
|
|||
// Package elb provides the client and types for making API
|
||||
// requests to Elastic Load Balancing.
|
||||
//
|
||||
// A load balancer distributes incoming traffic across your EC2 instances. This
|
||||
// enables you to increase the availability of your application. The load balancer
|
||||
// also monitors the health of its registered instances and ensures that it
|
||||
// routes traffic only to healthy instances. You configure your load balancer
|
||||
// to accept incoming traffic by specifying one or more listeners, which are
|
||||
// configured with a protocol and port number for connections from clients to
|
||||
// the load balancer and a protocol and port number for connections from the
|
||||
// load balancer to the instances.
|
||||
// A load balancer can distribute incoming traffic across your EC2 instances.
|
||||
// This enables you to increase the availability of your application. The load
|
||||
// balancer also monitors the health of its registered instances and ensures
|
||||
// that it routes traffic only to healthy instances. You configure your load
|
||||
// balancer to accept incoming traffic by specifying one or more listeners,
|
||||
// which are configured with a protocol and port number for connections from
|
||||
// clients to the load balancer and a protocol and port number for connections
|
||||
// from the load balancer to the instances.
|
||||
//
|
||||
// Elastic Load Balancing supports two types of load balancers: Classic Load
|
||||
// Balancers and Application Load Balancers (new). A Classic Load Balancer makes
|
||||
// routing and load balancing decisions either at the transport layer (TCP/SSL)
|
||||
// or the application layer (HTTP/HTTPS), and supports either EC2-Classic or
|
||||
// a VPC. An Application Load Balancer makes routing and load balancing decisions
|
||||
// at the application layer (HTTP/HTTPS), supports path-based routing, and can
|
||||
// route requests to one or more ports on each EC2 instance or container instance
|
||||
// in your virtual private cloud (VPC). For more information, see the Elastic
|
||||
// Load Balancing User Guide (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html).
|
||||
// Elastic Load Balancing supports three types of load balancers: Application
|
||||
// Load Balancers, Network Load Balancers, and Classic Load Balancers. You can
|
||||
// select a load balancer based on your application needs. For more information,
|
||||
// see the Elastic Load Balancing User Guide (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).
|
||||
//
|
||||
// This reference covers the 2012-06-01 API, which supports Classic Load Balancers.
|
||||
// The 2015-12-01 API supports Application Load Balancers.
|
||||
// The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.
|
||||
//
|
||||
// To get started, create a load balancer with one or more listeners using CreateLoadBalancer.
|
||||
// Register your instances with the load balancer using RegisterInstancesWithLoadBalancer.
|
||||
|
|
|
@ -91,6 +91,12 @@ const (
|
|||
// The specified load balancer attribute does not exist.
|
||||
ErrCodeLoadBalancerAttributeNotFoundException = "LoadBalancerAttributeNotFound"
|
||||
|
||||
// ErrCodeOperationNotPermittedException for service response error code
|
||||
// "OperationNotPermitted".
|
||||
//
|
||||
// This operation is not allowed.
|
||||
ErrCodeOperationNotPermittedException = "OperationNotPermitted"
|
||||
|
||||
// ErrCodePolicyNotFoundException for service response error code
|
||||
// "PolicyNotFound".
|
||||
//
|
||||
|
|
|
@ -245,14 +245,12 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.
|
|||
// Creates a listener for the specified Application Load Balancer or Network
|
||||
// Load Balancer.
|
||||
//
|
||||
// You can create up to 10 listeners per load balancer.
|
||||
//
|
||||
// To update a listener, use ModifyListener. When you are finished with a listener,
|
||||
// you can delete it using DeleteListener. If you are finished with both the
|
||||
// listener and the load balancer, you can delete them both using DeleteLoadBalancer.
|
||||
//
|
||||
// This operation is idempotent, which means that it completes at most one time.
|
||||
// If you attempt to create multiple listeners with the same settings, each
|
||||
// call succeeds.
|
||||
//
|
||||
// For more information, see Listeners for Your Application Load Balancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html)
|
||||
// in the Application Load Balancers Guide and Listeners for Your Network Load
|
||||
// Balancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html)
|
||||
|
@ -382,15 +380,13 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *
|
|||
// your current load balancers, see DescribeLoadBalancers. When you are finished
|
||||
// with a load balancer, you can delete it using DeleteLoadBalancer.
|
||||
//
|
||||
// For limit information, see Limits for Your Application Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html)
|
||||
// You can create up to 20 load balancers per region per account. You can request
|
||||
// an increase for the number of load balancers for your account. For more information,
|
||||
// see Limits for Your Application Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html)
|
||||
// in the Application Load Balancers Guide and Limits for Your Network Load
|
||||
// Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html)
|
||||
// in the Network Load Balancers Guide.
|
||||
//
|
||||
// This operation is idempotent, which means that it completes at most one time.
|
||||
// If you attempt to create multiple load balancers with the same settings,
|
||||
// each call succeeds.
|
||||
//
|
||||
// For more information, see Application Load Balancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html)
|
||||
// in the Application Load Balancers Guide and Network Load Balancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html)
|
||||
// in the Network Load Balancers Guide.
|
||||
|
@ -439,6 +435,9 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *
|
|||
// * ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported"
|
||||
// The specified Availability Zone is not supported.
|
||||
//
|
||||
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
|
||||
// This operation is not allowed.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer
|
||||
func (c *ELBV2) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
|
||||
req, out := c.CreateLoadBalancerRequest(input)
|
||||
|
@ -634,10 +633,6 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re
|
|||
//
|
||||
// To delete a target group, use DeleteTargetGroup.
|
||||
//
|
||||
// This operation is idempotent, which means that it completes at most one time.
|
||||
// If you attempt to create multiple target groups with the same settings, each
|
||||
// call succeeds.
|
||||
//
|
||||
// For more information, see Target Groups for Your Application Load Balancers
|
||||
// (http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html)
|
||||
// in the Application Load Balancers Guide or Target Groups for Your Network
|
||||
|
@ -1083,8 +1078,8 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re
|
|||
// The specified target group does not exist.
|
||||
//
|
||||
// * ErrCodeInvalidTargetException "InvalidTarget"
|
||||
// The specified target does not exist, is not in the same VPC as the target
|
||||
// group, or has an unsupported instance type.
|
||||
// The specified target does not exist or is not in the same VPC as the target
|
||||
// group.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets
|
||||
func (c *ELBV2) DeregisterTargets(input *DeregisterTargetsInput) (*DeregisterTargetsOutput, error) {
|
||||
|
@ -2158,8 +2153,8 @@ func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (r
|
|||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidTargetException "InvalidTarget"
|
||||
// The specified target does not exist, is not in the same VPC as the target
|
||||
// group, or has an unsupported instance type.
|
||||
// The specified target does not exist or is not in the same VPC as the target
|
||||
// group.
|
||||
//
|
||||
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
|
||||
// The specified target group does not exist.
|
||||
|
@ -2743,8 +2738,8 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques
|
|||
// You've reached the limit on the number of targets.
|
||||
//
|
||||
// * ErrCodeInvalidTargetException "InvalidTarget"
|
||||
// The specified target does not exist, is not in the same VPC as the target
|
||||
// group, or has an unsupported instance type.
|
||||
// The specified target does not exist or is not in the same VPC as the target
|
||||
// group.
|
||||
//
|
||||
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
|
||||
// You've reached the limit on the number of times a target can be registered
|
||||
|
@ -3317,7 +3312,6 @@ func (c *ELBV2) SetSubnetsWithContext(ctx aws.Context, input *SetSubnetsInput, o
|
|||
}
|
||||
|
||||
// Information about an action.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action
|
||||
type Action struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3370,7 +3364,6 @@ func (s *Action) SetType(v string) *Action {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesInput
|
||||
type AddListenerCertificatesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3423,7 +3416,6 @@ func (s *AddListenerCertificatesInput) SetListenerArn(v string) *AddListenerCert
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesOutput
|
||||
type AddListenerCertificatesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3447,7 +3439,6 @@ func (s *AddListenerCertificatesOutput) SetCertificates(v []*Certificate) *AddLi
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput
|
||||
type AddTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3513,7 +3504,6 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsOutput
|
||||
type AddTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -3529,7 +3519,6 @@ func (s AddTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about an Availability Zone.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone
|
||||
type AvailabilityZone struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3572,7 +3561,6 @@ func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone {
|
|||
}
|
||||
|
||||
// Information about an SSL server certificate.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate
|
||||
type Certificate struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3606,7 +3594,6 @@ func (s *Certificate) SetIsDefault(v bool) *Certificate {
|
|||
}
|
||||
|
||||
// Information about a cipher used in a policy.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Cipher
|
||||
type Cipher struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3639,7 +3626,6 @@ func (s *Cipher) SetPriority(v int64) *Cipher {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput
|
||||
type CreateListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3757,7 +3743,6 @@ func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerOutput
|
||||
type CreateListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3781,7 +3766,6 @@ func (s *CreateListenerOutput) SetListeners(v []*Listener) *CreateListenerOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput
|
||||
type CreateLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3821,11 +3805,10 @@ type CreateLoadBalancerInput struct {
|
|||
// one subnet per Availability Zone. You must specify either subnets or subnet
|
||||
// mappings.
|
||||
//
|
||||
// [Application Load Balancers] You must specify subnets from at least two Availability
|
||||
// Zones. You cannot specify Elastic IP addresses for your subnets.
|
||||
// [Network Load Balancers] You can specify one Elastic IP address per subnet.
|
||||
//
|
||||
// [Network Load Balancers] You can specify subnets from one or more Availability
|
||||
// Zones. You can specify one Elastic IP address per subnet.
|
||||
// [Application Load Balancers] You cannot specify Elastic IP addresses for
|
||||
// your subnets.
|
||||
SubnetMappings []*SubnetMapping `type:"list"`
|
||||
|
||||
// The IDs of the subnets to attach to the load balancer. You can specify only
|
||||
|
@ -3834,9 +3817,6 @@ type CreateLoadBalancerInput struct {
|
|||
//
|
||||
// [Application Load Balancers] You must specify subnets from at least two Availability
|
||||
// Zones.
|
||||
//
|
||||
// [Network Load Balancers] You can specify subnets from one or more Availability
|
||||
// Zones.
|
||||
Subnets []*string `type:"list"`
|
||||
|
||||
// One or more tags to assign to the load balancer.
|
||||
|
@ -3930,7 +3910,6 @@ func (s *CreateLoadBalancerInput) SetType(v string) *CreateLoadBalancerInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerOutput
|
||||
type CreateLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3954,7 +3933,6 @@ func (s *CreateLoadBalancerOutput) SetLoadBalancers(v []*LoadBalancer) *CreateLo
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput
|
||||
type CreateRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4077,7 +4055,6 @@ func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleOutput
|
||||
type CreateRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4101,7 +4078,6 @@ func (s *CreateRuleOutput) SetRules(v []*Rule) *CreateRuleOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput
|
||||
type CreateTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4321,7 +4297,6 @@ func (s *CreateTargetGroupInput) SetVpcId(v string) *CreateTargetGroupInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupOutput
|
||||
type CreateTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4345,7 +4320,6 @@ func (s *CreateTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *CreateTarge
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerInput
|
||||
type DeleteListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4384,7 +4358,6 @@ func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerOutput
|
||||
type DeleteListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4399,7 +4372,6 @@ func (s DeleteListenerOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerInput
|
||||
type DeleteLoadBalancerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4438,7 +4410,6 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalanc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerOutput
|
||||
type DeleteLoadBalancerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4453,7 +4424,6 @@ func (s DeleteLoadBalancerOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleInput
|
||||
type DeleteRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4492,7 +4462,6 @@ func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleOutput
|
||||
type DeleteRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4507,7 +4476,6 @@ func (s DeleteRuleOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupInput
|
||||
type DeleteTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4546,7 +4514,6 @@ func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupI
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupOutput
|
||||
type DeleteTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4561,7 +4528,6 @@ func (s DeleteTargetGroupOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsInput
|
||||
type DeregisterTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4625,7 +4591,6 @@ func (s *DeregisterTargetsInput) SetTargets(v []*TargetDescription) *DeregisterT
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsOutput
|
||||
type DeregisterTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4640,7 +4605,6 @@ func (s DeregisterTargetsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsInput
|
||||
type DescribeAccountLimitsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4687,7 +4651,6 @@ func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimits
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsOutput
|
||||
type DescribeAccountLimitsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4721,7 +4684,6 @@ func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLi
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesInput
|
||||
type DescribeListenerCertificatesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4782,7 +4744,6 @@ func (s *DescribeListenerCertificatesInput) SetPageSize(v int64) *DescribeListen
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesOutput
|
||||
type DescribeListenerCertificatesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4816,7 +4777,6 @@ func (s *DescribeListenerCertificatesOutput) SetNextMarker(v string) *DescribeLi
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersInput
|
||||
type DescribeListenersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4881,7 +4841,6 @@ func (s *DescribeListenersInput) SetPageSize(v int64) *DescribeListenersInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersOutput
|
||||
type DescribeListenersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4915,7 +4874,6 @@ func (s *DescribeListenersOutput) SetNextMarker(v string) *DescribeListenersOutp
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesInput
|
||||
type DescribeLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4954,7 +4912,6 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Desc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesOutput
|
||||
type DescribeLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4978,7 +4935,6 @@ func (s *DescribeLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAt
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersInput
|
||||
type DescribeLoadBalancersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5044,7 +5000,6 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersOutput
|
||||
type DescribeLoadBalancersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5078,7 +5033,6 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesInput
|
||||
type DescribeRulesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5143,7 +5097,6 @@ func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesOutput
|
||||
type DescribeRulesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5177,7 +5130,6 @@ func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesInput
|
||||
type DescribeSSLPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5233,7 +5185,6 @@ func (s *DescribeSSLPoliciesInput) SetPageSize(v int64) *DescribeSSLPoliciesInpu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesOutput
|
||||
type DescribeSSLPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5267,7 +5218,6 @@ func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLP
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput
|
||||
type DescribeTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5306,7 +5256,6 @@ func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsOutput
|
||||
type DescribeTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5330,7 +5279,6 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesInput
|
||||
type DescribeTargetGroupAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5369,7 +5317,6 @@ func (s *DescribeTargetGroupAttributesInput) SetTargetGroupArn(v string) *Descri
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesOutput
|
||||
type DescribeTargetGroupAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5393,7 +5340,6 @@ func (s *DescribeTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttr
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsInput
|
||||
type DescribeTargetGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5467,7 +5413,6 @@ func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTar
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsOutput
|
||||
type DescribeTargetGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5501,7 +5446,6 @@ func (s *DescribeTargetGroupsOutput) SetTargetGroups(v []*TargetGroup) *Describe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthInput
|
||||
type DescribeTargetHealthInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5559,7 +5503,6 @@ func (s *DescribeTargetHealthInput) SetTargets(v []*TargetDescription) *Describe
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthOutput
|
||||
type DescribeTargetHealthOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5584,7 +5527,6 @@ func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHeal
|
|||
}
|
||||
|
||||
// Information about an Elastic Load Balancing resource limit for your AWS account.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Limit
|
||||
type Limit struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5606,10 +5548,6 @@ type Limit struct {
|
|||
// * target-groups
|
||||
//
|
||||
// * targets-per-application-load-balancer
|
||||
//
|
||||
// * targets-per-availability-zone-per-network-load-balancer
|
||||
//
|
||||
// * targets-per-network-load-balancer
|
||||
Name *string `type:"string"`
|
||||
}
|
||||
|
||||
|
@ -5636,7 +5574,6 @@ func (s *Limit) SetName(v string) *Limit {
|
|||
}
|
||||
|
||||
// Information about a listener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener
|
||||
type Listener struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5717,7 +5654,6 @@ func (s *Listener) SetSslPolicy(v string) *Listener {
|
|||
}
|
||||
|
||||
// Information about a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer
|
||||
type LoadBalancer struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5851,7 +5787,6 @@ func (s *LoadBalancer) SetVpcId(v string) *LoadBalancer {
|
|||
}
|
||||
|
||||
// Information about a static IP address for a load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress
|
||||
type LoadBalancerAddress struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5885,7 +5820,6 @@ func (s *LoadBalancerAddress) SetIpAddress(v string) *LoadBalancerAddress {
|
|||
}
|
||||
|
||||
// Information about a load balancer attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAttribute
|
||||
type LoadBalancerAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5939,7 +5873,6 @@ func (s *LoadBalancerAttribute) SetValue(v string) *LoadBalancerAttribute {
|
|||
}
|
||||
|
||||
// Information about the state of the load balancer.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerState
|
||||
type LoadBalancerState struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5975,7 +5908,6 @@ func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState {
|
|||
}
|
||||
|
||||
// Information to use when checking for a successful response from a target.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher
|
||||
type Matcher struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6020,7 +5952,6 @@ func (s *Matcher) SetHttpCode(v string) *Matcher {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput
|
||||
type ModifyListenerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6123,7 +6054,6 @@ func (s *ModifyListenerInput) SetSslPolicy(v string) *ModifyListenerInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerOutput
|
||||
type ModifyListenerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6147,7 +6077,6 @@ func (s *ModifyListenerOutput) SetListeners(v []*Listener) *ModifyListenerOutput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesInput
|
||||
type ModifyLoadBalancerAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6200,7 +6129,6 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Modify
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesOutput
|
||||
type ModifyLoadBalancerAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6224,7 +6152,6 @@ func (s *ModifyLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAttr
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput
|
||||
type ModifyRuleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6291,7 +6218,6 @@ func (s *ModifyRuleInput) SetRuleArn(v string) *ModifyRuleInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleOutput
|
||||
type ModifyRuleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6315,7 +6241,6 @@ func (s *ModifyRuleOutput) SetRules(v []*Rule) *ModifyRuleOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput
|
||||
type ModifyTargetGroupAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6368,7 +6293,6 @@ func (s *ModifyTargetGroupAttributesInput) SetTargetGroupArn(v string) *ModifyTa
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput
|
||||
type ModifyTargetGroupAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6392,7 +6316,6 @@ func (s *ModifyTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttrib
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput
|
||||
type ModifyTargetGroupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6533,7 +6456,6 @@ func (s *ModifyTargetGroupInput) SetUnhealthyThresholdCount(v int64) *ModifyTarg
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupOutput
|
||||
type ModifyTargetGroupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6557,7 +6479,6 @@ func (s *ModifyTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *ModifyTarge
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput
|
||||
type RegisterTargetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6620,7 +6541,6 @@ func (s *RegisterTargetsInput) SetTargets(v []*TargetDescription) *RegisterTarge
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsOutput
|
||||
type RegisterTargetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6635,7 +6555,6 @@ func (s RegisterTargetsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesInput
|
||||
type RemoveListenerCertificatesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6688,7 +6607,6 @@ func (s *RemoveListenerCertificatesInput) SetListenerArn(v string) *RemoveListen
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesOutput
|
||||
type RemoveListenerCertificatesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6703,7 +6621,6 @@ func (s RemoveListenerCertificatesOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsInput
|
||||
type RemoveTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6756,7 +6673,6 @@ func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsOutput
|
||||
type RemoveTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6772,7 +6688,6 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Information about a rule.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Rule
|
||||
type Rule struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6833,7 +6748,6 @@ func (s *Rule) SetRuleArn(v string) *Rule {
|
|||
}
|
||||
|
||||
// Information about a condition for a rule.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition
|
||||
type RuleCondition struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6895,7 +6809,6 @@ func (s *RuleCondition) SetValues(v []*string) *RuleCondition {
|
|||
}
|
||||
|
||||
// Information about the priorities for the rules for a listener.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RulePriorityPair
|
||||
type RulePriorityPair struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6941,7 +6854,6 @@ func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput
|
||||
type SetIpAddressTypeInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6996,7 +6908,6 @@ func (s *SetIpAddressTypeInput) SetLoadBalancerArn(v string) *SetIpAddressTypeIn
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeOutput
|
||||
type SetIpAddressTypeOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7020,7 +6931,6 @@ func (s *SetIpAddressTypeOutput) SetIpAddressType(v string) *SetIpAddressTypeOut
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesInput
|
||||
type SetRulePrioritiesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7069,7 +6979,6 @@ func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesOutput
|
||||
type SetRulePrioritiesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7093,7 +7002,6 @@ func (s *SetRulePrioritiesOutput) SetRules(v []*Rule) *SetRulePrioritiesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput
|
||||
type SetSecurityGroupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7146,7 +7054,6 @@ func (s *SetSecurityGroupsInput) SetSecurityGroups(v []*string) *SetSecurityGrou
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput
|
||||
type SetSecurityGroupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7170,7 +7077,6 @@ func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityG
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput
|
||||
type SetSubnetsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7183,7 +7089,8 @@ type SetSubnetsInput struct {
|
|||
// Zones. You can specify only one subnet per Availability Zone. You must specify
|
||||
// either subnets or subnet mappings.
|
||||
//
|
||||
// You cannot specify Elastic IP addresses for your subnets.
|
||||
// The load balancer is allocated one static IP address per subnet. You cannot
|
||||
// specify your own Elastic IP addresses.
|
||||
SubnetMappings []*SubnetMapping `type:"list"`
|
||||
|
||||
// The IDs of the subnets. You must specify subnets from at least two Availability
|
||||
|
@ -7238,7 +7145,6 @@ func (s *SetSubnetsInput) SetSubnets(v []*string) *SetSubnetsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput
|
||||
type SetSubnetsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7263,7 +7169,6 @@ func (s *SetSubnetsOutput) SetAvailabilityZones(v []*AvailabilityZone) *SetSubne
|
|||
}
|
||||
|
||||
// Information about a policy used for SSL negotiation.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SslPolicy
|
||||
type SslPolicy struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7306,7 +7211,6 @@ func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy {
|
|||
}
|
||||
|
||||
// Information about a subnet mapping.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping
|
||||
type SubnetMapping struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7340,7 +7244,6 @@ func (s *SubnetMapping) SetSubnetId(v string) *SubnetMapping {
|
|||
}
|
||||
|
||||
// Information about a tag.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7392,7 +7295,6 @@ func (s *Tag) SetValue(v string) *Tag {
|
|||
}
|
||||
|
||||
// The tags associated with a resource.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TagDescription
|
||||
type TagDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7426,7 +7328,6 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
|
|||
}
|
||||
|
||||
// Information about a target.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription
|
||||
type TargetDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7498,7 +7399,6 @@ func (s *TargetDescription) SetPort(v int64) *TargetDescription {
|
|||
}
|
||||
|
||||
// Information about a target group.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup
|
||||
type TargetGroup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7656,7 +7556,6 @@ func (s *TargetGroup) SetVpcId(v string) *TargetGroup {
|
|||
}
|
||||
|
||||
// Information about a target group attribute.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAttribute
|
||||
type TargetGroupAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7667,9 +7566,6 @@ type TargetGroupAttribute struct {
|
|||
// from draining to unused. The range is 0-3600 seconds. The default value
|
||||
// is 300 seconds.
|
||||
//
|
||||
// * proxy_protocol_v2.enabled - [Network Load Balancers] Indicates whether
|
||||
// Proxy Protocol version 2 is enabled.
|
||||
//
|
||||
// * stickiness.enabled - [Application Load Balancers] Indicates whether
|
||||
// sticky sessions are enabled. The value is true or false.
|
||||
//
|
||||
|
@ -7710,7 +7606,6 @@ func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute {
|
|||
}
|
||||
|
||||
// Information about the current health of a target.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealth
|
||||
type TargetHealth struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7797,7 +7692,6 @@ func (s *TargetHealth) SetState(v string) *TargetHealth {
|
|||
}
|
||||
|
||||
// Information about the health of a target.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription
|
||||
type TargetHealthDescription struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
|
@ -86,8 +86,8 @@ const (
|
|||
// ErrCodeInvalidTargetException for service response error code
|
||||
// "InvalidTarget".
|
||||
//
|
||||
// The specified target does not exist, is not in the same VPC as the target
|
||||
// group, or has an unsupported instance type.
|
||||
// The specified target does not exist or is not in the same VPC as the target
|
||||
// group.
|
||||
ErrCodeInvalidTargetException = "InvalidTarget"
|
||||
|
||||
// ErrCodeListenerNotFoundException for service response error code
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3468,6 +3468,9 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request,
|
|||
// API operation RetireGrant for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The request was rejected because a specified ARN was not valid.
|
||||
//
|
||||
// * ErrCodeInvalidGrantTokenException "InvalidGrantTokenException"
|
||||
// The request was rejected because the specified grant token is not valid.
|
||||
//
|
||||
|
@ -4186,7 +4189,6 @@ func (c *KMS) UpdateKeyDescriptionWithContext(ctx aws.Context, input *UpdateKeyD
|
|||
}
|
||||
|
||||
// Contains information about an alias.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/AliasListEntry
|
||||
type AliasListEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4228,7 +4230,6 @@ func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest
|
||||
type CancelKeyDeletionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4281,7 +4282,6 @@ func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse
|
||||
type CancelKeyDeletionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4305,7 +4305,6 @@ func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest
|
||||
type CreateAliasInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4377,7 +4376,6 @@ func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput
|
||||
type CreateAliasOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4392,7 +4390,6 @@ func (s CreateAliasOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantRequest
|
||||
type CreateGrantInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4552,7 +4549,6 @@ func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse
|
||||
type CreateGrantOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4590,14 +4586,13 @@ func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest
|
||||
type CreateKeyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// A flag to indicate whether to bypass the key policy lockout safety check.
|
||||
//
|
||||
// Setting this value to true increases the likelihood that the CMK becomes
|
||||
// unmanageable. Do not set this value to true indiscriminately.
|
||||
// Setting this value to true increases the risk that the CMK becomes unmanageable.
|
||||
// Do not set this value to true indiscriminately.
|
||||
//
|
||||
// For more information, refer to the scenario in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section in the AWS Key Management Service Developer Guide.
|
||||
|
@ -4634,28 +4629,29 @@ type CreateKeyInput struct {
|
|||
|
||||
// The key policy to attach to the CMK.
|
||||
//
|
||||
// If you specify a policy and do not set BypassPolicyLockoutSafetyCheck to
|
||||
// true, the policy must meet the following criteria:
|
||||
// If you provide a key policy, it must meet the following criteria:
|
||||
//
|
||||
// * It must allow the principal that is making the CreateKey request to
|
||||
// make a subsequent PutKeyPolicy request on the CMK. This reduces the likelihood
|
||||
// that the CMK becomes unmanageable. For more information, refer to the
|
||||
// scenario in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section in the AWS Key Management Service Developer Guide.
|
||||
// * If you don't set BypassPolicyLockoutSafetyCheck to true, the key policy
|
||||
// must allow the principal that is making the CreateKey request to make
|
||||
// a subsequent PutKeyPolicy request on the CMK. This reduces the risk that
|
||||
// the CMK becomes unmanageable. For more information, refer to the scenario
|
||||
// in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section of the AWS Key Management Service Developer Guide.
|
||||
//
|
||||
// * The principals that are specified in the key policy must exist and be
|
||||
// visible to AWS KMS. When you create a new AWS principal (for example,
|
||||
// an IAM user or role), you might need to enforce a delay before specifying
|
||||
// the new principal in a key policy because the new principal might not
|
||||
// immediately be visible to AWS KMS. For more information, see Changes that
|
||||
// I make are not always immediately visible (http://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency)
|
||||
// in the IAM User Guide.
|
||||
// * Each statement in the key policy must contain one or more principals.
|
||||
// The principals in the key policy must exist and be visible to AWS KMS.
|
||||
// When you create a new AWS principal (for example, an IAM user or role),
|
||||
// you might need to enforce a delay before including the new principal in
|
||||
// a key policy because the new principal might not be immediately visible
|
||||
// to AWS KMS. For more information, see Changes that I make are not always
|
||||
// immediately visible (http://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency)
|
||||
// in the AWS Identity and Access Management User Guide.
|
||||
//
|
||||
// If you do not specify a policy, AWS KMS attaches a default key policy to
|
||||
// the CMK. For more information, see Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default)
|
||||
// If you do not provide a key policy, AWS KMS attaches a default key policy
|
||||
// to the CMK. For more information, see Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default)
|
||||
// in the AWS Key Management Service Developer Guide.
|
||||
//
|
||||
// The policy size limit is 32 kilobytes (32768 bytes).
|
||||
// The key policy size limit is 32 kilobytes (32768 bytes).
|
||||
Policy *string `min:"1" type:"string"`
|
||||
|
||||
// One or more tags. Each tag consists of a tag key and a tag value. Tag keys
|
||||
|
@ -4735,7 +4731,6 @@ func (s *CreateKeyInput) SetTags(v []*Tag) *CreateKeyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse
|
||||
type CreateKeyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4759,7 +4754,6 @@ func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest
|
||||
type DecryptInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4826,7 +4820,6 @@ func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse
|
||||
type DecryptOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4863,7 +4856,6 @@ func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest
|
||||
type DeleteAliasInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4906,7 +4898,6 @@ func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput
|
||||
type DeleteAliasOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4921,7 +4912,6 @@ func (s DeleteAliasOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialRequest
|
||||
type DeleteImportedKeyMaterialInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -4974,7 +4964,6 @@ func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMa
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput
|
||||
type DeleteImportedKeyMaterialOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -4989,7 +4978,6 @@ func (s DeleteImportedKeyMaterialOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyRequest
|
||||
type DescribeKeyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5060,7 +5048,6 @@ func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse
|
||||
type DescribeKeyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5084,7 +5071,6 @@ func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest
|
||||
type DisableKeyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5136,7 +5122,6 @@ func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput
|
||||
type DisableKeyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5151,7 +5136,6 @@ func (s DisableKeyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationRequest
|
||||
type DisableKeyRotationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5203,7 +5187,6 @@ func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput
|
||||
type DisableKeyRotationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5218,7 +5201,6 @@ func (s DisableKeyRotationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRequest
|
||||
type EnableKeyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5270,7 +5252,6 @@ func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput
|
||||
type EnableKeyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5285,7 +5266,6 @@ func (s EnableKeyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationRequest
|
||||
type EnableKeyRotationInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5337,7 +5317,6 @@ func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput
|
||||
type EnableKeyRotationOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -5352,7 +5331,6 @@ func (s EnableKeyRotationOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptRequest
|
||||
type EncryptInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5454,7 +5432,6 @@ func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse
|
||||
type EncryptOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5490,7 +5467,6 @@ func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest
|
||||
type GenerateDataKeyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5599,7 +5575,6 @@ func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse
|
||||
type GenerateDataKeyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5649,7 +5624,6 @@ func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest
|
||||
type GenerateDataKeyWithoutPlaintextInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5758,7 +5732,6 @@ func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *Genera
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse
|
||||
type GenerateDataKeyWithoutPlaintextOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5795,7 +5768,6 @@ func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateData
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest
|
||||
type GenerateRandomInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5832,7 +5804,6 @@ func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse
|
||||
type GenerateRandomOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5859,7 +5830,6 @@ func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest
|
||||
type GetKeyPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -5878,8 +5848,8 @@ type GetKeyPolicyInput struct {
|
|||
// KeyId is a required field
|
||||
KeyId *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// Specifies the name of the policy. The only valid name is default. To get
|
||||
// the names of key policies, use ListKeyPolicies.
|
||||
// Specifies the name of the key policy. The only valid name is default. To
|
||||
// get the names of key policies, use ListKeyPolicies.
|
||||
//
|
||||
// PolicyName is a required field
|
||||
PolicyName *string `min:"1" type:"string" required:"true"`
|
||||
|
@ -5929,11 +5899,10 @@ func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse
|
||||
type GetKeyPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// A policy document in JSON format.
|
||||
// A key policy document in JSON format.
|
||||
Policy *string `min:"1" type:"string"`
|
||||
}
|
||||
|
||||
|
@ -5953,7 +5922,6 @@ func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest
|
||||
type GetKeyRotationStatusInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6006,7 +5974,6 @@ func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInpu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse
|
||||
type GetKeyRotationStatusOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6030,7 +5997,6 @@ func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotati
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest
|
||||
type GetParametersForImportInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6115,7 +6081,6 @@ func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParameter
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse
|
||||
type GetParametersForImportOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6186,7 +6151,6 @@ func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForI
|
|||
// context as input. A grant that allows the Encrypt operation does so only
|
||||
// when the encryption context of the Encrypt operation satisfies the grant
|
||||
// constraints.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantConstraints
|
||||
type GrantConstraints struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6228,7 +6192,6 @@ func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]*string) *Gra
|
|||
}
|
||||
|
||||
// Contains information about an entry in a list of grants.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry
|
||||
type GrantListEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6327,7 +6290,6 @@ func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest
|
||||
type ImportKeyMaterialInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6445,7 +6407,6 @@ func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse
|
||||
type ImportKeyMaterialOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -6461,7 +6422,6 @@ func (s ImportKeyMaterialOutput) GoString() string {
|
|||
}
|
||||
|
||||
// Contains information about each entry in the key list.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyListEntry
|
||||
type KeyListEntry struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6498,7 +6458,6 @@ func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry {
|
|||
//
|
||||
// This data type is used as a response element for the CreateKey and DescribeKey
|
||||
// operations.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyMetadata
|
||||
type KeyMetadata struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6651,7 +6610,6 @@ func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest
|
||||
type ListAliasesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6707,7 +6665,6 @@ func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse
|
||||
type ListAliasesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6753,7 +6710,6 @@ func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest
|
||||
type ListGrantsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6837,7 +6793,6 @@ func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsResponse
|
||||
type ListGrantsResponse struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6883,7 +6838,6 @@ func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest
|
||||
type ListKeyPoliciesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6968,7 +6922,6 @@ func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse
|
||||
type ListKeyPoliciesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -6976,8 +6929,8 @@ type ListKeyPoliciesOutput struct {
|
|||
// use for the Marker parameter in a subsequent request.
|
||||
NextMarker *string `min:"1" type:"string"`
|
||||
|
||||
// A list of policy names. Currently, there is only one policy and it is named
|
||||
// "Default".
|
||||
// A list of key policy names. Currently, there is only one key policy per CMK
|
||||
// and it is always named default.
|
||||
PolicyNames []*string `type:"list"`
|
||||
|
||||
// A flag that indicates whether there are more items in the list. When this
|
||||
|
@ -7015,7 +6968,6 @@ func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest
|
||||
type ListKeysInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7071,7 +7023,6 @@ func (s *ListKeysInput) SetMarker(v string) *ListKeysInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse
|
||||
type ListKeysOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7117,7 +7068,6 @@ func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest
|
||||
type ListResourceTagsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7203,7 +7153,6 @@ func (s *ListResourceTagsInput) SetMarker(v string) *ListResourceTagsInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse
|
||||
type ListResourceTagsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7251,7 +7200,6 @@ func (s *ListResourceTagsOutput) SetTruncated(v bool) *ListResourceTagsOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest
|
||||
type ListRetirableGrantsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7331,14 +7279,13 @@ func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirable
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest
|
||||
type PutKeyPolicyInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// A flag to indicate whether to bypass the key policy lockout safety check.
|
||||
//
|
||||
// Setting this value to true increases the likelihood that the CMK becomes
|
||||
// unmanageable. Do not set this value to true indiscriminately.
|
||||
// Setting this value to true increases the risk that the CMK becomes unmanageable.
|
||||
// Do not set this value to true indiscriminately.
|
||||
//
|
||||
// For more information, refer to the scenario in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section in the AWS Key Management Service Developer Guide.
|
||||
|
@ -7366,24 +7313,25 @@ type PutKeyPolicyInput struct {
|
|||
|
||||
// The key policy to attach to the CMK.
|
||||
//
|
||||
// If you do not set BypassPolicyLockoutSafetyCheck to true, the policy must
|
||||
// meet the following criteria:
|
||||
// The key policy must meet the following criteria:
|
||||
//
|
||||
// * It must allow the principal that is making the PutKeyPolicy request
|
||||
// to make a subsequent PutKeyPolicy request on the CMK. This reduces the
|
||||
// likelihood that the CMK becomes unmanageable. For more information, refer
|
||||
// to the scenario in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section in the AWS Key Management Service Developer Guide.
|
||||
// * If you don't set BypassPolicyLockoutSafetyCheck to true, the key policy
|
||||
// must allow the principal that is making the PutKeyPolicy request to make
|
||||
// a subsequent PutKeyPolicy request on the CMK. This reduces the risk that
|
||||
// the CMK becomes unmanageable. For more information, refer to the scenario
|
||||
// in the Default Key Policy (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam)
|
||||
// section of the AWS Key Management Service Developer Guide.
|
||||
//
|
||||
// * The principals that are specified in the key policy must exist and be
|
||||
// visible to AWS KMS. When you create a new AWS principal (for example,
|
||||
// an IAM user or role), you might need to enforce a delay before specifying
|
||||
// the new principal in a key policy because the new principal might not
|
||||
// immediately be visible to AWS KMS. For more information, see Changes that
|
||||
// I make are not always immediately visible (http://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency)
|
||||
// in the IAM User Guide.
|
||||
// * Each statement in the key policy must contain one or more principals.
|
||||
// The principals in the key policy must exist and be visible to AWS KMS.
|
||||
// When you create a new AWS principal (for example, an IAM user or role),
|
||||
// you might need to enforce a delay before including the new principal in
|
||||
// a key policy because the new principal might not be immediately visible
|
||||
// to AWS KMS. For more information, see Changes that I make are not always
|
||||
// immediately visible (http://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency)
|
||||
// in the AWS Identity and Access Management User Guide.
|
||||
//
|
||||
// The policy size limit is 32 kilobytes (32768 bytes).
|
||||
// The key policy size limit is 32 kilobytes (32768 bytes).
|
||||
//
|
||||
// Policy is a required field
|
||||
Policy *string `min:"1" type:"string" required:"true"`
|
||||
|
@ -7456,7 +7404,6 @@ func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput
|
||||
type PutKeyPolicyOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7471,7 +7418,6 @@ func (s PutKeyPolicyOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptRequest
|
||||
type ReEncryptInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7580,7 +7526,6 @@ func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]*string) *ReEnc
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse
|
||||
type ReEncryptOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7625,7 +7570,6 @@ func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest
|
||||
type RetireGrantInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7691,7 +7635,6 @@ func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput
|
||||
type RetireGrantOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7706,7 +7649,6 @@ func (s RetireGrantOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantRequest
|
||||
type RevokeGrantInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7776,7 +7718,6 @@ func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput
|
||||
type RevokeGrantOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -7791,7 +7732,6 @@ func (s RevokeGrantOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionRequest
|
||||
type ScheduleKeyDeletionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7859,7 +7799,6 @@ func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyD
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse
|
||||
type ScheduleKeyDeletionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7899,7 +7838,6 @@ func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutpu
|
|||
// For information about the rules that apply to tag keys and tag values, see
|
||||
// User-Defined Tag Restrictions (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html)
|
||||
// in the AWS Billing and Cost Management User Guide.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Tag
|
||||
type Tag struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -7955,7 +7893,6 @@ func (s *Tag) SetTagValue(v string) *Tag {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest
|
||||
type TagResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8031,7 +7968,6 @@ func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput
|
||||
type TagResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8046,7 +7982,6 @@ func (s TagResourceOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceRequest
|
||||
type UntagResourceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8112,7 +8047,6 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput
|
||||
type UntagResourceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8127,7 +8061,6 @@ func (s UntagResourceOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasRequest
|
||||
type UpdateAliasInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8200,7 +8133,6 @@ func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput
|
||||
type UpdateAliasOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -8215,7 +8147,6 @@ func (s UpdateAliasOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionRequest
|
||||
type UpdateKeyDescriptionInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -8281,7 +8212,6 @@ func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInpu
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput
|
||||
type UpdateKeyDescriptionOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1049,7 +1049,6 @@ func (c *STS) GetSessionTokenWithContext(ctx aws.Context, input *GetSessionToken
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest
|
||||
type AssumeRoleInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1241,7 +1240,6 @@ func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput {
|
|||
|
||||
// Contains the response to a successful AssumeRole request, including temporary
|
||||
// AWS credentials that can be used to make AWS requests.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse
|
||||
type AssumeRoleOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1295,7 +1293,6 @@ func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest
|
||||
type AssumeRoleWithSAMLInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1436,7 +1433,6 @@ func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAML
|
|||
|
||||
// Contains the response to a successful AssumeRoleWithSAML request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse
|
||||
type AssumeRoleWithSAMLOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1548,7 +1544,6 @@ func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLO
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest
|
||||
type AssumeRoleWithWebIdentityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1711,7 +1706,6 @@ func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRo
|
|||
|
||||
// Contains the response to a successful AssumeRoleWithWebIdentity request,
|
||||
// including temporary AWS credentials that can be used to make AWS requests.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse
|
||||
type AssumeRoleWithWebIdentityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1804,7 +1798,6 @@ func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v strin
|
|||
|
||||
// The identifiers for the temporary security credentials that the operation
|
||||
// returns.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser
|
||||
type AssumedRoleUser struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1847,7 +1840,6 @@ func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser {
|
|||
}
|
||||
|
||||
// AWS credentials for API authentication.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials
|
||||
type Credentials struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1906,7 +1898,6 @@ func (s *Credentials) SetSessionToken(v string) *Credentials {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest
|
||||
type DecodeAuthorizationMessageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1951,7 +1942,6 @@ func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAut
|
|||
// A document that contains additional information about the authorization status
|
||||
// of a request from an encoded message that is returned in response to an AWS
|
||||
// request.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse
|
||||
type DecodeAuthorizationMessageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1976,7 +1966,6 @@ func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAu
|
|||
}
|
||||
|
||||
// Identifiers for the federated user that is associated with the credentials.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser
|
||||
type FederatedUser struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2017,7 +2006,6 @@ func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest
|
||||
type GetCallerIdentityInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
@ -2034,7 +2022,6 @@ func (s GetCallerIdentityInput) GoString() string {
|
|||
|
||||
// Contains the response to a successful GetCallerIdentity request, including
|
||||
// information about the entity making the request.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse
|
||||
type GetCallerIdentityOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2080,7 +2067,6 @@ func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput {
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest
|
||||
type GetFederationTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2189,7 +2175,6 @@ func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput {
|
|||
|
||||
// Contains the response to a successful GetFederationToken request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse
|
||||
type GetFederationTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2242,7 +2227,6 @@ func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTo
|
|||
return s
|
||||
}
|
||||
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest
|
||||
type GetSessionTokenInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -2327,7 +2311,6 @@ func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput {
|
|||
|
||||
// Contains the response to a successful GetSessionToken request, including
|
||||
// temporary AWS credentials that can be used to make AWS requests.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse
|
||||
type GetSessionTokenOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue