From f8c65f5e2e8a3b8b447288a0193b277c7cb9e928 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 22 Jan 2020 21:45:58 -0500 Subject: [PATCH] deps: github.com/aws/aws-sdk-go@6ca8a5496cb4 Reference: https://github.com/terraform-providers/terraform-provider-aws/issues/11682 Reference: https://github.com/aws/aws-sdk-go/pull/3089 The fix for widespread error handling regression was merged upstream into the AWS Go SDK, however there was not a release today on the normal daily release cadence. This pulls in the commit after AWS Go SDK v1.28.7 containing the fix for the missing error messages that was merged yesterday so we can allow the full acceptance test suite to run overnight. Updated via: ``` go get github.com/aws/aws-sdk-go@6ca8a5496cb4723ad4ef1e6709ed593ea81ce000 go mod tidy go mod vendor ``` Output from acceptance testing (as a smoke test of the fixed behavior): ``` --- PASS: TestAccAWSCodeBuildProject_basic (37.35s) ``` --- go.mod | 2 +- go.sum | 4 +- .../aws/aws-sdk-go/aws/endpoints/defaults.go | 12 + .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../protocol/json/jsonutil/unmarshal.go | 60 +- .../protocol/jsonrpc/unmarshal_error.go | 2 +- .../protocol/restjson/unmarshal_error.go | 2 +- .../service/applicationinsights/api.go | 379 +++++++- .../aws/aws-sdk-go/service/cloud9/api.go | 35 + .../aws/aws-sdk-go/service/cloudtrail/api.go | 210 ++++ .../aws/aws-sdk-go/service/cloudwatch/api.go | 21 + .../service/cloudwatchevents/api.go | 45 + .../aws-sdk-go/service/cloudwatchlogs/api.go | 55 ++ .../aws/aws-sdk-go/service/codebuild/api.go | 25 + .../aws/aws-sdk-go/service/codecommit/api.go | 905 ++++++++++++++++++ .../aws/aws-sdk-go/service/codedeploy/api.go | 540 +++++++++++ .../aws-sdk-go/service/codepipeline/api.go | 584 ++++++++++- .../aws-sdk-go/service/codepipeline/doc.go | 3 + .../aws-sdk-go/service/codepipeline/errors.go | 19 + .../aws-sdk-go/service/configservice/api.go | 255 +++++ .../aws/aws-sdk-go/service/dax/api.go | 120 +++ .../aws-sdk-go/service/directconnect/api.go | 10 + .../aws/aws-sdk-go/service/ec2/api.go | 724 +++++++++++++- .../aws/aws-sdk-go/service/ecs/api.go | 105 ++ .../service/elasticsearchservice/api.go | 35 + .../service/elastictranscoder/api.go | 35 + .../aws/aws-sdk-go/service/emr/api.go | 5 + .../aws/aws-sdk-go/service/iotevents/api.go | 66 +- .../aws/aws-sdk-go/service/kms/api.go | 173 ++-- .../aws/aws-sdk-go/service/kms/errors.go | 4 +- .../aws/aws-sdk-go/service/lambda/api.go | 41 +- .../service/lexmodelbuildingservice/api.go | 5 + .../service/managedblockchain/api.go | 15 + .../aws-sdk-go/service/servicecatalog/api.go | 40 + .../aws/aws-sdk-go/service/ssm/api.go | 75 ++ .../aws/aws-sdk-go/service/transfer/api.go | 5 + .../aws/aws-sdk-go/service/waf/api.go | 10 + .../aws/aws-sdk-go/service/wafregional/api.go | 10 + vendor/modules.txt | 2 +- 39 files changed, 4446 insertions(+), 194 deletions(-) diff --git a/go.mod b/go.mod index 0fe1c3a32b3..9774f47d05c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-aws go 1.13 require ( - github.com/aws/aws-sdk-go v1.28.5 + github.com/aws/aws-sdk-go v1.25.14-0.20200121234158-6ca8a5496cb4 github.com/beevik/etree v1.1.0 github.com/bflad/tfproviderdocs v0.4.1 github.com/bflad/tfproviderlint v0.7.0 diff --git a/go.sum b/go.sum index d9e8f65c66e..ce41d99fdcc 100644 --- a/go.sum +++ b/go.sum @@ -35,8 +35,8 @@ github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.28.5 h1:yYeWPM8w5FoIj3Lo0BDZxRyDpTveKTq/qvnIEPBnev8= -github.com/aws/aws-sdk-go v1.28.5/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.25.14-0.20200121234158-6ca8a5496cb4 h1:b7uKhMm55tbrGGyqsz1665EB6UMDEPtI0irL34/g7kk= +github.com/aws/aws-sdk-go v1.25.14-0.20200121234158-6ca8a5496cb4/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go index 1917af9472d..d4fdf1f97bb 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go @@ -4358,6 +4358,18 @@ var awscnPartition = partition{ "cn-northwest-1": endpoint{}, }, }, + "appsync": service{ + + Endpoints: endpoints{ + "cn-north-1": endpoint{}, + }, + }, + "athena": service{ + + Endpoints: endpoints{ + "cn-northwest-1": endpoint{}, + }, + }, "autoscaling": service{ Defaults: endpoint{ Protocols: []string{"http", "https"}, diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go index 7bbe8e78375..1e2c4c3dde0 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/version.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.28.5" +const SDKVersion = "1.28.7" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go index ea0da79a5e0..5e9499699ba 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go @@ -7,6 +7,7 @@ import ( "fmt" "io" "reflect" + "strings" "time" "github.com/aws/aws-sdk-go/aws" @@ -45,10 +46,31 @@ func UnmarshalJSON(v interface{}, stream io.Reader) error { return err } - return unmarshalAny(reflect.ValueOf(v), out, "") + return unmarshaler{}.unmarshalAny(reflect.ValueOf(v), out, "") } -func unmarshalAny(value reflect.Value, data interface{}, tag reflect.StructTag) error { +// UnmarshalJSONCaseInsensitive reads a stream and unmarshals the result into the +// object v. Ignores casing for structure members. +func UnmarshalJSONCaseInsensitive(v interface{}, stream io.Reader) error { + var out interface{} + + err := json.NewDecoder(stream).Decode(&out) + if err == io.EOF { + return nil + } else if err != nil { + return err + } + + return unmarshaler{ + caseInsensitive: true, + }.unmarshalAny(reflect.ValueOf(v), out, "") +} + +type unmarshaler struct { + caseInsensitive bool +} + +func (u unmarshaler) unmarshalAny(value reflect.Value, data interface{}, tag reflect.StructTag) error { vtype := value.Type() if vtype.Kind() == reflect.Ptr { vtype = vtype.Elem() // check kind of actual element type @@ -80,17 +102,17 @@ func unmarshalAny(value reflect.Value, data interface{}, tag reflect.StructTag) if field, ok := vtype.FieldByName("_"); ok { tag = field.Tag } - return unmarshalStruct(value, data, tag) + return u.unmarshalStruct(value, data, tag) case "list": - return unmarshalList(value, data, tag) + return u.unmarshalList(value, data, tag) case "map": - return unmarshalMap(value, data, tag) + return u.unmarshalMap(value, data, tag) default: - return unmarshalScalar(value, data, tag) + return u.unmarshalScalar(value, data, tag) } } -func unmarshalStruct(value reflect.Value, data interface{}, tag reflect.StructTag) error { +func (u unmarshaler) unmarshalStruct(value reflect.Value, data interface{}, tag reflect.StructTag) error { if data == nil { return nil } @@ -114,7 +136,7 @@ func unmarshalStruct(value reflect.Value, data interface{}, tag reflect.StructTa // unwrap any payloads if payload := tag.Get("payload"); payload != "" { field, _ := t.FieldByName(payload) - return unmarshalAny(value.FieldByName(payload), data, field.Tag) + return u.unmarshalAny(value.FieldByName(payload), data, field.Tag) } for i := 0; i < t.NumField(); i++ { @@ -128,9 +150,19 @@ func unmarshalStruct(value reflect.Value, data interface{}, tag reflect.StructTa if locName := field.Tag.Get("locationName"); locName != "" { name = locName } + if u.caseInsensitive { + if _, ok := mapData[name]; !ok { + // Fallback to uncased name search if the exact name didn't match. + for kn, v := range mapData { + if strings.EqualFold(kn, name) { + mapData[name] = v + } + } + } + } member := value.FieldByIndex(field.Index) - err := unmarshalAny(member, mapData[name], field.Tag) + err := u.unmarshalAny(member, mapData[name], field.Tag) if err != nil { return err } @@ -138,7 +170,7 @@ func unmarshalStruct(value reflect.Value, data interface{}, tag reflect.StructTa return nil } -func unmarshalList(value reflect.Value, data interface{}, tag reflect.StructTag) error { +func (u unmarshaler) unmarshalList(value reflect.Value, data interface{}, tag reflect.StructTag) error { if data == nil { return nil } @@ -153,7 +185,7 @@ func unmarshalList(value reflect.Value, data interface{}, tag reflect.StructTag) } for i, c := range listData { - err := unmarshalAny(value.Index(i), c, "") + err := u.unmarshalAny(value.Index(i), c, "") if err != nil { return err } @@ -162,7 +194,7 @@ func unmarshalList(value reflect.Value, data interface{}, tag reflect.StructTag) return nil } -func unmarshalMap(value reflect.Value, data interface{}, tag reflect.StructTag) error { +func (u unmarshaler) unmarshalMap(value reflect.Value, data interface{}, tag reflect.StructTag) error { if data == nil { return nil } @@ -179,14 +211,14 @@ func unmarshalMap(value reflect.Value, data interface{}, tag reflect.StructTag) kvalue := reflect.ValueOf(k) vvalue := reflect.New(value.Type().Elem()).Elem() - unmarshalAny(vvalue, v, "") + u.unmarshalAny(vvalue, v, "") value.SetMapIndex(kvalue, vvalue) } return nil } -func unmarshalScalar(value reflect.Value, data interface{}, tag reflect.StructTag) error { +func (u unmarshaler) unmarshalScalar(value reflect.Value, data interface{}, tag reflect.StructTag) error { switch d := data.(type) { case nil: diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go index a2416c04485..c0c52e2db0f 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go @@ -54,7 +54,7 @@ func (u *UnmarshalTypedError) UnmarshalError( // If exception code is know, use associated constructor to get a value // for the exception that the JSON body can be unmarshaled into. v := fn(respMeta) - err := jsonutil.UnmarshalJSON(v, body) + err := jsonutil.UnmarshalJSONCaseInsensitive(v, body) if err != nil { return nil, err } diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_error.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_error.go index cf954dccf5e..d756d8cc529 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_error.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_error.go @@ -69,7 +69,7 @@ func (u *UnmarshalTypedError) UnmarshalError( // If exception code is know, use associated constructor to get a value // for the exception that the JSON body can be unmarshaled into. v := fn(respMeta) - if err := jsonutil.UnmarshalJSON(v, body); err != nil { + if err := jsonutil.UnmarshalJSONCaseInsensitive(v, body); err != nil { return nil, err } diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go index 1a805893538..94be2102e16 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go @@ -1511,6 +1511,157 @@ func (c *ApplicationInsights) ListComponentsPagesWithContext(ctx aws.Context, in return p.Err() } +const opListConfigurationHistory = "ListConfigurationHistory" + +// ListConfigurationHistoryRequest generates a "aws/request.Request" representing the +// client's request for the ListConfigurationHistory operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListConfigurationHistory for more information on using the ListConfigurationHistory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListConfigurationHistoryRequest method. +// req, resp := client.ListConfigurationHistoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory +func (c *ApplicationInsights) ListConfigurationHistoryRequest(input *ListConfigurationHistoryInput) (req *request.Request, output *ListConfigurationHistoryOutput) { + op := &request.Operation{ + Name: opListConfigurationHistory, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListConfigurationHistoryInput{} + } + + output = &ListConfigurationHistoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListConfigurationHistory API operation for Amazon CloudWatch Application Insights. +// +// Lists the INFO, WARN, and ERROR events for periodic configuration updates +// performed by Application Insights. Examples of events represented are: +// +// * INFO: creating a new alarm or updating an alarm threshold. +// +// * WARN: alarm not created due to insufficient data points used to predict +// thresholds. +// +// * ERROR: alarm not created due to permission errors or exceeding quotas. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon CloudWatch Application Insights's +// API operation ListConfigurationHistory for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The parameter is not valid. +// +// * ResourceNotFoundException +// The resource does not exist in the customer account. +// +// * InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory +func (c *ApplicationInsights) ListConfigurationHistory(input *ListConfigurationHistoryInput) (*ListConfigurationHistoryOutput, error) { + req, out := c.ListConfigurationHistoryRequest(input) + return out, req.Send() +} + +// ListConfigurationHistoryWithContext is the same as ListConfigurationHistory with the addition of +// the ability to pass a context and additional request options. +// +// See ListConfigurationHistory for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationInsights) ListConfigurationHistoryWithContext(ctx aws.Context, input *ListConfigurationHistoryInput, opts ...request.Option) (*ListConfigurationHistoryOutput, error) { + req, out := c.ListConfigurationHistoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListConfigurationHistoryPages iterates over the pages of a ListConfigurationHistory operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListConfigurationHistory method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListConfigurationHistory operation. +// pageNum := 0 +// err := client.ListConfigurationHistoryPages(params, +// func(page *applicationinsights.ListConfigurationHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ApplicationInsights) ListConfigurationHistoryPages(input *ListConfigurationHistoryInput, fn func(*ListConfigurationHistoryOutput, bool) bool) error { + return c.ListConfigurationHistoryPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListConfigurationHistoryPagesWithContext same as ListConfigurationHistoryPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationInsights) ListConfigurationHistoryPagesWithContext(ctx aws.Context, input *ListConfigurationHistoryInput, fn func(*ListConfigurationHistoryOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListConfigurationHistoryInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListConfigurationHistoryRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListConfigurationHistoryOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListLogPatternSets = "ListLogPatternSets" // ListLogPatternSetsRequest generates a "aws/request.Request" representing the @@ -2625,7 +2776,11 @@ type ApplicationInfo struct { OpsItemSNSTopicArn *string `min:"20" type:"string"` // The issues on the user side that block Application Insights from successfully - // monitoring an application. + // monitoring an application. Example remarks include: + // + // * “Configuring application, detected 1 Errors, 3 Warnings” + // + // * “Configuring application, detected 1 Unconfigured Components” Remarks *string `type:"string"` // The name of the resource group used for the application. @@ -2728,6 +2883,77 @@ func (s BadRequestException) RequestID() string { return s.respMetadata.RequestID } +// The event information. +type ConfigurationEvent struct { + _ struct{} `type:"structure"` + + // The details of the event in plain text. + EventDetail *string `type:"string"` + + // The name of the resource Application Insights attempted to configure. + EventResourceName *string `type:"string"` + + // The resource type that Application Insights attempted to configure, for example, + // CLOUDWATCH_ALARM. + EventResourceType *string `type:"string" enum:"ConfigurationEventResourceType"` + + // The status of the configuration update event. Possible values include INFO, + // WARN, and ERROR. + EventStatus *string `type:"string" enum:"ConfigurationEventStatus"` + + // The timestamp of the event. + EventTime *time.Time `type:"timestamp"` + + // The resource monitored by Application Insights. + MonitoredResourceARN *string `type:"string"` +} + +// String returns the string representation +func (s ConfigurationEvent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfigurationEvent) GoString() string { + return s.String() +} + +// SetEventDetail sets the EventDetail field's value. +func (s *ConfigurationEvent) SetEventDetail(v string) *ConfigurationEvent { + s.EventDetail = &v + return s +} + +// SetEventResourceName sets the EventResourceName field's value. +func (s *ConfigurationEvent) SetEventResourceName(v string) *ConfigurationEvent { + s.EventResourceName = &v + return s +} + +// SetEventResourceType sets the EventResourceType field's value. +func (s *ConfigurationEvent) SetEventResourceType(v string) *ConfigurationEvent { + s.EventResourceType = &v + return s +} + +// SetEventStatus sets the EventStatus field's value. +func (s *ConfigurationEvent) SetEventStatus(v string) *ConfigurationEvent { + s.EventStatus = &v + return s +} + +// SetEventTime sets the EventTime field's value. +func (s *ConfigurationEvent) SetEventTime(v time.Time) *ConfigurationEvent { + s.EventTime = &v + return s +} + +// SetMonitoredResourceARN sets the MonitoredResourceARN field's value. +func (s *ConfigurationEvent) SetMonitoredResourceARN(v string) *ConfigurationEvent { + s.MonitoredResourceARN = &v + return s +} + type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -4145,6 +4371,135 @@ func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput { return s } +type ListConfigurationHistoryInput struct { + _ struct{} `type:"structure"` + + // The end time of the event. + EndTime *time.Time `type:"timestamp"` + + // The status of the configuration update event. Possible values include INFO, + // WARN, and ERROR. + EventStatus *string `type:"string" enum:"ConfigurationEventStatus"` + + // The maximum number of results returned by ListConfigurationHistory in paginated + // output. When this parameter is used, ListConfigurationHistory returns only + // MaxResults in a single page along with a NextToken response element. The + // remaining results of the initial request can be seen by sending another ListConfigurationHistory + // request with the returned NextToken value. If this parameter is not used, + // then ListConfigurationHistory returns all results. + MaxResults *int64 `min:"1" type:"integer"` + + // The NextToken value returned from a previous paginated ListConfigurationHistory + // request where MaxResults was used and the results exceeded the value of that + // parameter. Pagination continues from the end of the previous results that + // returned the NextToken value. This value is null when there are no more results + // to return. + NextToken *string `type:"string"` + + // Resource group to which the application belongs. + ResourceGroupName *string `min:"1" type:"string"` + + // The start time of the event. + StartTime *time.Time `type:"timestamp"` +} + +// String returns the string representation +func (s ListConfigurationHistoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationHistoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListConfigurationHistoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListConfigurationHistoryInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ResourceGroupName != nil && len(*s.ResourceGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceGroupName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndTime sets the EndTime field's value. +func (s *ListConfigurationHistoryInput) SetEndTime(v time.Time) *ListConfigurationHistoryInput { + s.EndTime = &v + return s +} + +// SetEventStatus sets the EventStatus field's value. +func (s *ListConfigurationHistoryInput) SetEventStatus(v string) *ListConfigurationHistoryInput { + s.EventStatus = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfigurationHistoryInput) SetMaxResults(v int64) *ListConfigurationHistoryInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationHistoryInput) SetNextToken(v string) *ListConfigurationHistoryInput { + s.NextToken = &v + return s +} + +// SetResourceGroupName sets the ResourceGroupName field's value. +func (s *ListConfigurationHistoryInput) SetResourceGroupName(v string) *ListConfigurationHistoryInput { + s.ResourceGroupName = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ListConfigurationHistoryInput) SetStartTime(v time.Time) *ListConfigurationHistoryInput { + s.StartTime = &v + return s +} + +type ListConfigurationHistoryOutput struct { + _ struct{} `type:"structure"` + + // The list of configuration events and their corresponding details. + EventList []*ConfigurationEvent `type:"list"` + + // The NextToken value to include in a future ListConfigurationHistory request. + // When the results of a ListConfigurationHistory request exceed MaxResults, + // this value can be used to retrieve the next page of results. This value is + // null when there are no more results to return. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListConfigurationHistoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationHistoryOutput) GoString() string { + return s.String() +} + +// SetEventList sets the EventList field's value. +func (s *ListConfigurationHistoryOutput) SetEventList(v []*ConfigurationEvent) *ListConfigurationHistoryOutput { + s.EventList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationHistoryOutput) SetNextToken(v string) *ListConfigurationHistoryOutput { + s.NextToken = &v + return s +} + type ListLogPatternSetsInput struct { _ struct{} `type:"structure"` @@ -5801,6 +6156,28 @@ func (s ValidationException) RequestID() string { return s.respMetadata.RequestID } +const ( + // ConfigurationEventResourceTypeCloudwatchAlarm is a ConfigurationEventResourceType enum value + ConfigurationEventResourceTypeCloudwatchAlarm = "CLOUDWATCH_ALARM" + + // ConfigurationEventResourceTypeCloudformation is a ConfigurationEventResourceType enum value + ConfigurationEventResourceTypeCloudformation = "CLOUDFORMATION" + + // ConfigurationEventResourceTypeSsmAssociation is a ConfigurationEventResourceType enum value + ConfigurationEventResourceTypeSsmAssociation = "SSM_ASSOCIATION" +) + +const ( + // ConfigurationEventStatusInfo is a ConfigurationEventStatus enum value + ConfigurationEventStatusInfo = "INFO" + + // ConfigurationEventStatusWarn is a ConfigurationEventStatus enum value + ConfigurationEventStatusWarn = "WARN" + + // ConfigurationEventStatusError is a ConfigurationEventStatus enum value + ConfigurationEventStatusError = "ERROR" +) + const ( // FeedbackKeyInsightsFeedback is a FeedbackKey enum value FeedbackKeyInsightsFeedback = "INSIGHTS_FEEDBACK" diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go index 63761fb89ad..134fc20c195 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go @@ -1111,6 +1111,8 @@ func (c *Cloud9) UpdateEnvironmentMembershipWithContext(ctx aws.Context, input * type BadRequestException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -1136,6 +1138,9 @@ func (s BadRequestException) Code() string { // Message returns the exception's message. func (s BadRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -1162,6 +1167,8 @@ func (s BadRequestException) RequestID() string { type ConflictException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -1187,6 +1194,9 @@ func (s ConflictException) Code() string { // Message returns the exception's message. func (s ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2030,6 +2040,8 @@ func (s *EnvironmentMember) SetUserId(v string) *EnvironmentMember { type ForbiddenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2055,6 +2067,9 @@ func (s ForbiddenException) Code() string { // Message returns the exception's message. func (s ForbiddenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2081,6 +2096,8 @@ func (s ForbiddenException) RequestID() string { type InternalServerErrorException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2106,6 +2123,9 @@ func (s InternalServerErrorException) Code() string { // Message returns the exception's message. func (s InternalServerErrorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2132,6 +2152,8 @@ func (s InternalServerErrorException) RequestID() string { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2157,6 +2179,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2255,6 +2280,8 @@ func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput type NotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2280,6 +2307,9 @@ func (s NotFoundException) Code() string { // Message returns the exception's message. func (s NotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2306,6 +2336,8 @@ func (s NotFoundException) RequestID() string { type TooManyRequestsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2331,6 +2363,9 @@ func (s TooManyRequestsException) Code() string { // Message returns the exception's message. func (s TooManyRequestsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go index f0441f4b614..8b227be26c1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go @@ -2526,6 +2526,8 @@ func (c *CloudTrail) UpdateTrailWithContext(ctx aws.Context, input *UpdateTrailI type ARNInvalidException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2551,6 +2553,9 @@ func (s ARNInvalidException) Code() string { // Message returns the exception's message. func (s ARNInvalidException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2580,6 +2585,8 @@ func (s ARNInvalidException) RequestID() string { type AccessNotEnabledException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2605,6 +2612,9 @@ func (s AccessNotEnabledException) Code() string { // Message returns the exception's message. func (s AccessNotEnabledException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2708,6 +2718,8 @@ func (s AddTagsOutput) GoString() string { type CloudWatchLogsDeliveryUnavailableException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2733,6 +2745,9 @@ func (s CloudWatchLogsDeliveryUnavailableException) Code() string { // Message returns the exception's message. func (s CloudWatchLogsDeliveryUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4013,6 +4028,8 @@ func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOu type InsightNotEnabledException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4038,6 +4055,9 @@ func (s InsightNotEnabledException) Code() string { // Message returns the exception's message. func (s InsightNotEnabledException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4093,6 +4113,8 @@ func (s *InsightSelector) SetInsightType(v string) *InsightSelector { type InsufficientDependencyServiceAccessPermissionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4118,6 +4140,9 @@ func (s InsufficientDependencyServiceAccessPermissionException) Code() string { // Message returns the exception's message. func (s InsufficientDependencyServiceAccessPermissionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4145,6 +4170,8 @@ func (s InsufficientDependencyServiceAccessPermissionException) RequestID() stri type InsufficientEncryptionPolicyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4170,6 +4197,9 @@ func (s InsufficientEncryptionPolicyException) Code() string { // Message returns the exception's message. func (s InsufficientEncryptionPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4196,6 +4226,8 @@ func (s InsufficientEncryptionPolicyException) RequestID() string { type InsufficientS3BucketPolicyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4221,6 +4253,9 @@ func (s InsufficientS3BucketPolicyException) Code() string { // Message returns the exception's message. func (s InsufficientS3BucketPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4247,6 +4282,8 @@ func (s InsufficientS3BucketPolicyException) RequestID() string { type InsufficientSnsTopicPolicyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4272,6 +4309,9 @@ func (s InsufficientSnsTopicPolicyException) Code() string { // Message returns the exception's message. func (s InsufficientSnsTopicPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4298,6 +4338,8 @@ func (s InsufficientSnsTopicPolicyException) RequestID() string { type InvalidCloudWatchLogsLogGroupArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4323,6 +4365,9 @@ func (s InvalidCloudWatchLogsLogGroupArnException) Code() string { // Message returns the exception's message. func (s InvalidCloudWatchLogsLogGroupArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4349,6 +4394,8 @@ func (s InvalidCloudWatchLogsLogGroupArnException) RequestID() string { type InvalidCloudWatchLogsRoleArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4374,6 +4421,9 @@ func (s InvalidCloudWatchLogsRoleArnException) Code() string { // Message returns the exception's message. func (s InvalidCloudWatchLogsRoleArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4401,6 +4451,8 @@ func (s InvalidCloudWatchLogsRoleArnException) RequestID() string { type InvalidEventCategoryException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4426,6 +4478,9 @@ func (s InvalidEventCategoryException) Code() string { // Message returns the exception's message. func (s InvalidEventCategoryException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4470,6 +4525,8 @@ func (s InvalidEventCategoryException) RequestID() string { type InvalidEventSelectorsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4495,6 +4552,9 @@ func (s InvalidEventSelectorsException) Code() string { // Message returns the exception's message. func (s InvalidEventSelectorsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4522,6 +4582,8 @@ func (s InvalidEventSelectorsException) RequestID() string { type InvalidHomeRegionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4547,6 +4609,9 @@ func (s InvalidHomeRegionException) Code() string { // Message returns the exception's message. func (s InvalidHomeRegionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4575,6 +4640,8 @@ func (s InvalidHomeRegionException) RequestID() string { type InvalidInsightSelectorsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4600,6 +4667,9 @@ func (s InvalidInsightSelectorsException) Code() string { // Message returns the exception's message. func (s InvalidInsightSelectorsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4626,6 +4696,8 @@ func (s InvalidInsightSelectorsException) RequestID() string { type InvalidKmsKeyIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4651,6 +4723,9 @@ func (s InvalidKmsKeyIdException) Code() string { // Message returns the exception's message. func (s InvalidKmsKeyIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4677,6 +4752,8 @@ func (s InvalidKmsKeyIdException) RequestID() string { type InvalidLookupAttributesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4702,6 +4779,9 @@ func (s InvalidLookupAttributesException) Code() string { // Message returns the exception's message. func (s InvalidLookupAttributesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4728,6 +4808,8 @@ func (s InvalidLookupAttributesException) RequestID() string { type InvalidMaxResultsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4753,6 +4835,9 @@ func (s InvalidMaxResultsException) Code() string { // Message returns the exception's message. func (s InvalidMaxResultsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4780,6 +4865,8 @@ func (s InvalidMaxResultsException) RequestID() string { type InvalidNextTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4805,6 +4892,9 @@ func (s InvalidNextTokenException) Code() string { // Message returns the exception's message. func (s InvalidNextTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4832,6 +4922,8 @@ func (s InvalidNextTokenException) RequestID() string { type InvalidParameterCombinationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4857,6 +4949,9 @@ func (s InvalidParameterCombinationException) Code() string { // Message returns the exception's message. func (s InvalidParameterCombinationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4883,6 +4978,8 @@ func (s InvalidParameterCombinationException) RequestID() string { type InvalidS3BucketNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4908,6 +5005,9 @@ func (s InvalidS3BucketNameException) Code() string { // Message returns the exception's message. func (s InvalidS3BucketNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4934,6 +5034,8 @@ func (s InvalidS3BucketNameException) RequestID() string { type InvalidS3PrefixException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4959,6 +5061,9 @@ func (s InvalidS3PrefixException) Code() string { // Message returns the exception's message. func (s InvalidS3PrefixException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4985,6 +5090,8 @@ func (s InvalidS3PrefixException) RequestID() string { type InvalidSnsTopicNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5010,6 +5117,9 @@ func (s InvalidSnsTopicNameException) Code() string { // Message returns the exception's message. func (s InvalidSnsTopicNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5037,6 +5147,8 @@ func (s InvalidSnsTopicNameException) RequestID() string { type InvalidTagParameterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5062,6 +5174,9 @@ func (s InvalidTagParameterException) Code() string { // Message returns the exception's message. func (s InvalidTagParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5089,6 +5204,8 @@ func (s InvalidTagParameterException) RequestID() string { type InvalidTimeRangeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5114,6 +5231,9 @@ func (s InvalidTimeRangeException) Code() string { // Message returns the exception's message. func (s InvalidTimeRangeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5140,6 +5260,8 @@ func (s InvalidTimeRangeException) RequestID() string { type InvalidTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5165,6 +5287,9 @@ func (s InvalidTokenException) Code() string { // Message returns the exception's message. func (s InvalidTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5204,6 +5329,8 @@ func (s InvalidTokenException) RequestID() string { type InvalidTrailNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5229,6 +5356,9 @@ func (s InvalidTrailNameException) Code() string { // Message returns the exception's message. func (s InvalidTrailNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5256,6 +5386,8 @@ func (s InvalidTrailNameException) RequestID() string { type KmsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5281,6 +5413,9 @@ func (s KmsException) Code() string { // Message returns the exception's message. func (s KmsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5309,6 +5444,8 @@ func (s KmsException) RequestID() string { type KmsKeyDisabledException struct { _ struct{} `deprecated:"true" type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5334,6 +5471,9 @@ func (s KmsKeyDisabledException) Code() string { // Message returns the exception's message. func (s KmsKeyDisabledException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5361,6 +5501,8 @@ func (s KmsKeyDisabledException) RequestID() string { type KmsKeyNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5386,6 +5528,9 @@ func (s KmsKeyNotFoundException) Code() string { // Message returns the exception's message. func (s KmsKeyNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5838,6 +5983,8 @@ func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput { type MaximumNumberOfTrailsExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5863,6 +6010,9 @@ func (s MaximumNumberOfTrailsExceededException) Code() string { // Message returns the exception's message. func (s MaximumNumberOfTrailsExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5892,6 +6042,8 @@ func (s MaximumNumberOfTrailsExceededException) RequestID() string { type NotOrganizationMasterAccountException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5917,6 +6069,9 @@ func (s NotOrganizationMasterAccountException) Code() string { // Message returns the exception's message. func (s NotOrganizationMasterAccountException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5943,6 +6098,8 @@ func (s NotOrganizationMasterAccountException) RequestID() string { type OperationNotPermittedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5968,6 +6125,9 @@ func (s OperationNotPermittedException) Code() string { // Message returns the exception's message. func (s OperationNotPermittedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5997,6 +6157,8 @@ func (s OperationNotPermittedException) RequestID() string { type OrganizationNotInAllFeaturesModeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6022,6 +6184,9 @@ func (s OrganizationNotInAllFeaturesModeException) Code() string { // Message returns the exception's message. func (s OrganizationNotInAllFeaturesModeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6050,6 +6215,8 @@ func (s OrganizationNotInAllFeaturesModeException) RequestID() string { type OrganizationsNotInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6075,6 +6242,9 @@ func (s OrganizationsNotInUseException) Code() string { // Message returns the exception's message. func (s OrganizationsNotInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6464,6 +6634,8 @@ func (s *Resource) SetResourceType(v string) *Resource { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6489,6 +6661,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6549,6 +6724,8 @@ func (s *ResourceTag) SetTagsList(v []*Tag) *ResourceTag { type ResourceTypeNotSupportedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6574,6 +6751,9 @@ func (s ResourceTypeNotSupportedException) Code() string { // Message returns the exception's message. func (s ResourceTypeNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6600,6 +6780,8 @@ func (s ResourceTypeNotSupportedException) RequestID() string { type S3BucketDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6625,6 +6807,9 @@ func (s S3BucketDoesNotExistException) Code() string { // Message returns the exception's message. func (s S3BucketDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6819,6 +7004,8 @@ func (s *Tag) SetValue(v string) *Tag { type TagsLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6844,6 +7031,9 @@ func (s TagsLimitExceededException) Code() string { // Message returns the exception's message. func (s TagsLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7047,6 +7237,8 @@ func (s *Trail) SetTrailARN(v string) *Trail { type TrailAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7072,6 +7264,9 @@ func (s TrailAlreadyExistsException) Code() string { // Message returns the exception's message. func (s TrailAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7141,6 +7336,8 @@ func (s *TrailInfo) SetTrailARN(v string) *TrailInfo { type TrailNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7166,6 +7363,9 @@ func (s TrailNotFoundException) Code() string { // Message returns the exception's message. func (s TrailNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7192,6 +7392,8 @@ func (s TrailNotFoundException) RequestID() string { type TrailNotProvidedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7217,6 +7419,9 @@ func (s TrailNotProvidedException) Code() string { // Message returns the exception's message. func (s TrailNotProvidedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7243,6 +7448,8 @@ func (s TrailNotProvidedException) RequestID() string { type UnsupportedOperationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7268,6 +7475,9 @@ func (s UnsupportedOperationException) Code() string { // Message returns the exception's message. func (s UnsupportedOperationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go index 1c6b4ccda00..1b5eb7b332a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go @@ -3147,6 +3147,10 @@ type AnomalyDetector struct { // The statistic associated with the anomaly detection model. Stat *string `type:"string"` + + // The current status of the anomaly detector's training. The possible values + // are TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA + StateValue *string `type:"string" enum:"AnomalyDetectorStateValue"` } // String returns the string representation @@ -3189,6 +3193,12 @@ func (s *AnomalyDetector) SetStat(v string) *AnomalyDetector { return s } +// SetStateValue sets the StateValue field's value. +func (s *AnomalyDetector) SetStateValue(v string) *AnomalyDetector { + s.StateValue = &v + return s +} + // The configuration specifies details about how the anomaly detection model // is to be trained, including time ranges to exclude from use for training // the model and the time zone to use for the metric. @@ -8215,6 +8225,17 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +const ( + // AnomalyDetectorStateValuePendingTraining is a AnomalyDetectorStateValue enum value + AnomalyDetectorStateValuePendingTraining = "PENDING_TRAINING" + + // AnomalyDetectorStateValueTrainedInsufficientData is a AnomalyDetectorStateValue enum value + AnomalyDetectorStateValueTrainedInsufficientData = "TRAINED_INSUFFICIENT_DATA" + + // AnomalyDetectorStateValueTrained is a AnomalyDetectorStateValue enum value + AnomalyDetectorStateValueTrained = "TRAINED" +) + const ( // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go index cf10dcf489d..7fbdafc99ff 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go @@ -3245,6 +3245,8 @@ func (s *BatchRetryStrategy) SetAttempts(v int64) *BatchRetryStrategy { type ConcurrentModificationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3270,6 +3272,9 @@ func (s ConcurrentModificationException) Code() string { // Message returns the exception's message. func (s ConcurrentModificationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4687,6 +4692,8 @@ func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer { type InternalException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4712,6 +4719,9 @@ func (s InternalException) Code() string { // Message returns the exception's message. func (s InternalException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4738,6 +4748,8 @@ func (s InternalException) RequestID() string { type InvalidEventPatternException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4763,6 +4775,9 @@ func (s InvalidEventPatternException) Code() string { // Message returns the exception's message. func (s InvalidEventPatternException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4789,6 +4804,8 @@ func (s InvalidEventPatternException) RequestID() string { type InvalidStateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4814,6 +4831,9 @@ func (s InvalidStateException) Code() string { // Message returns the exception's message. func (s InvalidStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4884,6 +4904,8 @@ func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4909,6 +4931,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5726,6 +5751,8 @@ func (s *ListTargetsByRuleOutput) SetTargets(v []*Target) *ListTargetsByRuleOutp type ManagedRuleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5751,6 +5778,9 @@ func (s ManagedRuleException) Code() string { // Message returns the exception's message. func (s ManagedRuleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5909,6 +5939,8 @@ func (s *PartnerEventSourceAccount) SetState(v string) *PartnerEventSourceAccoun type PolicyLengthExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5934,6 +5966,9 @@ func (s PolicyLengthExceededException) Code() string { // Message returns the exception's message. func (s PolicyLengthExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7021,6 +7056,8 @@ func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEnt type ResourceAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7046,6 +7083,9 @@ func (s ResourceAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ResourceAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7072,6 +7112,8 @@ func (s ResourceAlreadyExistsException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7097,6 +7139,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go index 1739a974a44..594ec846d09 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go @@ -4487,6 +4487,8 @@ type DataAlreadyAcceptedException struct { respMetadata protocol.ResponseMetadata ExpectedSequenceToken *string `locationName:"expectedSequenceToken" min:"1" type:"string"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4512,6 +4514,9 @@ func (s DataAlreadyAcceptedException) Code() string { // Message returns the exception's message. func (s DataAlreadyAcceptedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6835,6 +6840,8 @@ func (s *InputLogEvent) SetTimestamp(v int64) *InputLogEvent { type InvalidOperationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6860,6 +6867,9 @@ func (s InvalidOperationException) Code() string { // Message returns the exception's message. func (s InvalidOperationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6886,6 +6896,8 @@ func (s InvalidOperationException) RequestID() string { type InvalidParameterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6911,6 +6923,9 @@ func (s InvalidParameterException) Code() string { // Message returns the exception's message. func (s InvalidParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6940,6 +6955,8 @@ type InvalidSequenceTokenException struct { respMetadata protocol.ResponseMetadata ExpectedSequenceToken *string `locationName:"expectedSequenceToken" min:"1" type:"string"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6965,6 +6982,9 @@ func (s InvalidSequenceTokenException) Code() string { // Message returns the exception's message. func (s InvalidSequenceTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6991,6 +7011,8 @@ func (s InvalidSequenceTokenException) RequestID() string { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7016,6 +7038,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7327,6 +7352,8 @@ type MalformedQueryException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + Message_ *string `locationName:"message" type:"string"` + // Reserved. QueryCompileError *QueryCompileError `locationName:"queryCompileError" type:"structure"` } @@ -7354,6 +7381,9 @@ func (s MalformedQueryException) Code() string { // Message returns the exception's message. func (s MalformedQueryException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7567,6 +7597,8 @@ func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation { type OperationAbortedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7592,6 +7624,9 @@ func (s OperationAbortedException) Code() string { // Message returns the exception's message. func (s OperationAbortedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8589,6 +8624,8 @@ func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogE type ResourceAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8614,6 +8651,9 @@ func (s ResourceAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ResourceAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8640,6 +8680,8 @@ func (s ResourceAlreadyExistsException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8665,6 +8707,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8802,6 +8847,8 @@ func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream { type ServiceUnavailableException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8827,6 +8874,9 @@ func (s ServiceUnavailableException) Code() string { // Message returns the exception's message. func (s ServiceUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9285,6 +9335,8 @@ func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestM type UnrecognizedClientException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9310,6 +9362,9 @@ func (s UnrecognizedClientException) Code() string { // Message returns the exception's message. func (s UnrecognizedClientException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go index 846cc6b6e7e..f26a4ebcaa1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go @@ -2800,6 +2800,8 @@ func (c *CodeBuild) UpdateWebhookWithContext(ctx aws.Context, input *UpdateWebho type AccountLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2825,6 +2827,9 @@ func (s AccountLimitExceededException) Code() string { // Message returns the exception's message. func (s AccountLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5307,6 +5312,8 @@ func (s *ImportSourceCredentialsOutput) SetArn(v string) *ImportSourceCredential type InvalidInputException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5332,6 +5339,9 @@ func (s InvalidInputException) Code() string { // Message returns the exception's message. func (s InvalidInputException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6557,6 +6567,8 @@ func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { type OAuthProviderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6582,6 +6594,9 @@ func (s OAuthProviderException) Code() string { // Message returns the exception's message. func (s OAuthProviderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8136,6 +8151,8 @@ func (s *ReportGroup) SetType(v string) *ReportGroup { type ResourceAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8161,6 +8178,9 @@ func (s ResourceAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ResourceAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8187,6 +8207,8 @@ func (s ResourceAlreadyExistsException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8212,6 +8234,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go index 520f3f0abb5..8a444d564da 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go @@ -10356,6 +10356,8 @@ func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *Upd type ActorDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10381,6 +10383,9 @@ func (s ActorDoesNotExistException) Code() string { // Message returns the exception's message. func (s ActorDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10529,6 +10534,8 @@ func (s *ApprovalRule) SetRuleContentSha256(v string) *ApprovalRule { type ApprovalRuleContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10554,6 +10561,9 @@ func (s ApprovalRuleContentRequiredException) Code() string { // Message returns the exception's message. func (s ApprovalRuleContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10580,6 +10590,8 @@ func (s ApprovalRuleContentRequiredException) RequestID() string { type ApprovalRuleDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10605,6 +10617,9 @@ func (s ApprovalRuleDoesNotExistException) Code() string { // Message returns the exception's message. func (s ApprovalRuleDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10674,6 +10689,8 @@ func (s *ApprovalRuleEventMetadata) SetApprovalRuleName(v string) *ApprovalRuleE type ApprovalRuleNameAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10699,6 +10716,9 @@ func (s ApprovalRuleNameAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ApprovalRuleNameAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10725,6 +10745,8 @@ func (s ApprovalRuleNameAlreadyExistsException) RequestID() string { type ApprovalRuleNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10750,6 +10772,9 @@ func (s ApprovalRuleNameRequiredException) Code() string { // Message returns the exception's message. func (s ApprovalRuleNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10900,6 +10925,8 @@ func (s *ApprovalRuleTemplate) SetRuleContentSha256(v string) *ApprovalRuleTempl type ApprovalRuleTemplateContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10925,6 +10952,9 @@ func (s ApprovalRuleTemplateContentRequiredException) Code() string { // Message returns the exception's message. func (s ApprovalRuleTemplateContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10953,6 +10983,8 @@ func (s ApprovalRuleTemplateContentRequiredException) RequestID() string { type ApprovalRuleTemplateDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10978,6 +11010,9 @@ func (s ApprovalRuleTemplateDoesNotExistException) Code() string { // Message returns the exception's message. func (s ApprovalRuleTemplateDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11006,6 +11041,8 @@ func (s ApprovalRuleTemplateDoesNotExistException) RequestID() string { type ApprovalRuleTemplateInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11031,6 +11068,9 @@ func (s ApprovalRuleTemplateInUseException) Code() string { // Message returns the exception's message. func (s ApprovalRuleTemplateInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11059,6 +11099,8 @@ func (s ApprovalRuleTemplateInUseException) RequestID() string { type ApprovalRuleTemplateNameAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11084,6 +11126,9 @@ func (s ApprovalRuleTemplateNameAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ApprovalRuleTemplateNameAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11110,6 +11155,8 @@ func (s ApprovalRuleTemplateNameAlreadyExistsException) RequestID() string { type ApprovalRuleTemplateNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11135,6 +11182,9 @@ func (s ApprovalRuleTemplateNameRequiredException) Code() string { // Message returns the exception's message. func (s ApprovalRuleTemplateNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11194,6 +11244,8 @@ func (s *ApprovalStateChangedEventMetadata) SetRevisionId(v string) *ApprovalSta type ApprovalStateRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11219,6 +11271,9 @@ func (s ApprovalStateRequiredException) Code() string { // Message returns the exception's message. func (s ApprovalStateRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11317,6 +11372,8 @@ func (s AssociateApprovalRuleTemplateWithRepositoryOutput) GoString() string { type AuthorDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11342,6 +11399,9 @@ func (s AuthorDoesNotExistException) Code() string { // Message returns the exception's message. func (s AuthorDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12137,6 +12197,8 @@ func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *Batch type BeforeCommitIdAndAfterCommitIdAreSameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12162,6 +12224,9 @@ func (s BeforeCommitIdAndAfterCommitIdAreSameException) Code() string { // Message returns the exception's message. func (s BeforeCommitIdAndAfterCommitIdAreSameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12188,6 +12253,8 @@ func (s BeforeCommitIdAndAfterCommitIdAreSameException) RequestID() string { type BlobIdDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12213,6 +12280,9 @@ func (s BlobIdDoesNotExistException) Code() string { // Message returns the exception's message. func (s BlobIdDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12239,6 +12309,8 @@ func (s BlobIdDoesNotExistException) RequestID() string { type BlobIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12264,6 +12336,9 @@ func (s BlobIdRequiredException) Code() string { // Message returns the exception's message. func (s BlobIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12340,6 +12415,8 @@ func (s *BlobMetadata) SetPath(v string) *BlobMetadata { type BranchDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12365,6 +12442,9 @@ func (s BranchDoesNotExistException) Code() string { // Message returns the exception's message. func (s BranchDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12424,6 +12504,8 @@ func (s *BranchInfo) SetCommitId(v string) *BranchInfo { type BranchNameExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12449,6 +12531,9 @@ func (s BranchNameExistsException) Code() string { // Message returns the exception's message. func (s BranchNameExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12477,6 +12562,8 @@ func (s BranchNameExistsException) RequestID() string { type BranchNameIsTagNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12502,6 +12589,9 @@ func (s BranchNameIsTagNameException) Code() string { // Message returns the exception's message. func (s BranchNameIsTagNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12528,6 +12618,8 @@ func (s BranchNameIsTagNameException) RequestID() string { type BranchNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12553,6 +12645,9 @@ func (s BranchNameRequiredException) Code() string { // Message returns the exception's message. func (s BranchNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12580,6 +12675,8 @@ func (s BranchNameRequiredException) RequestID() string { type CannotDeleteApprovalRuleFromTemplateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12605,6 +12702,9 @@ func (s CannotDeleteApprovalRuleFromTemplateException) Code() string { // Message returns the exception's message. func (s CannotDeleteApprovalRuleFromTemplateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12632,6 +12732,8 @@ func (s CannotDeleteApprovalRuleFromTemplateException) RequestID() string { type CannotModifyApprovalRuleFromTemplateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12657,6 +12759,9 @@ func (s CannotModifyApprovalRuleFromTemplateException) Code() string { // Message returns the exception's message. func (s CannotModifyApprovalRuleFromTemplateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12687,6 +12792,8 @@ func (s CannotModifyApprovalRuleFromTemplateException) RequestID() string { type ClientRequestTokenRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12712,6 +12819,9 @@ func (s ClientRequestTokenRequiredException) Code() string { // Message returns the exception's message. func (s ClientRequestTokenRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12829,6 +12939,8 @@ func (s *Comment) SetLastModifiedDate(v time.Time) *Comment { type CommentContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12854,6 +12966,9 @@ func (s CommentContentRequiredException) Code() string { // Message returns the exception's message. func (s CommentContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12880,6 +12995,8 @@ func (s CommentContentRequiredException) RequestID() string { type CommentContentSizeLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12905,6 +13022,9 @@ func (s CommentContentSizeLimitExceededException) Code() string { // Message returns the exception's message. func (s CommentContentSizeLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12932,6 +13052,8 @@ func (s CommentContentSizeLimitExceededException) RequestID() string { type CommentDeletedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12957,6 +13079,9 @@ func (s CommentDeletedException) Code() string { // Message returns the exception's message. func (s CommentDeletedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12984,6 +13109,8 @@ func (s CommentDeletedException) RequestID() string { type CommentDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13009,6 +13136,9 @@ func (s CommentDoesNotExistException) Code() string { // Message returns the exception's message. func (s CommentDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13035,6 +13165,8 @@ func (s CommentDoesNotExistException) RequestID() string { type CommentIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13060,6 +13192,9 @@ func (s CommentIdRequiredException) Code() string { // Message returns the exception's message. func (s CommentIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13087,6 +13222,8 @@ func (s CommentIdRequiredException) RequestID() string { type CommentNotCreatedByCallerException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13112,6 +13249,9 @@ func (s CommentNotCreatedByCallerException) Code() string { // Message returns the exception's message. func (s CommentNotCreatedByCallerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13403,6 +13543,8 @@ func (s *Commit) SetTreeId(v string) *Commit { type CommitDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13428,6 +13570,9 @@ func (s CommitDoesNotExistException) Code() string { // Message returns the exception's message. func (s CommitDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13454,6 +13599,8 @@ func (s CommitDoesNotExistException) RequestID() string { type CommitIdDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13479,6 +13626,9 @@ func (s CommitIdDoesNotExistException) Code() string { // Message returns the exception's message. func (s CommitIdDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13505,6 +13655,8 @@ func (s CommitIdDoesNotExistException) RequestID() string { type CommitIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13530,6 +13682,9 @@ func (s CommitIdRequiredException) Code() string { // Message returns the exception's message. func (s CommitIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13558,6 +13713,8 @@ func (s CommitIdRequiredException) RequestID() string { type CommitIdsLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13583,6 +13740,9 @@ func (s CommitIdsLimitExceededException) Code() string { // Message returns the exception's message. func (s CommitIdsLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13610,6 +13770,8 @@ func (s CommitIdsLimitExceededException) RequestID() string { type CommitIdsListRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13635,6 +13797,9 @@ func (s CommitIdsListRequiredException) Code() string { // Message returns the exception's message. func (s CommitIdsListRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13661,6 +13826,8 @@ func (s CommitIdsListRequiredException) RequestID() string { type CommitMessageLengthExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13686,6 +13853,9 @@ func (s CommitMessageLengthExceededException) Code() string { // Message returns the exception's message. func (s CommitMessageLengthExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13712,6 +13882,8 @@ func (s CommitMessageLengthExceededException) RequestID() string { type CommitRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13737,6 +13909,9 @@ func (s CommitRequiredException) Code() string { // Message returns the exception's message. func (s CommitRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13765,6 +13940,8 @@ func (s CommitRequiredException) RequestID() string { type ConcurrentReferenceUpdateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13790,6 +13967,9 @@ func (s ConcurrentReferenceUpdateException) Code() string { // Message returns the exception's message. func (s ConcurrentReferenceUpdateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15008,6 +15188,8 @@ func (s *CreateUnreferencedMergeCommitOutput) SetTreeId(v string) *CreateUnrefer type DefaultBranchCannotBeDeletedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15033,6 +15215,9 @@ func (s DefaultBranchCannotBeDeletedException) Code() string { // Message returns the exception's message. func (s DefaultBranchCannotBeDeletedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16040,6 +16225,8 @@ func (s *Difference) SetChangeType(v string) *Difference { type DirectoryNameConflictsWithFileNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16065,6 +16252,9 @@ func (s DirectoryNameConflictsWithFileNameException) Code() string { // Message returns the exception's message. func (s DirectoryNameConflictsWithFileNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16163,6 +16353,8 @@ func (s DisassociateApprovalRuleTemplateFromRepositoryOutput) GoString() string type EncryptionIntegrityChecksFailedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16188,6 +16380,9 @@ func (s EncryptionIntegrityChecksFailedException) Code() string { // Message returns the exception's message. func (s EncryptionIntegrityChecksFailedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16214,6 +16409,8 @@ func (s EncryptionIntegrityChecksFailedException) RequestID() string { type EncryptionKeyAccessDeniedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16239,6 +16436,9 @@ func (s EncryptionKeyAccessDeniedException) Code() string { // Message returns the exception's message. func (s EncryptionKeyAccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16265,6 +16465,8 @@ func (s EncryptionKeyAccessDeniedException) RequestID() string { type EncryptionKeyDisabledException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16290,6 +16492,9 @@ func (s EncryptionKeyDisabledException) Code() string { // Message returns the exception's message. func (s EncryptionKeyDisabledException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16316,6 +16521,8 @@ func (s EncryptionKeyDisabledException) RequestID() string { type EncryptionKeyNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16341,6 +16548,9 @@ func (s EncryptionKeyNotFoundException) Code() string { // Message returns the exception's message. func (s EncryptionKeyNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16367,6 +16577,8 @@ func (s EncryptionKeyNotFoundException) RequestID() string { type EncryptionKeyUnavailableException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16392,6 +16604,9 @@ func (s EncryptionKeyUnavailableException) Code() string { // Message returns the exception's message. func (s EncryptionKeyUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16606,6 +16821,8 @@ func (s *File) SetRelativePath(v string) *File { type FileContentAndSourceFileSpecifiedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16631,6 +16848,9 @@ func (s FileContentAndSourceFileSpecifiedException) Code() string { // Message returns the exception's message. func (s FileContentAndSourceFileSpecifiedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16658,6 +16878,8 @@ func (s FileContentAndSourceFileSpecifiedException) RequestID() string { type FileContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16683,6 +16905,9 @@ func (s FileContentRequiredException) Code() string { // Message returns the exception's message. func (s FileContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16711,6 +16936,8 @@ func (s FileContentRequiredException) RequestID() string { type FileContentSizeLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16736,6 +16963,9 @@ func (s FileContentSizeLimitExceededException) Code() string { // Message returns the exception's message. func (s FileContentSizeLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16763,6 +16993,8 @@ func (s FileContentSizeLimitExceededException) RequestID() string { type FileDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16788,6 +17020,9 @@ func (s FileDoesNotExistException) Code() string { // Message returns the exception's message. func (s FileDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16815,6 +17050,8 @@ func (s FileDoesNotExistException) RequestID() string { type FileEntryRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16840,6 +17077,9 @@ func (s FileEntryRequiredException) Code() string { // Message returns the exception's message. func (s FileEntryRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16911,6 +17151,8 @@ func (s *FileMetadata) SetFileMode(v string) *FileMetadata { type FileModeRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16936,6 +17178,9 @@ func (s FileModeRequiredException) Code() string { // Message returns the exception's message. func (s FileModeRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17007,6 +17252,8 @@ func (s *FileModes) SetSource(v string) *FileModes { type FileNameConflictsWithDirectoryNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17032,6 +17279,9 @@ func (s FileNameConflictsWithDirectoryNameException) Code() string { // Message returns the exception's message. func (s FileNameConflictsWithDirectoryNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17060,6 +17310,8 @@ func (s FileNameConflictsWithDirectoryNameException) RequestID() string { type FilePathConflictsWithSubmodulePathException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17085,6 +17337,9 @@ func (s FilePathConflictsWithSubmodulePathException) Code() string { // Message returns the exception's message. func (s FilePathConflictsWithSubmodulePathException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17155,6 +17410,8 @@ func (s *FileSizes) SetSource(v int64) *FileSizes { type FileTooLargeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17180,6 +17437,9 @@ func (s FileTooLargeException) Code() string { // Message returns the exception's message. func (s FileTooLargeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17253,6 +17513,8 @@ func (s *Folder) SetTreeId(v string) *Folder { type FolderContentSizeLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17278,6 +17540,9 @@ func (s FolderContentSizeLimitExceededException) Code() string { // Message returns the exception's message. func (s FolderContentSizeLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17305,6 +17570,8 @@ func (s FolderContentSizeLimitExceededException) RequestID() string { type FolderDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17330,6 +17597,9 @@ func (s FolderDoesNotExistException) Code() string { // Message returns the exception's message. func (s FolderDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19303,6 +19573,8 @@ func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRe type IdempotencyParameterMismatchException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19328,6 +19600,9 @@ func (s IdempotencyParameterMismatchException) Code() string { // Message returns the exception's message. func (s IdempotencyParameterMismatchException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19356,6 +19631,8 @@ func (s IdempotencyParameterMismatchException) RequestID() string { type InvalidActorArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19381,6 +19658,9 @@ func (s InvalidActorArnException) Code() string { // Message returns the exception's message. func (s InvalidActorArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19407,6 +19687,8 @@ func (s InvalidActorArnException) RequestID() string { type InvalidApprovalRuleContentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19432,6 +19714,9 @@ func (s InvalidApprovalRuleContentException) Code() string { // Message returns the exception's message. func (s InvalidApprovalRuleContentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19458,6 +19743,8 @@ func (s InvalidApprovalRuleContentException) RequestID() string { type InvalidApprovalRuleNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19483,6 +19770,9 @@ func (s InvalidApprovalRuleNameException) Code() string { // Message returns the exception's message. func (s InvalidApprovalRuleNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19509,6 +19799,8 @@ func (s InvalidApprovalRuleNameException) RequestID() string { type InvalidApprovalRuleTemplateContentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19534,6 +19826,9 @@ func (s InvalidApprovalRuleTemplateContentException) Code() string { // Message returns the exception's message. func (s InvalidApprovalRuleTemplateContentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19562,6 +19857,8 @@ func (s InvalidApprovalRuleTemplateContentException) RequestID() string { type InvalidApprovalRuleTemplateDescriptionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19587,6 +19884,9 @@ func (s InvalidApprovalRuleTemplateDescriptionException) Code() string { // Message returns the exception's message. func (s InvalidApprovalRuleTemplateDescriptionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19615,6 +19915,8 @@ func (s InvalidApprovalRuleTemplateDescriptionException) RequestID() string { type InvalidApprovalRuleTemplateNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19640,6 +19942,9 @@ func (s InvalidApprovalRuleTemplateNameException) Code() string { // Message returns the exception's message. func (s InvalidApprovalRuleTemplateNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19667,6 +19972,8 @@ func (s InvalidApprovalRuleTemplateNameException) RequestID() string { type InvalidApprovalStateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19692,6 +19999,9 @@ func (s InvalidApprovalStateException) Code() string { // Message returns the exception's message. func (s InvalidApprovalStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19719,6 +20029,8 @@ func (s InvalidApprovalStateException) RequestID() string { type InvalidAuthorArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19744,6 +20056,9 @@ func (s InvalidAuthorArnException) Code() string { // Message returns the exception's message. func (s InvalidAuthorArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19770,6 +20085,8 @@ func (s InvalidAuthorArnException) RequestID() string { type InvalidBlobIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19795,6 +20112,9 @@ func (s InvalidBlobIdException) Code() string { // Message returns the exception's message. func (s InvalidBlobIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19821,6 +20141,8 @@ func (s InvalidBlobIdException) RequestID() string { type InvalidBranchNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19846,6 +20168,9 @@ func (s InvalidBranchNameException) Code() string { // Message returns the exception's message. func (s InvalidBranchNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19872,6 +20197,8 @@ func (s InvalidBranchNameException) RequestID() string { type InvalidClientRequestTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19897,6 +20224,9 @@ func (s InvalidClientRequestTokenException) Code() string { // Message returns the exception's message. func (s InvalidClientRequestTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19924,6 +20254,8 @@ func (s InvalidClientRequestTokenException) RequestID() string { type InvalidCommentIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19949,6 +20281,9 @@ func (s InvalidCommentIdException) Code() string { // Message returns the exception's message. func (s InvalidCommentIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19975,6 +20310,8 @@ func (s InvalidCommentIdException) RequestID() string { type InvalidCommitException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20000,6 +20337,9 @@ func (s InvalidCommitException) Code() string { // Message returns the exception's message. func (s InvalidCommitException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20026,6 +20366,8 @@ func (s InvalidCommitException) RequestID() string { type InvalidCommitIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20051,6 +20393,9 @@ func (s InvalidCommitIdException) Code() string { // Message returns the exception's message. func (s InvalidCommitIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20077,6 +20422,8 @@ func (s InvalidCommitIdException) RequestID() string { type InvalidConflictDetailLevelException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20102,6 +20449,9 @@ func (s InvalidConflictDetailLevelException) Code() string { // Message returns the exception's message. func (s InvalidConflictDetailLevelException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20128,6 +20478,8 @@ func (s InvalidConflictDetailLevelException) RequestID() string { type InvalidConflictResolutionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20153,6 +20505,9 @@ func (s InvalidConflictResolutionException) Code() string { // Message returns the exception's message. func (s InvalidConflictResolutionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20179,6 +20534,8 @@ func (s InvalidConflictResolutionException) RequestID() string { type InvalidConflictResolutionStrategyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20204,6 +20561,9 @@ func (s InvalidConflictResolutionStrategyException) Code() string { // Message returns the exception's message. func (s InvalidConflictResolutionStrategyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20230,6 +20590,8 @@ func (s InvalidConflictResolutionStrategyException) RequestID() string { type InvalidContinuationTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20255,6 +20617,9 @@ func (s InvalidContinuationTokenException) Code() string { // Message returns the exception's message. func (s InvalidContinuationTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20281,6 +20646,8 @@ func (s InvalidContinuationTokenException) RequestID() string { type InvalidDeletionParameterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20306,6 +20673,9 @@ func (s InvalidDeletionParameterException) Code() string { // Message returns the exception's message. func (s InvalidDeletionParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20333,6 +20703,8 @@ func (s InvalidDeletionParameterException) RequestID() string { type InvalidDescriptionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20358,6 +20730,9 @@ func (s InvalidDescriptionException) Code() string { // Message returns the exception's message. func (s InvalidDescriptionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20385,6 +20760,8 @@ func (s InvalidDescriptionException) RequestID() string { type InvalidDestinationCommitSpecifierException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20410,6 +20787,9 @@ func (s InvalidDestinationCommitSpecifierException) Code() string { // Message returns the exception's message. func (s InvalidDestinationCommitSpecifierException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20438,6 +20818,8 @@ func (s InvalidDestinationCommitSpecifierException) RequestID() string { type InvalidEmailException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20463,6 +20845,9 @@ func (s InvalidEmailException) Code() string { // Message returns the exception's message. func (s InvalidEmailException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20490,6 +20875,8 @@ func (s InvalidEmailException) RequestID() string { type InvalidFileLocationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20515,6 +20902,9 @@ func (s InvalidFileLocationException) Code() string { // Message returns the exception's message. func (s InvalidFileLocationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20542,6 +20932,8 @@ func (s InvalidFileLocationException) RequestID() string { type InvalidFileModeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20567,6 +20959,9 @@ func (s InvalidFileModeException) Code() string { // Message returns the exception's message. func (s InvalidFileModeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20594,6 +20989,8 @@ func (s InvalidFileModeException) RequestID() string { type InvalidFilePositionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20619,6 +21016,9 @@ func (s InvalidFilePositionException) Code() string { // Message returns the exception's message. func (s InvalidFilePositionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20645,6 +21045,8 @@ func (s InvalidFilePositionException) RequestID() string { type InvalidMaxConflictFilesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20670,6 +21072,9 @@ func (s InvalidMaxConflictFilesException) Code() string { // Message returns the exception's message. func (s InvalidMaxConflictFilesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20696,6 +21101,8 @@ func (s InvalidMaxConflictFilesException) RequestID() string { type InvalidMaxMergeHunksException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20721,6 +21128,9 @@ func (s InvalidMaxMergeHunksException) Code() string { // Message returns the exception's message. func (s InvalidMaxMergeHunksException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20747,6 +21157,8 @@ func (s InvalidMaxMergeHunksException) RequestID() string { type InvalidMaxResultsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20772,6 +21184,9 @@ func (s InvalidMaxResultsException) Code() string { // Message returns the exception's message. func (s InvalidMaxResultsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20799,6 +21214,8 @@ func (s InvalidMaxResultsException) RequestID() string { type InvalidMergeOptionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20824,6 +21241,9 @@ func (s InvalidMergeOptionException) Code() string { // Message returns the exception's message. func (s InvalidMergeOptionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20850,6 +21270,8 @@ func (s InvalidMergeOptionException) RequestID() string { type InvalidOrderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20875,6 +21297,9 @@ func (s InvalidOrderException) Code() string { // Message returns the exception's message. func (s InvalidOrderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20901,6 +21326,8 @@ func (s InvalidOrderException) RequestID() string { type InvalidOverrideStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20926,6 +21353,9 @@ func (s InvalidOverrideStatusException) Code() string { // Message returns the exception's message. func (s InvalidOverrideStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -20954,6 +21384,8 @@ func (s InvalidOverrideStatusException) RequestID() string { type InvalidParentCommitIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -20979,6 +21411,9 @@ func (s InvalidParentCommitIdException) Code() string { // Message returns the exception's message. func (s InvalidParentCommitIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21005,6 +21440,8 @@ func (s InvalidParentCommitIdException) RequestID() string { type InvalidPathException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21030,6 +21467,9 @@ func (s InvalidPathException) Code() string { // Message returns the exception's message. func (s InvalidPathException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21056,6 +21496,8 @@ func (s InvalidPathException) RequestID() string { type InvalidPullRequestEventTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21081,6 +21523,9 @@ func (s InvalidPullRequestEventTypeException) Code() string { // Message returns the exception's message. func (s InvalidPullRequestEventTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21109,6 +21554,8 @@ func (s InvalidPullRequestEventTypeException) RequestID() string { type InvalidPullRequestIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21134,6 +21581,9 @@ func (s InvalidPullRequestIdException) Code() string { // Message returns the exception's message. func (s InvalidPullRequestIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21161,6 +21611,8 @@ func (s InvalidPullRequestIdException) RequestID() string { type InvalidPullRequestStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21186,6 +21638,9 @@ func (s InvalidPullRequestStatusException) Code() string { // Message returns the exception's message. func (s InvalidPullRequestStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21213,6 +21668,8 @@ func (s InvalidPullRequestStatusException) RequestID() string { type InvalidPullRequestStatusUpdateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21238,6 +21695,9 @@ func (s InvalidPullRequestStatusUpdateException) Code() string { // Message returns the exception's message. func (s InvalidPullRequestStatusUpdateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21267,6 +21727,8 @@ func (s InvalidPullRequestStatusUpdateException) RequestID() string { type InvalidReferenceNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21292,6 +21754,9 @@ func (s InvalidReferenceNameException) Code() string { // Message returns the exception's message. func (s InvalidReferenceNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21319,6 +21784,8 @@ func (s InvalidReferenceNameException) RequestID() string { type InvalidRelativeFileVersionEnumException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21344,6 +21811,9 @@ func (s InvalidRelativeFileVersionEnumException) Code() string { // Message returns the exception's message. func (s InvalidRelativeFileVersionEnumException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21371,6 +21841,8 @@ func (s InvalidRelativeFileVersionEnumException) RequestID() string { type InvalidReplacementContentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21396,6 +21868,9 @@ func (s InvalidReplacementContentException) Code() string { // Message returns the exception's message. func (s InvalidReplacementContentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21423,6 +21898,8 @@ func (s InvalidReplacementContentException) RequestID() string { type InvalidReplacementTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21448,6 +21925,9 @@ func (s InvalidReplacementTypeException) Code() string { // Message returns the exception's message. func (s InvalidReplacementTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21474,6 +21954,8 @@ func (s InvalidReplacementTypeException) RequestID() string { type InvalidRepositoryDescriptionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21499,6 +21981,9 @@ func (s InvalidRepositoryDescriptionException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryDescriptionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21529,6 +22014,8 @@ func (s InvalidRepositoryDescriptionException) RequestID() string { type InvalidRepositoryNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21554,6 +22041,9 @@ func (s InvalidRepositoryNameException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21580,6 +22070,8 @@ func (s InvalidRepositoryNameException) RequestID() string { type InvalidRepositoryTriggerBranchNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21605,6 +22097,9 @@ func (s InvalidRepositoryTriggerBranchNameException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerBranchNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21631,6 +22126,8 @@ func (s InvalidRepositoryTriggerBranchNameException) RequestID() string { type InvalidRepositoryTriggerCustomDataException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21656,6 +22153,9 @@ func (s InvalidRepositoryTriggerCustomDataException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerCustomDataException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21684,6 +22184,8 @@ func (s InvalidRepositoryTriggerCustomDataException) RequestID() string { type InvalidRepositoryTriggerDestinationArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21709,6 +22211,9 @@ func (s InvalidRepositoryTriggerDestinationArnException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerDestinationArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21736,6 +22241,8 @@ func (s InvalidRepositoryTriggerDestinationArnException) RequestID() string { type InvalidRepositoryTriggerEventsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21761,6 +22268,9 @@ func (s InvalidRepositoryTriggerEventsException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerEventsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21787,6 +22297,8 @@ func (s InvalidRepositoryTriggerEventsException) RequestID() string { type InvalidRepositoryTriggerNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21812,6 +22324,9 @@ func (s InvalidRepositoryTriggerNameException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21840,6 +22355,8 @@ func (s InvalidRepositoryTriggerNameException) RequestID() string { type InvalidRepositoryTriggerRegionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21865,6 +22382,9 @@ func (s InvalidRepositoryTriggerRegionException) Code() string { // Message returns the exception's message. func (s InvalidRepositoryTriggerRegionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21893,6 +22413,8 @@ func (s InvalidRepositoryTriggerRegionException) RequestID() string { type InvalidResourceArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21918,6 +22440,9 @@ func (s InvalidResourceArnException) Code() string { // Message returns the exception's message. func (s InvalidResourceArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21944,6 +22469,8 @@ func (s InvalidResourceArnException) RequestID() string { type InvalidRevisionIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21969,6 +22496,9 @@ func (s InvalidRevisionIdException) Code() string { // Message returns the exception's message. func (s InvalidRevisionIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21995,6 +22525,8 @@ func (s InvalidRevisionIdException) RequestID() string { type InvalidRuleContentSha256Exception struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22020,6 +22552,9 @@ func (s InvalidRuleContentSha256Exception) Code() string { // Message returns the exception's message. func (s InvalidRuleContentSha256Exception) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22046,6 +22581,8 @@ func (s InvalidRuleContentSha256Exception) RequestID() string { type InvalidSortByException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22071,6 +22608,9 @@ func (s InvalidSortByException) Code() string { // Message returns the exception's message. func (s InvalidSortByException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22098,6 +22638,8 @@ func (s InvalidSortByException) RequestID() string { type InvalidSourceCommitSpecifierException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22123,6 +22665,9 @@ func (s InvalidSourceCommitSpecifierException) Code() string { // Message returns the exception's message. func (s InvalidSourceCommitSpecifierException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22149,6 +22694,8 @@ func (s InvalidSourceCommitSpecifierException) RequestID() string { type InvalidSystemTagUsageException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22174,6 +22721,9 @@ func (s InvalidSystemTagUsageException) Code() string { // Message returns the exception's message. func (s InvalidSystemTagUsageException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22200,6 +22750,8 @@ func (s InvalidSystemTagUsageException) RequestID() string { type InvalidTagKeysListException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22225,6 +22777,9 @@ func (s InvalidTagKeysListException) Code() string { // Message returns the exception's message. func (s InvalidTagKeysListException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22251,6 +22806,8 @@ func (s InvalidTagKeysListException) RequestID() string { type InvalidTagsMapException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22276,6 +22833,9 @@ func (s InvalidTagsMapException) Code() string { // Message returns the exception's message. func (s InvalidTagsMapException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22302,6 +22862,8 @@ func (s InvalidTagsMapException) RequestID() string { type InvalidTargetBranchException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22327,6 +22889,9 @@ func (s InvalidTargetBranchException) Code() string { // Message returns the exception's message. func (s InvalidTargetBranchException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22355,6 +22920,8 @@ func (s InvalidTargetBranchException) RequestID() string { type InvalidTargetException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22380,6 +22947,9 @@ func (s InvalidTargetException) Code() string { // Message returns the exception's message. func (s InvalidTargetException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22409,6 +22979,8 @@ func (s InvalidTargetException) RequestID() string { type InvalidTargetsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22434,6 +23006,9 @@ func (s InvalidTargetsException) Code() string { // Message returns the exception's message. func (s InvalidTargetsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22461,6 +23036,8 @@ func (s InvalidTargetsException) RequestID() string { type InvalidTitleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22486,6 +23063,9 @@ func (s InvalidTitleException) Code() string { // Message returns the exception's message. func (s InvalidTitleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23223,6 +23803,8 @@ func (s *Location) SetRelativeFileVersion(v string) *Location { type ManualMergeRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23248,6 +23830,9 @@ func (s ManualMergeRequiredException) Code() string { // Message returns the exception's message. func (s ManualMergeRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23274,6 +23859,8 @@ func (s ManualMergeRequiredException) RequestID() string { type MaximumBranchesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23299,6 +23886,9 @@ func (s MaximumBranchesExceededException) Code() string { // Message returns the exception's message. func (s MaximumBranchesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23325,6 +23915,8 @@ func (s MaximumBranchesExceededException) RequestID() string { type MaximumConflictResolutionEntriesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23350,6 +23942,9 @@ func (s MaximumConflictResolutionEntriesExceededException) Code() string { // Message returns the exception's message. func (s MaximumConflictResolutionEntriesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23376,6 +23971,8 @@ func (s MaximumConflictResolutionEntriesExceededException) RequestID() string { type MaximumFileContentToLoadExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23401,6 +23998,9 @@ func (s MaximumFileContentToLoadExceededException) Code() string { // Message returns the exception's message. func (s MaximumFileContentToLoadExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23429,6 +24029,8 @@ func (s MaximumFileContentToLoadExceededException) RequestID() string { type MaximumFileEntriesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23454,6 +24056,9 @@ func (s MaximumFileEntriesExceededException) Code() string { // Message returns the exception's message. func (s MaximumFileEntriesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23481,6 +24086,8 @@ func (s MaximumFileEntriesExceededException) RequestID() string { type MaximumItemsToCompareExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23506,6 +24113,9 @@ func (s MaximumItemsToCompareExceededException) Code() string { // Message returns the exception's message. func (s MaximumItemsToCompareExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23533,6 +24143,8 @@ func (s MaximumItemsToCompareExceededException) RequestID() string { type MaximumNumberOfApprovalsExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23558,6 +24170,9 @@ func (s MaximumNumberOfApprovalsExceededException) Code() string { // Message returns the exception's message. func (s MaximumNumberOfApprovalsExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23586,6 +24201,8 @@ func (s MaximumNumberOfApprovalsExceededException) RequestID() string { type MaximumOpenPullRequestsExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23611,6 +24228,9 @@ func (s MaximumOpenPullRequestsExceededException) Code() string { // Message returns the exception's message. func (s MaximumOpenPullRequestsExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23638,6 +24258,8 @@ func (s MaximumOpenPullRequestsExceededException) RequestID() string { type MaximumRepositoryNamesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23663,6 +24285,9 @@ func (s MaximumRepositoryNamesExceededException) Code() string { // Message returns the exception's message. func (s MaximumRepositoryNamesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23689,6 +24314,8 @@ func (s MaximumRepositoryNamesExceededException) RequestID() string { type MaximumRepositoryTriggersExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23714,6 +24341,9 @@ func (s MaximumRepositoryTriggersExceededException) Code() string { // Message returns the exception's message. func (s MaximumRepositoryTriggersExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23741,6 +24371,8 @@ func (s MaximumRepositoryTriggersExceededException) RequestID() string { type MaximumRuleTemplatesAssociatedWithRepositoryException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23766,6 +24398,9 @@ func (s MaximumRuleTemplatesAssociatedWithRepositoryException) Code() string { // Message returns the exception's message. func (s MaximumRuleTemplatesAssociatedWithRepositoryException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -24481,6 +25116,8 @@ func (s *MergeOperations) SetSource(v string) *MergeOperations { type MergeOptionRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -24506,6 +25143,9 @@ func (s MergeOptionRequiredException) Code() string { // Message returns the exception's message. func (s MergeOptionRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -24958,6 +25598,8 @@ func (s *MergePullRequestByThreeWayOutput) SetPullRequest(v *PullRequest) *Merge type MultipleConflictResolutionEntriesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -24983,6 +25625,9 @@ func (s MultipleConflictResolutionEntriesException) Code() string { // Message returns the exception's message. func (s MultipleConflictResolutionEntriesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25011,6 +25656,8 @@ func (s MultipleConflictResolutionEntriesException) RequestID() string { type MultipleRepositoriesInPullRequestException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25036,6 +25683,9 @@ func (s MultipleRepositoriesInPullRequestException) Code() string { // Message returns the exception's message. func (s MultipleRepositoriesInPullRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25063,6 +25713,8 @@ func (s MultipleRepositoriesInPullRequestException) RequestID() string { type NameLengthExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25088,6 +25740,9 @@ func (s NameLengthExceededException) Code() string { // Message returns the exception's message. func (s NameLengthExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25115,6 +25770,8 @@ func (s NameLengthExceededException) RequestID() string { type NoChangeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25140,6 +25797,9 @@ func (s NoChangeException) Code() string { // Message returns the exception's message. func (s NoChangeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25167,6 +25827,8 @@ func (s NoChangeException) RequestID() string { type NumberOfRuleTemplatesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25192,6 +25854,9 @@ func (s NumberOfRuleTemplatesExceededException) Code() string { // Message returns the exception's message. func (s NumberOfRuleTemplatesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25219,6 +25884,8 @@ func (s NumberOfRuleTemplatesExceededException) RequestID() string { type NumberOfRulesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25244,6 +25911,9 @@ func (s NumberOfRulesExceededException) Code() string { // Message returns the exception's message. func (s NumberOfRulesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25346,6 +26016,8 @@ func (s *OriginApprovalRuleTemplate) SetApprovalRuleTemplateName(v string) *Orig type OverrideAlreadySetException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25371,6 +26043,9 @@ func (s OverrideAlreadySetException) Code() string { // Message returns the exception's message. func (s OverrideAlreadySetException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25483,6 +26158,8 @@ func (s OverridePullRequestApprovalRulesOutput) GoString() string { type OverrideStatusRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25508,6 +26185,9 @@ func (s OverrideStatusRequiredException) Code() string { // Message returns the exception's message. func (s OverrideStatusRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25535,6 +26215,8 @@ func (s OverrideStatusRequiredException) RequestID() string { type ParentCommitDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25560,6 +26242,9 @@ func (s ParentCommitDoesNotExistException) Code() string { // Message returns the exception's message. func (s ParentCommitDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25588,6 +26273,8 @@ func (s ParentCommitDoesNotExistException) RequestID() string { type ParentCommitIdOutdatedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25613,6 +26300,9 @@ func (s ParentCommitIdOutdatedException) Code() string { // Message returns the exception's message. func (s ParentCommitIdOutdatedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25641,6 +26331,8 @@ func (s ParentCommitIdOutdatedException) RequestID() string { type ParentCommitIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25666,6 +26358,9 @@ func (s ParentCommitIdRequiredException) Code() string { // Message returns the exception's message. func (s ParentCommitIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25692,6 +26387,8 @@ func (s ParentCommitIdRequiredException) RequestID() string { type PathDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25717,6 +26414,9 @@ func (s PathDoesNotExistException) Code() string { // Message returns the exception's message. func (s PathDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -25743,6 +26443,8 @@ func (s PathDoesNotExistException) RequestID() string { type PathRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -25768,6 +26470,9 @@ func (s PathRequiredException) Code() string { // Message returns the exception's message. func (s PathRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26396,6 +27101,8 @@ func (s *PullRequest) SetTitle(v string) *PullRequest { type PullRequestAlreadyClosedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26421,6 +27128,9 @@ func (s PullRequestAlreadyClosedException) Code() string { // Message returns the exception's message. func (s PullRequestAlreadyClosedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26448,6 +27158,8 @@ func (s PullRequestAlreadyClosedException) RequestID() string { type PullRequestApprovalRulesNotSatisfiedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26473,6 +27185,9 @@ func (s PullRequestApprovalRulesNotSatisfiedException) Code() string { // Message returns the exception's message. func (s PullRequestApprovalRulesNotSatisfiedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26501,6 +27216,8 @@ func (s PullRequestApprovalRulesNotSatisfiedException) RequestID() string { type PullRequestCannotBeApprovedByAuthorException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26526,6 +27243,9 @@ func (s PullRequestCannotBeApprovedByAuthorException) Code() string { // Message returns the exception's message. func (s PullRequestCannotBeApprovedByAuthorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26607,6 +27327,8 @@ func (s *PullRequestCreatedEventMetadata) SetSourceCommitId(v string) *PullReque type PullRequestDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26632,6 +27354,9 @@ func (s PullRequestDoesNotExistException) Code() string { // Message returns the exception's message. func (s PullRequestDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26775,6 +27500,8 @@ func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullReque type PullRequestIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26800,6 +27527,9 @@ func (s PullRequestIdRequiredException) Code() string { // Message returns the exception's message. func (s PullRequestIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -26947,6 +27677,8 @@ func (s *PullRequestStatusChangedEventMetadata) SetPullRequestStatus(v string) * type PullRequestStatusRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -26972,6 +27704,9 @@ func (s PullRequestStatusRequiredException) Code() string { // Message returns the exception's message. func (s PullRequestStatusRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27160,6 +27895,8 @@ func (s *PutFileEntry) SetSourceFile(v *SourceFileSpecifier) *PutFileEntry { type PutFileEntryConflictException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27185,6 +27922,9 @@ func (s PutFileEntryConflictException) Code() string { // Message returns the exception's message. func (s PutFileEntryConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27495,6 +28235,8 @@ func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositor type ReferenceDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27520,6 +28262,9 @@ func (s ReferenceDoesNotExistException) Code() string { // Message returns the exception's message. func (s ReferenceDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27546,6 +28291,8 @@ func (s ReferenceDoesNotExistException) RequestID() string { type ReferenceNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27571,6 +28318,9 @@ func (s ReferenceNameRequiredException) Code() string { // Message returns the exception's message. func (s ReferenceNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27597,6 +28347,8 @@ func (s ReferenceNameRequiredException) RequestID() string { type ReferenceTypeNotSupportedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27622,6 +28374,9 @@ func (s ReferenceTypeNotSupportedException) Code() string { // Message returns the exception's message. func (s ReferenceTypeNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27722,6 +28477,8 @@ func (s *ReplaceContentEntry) SetReplacementType(v string) *ReplaceContentEntry type ReplacementContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27747,6 +28504,9 @@ func (s ReplacementContentRequiredException) Code() string { // Message returns the exception's message. func (s ReplacementContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27773,6 +28533,8 @@ func (s ReplacementContentRequiredException) RequestID() string { type ReplacementTypeRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27798,6 +28560,9 @@ func (s ReplacementTypeRequiredException) Code() string { // Message returns the exception's message. func (s ReplacementTypeRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27824,6 +28589,8 @@ func (s ReplacementTypeRequiredException) RequestID() string { type RepositoryDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27849,6 +28616,9 @@ func (s RepositoryDoesNotExistException) Code() string { // Message returns the exception's message. func (s RepositoryDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -27875,6 +28645,8 @@ func (s RepositoryDoesNotExistException) RequestID() string { type RepositoryLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -27900,6 +28672,9 @@ func (s RepositoryLimitExceededException) Code() string { // Message returns the exception's message. func (s RepositoryLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28031,6 +28806,8 @@ func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata { type RepositoryNameExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28056,6 +28833,9 @@ func (s RepositoryNameExistsException) Code() string { // Message returns the exception's message. func (s RepositoryNameExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28115,6 +28895,8 @@ func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair type RepositoryNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28140,6 +28922,9 @@ func (s RepositoryNameRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28166,6 +28951,8 @@ func (s RepositoryNameRequiredException) RequestID() string { type RepositoryNamesRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28191,6 +28978,9 @@ func (s RepositoryNamesRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryNamesRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28219,6 +29009,8 @@ func (s RepositoryNamesRequiredException) RequestID() string { type RepositoryNotAssociatedWithPullRequestException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28244,6 +29036,9 @@ func (s RepositoryNotAssociatedWithPullRequestException) Code() string { // Message returns the exception's message. func (s RepositoryNotAssociatedWithPullRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28365,6 +29160,8 @@ func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger { type RepositoryTriggerBranchNameListRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28390,6 +29187,9 @@ func (s RepositoryTriggerBranchNameListRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryTriggerBranchNameListRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28417,6 +29217,8 @@ func (s RepositoryTriggerBranchNameListRequiredException) RequestID() string { type RepositoryTriggerDestinationArnRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28442,6 +29244,9 @@ func (s RepositoryTriggerDestinationArnRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryTriggerDestinationArnRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28468,6 +29273,8 @@ func (s RepositoryTriggerDestinationArnRequiredException) RequestID() string { type RepositoryTriggerEventsListRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28493,6 +29300,9 @@ func (s RepositoryTriggerEventsListRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryTriggerEventsListRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28552,6 +29362,8 @@ func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTrig type RepositoryTriggerNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28577,6 +29389,9 @@ func (s RepositoryTriggerNameRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryTriggerNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28603,6 +29418,8 @@ func (s RepositoryTriggerNameRequiredException) RequestID() string { type RepositoryTriggersListRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28628,6 +29445,9 @@ func (s RepositoryTriggersListRequiredException) Code() string { // Message returns the exception's message. func (s RepositoryTriggersListRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28657,6 +29477,8 @@ func (s RepositoryTriggersListRequiredException) RequestID() string { type ResourceArnRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28682,6 +29504,9 @@ func (s ResourceArnRequiredException) Code() string { // Message returns the exception's message. func (s ResourceArnRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28709,6 +29534,8 @@ func (s ResourceArnRequiredException) RequestID() string { type RestrictedSourceFileException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28734,6 +29561,9 @@ func (s RestrictedSourceFileException) Code() string { // Message returns the exception's message. func (s RestrictedSourceFileException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28760,6 +29590,8 @@ func (s RestrictedSourceFileException) RequestID() string { type RevisionIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28785,6 +29617,9 @@ func (s RevisionIdRequiredException) Code() string { // Message returns the exception's message. func (s RevisionIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28812,6 +29647,8 @@ func (s RevisionIdRequiredException) RequestID() string { type RevisionNotCurrentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28837,6 +29674,9 @@ func (s RevisionNotCurrentException) Code() string { // Message returns the exception's message. func (s RevisionNotCurrentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28865,6 +29705,8 @@ func (s RevisionNotCurrentException) RequestID() string { type SameFileContentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28890,6 +29732,9 @@ func (s SameFileContentException) Code() string { // Message returns the exception's message. func (s SameFileContentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28919,6 +29764,8 @@ func (s SameFileContentException) RequestID() string { type SamePathRequestException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28944,6 +29791,9 @@ func (s SamePathRequestException) Code() string { // Message returns the exception's message. func (s SamePathRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29024,6 +29874,8 @@ func (s *SetFileModeEntry) SetFilePath(v string) *SetFileModeEntry { type SourceAndDestinationAreSameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29049,6 +29901,9 @@ func (s SourceAndDestinationAreSameException) Code() string { // Message returns the exception's message. func (s SourceAndDestinationAreSameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29076,6 +29931,8 @@ func (s SourceAndDestinationAreSameException) RequestID() string { type SourceFileOrContentRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29101,6 +29958,9 @@ func (s SourceFileOrContentRequiredException) Code() string { // Message returns the exception's message. func (s SourceFileOrContentRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29270,6 +30130,8 @@ func (s *SymbolicLink) SetRelativePath(v string) *SymbolicLink { type TagKeysListRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29295,6 +30157,9 @@ func (s TagKeysListRequiredException) Code() string { // Message returns the exception's message. func (s TagKeysListRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29321,6 +30186,8 @@ func (s TagKeysListRequiredException) RequestID() string { type TagPolicyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29346,6 +30213,9 @@ func (s TagPolicyException) Code() string { // Message returns the exception's message. func (s TagPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29439,6 +30309,8 @@ func (s TagResourceOutput) GoString() string { type TagsMapRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29464,6 +30336,9 @@ func (s TagsMapRequiredException) Code() string { // Message returns the exception's message. func (s TagsMapRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29559,6 +30434,8 @@ func (s *Target) SetSourceReference(v string) *Target { type TargetRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29584,6 +30461,9 @@ func (s TargetRequiredException) Code() string { // Message returns the exception's message. func (s TargetRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29610,6 +30490,8 @@ func (s TargetRequiredException) RequestID() string { type TargetsRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29635,6 +30517,9 @@ func (s TargetsRequiredException) Code() string { // Message returns the exception's message. func (s TargetsRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29764,6 +30649,8 @@ func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *Tes type TipOfSourceReferenceIsDifferentException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29789,6 +30676,9 @@ func (s TipOfSourceReferenceIsDifferentException) Code() string { // Message returns the exception's message. func (s TipOfSourceReferenceIsDifferentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29817,6 +30707,8 @@ func (s TipOfSourceReferenceIsDifferentException) RequestID() string { type TipsDivergenceExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29842,6 +30734,9 @@ func (s TipsDivergenceExceededException) Code() string { // Message returns the exception's message. func (s TipsDivergenceExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29868,6 +30763,8 @@ func (s TipsDivergenceExceededException) RequestID() string { type TitleRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29893,6 +30790,9 @@ func (s TitleRequiredException) Code() string { // Message returns the exception's message. func (s TitleRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29919,6 +30819,8 @@ func (s TitleRequiredException) RequestID() string { type TooManyTagsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29944,6 +30846,9 @@ func (s TooManyTagsException) Code() string { // Message returns the exception's message. func (s TooManyTagsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go index 12bd6690c00..16e57401deb 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go @@ -5178,6 +5178,8 @@ func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfigurati type AlarmsLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5203,6 +5205,9 @@ func (s AlarmsLimitExceededException) Code() string { // Message returns the exception's message. func (s AlarmsLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5277,6 +5282,8 @@ func (s *AppSpecContent) SetSha256(v string) *AppSpecContent { type ApplicationAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5302,6 +5309,9 @@ func (s ApplicationAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ApplicationAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5328,6 +5338,8 @@ func (s ApplicationAlreadyExistsException) RequestID() string { type ApplicationDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5353,6 +5365,9 @@ func (s ApplicationDoesNotExistException) Code() string { // Message returns the exception's message. func (s ApplicationDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5450,6 +5465,8 @@ func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo { type ApplicationLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5475,6 +5492,9 @@ func (s ApplicationLimitExceededException) Code() string { // Message returns the exception's message. func (s ApplicationLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5501,6 +5521,8 @@ func (s ApplicationLimitExceededException) RequestID() string { type ApplicationNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5526,6 +5548,9 @@ func (s ApplicationNameRequiredException) Code() string { // Message returns the exception's message. func (s ApplicationNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5553,6 +5578,8 @@ func (s ApplicationNameRequiredException) RequestID() string { type ArnNotSupportedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5578,6 +5605,9 @@ func (s ArnNotSupportedException) Code() string { // Message returns the exception's message. func (s ArnNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6217,6 +6247,8 @@ func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []*InstanceInfo) type BatchLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6242,6 +6274,9 @@ func (s BatchLimitExceededException) Code() string { // Message returns the exception's message. func (s BatchLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6361,6 +6396,8 @@ func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) type BucketNameFilterRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6386,6 +6423,9 @@ func (s BucketNameFilterRequiredException) Code() string { // Message returns the exception's message. func (s BucketNameFilterRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7364,6 +7404,8 @@ func (s *DeleteGitHubAccountTokenOutput) SetTokenName(v string) *DeleteGitHubAcc type DeploymentAlreadyCompletedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7389,6 +7431,9 @@ func (s DeploymentAlreadyCompletedException) Code() string { // Message returns the exception's message. func (s DeploymentAlreadyCompletedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7416,6 +7461,8 @@ func (s DeploymentAlreadyCompletedException) RequestID() string { type DeploymentConfigAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7441,6 +7488,9 @@ func (s DeploymentConfigAlreadyExistsException) Code() string { // Message returns the exception's message. func (s DeploymentConfigAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7467,6 +7517,8 @@ func (s DeploymentConfigAlreadyExistsException) RequestID() string { type DeploymentConfigDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7492,6 +7544,9 @@ func (s DeploymentConfigDoesNotExistException) Code() string { // Message returns the exception's message. func (s DeploymentConfigDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7518,6 +7573,8 @@ func (s DeploymentConfigDoesNotExistException) RequestID() string { type DeploymentConfigInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7543,6 +7600,9 @@ func (s DeploymentConfigInUseException) Code() string { // Message returns the exception's message. func (s DeploymentConfigInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7639,6 +7699,8 @@ func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) type DeploymentConfigLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7664,6 +7726,9 @@ func (s DeploymentConfigLimitExceededException) Code() string { // Message returns the exception's message. func (s DeploymentConfigLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7690,6 +7755,8 @@ func (s DeploymentConfigLimitExceededException) RequestID() string { type DeploymentConfigNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7715,6 +7782,9 @@ func (s DeploymentConfigNameRequiredException) Code() string { // Message returns the exception's message. func (s DeploymentConfigNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7741,6 +7811,8 @@ func (s DeploymentConfigNameRequiredException) RequestID() string { type DeploymentDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7766,6 +7838,9 @@ func (s DeploymentDoesNotExistException) Code() string { // Message returns the exception's message. func (s DeploymentDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7793,6 +7868,8 @@ func (s DeploymentDoesNotExistException) RequestID() string { type DeploymentGroupAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7818,6 +7895,9 @@ func (s DeploymentGroupAlreadyExistsException) Code() string { // Message returns the exception's message. func (s DeploymentGroupAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7844,6 +7924,8 @@ func (s DeploymentGroupAlreadyExistsException) RequestID() string { type DeploymentGroupDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7869,6 +7951,9 @@ func (s DeploymentGroupDoesNotExistException) Code() string { // Message returns the exception's message. func (s DeploymentGroupDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8116,6 +8201,8 @@ func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *Depl type DeploymentGroupLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8141,6 +8228,9 @@ func (s DeploymentGroupLimitExceededException) Code() string { // Message returns the exception's message. func (s DeploymentGroupLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8167,6 +8257,8 @@ func (s DeploymentGroupLimitExceededException) RequestID() string { type DeploymentGroupNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8192,6 +8284,9 @@ func (s DeploymentGroupNameRequiredException) Code() string { // Message returns the exception's message. func (s DeploymentGroupNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8218,6 +8313,8 @@ func (s DeploymentGroupNameRequiredException) RequestID() string { type DeploymentIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8243,6 +8340,9 @@ func (s DeploymentIdRequiredException) Code() string { // Message returns the exception's message. func (s DeploymentIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8581,6 +8681,8 @@ func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo type DeploymentIsNotInReadyStateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8606,6 +8708,9 @@ func (s DeploymentIsNotInReadyStateException) Code() string { // Message returns the exception's message. func (s DeploymentIsNotInReadyStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8632,6 +8737,8 @@ func (s DeploymentIsNotInReadyStateException) RequestID() string { type DeploymentLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8657,6 +8764,9 @@ func (s DeploymentLimitExceededException) Code() string { // Message returns the exception's message. func (s DeploymentLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8683,6 +8793,8 @@ func (s DeploymentLimitExceededException) RequestID() string { type DeploymentNotStartedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8708,6 +8820,9 @@ func (s DeploymentNotStartedException) Code() string { // Message returns the exception's message. func (s DeploymentNotStartedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8939,6 +9054,8 @@ func (s *DeploymentTarget) SetLambdaTarget(v *LambdaTarget) *DeploymentTarget { type DeploymentTargetDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8964,6 +9081,9 @@ func (s DeploymentTargetDoesNotExistException) Code() string { // Message returns the exception's message. func (s DeploymentTargetDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8990,6 +9110,8 @@ func (s DeploymentTargetDoesNotExistException) RequestID() string { type DeploymentTargetIdRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9015,6 +9137,9 @@ func (s DeploymentTargetIdRequiredException) Code() string { // Message returns the exception's message. func (s DeploymentTargetIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9044,6 +9169,8 @@ func (s DeploymentTargetIdRequiredException) RequestID() string { type DeploymentTargetListSizeExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9069,6 +9196,9 @@ func (s DeploymentTargetListSizeExceededException) Code() string { // Message returns the exception's message. func (s DeploymentTargetListSizeExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9148,6 +9278,8 @@ func (s DeregisterOnPremisesInstanceOutput) GoString() string { type DescriptionTooLongException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9173,6 +9305,9 @@ func (s DescriptionTooLongException) Code() string { // Message returns the exception's message. func (s DescriptionTooLongException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9376,6 +9511,8 @@ func (s *ECSService) SetServiceName(v string) *ECSService { type ECSServiceMappingLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9401,6 +9538,9 @@ func (s ECSServiceMappingLimitExceededException) Code() string { // Message returns the exception's message. func (s ECSServiceMappingLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10353,6 +10493,8 @@ func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPre type GitHubAccountTokenDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10378,6 +10520,9 @@ func (s GitHubAccountTokenDoesNotExistException) Code() string { // Message returns the exception's message. func (s GitHubAccountTokenDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10404,6 +10549,8 @@ func (s GitHubAccountTokenDoesNotExistException) RequestID() string { type GitHubAccountTokenNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10429,6 +10576,9 @@ func (s GitHubAccountTokenNameRequiredException) Code() string { // Message returns the exception's message. func (s GitHubAccountTokenNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10524,6 +10674,8 @@ func (s *GreenFleetProvisioningOption) SetAction(v string) *GreenFleetProvisioni type IamArnRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10549,6 +10701,9 @@ func (s IamArnRequiredException) Code() string { // Message returns the exception's message. func (s IamArnRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10576,6 +10731,8 @@ func (s IamArnRequiredException) RequestID() string { type IamSessionArnAlreadyRegisteredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10601,6 +10758,9 @@ func (s IamSessionArnAlreadyRegisteredException) Code() string { // Message returns the exception's message. func (s IamSessionArnAlreadyRegisteredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10627,6 +10787,8 @@ func (s IamSessionArnAlreadyRegisteredException) RequestID() string { type IamUserArnAlreadyRegisteredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10652,6 +10814,9 @@ func (s IamUserArnAlreadyRegisteredException) Code() string { // Message returns the exception's message. func (s IamUserArnAlreadyRegisteredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10678,6 +10843,8 @@ func (s IamUserArnAlreadyRegisteredException) RequestID() string { type IamUserArnRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10703,6 +10870,9 @@ func (s IamUserArnRequiredException) Code() string { // Message returns the exception's message. func (s IamUserArnRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10731,6 +10901,8 @@ func (s IamUserArnRequiredException) RequestID() string { type InstanceDoesNotExistException struct { _ struct{} `deprecated:"true" type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10756,6 +10928,9 @@ func (s InstanceDoesNotExistException) Code() string { // Message returns the exception's message. func (s InstanceDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10784,6 +10959,8 @@ func (s InstanceDoesNotExistException) RequestID() string { type InstanceIdRequiredException struct { _ struct{} `deprecated:"true" type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10809,6 +10986,9 @@ func (s InstanceIdRequiredException) Code() string { // Message returns the exception's message. func (s InstanceIdRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10915,6 +11095,8 @@ func (s *InstanceInfo) SetTags(v []*Tag) *InstanceInfo { type InstanceLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10940,6 +11122,9 @@ func (s InstanceLimitExceededException) Code() string { // Message returns the exception's message. func (s InstanceLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10966,6 +11151,8 @@ func (s InstanceLimitExceededException) RequestID() string { type InstanceNameAlreadyRegisteredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10991,6 +11178,9 @@ func (s InstanceNameAlreadyRegisteredException) Code() string { // Message returns the exception's message. func (s InstanceNameAlreadyRegisteredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11017,6 +11207,8 @@ func (s InstanceNameAlreadyRegisteredException) RequestID() string { type InstanceNameRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11042,6 +11234,9 @@ func (s InstanceNameRequiredException) Code() string { // Message returns the exception's message. func (s InstanceNameRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11068,6 +11263,8 @@ func (s InstanceNameRequiredException) RequestID() string { type InstanceNotRegisteredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11093,6 +11290,9 @@ func (s InstanceNotRegisteredException) Code() string { // Message returns the exception's message. func (s InstanceNotRegisteredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11297,6 +11497,8 @@ func (s *InstanceTarget) SetTargetId(v string) *InstanceTarget { type InvalidAlarmConfigException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11322,6 +11524,9 @@ func (s InvalidAlarmConfigException) Code() string { // Message returns the exception's message. func (s InvalidAlarmConfigException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11348,6 +11553,8 @@ func (s InvalidAlarmConfigException) RequestID() string { type InvalidApplicationNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11373,6 +11580,9 @@ func (s InvalidApplicationNameException) Code() string { // Message returns the exception's message. func (s InvalidApplicationNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11399,6 +11609,8 @@ func (s InvalidApplicationNameException) RequestID() string { type InvalidArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11424,6 +11636,9 @@ func (s InvalidArnException) Code() string { // Message returns the exception's message. func (s InvalidArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11452,6 +11667,8 @@ func (s InvalidArnException) RequestID() string { type InvalidAutoRollbackConfigException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11477,6 +11694,9 @@ func (s InvalidAutoRollbackConfigException) Code() string { // Message returns the exception's message. func (s InvalidAutoRollbackConfigException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11503,6 +11723,8 @@ func (s InvalidAutoRollbackConfigException) RequestID() string { type InvalidAutoScalingGroupException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11528,6 +11750,9 @@ func (s InvalidAutoScalingGroupException) Code() string { // Message returns the exception's message. func (s InvalidAutoScalingGroupException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11556,6 +11781,8 @@ func (s InvalidAutoScalingGroupException) RequestID() string { type InvalidBlueGreenDeploymentConfigurationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11581,6 +11808,9 @@ func (s InvalidBlueGreenDeploymentConfigurationException) Code() string { // Message returns the exception's message. func (s InvalidBlueGreenDeploymentConfigurationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11607,6 +11837,8 @@ func (s InvalidBlueGreenDeploymentConfigurationException) RequestID() string { type InvalidBucketNameFilterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11632,6 +11864,9 @@ func (s InvalidBucketNameFilterException) Code() string { // Message returns the exception's message. func (s InvalidBucketNameFilterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11658,6 +11893,8 @@ func (s InvalidBucketNameFilterException) RequestID() string { type InvalidComputePlatformException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11683,6 +11920,9 @@ func (s InvalidComputePlatformException) Code() string { // Message returns the exception's message. func (s InvalidComputePlatformException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11709,6 +11949,8 @@ func (s InvalidComputePlatformException) RequestID() string { type InvalidDeployedStateFilterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11734,6 +11976,9 @@ func (s InvalidDeployedStateFilterException) Code() string { // Message returns the exception's message. func (s InvalidDeployedStateFilterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11760,6 +12005,8 @@ func (s InvalidDeployedStateFilterException) RequestID() string { type InvalidDeploymentConfigNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11785,6 +12032,9 @@ func (s InvalidDeploymentConfigNameException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentConfigNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11811,6 +12061,8 @@ func (s InvalidDeploymentConfigNameException) RequestID() string { type InvalidDeploymentGroupNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11836,6 +12088,9 @@ func (s InvalidDeploymentGroupNameException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentGroupNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11862,6 +12117,8 @@ func (s InvalidDeploymentGroupNameException) RequestID() string { type InvalidDeploymentIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11887,6 +12144,9 @@ func (s InvalidDeploymentIdException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11914,6 +12174,8 @@ func (s InvalidDeploymentIdException) RequestID() string { type InvalidDeploymentInstanceTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11939,6 +12201,9 @@ func (s InvalidDeploymentInstanceTypeException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentInstanceTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11965,6 +12230,8 @@ func (s InvalidDeploymentInstanceTypeException) RequestID() string { type InvalidDeploymentStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11990,6 +12257,9 @@ func (s InvalidDeploymentStatusException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12018,6 +12288,8 @@ func (s InvalidDeploymentStatusException) RequestID() string { type InvalidDeploymentStyleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12043,6 +12315,9 @@ func (s InvalidDeploymentStyleException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentStyleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12069,6 +12344,8 @@ func (s InvalidDeploymentStyleException) RequestID() string { type InvalidDeploymentTargetIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12094,6 +12371,9 @@ func (s InvalidDeploymentTargetIdException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentTargetIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12120,6 +12400,8 @@ func (s InvalidDeploymentTargetIdException) RequestID() string { type InvalidDeploymentWaitTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12145,6 +12427,9 @@ func (s InvalidDeploymentWaitTypeException) Code() string { // Message returns the exception's message. func (s InvalidDeploymentWaitTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12172,6 +12457,8 @@ func (s InvalidDeploymentWaitTypeException) RequestID() string { type InvalidEC2TagCombinationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12197,6 +12484,9 @@ func (s InvalidEC2TagCombinationException) Code() string { // Message returns the exception's message. func (s InvalidEC2TagCombinationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12223,6 +12513,8 @@ func (s InvalidEC2TagCombinationException) RequestID() string { type InvalidEC2TagException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12248,6 +12540,9 @@ func (s InvalidEC2TagException) Code() string { // Message returns the exception's message. func (s InvalidEC2TagException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12274,6 +12569,8 @@ func (s InvalidEC2TagException) RequestID() string { type InvalidECSServiceException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12299,6 +12596,9 @@ func (s InvalidECSServiceException) Code() string { // Message returns the exception's message. func (s InvalidECSServiceException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12328,6 +12628,8 @@ func (s InvalidECSServiceException) RequestID() string { type InvalidFileExistsBehaviorException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12353,6 +12655,9 @@ func (s InvalidFileExistsBehaviorException) Code() string { // Message returns the exception's message. func (s InvalidFileExistsBehaviorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12379,6 +12684,8 @@ func (s InvalidFileExistsBehaviorException) RequestID() string { type InvalidGitHubAccountTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12404,6 +12711,9 @@ func (s InvalidGitHubAccountTokenException) Code() string { // Message returns the exception's message. func (s InvalidGitHubAccountTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12430,6 +12740,8 @@ func (s InvalidGitHubAccountTokenException) RequestID() string { type InvalidGitHubAccountTokenNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12455,6 +12767,9 @@ func (s InvalidGitHubAccountTokenNameException) Code() string { // Message returns the exception's message. func (s InvalidGitHubAccountTokenNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12481,6 +12796,8 @@ func (s InvalidGitHubAccountTokenNameException) RequestID() string { type InvalidIamSessionArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12506,6 +12823,9 @@ func (s InvalidIamSessionArnException) Code() string { // Message returns the exception's message. func (s InvalidIamSessionArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12532,6 +12852,8 @@ func (s InvalidIamSessionArnException) RequestID() string { type InvalidIamUserArnException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12557,6 +12879,9 @@ func (s InvalidIamUserArnException) Code() string { // Message returns the exception's message. func (s InvalidIamUserArnException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12584,6 +12909,8 @@ func (s InvalidIamUserArnException) RequestID() string { type InvalidIgnoreApplicationStopFailuresValueException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12609,6 +12936,9 @@ func (s InvalidIgnoreApplicationStopFailuresValueException) Code() string { // Message returns the exception's message. func (s InvalidIgnoreApplicationStopFailuresValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12635,6 +12965,8 @@ func (s InvalidIgnoreApplicationStopFailuresValueException) RequestID() string { type InvalidInputException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12660,6 +12992,9 @@ func (s InvalidInputException) Code() string { // Message returns the exception's message. func (s InvalidInputException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12686,6 +13021,8 @@ func (s InvalidInputException) RequestID() string { type InvalidInstanceNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12711,6 +13048,9 @@ func (s InvalidInstanceNameException) Code() string { // Message returns the exception's message. func (s InvalidInstanceNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12737,6 +13077,8 @@ func (s InvalidInstanceNameException) RequestID() string { type InvalidInstanceStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12762,6 +13104,9 @@ func (s InvalidInstanceStatusException) Code() string { // Message returns the exception's message. func (s InvalidInstanceStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12790,6 +13135,8 @@ func (s InvalidInstanceStatusException) RequestID() string { type InvalidInstanceTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12815,6 +13162,9 @@ func (s InvalidInstanceTypeException) Code() string { // Message returns the exception's message. func (s InvalidInstanceTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12841,6 +13191,8 @@ func (s InvalidInstanceTypeException) RequestID() string { type InvalidKeyPrefixFilterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12866,6 +13218,9 @@ func (s InvalidKeyPrefixFilterException) Code() string { // Message returns the exception's message. func (s InvalidKeyPrefixFilterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12893,6 +13248,8 @@ func (s InvalidKeyPrefixFilterException) RequestID() string { type InvalidLifecycleEventHookExecutionIdException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12918,6 +13275,9 @@ func (s InvalidLifecycleEventHookExecutionIdException) Code() string { // Message returns the exception's message. func (s InvalidLifecycleEventHookExecutionIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12945,6 +13305,8 @@ func (s InvalidLifecycleEventHookExecutionIdException) RequestID() string { type InvalidLifecycleEventHookExecutionStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12970,6 +13332,9 @@ func (s InvalidLifecycleEventHookExecutionStatusException) Code() string { // Message returns the exception's message. func (s InvalidLifecycleEventHookExecutionStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12996,6 +13361,8 @@ func (s InvalidLifecycleEventHookExecutionStatusException) RequestID() string { type InvalidLoadBalancerInfoException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13021,6 +13388,9 @@ func (s InvalidLoadBalancerInfoException) Code() string { // Message returns the exception's message. func (s InvalidLoadBalancerInfoException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13047,6 +13417,8 @@ func (s InvalidLoadBalancerInfoException) RequestID() string { type InvalidMinimumHealthyHostValueException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13072,6 +13444,9 @@ func (s InvalidMinimumHealthyHostValueException) Code() string { // Message returns the exception's message. func (s InvalidMinimumHealthyHostValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13098,6 +13473,8 @@ func (s InvalidMinimumHealthyHostValueException) RequestID() string { type InvalidNextTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13123,6 +13500,9 @@ func (s InvalidNextTokenException) Code() string { // Message returns the exception's message. func (s InvalidNextTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13150,6 +13530,8 @@ func (s InvalidNextTokenException) RequestID() string { type InvalidOnPremisesTagCombinationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13175,6 +13557,9 @@ func (s InvalidOnPremisesTagCombinationException) Code() string { // Message returns the exception's message. func (s InvalidOnPremisesTagCombinationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13201,6 +13586,8 @@ func (s InvalidOnPremisesTagCombinationException) RequestID() string { type InvalidOperationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13226,6 +13613,9 @@ func (s InvalidOperationException) Code() string { // Message returns the exception's message. func (s InvalidOperationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13252,6 +13642,8 @@ func (s InvalidOperationException) RequestID() string { type InvalidRegistrationStatusException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13277,6 +13669,9 @@ func (s InvalidRegistrationStatusException) Code() string { // Message returns the exception's message. func (s InvalidRegistrationStatusException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13303,6 +13698,8 @@ func (s InvalidRegistrationStatusException) RequestID() string { type InvalidRevisionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13328,6 +13725,9 @@ func (s InvalidRevisionException) Code() string { // Message returns the exception's message. func (s InvalidRevisionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13356,6 +13756,8 @@ func (s InvalidRevisionException) RequestID() string { type InvalidRoleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13381,6 +13783,9 @@ func (s InvalidRoleException) Code() string { // Message returns the exception's message. func (s InvalidRoleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13408,6 +13813,8 @@ func (s InvalidRoleException) RequestID() string { type InvalidSortByException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13433,6 +13840,9 @@ func (s InvalidSortByException) Code() string { // Message returns the exception's message. func (s InvalidSortByException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13459,6 +13869,8 @@ func (s InvalidSortByException) RequestID() string { type InvalidSortOrderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13484,6 +13896,9 @@ func (s InvalidSortOrderException) Code() string { // Message returns the exception's message. func (s InvalidSortOrderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13510,6 +13925,8 @@ func (s InvalidSortOrderException) RequestID() string { type InvalidTagException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13535,6 +13952,9 @@ func (s InvalidTagException) Code() string { // Message returns the exception's message. func (s InvalidTagException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13561,6 +13981,8 @@ func (s InvalidTagException) RequestID() string { type InvalidTagFilterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13586,6 +14008,9 @@ func (s InvalidTagFilterException) Code() string { // Message returns the exception's message. func (s InvalidTagFilterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13612,6 +14037,8 @@ func (s InvalidTagFilterException) RequestID() string { type InvalidTagsToAddException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13637,6 +14064,9 @@ func (s InvalidTagsToAddException) Code() string { // Message returns the exception's message. func (s InvalidTagsToAddException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13663,6 +14093,8 @@ func (s InvalidTagsToAddException) RequestID() string { type InvalidTargetFilterNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13688,6 +14120,9 @@ func (s InvalidTargetFilterNameException) Code() string { // Message returns the exception's message. func (s InvalidTargetFilterNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13714,6 +14149,8 @@ func (s InvalidTargetFilterNameException) RequestID() string { type InvalidTargetGroupPairException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13739,6 +14176,9 @@ func (s InvalidTargetGroupPairException) Code() string { // Message returns the exception's message. func (s InvalidTargetGroupPairException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13774,6 +14214,8 @@ func (s InvalidTargetGroupPairException) RequestID() string { type InvalidTargetInstancesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13799,6 +14241,9 @@ func (s InvalidTargetInstancesException) Code() string { // Message returns the exception's message. func (s InvalidTargetInstancesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13825,6 +14270,8 @@ func (s InvalidTargetInstancesException) RequestID() string { type InvalidTimeRangeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13850,6 +14297,9 @@ func (s InvalidTimeRangeException) Code() string { // Message returns the exception's message. func (s InvalidTimeRangeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13877,6 +14327,8 @@ func (s InvalidTimeRangeException) RequestID() string { type InvalidTrafficRoutingConfigurationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13902,6 +14354,9 @@ func (s InvalidTrafficRoutingConfigurationException) Code() string { // Message returns the exception's message. func (s InvalidTrafficRoutingConfigurationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13928,6 +14383,8 @@ func (s InvalidTrafficRoutingConfigurationException) RequestID() string { type InvalidTriggerConfigException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13953,6 +14410,9 @@ func (s InvalidTriggerConfigException) Code() string { // Message returns the exception's message. func (s InvalidTriggerConfigException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13980,6 +14440,8 @@ func (s InvalidTriggerConfigException) RequestID() string { type InvalidUpdateOutdatedInstancesOnlyValueException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -14005,6 +14467,9 @@ func (s InvalidUpdateOutdatedInstancesOnlyValueException) Code() string { // Message returns the exception's message. func (s InvalidUpdateOutdatedInstancesOnlyValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -14299,6 +14764,8 @@ func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent { type LifecycleEventAlreadyCompletedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -14324,6 +14791,9 @@ func (s LifecycleEventAlreadyCompletedException) Code() string { // Message returns the exception's message. func (s LifecycleEventAlreadyCompletedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -14350,6 +14820,8 @@ func (s LifecycleEventAlreadyCompletedException) RequestID() string { type LifecycleHookLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -14375,6 +14847,9 @@ func (s LifecycleHookLimitExceededException) Code() string { // Message returns the exception's message. func (s LifecycleHookLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15452,6 +15927,8 @@ func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts { type MultipleIamArnsProvidedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15477,6 +15954,9 @@ func (s MultipleIamArnsProvidedException) Code() string { // Message returns the exception's message. func (s MultipleIamArnsProvidedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15529,6 +16009,8 @@ func (s *OnPremisesTagSet) SetOnPremisesTagSetList(v [][]*TagFilter) *OnPremises type OperationNotSupportedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15554,6 +16036,9 @@ func (s OperationNotSupportedException) Code() string { // Message returns the exception's message. func (s OperationNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15906,6 +16391,8 @@ func (s RemoveTagsFromOnPremisesInstancesOutput) GoString() string { type ResourceArnRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15931,6 +16418,9 @@ func (s ResourceArnRequiredException) Code() string { // Message returns the exception's message. func (s ResourceArnRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15957,6 +16447,8 @@ func (s ResourceArnRequiredException) RequestID() string { type ResourceValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15982,6 +16474,9 @@ func (s ResourceValidationException) Code() string { // Message returns the exception's message. func (s ResourceValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16008,6 +16503,8 @@ func (s ResourceValidationException) RequestID() string { type RevisionDoesNotExistException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16033,6 +16530,9 @@ func (s RevisionDoesNotExistException) Code() string { // Message returns the exception's message. func (s RevisionDoesNotExistException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16163,6 +16663,8 @@ func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation { type RevisionRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16188,6 +16690,9 @@ func (s RevisionRequiredException) Code() string { // Message returns the exception's message. func (s RevisionRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16214,6 +16719,8 @@ func (s RevisionRequiredException) RequestID() string { type RoleRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16239,6 +16746,9 @@ func (s RoleRequiredException) Code() string { // Message returns the exception's message. func (s RoleRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16591,6 +17101,8 @@ func (s *TagFilter) SetValue(v string) *TagFilter { type TagLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16616,6 +17128,9 @@ func (s TagLimitExceededException) Code() string { // Message returns the exception's message. func (s TagLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16642,6 +17157,8 @@ func (s TagLimitExceededException) RequestID() string { type TagRequiredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16667,6 +17184,9 @@ func (s TagRequiredException) Code() string { // Message returns the exception's message. func (s TagRequiredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16764,6 +17284,8 @@ func (s TagResourceOutput) GoString() string { type TagSetListLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16789,6 +17311,9 @@ func (s TagSetListLimitExceededException) Code() string { // Message returns the exception's message. func (s TagSetListLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16942,6 +17467,8 @@ func (s *TargetInstances) SetTagFilters(v []*EC2TagFilter) *TargetInstances { type ThrottlingException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16967,6 +17494,9 @@ func (s ThrottlingException) Code() string { // Message returns the exception's message. func (s ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17224,6 +17754,8 @@ func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig { type TriggerTargetsLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17249,6 +17781,9 @@ func (s TriggerTargetsLimitExceededException) Code() string { // Message returns the exception's message. func (s TriggerTargetsLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17275,6 +17810,8 @@ func (s TriggerTargetsLimitExceededException) RequestID() string { type UnsupportedActionForDeploymentTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17300,6 +17837,9 @@ func (s UnsupportedActionForDeploymentTypeException) Code() string { // Message returns the exception's message. func (s UnsupportedActionForDeploymentTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go index b3c06270686..49b9395f614 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go @@ -957,9 +957,9 @@ func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *req // Returns information about a job. Used for custom actions only. // // When this API is called, AWS CodePipeline returns temporary credentials for -// the Amazon S3 bucket used to store artifacts for the pipeline, if the action -// requires access to that Amazon S3 bucket for input or output artifacts. This -// API also returns any secret values defined for the action. +// the S3 bucket used to store artifacts for the pipeline, if the action requires +// access to that S3 bucket for input or output artifacts. This API also returns +// any secret values defined for the action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1306,9 +1306,9 @@ func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDet // actions only. // // When this API is called, AWS CodePipeline returns temporary credentials for -// the Amazon S3 bucket used to store artifacts for the pipeline, if the action -// requires access to that Amazon S3 bucket for input or output artifacts. This -// API also returns any secret values defined for the action. +// the S3 bucket used to store artifacts for the pipeline, if the action requires +// access to that S3 bucket for input or output artifacts. This API also returns +// any secret values defined for the action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2267,9 +2267,9 @@ func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request // returns an error. // // When this API is called, AWS CodePipeline returns temporary credentials for -// the Amazon S3 bucket used to store artifacts for the pipeline, if the action -// requires access to that Amazon S3 bucket for input or output artifacts. This -// API also returns any secret values defined for the action. +// the S3 bucket used to store artifacts for the pipeline, if the action requires +// access to that S3 bucket for input or output artifacts. This API also returns +// any secret values defined for the action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2355,8 +2355,8 @@ func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobs // on. Used for partner actions only. // // When this API is called, AWS CodePipeline returns temporary credentials for -// the Amazon S3 bucket used to store artifacts for the pipeline, if the action -// requires access to that Amazon S3 bucket for input or output artifacts. +// the S3 bucket used to store artifacts for the pipeline, if the action requires +// access to that S3 bucket for input or output artifacts. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3305,6 +3305,104 @@ func (c *CodePipeline) StartPipelineExecutionWithContext(ctx aws.Context, input return out, req.Send() } +const opStopPipelineExecution = "StopPipelineExecution" + +// StopPipelineExecutionRequest generates a "aws/request.Request" representing the +// client's request for the StopPipelineExecution operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopPipelineExecution for more information on using the StopPipelineExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopPipelineExecutionRequest method. +// req, resp := client.StopPipelineExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution +func (c *CodePipeline) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) { + op := &request.Operation{ + Name: opStopPipelineExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StopPipelineExecutionInput{} + } + + output = &StopPipelineExecutionOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopPipelineExecution API operation for AWS CodePipeline. +// +// Stops the specified pipeline execution. You choose to either stop the pipeline +// execution by completing in-progress actions without starting subsequent actions, +// or by abandoning in-progress actions. While completing or abandoning in-progress +// actions, the pipeline execution is in a Stopping state. After all in-progress +// actions are completed or abandoned, the pipeline execution is in a Stopped +// state. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodePipeline's +// API operation StopPipelineExecution for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The validation was specified in an invalid format. +// +// * PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// * PipelineExecutionNotStoppableException +// Unable to stop the pipeline execution. The execution might already be in +// a Stopped state, or it might no longer be in progress. +// +// * DuplicatedStopRequestException +// The pipeline execution is already in a Stopping state. If you already chose +// to stop and wait, you cannot make that request again. You can choose to stop +// and abandon now, but be aware that this option can lead to failed tasks or +// out of sequence tasks. If you already chose to stop and abandon, you cannot +// make that request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution +func (c *CodePipeline) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) { + req, out := c.StopPipelineExecutionRequest(input) + return out, req.Send() +} + +// StopPipelineExecutionWithContext is the same as StopPipelineExecution with the addition of +// the ability to pass a context and additional request options. +// +// See StopPipelineExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodePipeline) StopPipelineExecutionWithContext(ctx aws.Context, input *StopPipelineExecutionInput, opts ...request.Option) (*StopPipelineExecutionOutput, error) { + req, out := c.StopPipelineExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the @@ -3593,8 +3691,8 @@ func (c *CodePipeline) UpdatePipelineWithContext(ctx aws.Context, input *UpdateP // Represents an AWS session credentials object. These credentials are temporary // credentials that are issued by AWS Secure Token Service (STS). They can be -// used to access input and output artifacts in the Amazon S3 bucket used to -// store artifact for the pipeline in AWS CodePipeline. +// used to access input and output artifacts in the S3 bucket used to store +// artifact for the pipeline in AWS CodePipeline. type AWSSessionCredentials struct { _ struct{} `type:"structure" sensitive:"true"` @@ -4588,6 +4686,8 @@ func (s *ActionExecutionResult) SetExternalExecutionUrl(v string) *ActionExecuti type ActionNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4613,6 +4713,9 @@ func (s ActionNotFoundException) Code() string { // Message returns the exception's message. func (s ActionNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4936,6 +5039,8 @@ func (s *ActionTypeId) SetVersion(v string) *ActionTypeId { type ActionTypeNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4961,6 +5066,9 @@ func (s ActionTypeNotFoundException) Code() string { // Message returns the exception's message. func (s ActionTypeNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5070,6 +5178,8 @@ func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionType type ApprovalAlreadyCompletedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5095,6 +5205,9 @@ func (s ApprovalAlreadyCompletedException) Code() string { // Message returns the exception's message. func (s ApprovalAlreadyCompletedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5304,7 +5417,7 @@ func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails { type ArtifactLocation struct { _ struct{} `type:"structure"` - // The Amazon S3 bucket that contains the artifact. + // The S3 bucket that contains the artifact. S3Location *S3ArtifactLocation `locationName:"s3Location" type:"structure"` // The type of artifact in the location. @@ -5410,7 +5523,7 @@ func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision { return s } -// The Amazon S3 bucket where artifacts for the pipeline are stored. +// The S3 bucket where artifacts for the pipeline are stored. // // You must include either artifactStore or artifactStores in your pipeline, // but you cannot use both. If you create a cross-region action in your pipeline, @@ -5423,11 +5536,11 @@ type ArtifactStore struct { // key for Amazon S3 is used. EncryptionKey *EncryptionKey `locationName:"encryptionKey" type:"structure"` - // The Amazon S3 bucket used for storing the artifacts for a pipeline. You can - // specify the name of an S3 bucket but not a folder in the bucket. A folder - // to contain the pipeline artifacts is created for you based on the name of - // the pipeline. You can use any Amazon S3 bucket in the same AWS Region as - // the pipeline to store your pipeline artifacts. + // The S3 bucket used for storing the artifacts for a pipeline. You can specify + // the name of an S3 bucket but not a folder in the bucket. A folder to contain + // the pipeline artifacts is created for you based on the name of the pipeline. + // You can use any S3 bucket in the same AWS Region as the pipeline to store + // your pipeline artifacts. // // Location is a required field Location *string `locationName:"location" min:"3" type:"string" required:"true"` @@ -6346,6 +6459,66 @@ func (s DisableStageTransitionOutput) GoString() string { return s.String() } +// The pipeline execution is already in a Stopping state. If you already chose +// to stop and wait, you cannot make that request again. You can choose to stop +// and abandon now, but be aware that this option can lead to failed tasks or +// out of sequence tasks. If you already chose to stop and abandon, you cannot +// make that request again. +type DuplicatedStopRequestException struct { + _ struct{} `type:"structure"` + respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" min:"1" type:"string"` +} + +// String returns the string representation +func (s DuplicatedStopRequestException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DuplicatedStopRequestException) GoString() string { + return s.String() +} + +func newErrorDuplicatedStopRequestException(v protocol.ResponseMetadata) error { + return &DuplicatedStopRequestException{ + respMetadata: v, + } +} + +// Code returns the exception type name. +func (s DuplicatedStopRequestException) Code() string { + return "DuplicatedStopRequestException" +} + +// Message returns the exception's message. +func (s DuplicatedStopRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s DuplicatedStopRequestException) OrigErr() error { + return nil +} + +func (s DuplicatedStopRequestException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s DuplicatedStopRequestException) StatusCode() int { + return s.respMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s DuplicatedStopRequestException) RequestID() string { + return s.respMetadata.RequestID +} + // Represents the input of an EnableStageTransition action. type EnableStageTransitionInput struct { _ struct{} `type:"structure"` @@ -7176,6 +7349,8 @@ func (s *InputArtifact) SetName(v string) *InputArtifact { type InvalidActionDeclarationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7201,6 +7376,9 @@ func (s InvalidActionDeclarationException) Code() string { // Message returns the exception's message. func (s InvalidActionDeclarationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7227,6 +7405,8 @@ func (s InvalidActionDeclarationException) RequestID() string { type InvalidApprovalTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7252,6 +7432,9 @@ func (s InvalidApprovalTokenException) Code() string { // Message returns the exception's message. func (s InvalidApprovalTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7334,6 +7517,8 @@ func (s InvalidArnException) RequestID() string { type InvalidBlockerDeclarationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7359,6 +7544,9 @@ func (s InvalidBlockerDeclarationException) Code() string { // Message returns the exception's message. func (s InvalidBlockerDeclarationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7385,6 +7573,8 @@ func (s InvalidBlockerDeclarationException) RequestID() string { type InvalidClientTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7410,6 +7600,9 @@ func (s InvalidClientTokenException) Code() string { // Message returns the exception's message. func (s InvalidClientTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7436,6 +7629,8 @@ func (s InvalidClientTokenException) RequestID() string { type InvalidJobException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7461,6 +7656,9 @@ func (s InvalidJobException) Code() string { // Message returns the exception's message. func (s InvalidJobException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7487,6 +7685,8 @@ func (s InvalidJobException) RequestID() string { type InvalidJobStateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7512,6 +7712,9 @@ func (s InvalidJobStateException) Code() string { // Message returns the exception's message. func (s InvalidJobStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7539,6 +7742,8 @@ func (s InvalidJobStateException) RequestID() string { type InvalidNextTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7564,6 +7769,9 @@ func (s InvalidNextTokenException) Code() string { // Message returns the exception's message. func (s InvalidNextTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7590,6 +7798,8 @@ func (s InvalidNextTokenException) RequestID() string { type InvalidNonceException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7615,6 +7825,9 @@ func (s InvalidNonceException) Code() string { // Message returns the exception's message. func (s InvalidNonceException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7641,6 +7854,8 @@ func (s InvalidNonceException) RequestID() string { type InvalidStageDeclarationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7666,6 +7881,9 @@ func (s InvalidStageDeclarationException) Code() string { // Message returns the exception's message. func (s InvalidStageDeclarationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7692,6 +7910,8 @@ func (s InvalidStageDeclarationException) RequestID() string { type InvalidStructureException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7717,6 +7937,9 @@ func (s InvalidStructureException) Code() string { // Message returns the exception's message. func (s InvalidStructureException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7799,6 +8022,8 @@ func (s InvalidTagsException) RequestID() string { type InvalidWebhookAuthenticationParametersException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7824,6 +8049,9 @@ func (s InvalidWebhookAuthenticationParametersException) Code() string { // Message returns the exception's message. func (s InvalidWebhookAuthenticationParametersException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7850,6 +8078,8 @@ func (s InvalidWebhookAuthenticationParametersException) RequestID() string { type InvalidWebhookFilterPatternException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7875,6 +8105,9 @@ func (s InvalidWebhookFilterPatternException) Code() string { // Message returns the exception's message. func (s InvalidWebhookFilterPatternException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7963,8 +8196,8 @@ type JobData struct { // Represents an AWS session credentials object. These credentials are temporary // credentials that are issued by AWS Secure Token Service (STS). They can be - // used to access input and output artifacts in the Amazon S3 bucket used to - // store artifacts for the pipeline in AWS CodePipeline. + // used to access input and output artifacts in the S3 bucket used to store + // artifacts for the pipeline in AWS CodePipeline. ArtifactCredentials *AWSSessionCredentials `locationName:"artifactCredentials" type:"structure" sensitive:"true"` // A system-generated token, such as a AWS CodeDeploy deployment ID, required @@ -8092,6 +8325,8 @@ func (s *JobDetails) SetId(v string) *JobDetails { type JobNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8117,6 +8352,9 @@ func (s JobNotFoundException) Code() string { // Message returns the exception's message. func (s JobNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8144,6 +8382,8 @@ func (s JobNotFoundException) RequestID() string { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8169,6 +8409,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -8845,6 +9088,8 @@ func (s *ListWebhooksOutput) SetWebhooks(v []*ListWebhookItem) *ListWebhooksOutp type NotLatestPipelineExecutionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8870,6 +9115,9 @@ func (s NotLatestPipelineExecutionException) Code() string { // Message returns the exception's message. func (s NotLatestPipelineExecutionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9067,8 +9315,8 @@ func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext { type PipelineDeclaration struct { _ struct{} `type:"structure"` - // Represents information about the Amazon S3 bucket where artifacts are stored - // for the pipeline. + // Represents information about the S3 bucket where artifacts are stored for + // the pipeline. // // You must include either artifactStore or artifactStores in your pipeline, // but you cannot use both. If you create a cross-region action in your pipeline, @@ -9212,21 +9460,30 @@ type PipelineExecution struct { // The ID of the pipeline execution. PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` - // The name of the pipeline that was executed. + // The name of the pipeline with the specified pipeline execution. PipelineName *string `locationName:"pipelineName" min:"1" type:"string"` - // The version number of the pipeline that was executed. + // The version number of the pipeline with the specified pipeline execution. PipelineVersion *int64 `locationName:"pipelineVersion" min:"1" type:"integer"` // The status of the pipeline execution. // // * InProgress: The pipeline execution is currently running. // + // * Stopped: The pipeline execution was manually stopped. For more information, + // see Stopped Executions (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped). + // + // * Stopping: The pipeline execution received a request to be manually stopped. + // Depending on the selected stop mode, the execution is either completing + // or abandoning in-progress actions. For more information, see Stopped Executions + // (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped). + // // * Succeeded: The pipeline execution was completed successfully. // // * Superseded: While this pipeline execution was waiting for the next stage // to be completed, a newer pipeline execution advanced and continued through - // the pipeline instead. + // the pipeline instead. For more information, see Superseded Executions + // (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded). // // * Failed: The pipeline execution was not completed successfully. Status *string `locationName:"status" type:"string" enum:"PipelineExecutionStatus"` @@ -9277,6 +9534,8 @@ func (s *PipelineExecution) SetStatus(v string) *PipelineExecution { type PipelineExecutionNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9302,6 +9561,9 @@ func (s PipelineExecutionNotFoundException) Code() string { // Message returns the exception's message. func (s PipelineExecutionNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9324,6 +9586,63 @@ func (s PipelineExecutionNotFoundException) RequestID() string { return s.respMetadata.RequestID } +// Unable to stop the pipeline execution. The execution might already be in +// a Stopped state, or it might no longer be in progress. +type PipelineExecutionNotStoppableException struct { + _ struct{} `type:"structure"` + respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" min:"1" type:"string"` +} + +// String returns the string representation +func (s PipelineExecutionNotStoppableException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PipelineExecutionNotStoppableException) GoString() string { + return s.String() +} + +func newErrorPipelineExecutionNotStoppableException(v protocol.ResponseMetadata) error { + return &PipelineExecutionNotStoppableException{ + respMetadata: v, + } +} + +// Code returns the exception type name. +func (s PipelineExecutionNotStoppableException) Code() string { + return "PipelineExecutionNotStoppableException" +} + +// Message returns the exception's message. +func (s PipelineExecutionNotStoppableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s PipelineExecutionNotStoppableException) OrigErr() error { + return nil +} + +func (s PipelineExecutionNotStoppableException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s PipelineExecutionNotStoppableException) StatusCode() int { + return s.respMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s PipelineExecutionNotStoppableException) RequestID() string { + return s.respMetadata.RequestID +} + // Summary information about a pipeline execution. type PipelineExecutionSummary struct { _ struct{} `type:"structure"` @@ -9345,15 +9664,27 @@ type PipelineExecutionSummary struct { // // * InProgress: The pipeline execution is currently running. // + // * Stopped: The pipeline execution was manually stopped. For more information, + // see Stopped Executions (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped). + // + // * Stopping: The pipeline execution received a request to be manually stopped. + // Depending on the selected stop mode, the execution is either completing + // or abandoning in-progress actions. For more information, see Stopped Executions + // (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped). + // // * Succeeded: The pipeline execution was completed successfully. // // * Superseded: While this pipeline execution was waiting for the next stage // to be completed, a newer pipeline execution advanced and continued through - // the pipeline instead. + // the pipeline instead. For more information, see Superseded Executions + // (https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded). // // * Failed: The pipeline execution was not completed successfully. Status *string `locationName:"status" type:"string" enum:"PipelineExecutionStatus"` + // The interaction that stopped a pipeline execution. + StopTrigger *StopExecutionTrigger `locationName:"stopTrigger" type:"structure"` + // The interaction or event that started a pipeline execution, such as automated // change detection or a StartPipelineExecution API call. Trigger *ExecutionTrigger `locationName:"trigger" type:"structure"` @@ -9399,6 +9730,12 @@ func (s *PipelineExecutionSummary) SetStatus(v string) *PipelineExecutionSummary return s } +// SetStopTrigger sets the StopTrigger field's value. +func (s *PipelineExecutionSummary) SetStopTrigger(v *StopExecutionTrigger) *PipelineExecutionSummary { + s.StopTrigger = v + return s +} + // SetTrigger sets the Trigger field's value. func (s *PipelineExecutionSummary) SetTrigger(v *ExecutionTrigger) *PipelineExecutionSummary { s.Trigger = v @@ -9451,6 +9788,8 @@ func (s *PipelineMetadata) SetUpdated(v time.Time) *PipelineMetadata { type PipelineNameInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9476,6 +9815,9 @@ func (s PipelineNameInUseException) Code() string { // Message returns the exception's message. func (s PipelineNameInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9502,6 +9844,8 @@ func (s PipelineNameInUseException) RequestID() string { type PipelineNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9527,6 +9871,9 @@ func (s PipelineNotFoundException) Code() string { // Message returns the exception's message. func (s PipelineNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -9604,6 +9951,8 @@ func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary { type PipelineVersionNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -9629,6 +9978,9 @@ func (s PipelineVersionNotFoundException) Code() string { // Message returns the exception's message. func (s PipelineVersionNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10630,6 +10982,8 @@ func (s RegisterWebhookWithThirdPartyOutput) GoString() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10655,6 +11009,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10790,17 +11147,17 @@ func (s *RetryStageExecutionOutput) SetPipelineExecutionId(v string) *RetryStage return s } -// The location of the Amazon S3 bucket that contains a revision. +// The location of the S3 bucket that contains a revision. type S3ArtifactLocation struct { _ struct{} `type:"structure"` - // The name of the Amazon S3 bucket. + // The name of the S3 bucket. // // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` - // The key of the object in the Amazon S3 bucket, which uniquely identifies - // the object in the bucket. + // The key of the object in the S3 bucket, which uniquely identifies the object + // in the bucket. // // ObjectKey is a required field ObjectKey *string `locationName:"objectKey" type:"string" required:"true"` @@ -11072,6 +11429,8 @@ func (s *StageExecution) SetStatus(v string) *StageExecution { type StageNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11097,6 +11456,9 @@ func (s StageNotFoundException) Code() string { // Message returns the exception's message. func (s StageNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11124,6 +11486,8 @@ func (s StageNotFoundException) RequestID() string { type StageNotRetryableException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11149,6 +11513,9 @@ func (s StageNotRetryableException) Code() string { // Message returns the exception's message. func (s StageNotRetryableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11301,6 +11668,130 @@ func (s *StartPipelineExecutionOutput) SetPipelineExecutionId(v string) *StartPi return s } +// The interaction that stopped a pipeline execution. +type StopExecutionTrigger struct { + _ struct{} `type:"structure"` + + // The user-specified reason the pipeline was stopped. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s StopExecutionTrigger) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopExecutionTrigger) GoString() string { + return s.String() +} + +// SetReason sets the Reason field's value. +func (s *StopExecutionTrigger) SetReason(v string) *StopExecutionTrigger { + s.Reason = &v + return s +} + +type StopPipelineExecutionInput struct { + _ struct{} `type:"structure"` + + // Use this option to stop the pipeline execution by abandoning, rather than + // finishing, in-progress actions. + // + // This option can lead to failed or out-of-sequence tasks. + Abandon *bool `locationName:"abandon" type:"boolean"` + + // The ID of the pipeline execution to be stopped in the current stage. Use + // the GetPipelineState action to retrieve the current pipelineExecutionId. + // + // PipelineExecutionId is a required field + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` + + // The name of the pipeline to stop. + // + // PipelineName is a required field + PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` + + // Use this option to enter comments, such as the reason the pipeline was stopped. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s StopPipelineExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopPipelineExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopPipelineExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopPipelineExecutionInput"} + if s.PipelineExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineExecutionId")) + } + if s.PipelineName == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineName")) + } + if s.PipelineName != nil && len(*s.PipelineName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAbandon sets the Abandon field's value. +func (s *StopPipelineExecutionInput) SetAbandon(v bool) *StopPipelineExecutionInput { + s.Abandon = &v + return s +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *StopPipelineExecutionInput) SetPipelineExecutionId(v string) *StopPipelineExecutionInput { + s.PipelineExecutionId = &v + return s +} + +// SetPipelineName sets the PipelineName field's value. +func (s *StopPipelineExecutionInput) SetPipelineName(v string) *StopPipelineExecutionInput { + s.PipelineName = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *StopPipelineExecutionInput) SetReason(v string) *StopPipelineExecutionInput { + s.Reason = &v + return s +} + +type StopPipelineExecutionOutput struct { + _ struct{} `type:"structure"` + + // The unique system-generated ID of the pipeline execution that was stopped. + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` +} + +// String returns the string representation +func (s StopPipelineExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopPipelineExecutionOutput) GoString() string { + return s.String() +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *StopPipelineExecutionOutput) SetPipelineExecutionId(v string) *StopPipelineExecutionOutput { + s.PipelineExecutionId = &v + return s +} + // A tag is a key-value pair that is used to manage the resource. type Tag struct { _ struct{} `type:"structure"` @@ -11480,8 +11971,8 @@ type ThirdPartyJobData struct { // Represents an AWS session credentials object. These credentials are temporary // credentials that are issued by AWS Secure Token Service (STS). They can be - // used to access input and output artifacts in the Amazon S3 bucket used to - // store artifact for the pipeline in AWS CodePipeline. + // used to access input and output artifacts in the S3 bucket used to store + // artifact for the pipeline in AWS CodePipeline. ArtifactCredentials *AWSSessionCredentials `locationName:"artifactCredentials" type:"structure" sensitive:"true"` // A system-generated token, such as a AWS CodeDeploy deployment ID, that a @@ -11860,6 +12351,8 @@ func (s *UpdatePipelineOutput) SetPipeline(v *PipelineDeclaration) *UpdatePipeli type ValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11885,6 +12378,9 @@ func (s ValidationException) Code() string { // Message returns the exception's message. func (s ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12179,6 +12675,8 @@ func (s *WebhookFilterRule) SetMatchEquals(v string) *WebhookFilterRule { type WebhookNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12204,6 +12702,9 @@ func (s WebhookNotFoundException) Code() string { // Message returns the exception's message. func (s WebhookNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12261,6 +12762,9 @@ const ( // ActionExecutionStatusInProgress is a ActionExecutionStatus enum value ActionExecutionStatusInProgress = "InProgress" + // ActionExecutionStatusAbandoned is a ActionExecutionStatus enum value + ActionExecutionStatusAbandoned = "Abandoned" + // ActionExecutionStatusSucceeded is a ActionExecutionStatus enum value ActionExecutionStatusSucceeded = "Succeeded" @@ -12354,6 +12858,12 @@ const ( // PipelineExecutionStatusInProgress is a PipelineExecutionStatus enum value PipelineExecutionStatusInProgress = "InProgress" + // PipelineExecutionStatusStopped is a PipelineExecutionStatus enum value + PipelineExecutionStatusStopped = "Stopped" + + // PipelineExecutionStatusStopping is a PipelineExecutionStatus enum value + PipelineExecutionStatusStopping = "Stopping" + // PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value PipelineExecutionStatusSucceeded = "Succeeded" @@ -12371,6 +12881,12 @@ const ( // StageExecutionStatusFailed is a StageExecutionStatus enum value StageExecutionStatusFailed = "Failed" + // StageExecutionStatusStopped is a StageExecutionStatus enum value + StageExecutionStatusStopped = "Stopped" + + // StageExecutionStatusStopping is a StageExecutionStatus enum value + StageExecutionStatusStopping = "Stopping" + // StageExecutionStatusSucceeded is a StageExecutionStatus enum value StageExecutionStatusSucceeded = "Succeeded" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go index 45d248b2b85..74a1cccc79a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/doc.go @@ -45,6 +45,9 @@ // * StartPipelineExecution, which runs the most recent revision of an artifact // through the pipeline. // +// * StopPipelineExecution, which stops the specified pipeline execution +// from continuing through the pipeline. +// // * UpdatePipeline, which updates a pipeline with edits or changes to the // structure of the pipeline. // diff --git a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/errors.go b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/errors.go index efc3a496db3..bae10b65317 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/errors.go @@ -32,6 +32,16 @@ const ( // Unable to modify the tag due to a simultaneous update request. ErrCodeConcurrentModificationException = "ConcurrentModificationException" + // ErrCodeDuplicatedStopRequestException for service response error code + // "DuplicatedStopRequestException". + // + // The pipeline execution is already in a Stopping state. If you already chose + // to stop and wait, you cannot make that request again. You can choose to stop + // and abandon now, but be aware that this option can lead to failed tasks or + // out of sequence tasks. If you already chose to stop and abandon, you cannot + // make that request again. + ErrCodeDuplicatedStopRequestException = "DuplicatedStopRequestException" + // ErrCodeInvalidActionDeclarationException for service response error code // "InvalidActionDeclarationException". // @@ -150,6 +160,13 @@ const ( // or an execution ID does not belong to the specified pipeline. ErrCodePipelineExecutionNotFoundException = "PipelineExecutionNotFoundException" + // ErrCodePipelineExecutionNotStoppableException for service response error code + // "PipelineExecutionNotStoppableException". + // + // Unable to stop the pipeline execution. The execution might already be in + // a Stopped state, or it might no longer be in progress. + ErrCodePipelineExecutionNotStoppableException = "PipelineExecutionNotStoppableException" + // ErrCodePipelineNameInUseException for service response error code // "PipelineNameInUseException". // @@ -211,6 +228,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ActionTypeNotFoundException": newErrorActionTypeNotFoundException, "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, "ConcurrentModificationException": newErrorConcurrentModificationException, + "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, "InvalidApprovalTokenException": newErrorInvalidApprovalTokenException, "InvalidArnException": newErrorInvalidArnException, @@ -230,6 +248,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "NotLatestPipelineExecutionException": newErrorNotLatestPipelineExecutionException, "OutputVariablesSizeExceededException": newErrorOutputVariablesSizeExceededException, "PipelineExecutionNotFoundException": newErrorPipelineExecutionNotFoundException, + "PipelineExecutionNotStoppableException": newErrorPipelineExecutionNotStoppableException, "PipelineNameInUseException": newErrorPipelineNameInUseException, "PipelineNotFoundException": newErrorPipelineNotFoundException, "PipelineVersionNotFoundException": newErrorPipelineVersionNotFoundException, diff --git a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go index 7e09b384c0e..ace68bec6eb 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go @@ -10420,6 +10420,8 @@ func (s *ConformancePackStatusDetail) SetStackArn(v string) *ConformancePackStat type ConformancePackTemplateValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10445,6 +10447,9 @@ func (s ConformancePackTemplateValidationException) Code() string { // Message returns the exception's message. func (s ConformancePackTemplateValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15437,6 +15442,8 @@ func (s *GroupedResourceCount) SetResourceCount(v int64) *GroupedResourceCount { type InsufficientDeliveryPolicyException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15462,6 +15469,9 @@ func (s InsufficientDeliveryPolicyException) Code() string { // Message returns the exception's message. func (s InsufficientDeliveryPolicyException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15502,6 +15512,8 @@ func (s InsufficientDeliveryPolicyException) RequestID() string { type InsufficientPermissionsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15527,6 +15539,9 @@ func (s InsufficientPermissionsException) Code() string { // Message returns the exception's message. func (s InsufficientPermissionsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15553,6 +15568,8 @@ func (s InsufficientPermissionsException) RequestID() string { type InvalidConfigurationRecorderNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15578,6 +15595,9 @@ func (s InvalidConfigurationRecorderNameException) Code() string { // Message returns the exception's message. func (s InvalidConfigurationRecorderNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15604,6 +15624,8 @@ func (s InvalidConfigurationRecorderNameException) RequestID() string { type InvalidDeliveryChannelNameException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15629,6 +15651,9 @@ func (s InvalidDeliveryChannelNameException) Code() string { // Message returns the exception's message. func (s InvalidDeliveryChannelNameException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15655,6 +15680,8 @@ func (s InvalidDeliveryChannelNameException) RequestID() string { type InvalidExpressionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15680,6 +15707,9 @@ func (s InvalidExpressionException) Code() string { // Message returns the exception's message. func (s InvalidExpressionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15706,6 +15736,8 @@ func (s InvalidExpressionException) RequestID() string { type InvalidLimitException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15731,6 +15763,9 @@ func (s InvalidLimitException) Code() string { // Message returns the exception's message. func (s InvalidLimitException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15758,6 +15793,8 @@ func (s InvalidLimitException) RequestID() string { type InvalidNextTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15783,6 +15820,9 @@ func (s InvalidNextTokenException) Code() string { // Message returns the exception's message. func (s InvalidNextTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15810,6 +15850,8 @@ func (s InvalidNextTokenException) RequestID() string { type InvalidParameterValueException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15835,6 +15877,9 @@ func (s InvalidParameterValueException) Code() string { // Message returns the exception's message. func (s InvalidParameterValueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15862,6 +15907,8 @@ func (s InvalidParameterValueException) RequestID() string { type InvalidRecordingGroupException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15887,6 +15934,9 @@ func (s InvalidRecordingGroupException) Code() string { // Message returns the exception's message. func (s InvalidRecordingGroupException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15913,6 +15963,8 @@ func (s InvalidRecordingGroupException) RequestID() string { type InvalidResultTokenException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15938,6 +15990,9 @@ func (s InvalidResultTokenException) Code() string { // Message returns the exception's message. func (s InvalidResultTokenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15964,6 +16019,8 @@ func (s InvalidResultTokenException) RequestID() string { type InvalidRoleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15989,6 +16046,9 @@ func (s InvalidRoleException) Code() string { // Message returns the exception's message. func (s InvalidRoleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16015,6 +16075,8 @@ func (s InvalidRoleException) RequestID() string { type InvalidS3KeyPrefixException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16040,6 +16102,9 @@ func (s InvalidS3KeyPrefixException) Code() string { // Message returns the exception's message. func (s InvalidS3KeyPrefixException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16066,6 +16131,8 @@ func (s InvalidS3KeyPrefixException) RequestID() string { type InvalidSNSTopicARNException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16091,6 +16158,9 @@ func (s InvalidSNSTopicARNException) Code() string { // Message returns the exception's message. func (s InvalidSNSTopicARNException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16118,6 +16188,8 @@ func (s InvalidSNSTopicARNException) RequestID() string { type InvalidTimeRangeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16143,6 +16215,9 @@ func (s InvalidTimeRangeException) Code() string { // Message returns the exception's message. func (s InvalidTimeRangeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16170,6 +16245,8 @@ func (s InvalidTimeRangeException) RequestID() string { type LastDeliveryChannelDeleteFailedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16195,6 +16272,9 @@ func (s LastDeliveryChannelDeleteFailedException) Code() string { // Message returns the exception's message. func (s LastDeliveryChannelDeleteFailedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16226,6 +16306,8 @@ func (s LastDeliveryChannelDeleteFailedException) RequestID() string { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16251,6 +16333,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16623,6 +16708,8 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput type MaxActiveResourcesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16648,6 +16735,9 @@ func (s MaxActiveResourcesExceededException) Code() string { // Message returns the exception's message. func (s MaxActiveResourcesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16676,6 +16766,8 @@ func (s MaxActiveResourcesExceededException) RequestID() string { type MaxNumberOfConfigRulesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16701,6 +16793,9 @@ func (s MaxNumberOfConfigRulesExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfConfigRulesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16727,6 +16822,8 @@ func (s MaxNumberOfConfigRulesExceededException) RequestID() string { type MaxNumberOfConfigurationRecordersExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16752,6 +16849,9 @@ func (s MaxNumberOfConfigurationRecordersExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfConfigurationRecordersExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16779,6 +16879,8 @@ func (s MaxNumberOfConfigurationRecordersExceededException) RequestID() string { type MaxNumberOfConformancePacksExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16804,6 +16906,9 @@ func (s MaxNumberOfConformancePacksExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfConformancePacksExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16830,6 +16935,8 @@ func (s MaxNumberOfConformancePacksExceededException) RequestID() string { type MaxNumberOfDeliveryChannelsExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16855,6 +16962,9 @@ func (s MaxNumberOfDeliveryChannelsExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfDeliveryChannelsExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16882,6 +16992,8 @@ func (s MaxNumberOfDeliveryChannelsExceededException) RequestID() string { type MaxNumberOfOrganizationConfigRulesExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16907,6 +17019,9 @@ func (s MaxNumberOfOrganizationConfigRulesExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfOrganizationConfigRulesExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16935,6 +17050,8 @@ func (s MaxNumberOfOrganizationConfigRulesExceededException) RequestID() string type MaxNumberOfOrganizationConformancePacksExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16960,6 +17077,9 @@ func (s MaxNumberOfOrganizationConformancePacksExceededException) Code() string // Message returns the exception's message. func (s MaxNumberOfOrganizationConformancePacksExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16987,6 +17107,8 @@ func (s MaxNumberOfOrganizationConformancePacksExceededException) RequestID() st type MaxNumberOfRetentionConfigurationsExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17012,6 +17134,9 @@ func (s MaxNumberOfRetentionConfigurationsExceededException) Code() string { // Message returns the exception's message. func (s MaxNumberOfRetentionConfigurationsExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17143,6 +17268,8 @@ func (s *MemberAccountStatus) SetMemberAccountRuleStatus(v string) *MemberAccoun type NoAvailableConfigurationRecorderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17168,6 +17295,9 @@ func (s NoAvailableConfigurationRecorderException) Code() string { // Message returns the exception's message. func (s NoAvailableConfigurationRecorderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17194,6 +17324,8 @@ func (s NoAvailableConfigurationRecorderException) RequestID() string { type NoAvailableDeliveryChannelException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17219,6 +17351,9 @@ func (s NoAvailableDeliveryChannelException) Code() string { // Message returns the exception's message. func (s NoAvailableDeliveryChannelException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17245,6 +17380,8 @@ func (s NoAvailableDeliveryChannelException) RequestID() string { type NoAvailableOrganizationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17270,6 +17407,9 @@ func (s NoAvailableOrganizationException) Code() string { // Message returns the exception's message. func (s NoAvailableOrganizationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17296,6 +17436,8 @@ func (s NoAvailableOrganizationException) RequestID() string { type NoRunningConfigurationRecorderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17321,6 +17463,9 @@ func (s NoRunningConfigurationRecorderException) Code() string { // Message returns the exception's message. func (s NoRunningConfigurationRecorderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17347,6 +17492,8 @@ func (s NoRunningConfigurationRecorderException) RequestID() string { type NoSuchBucketException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17372,6 +17519,9 @@ func (s NoSuchBucketException) Code() string { // Message returns the exception's message. func (s NoSuchBucketException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17399,6 +17549,8 @@ func (s NoSuchBucketException) RequestID() string { type NoSuchConfigRuleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17424,6 +17576,9 @@ func (s NoSuchConfigRuleException) Code() string { // Message returns the exception's message. func (s NoSuchConfigRuleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17450,6 +17605,8 @@ func (s NoSuchConfigRuleException) RequestID() string { type NoSuchConfigRuleInConformancePackException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17475,6 +17632,9 @@ func (s NoSuchConfigRuleInConformancePackException) Code() string { // Message returns the exception's message. func (s NoSuchConfigRuleInConformancePackException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17501,6 +17661,8 @@ func (s NoSuchConfigRuleInConformancePackException) RequestID() string { type NoSuchConfigurationAggregatorException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17526,6 +17688,9 @@ func (s NoSuchConfigurationAggregatorException) Code() string { // Message returns the exception's message. func (s NoSuchConfigurationAggregatorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17552,6 +17717,8 @@ func (s NoSuchConfigurationAggregatorException) RequestID() string { type NoSuchConfigurationRecorderException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17577,6 +17744,9 @@ func (s NoSuchConfigurationRecorderException) Code() string { // Message returns the exception's message. func (s NoSuchConfigurationRecorderException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17603,6 +17773,8 @@ func (s NoSuchConfigurationRecorderException) RequestID() string { type NoSuchConformancePackException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17628,6 +17800,9 @@ func (s NoSuchConformancePackException) Code() string { // Message returns the exception's message. func (s NoSuchConformancePackException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17654,6 +17829,8 @@ func (s NoSuchConformancePackException) RequestID() string { type NoSuchDeliveryChannelException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17679,6 +17856,9 @@ func (s NoSuchDeliveryChannelException) Code() string { // Message returns the exception's message. func (s NoSuchDeliveryChannelException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17705,6 +17885,8 @@ func (s NoSuchDeliveryChannelException) RequestID() string { type NoSuchOrganizationConfigRuleException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17730,6 +17912,9 @@ func (s NoSuchOrganizationConfigRuleException) Code() string { // Message returns the exception's message. func (s NoSuchOrganizationConfigRuleException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17760,6 +17945,8 @@ func (s NoSuchOrganizationConfigRuleException) RequestID() string { type NoSuchOrganizationConformancePackException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17785,6 +17972,9 @@ func (s NoSuchOrganizationConformancePackException) Code() string { // Message returns the exception's message. func (s NoSuchOrganizationConformancePackException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17811,6 +18001,8 @@ func (s NoSuchOrganizationConformancePackException) RequestID() string { type NoSuchRemediationConfigurationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17836,6 +18028,9 @@ func (s NoSuchRemediationConfigurationException) Code() string { // Message returns the exception's message. func (s NoSuchRemediationConfigurationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17862,6 +18057,8 @@ func (s NoSuchRemediationConfigurationException) RequestID() string { type NoSuchRemediationExceptionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17887,6 +18084,9 @@ func (s NoSuchRemediationExceptionException) Code() string { // Message returns the exception's message. func (s NoSuchRemediationExceptionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17913,6 +18113,8 @@ func (s NoSuchRemediationExceptionException) RequestID() string { type NoSuchRetentionConfigurationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17938,6 +18140,9 @@ func (s NoSuchRetentionConfigurationException) Code() string { // Message returns the exception's message. func (s NoSuchRetentionConfigurationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17969,6 +18174,8 @@ func (s NoSuchRetentionConfigurationException) RequestID() string { type OrganizationAccessDeniedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17994,6 +18201,9 @@ func (s OrganizationAccessDeniedException) Code() string { // Message returns the exception's message. func (s OrganizationAccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18083,6 +18293,8 @@ func (s *OrganizationAggregationSource) SetRoleArn(v string) *OrganizationAggreg type OrganizationAllFeaturesNotEnabledException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18108,6 +18320,9 @@ func (s OrganizationAllFeaturesNotEnabledException) Code() string { // Message returns the exception's message. func (s OrganizationAllFeaturesNotEnabledException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18612,6 +18827,8 @@ func (s *OrganizationConformancePackStatus) SetStatus(v string) *OrganizationCon type OrganizationConformancePackTemplateValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18637,6 +18854,9 @@ func (s OrganizationConformancePackTemplateValidationException) Code() string { // Message returns the exception's message. func (s OrganizationConformancePackTemplateValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -19018,6 +19238,8 @@ func (s *OrganizationResourceDetailedStatusFilters) SetStatus(v string) *Organiz type OversizedConfigurationItemException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -19043,6 +19265,9 @@ func (s OversizedConfigurationItemException) Code() string { // Message returns the exception's message. func (s OversizedConfigurationItemException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21002,6 +21227,8 @@ func (s *RemediationExecutionStep) SetStopTime(v time.Time) *RemediationExecutio type RemediationInProgressException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21027,6 +21254,9 @@ func (s RemediationInProgressException) Code() string { // Message returns the exception's message. func (s RemediationInProgressException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21339,6 +21569,8 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { type ResourceInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21364,6 +21596,9 @@ func (s ResourceInUseException) Code() string { // Message returns the exception's message. func (s ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21447,6 +21682,8 @@ func (s *ResourceKey) SetResourceType(v string) *ResourceKey { type ResourceNotDiscoveredException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21472,6 +21709,9 @@ func (s ResourceNotDiscoveredException) Code() string { // Message returns the exception's message. func (s ResourceNotDiscoveredException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -21498,6 +21738,8 @@ func (s ResourceNotDiscoveredException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -21523,6 +21765,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22520,6 +22765,8 @@ func (s TagResourceOutput) GoString() string { type TooManyTagsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22545,6 +22792,9 @@ func (s TooManyTagsException) Code() string { // Message returns the exception's message. func (s TooManyTagsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -22645,6 +22895,8 @@ func (s UntagResourceOutput) GoString() string { type ValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -22670,6 +22922,9 @@ func (s ValidationException) Code() string { // Message returns the exception's message. func (s ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/dax/api.go b/vendor/github.com/aws/aws-sdk-go/service/dax/api.go index 6259cc86a6b..b9c5343888f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dax/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dax/api.go @@ -2190,6 +2190,8 @@ func (s *Cluster) SetTotalNodes(v int64) *Cluster { type ClusterAlreadyExistsFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2215,6 +2217,9 @@ func (s ClusterAlreadyExistsFault) Code() string { // Message returns the exception's message. func (s ClusterAlreadyExistsFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2241,6 +2246,8 @@ func (s ClusterAlreadyExistsFault) RequestID() string { type ClusterNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2266,6 +2273,9 @@ func (s ClusterNotFoundFault) Code() string { // Message returns the exception's message. func (s ClusterNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -2293,6 +2303,8 @@ func (s ClusterNotFoundFault) RequestID() string { type ClusterQuotaForCustomerExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2318,6 +2330,9 @@ func (s ClusterQuotaForCustomerExceededFault) Code() string { // Message returns the exception's message. func (s ClusterQuotaForCustomerExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -3731,6 +3746,8 @@ func (s *IncreaseReplicationFactorOutput) SetCluster(v *Cluster) *IncreaseReplic type InsufficientClusterCapacityFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3756,6 +3773,9 @@ func (s InsufficientClusterCapacityFault) Code() string { // Message returns the exception's message. func (s InsufficientClusterCapacityFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -3782,6 +3802,8 @@ func (s InsufficientClusterCapacityFault) RequestID() string { type InvalidARNFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3807,6 +3829,9 @@ func (s InvalidARNFault) Code() string { // Message returns the exception's message. func (s InvalidARNFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -3833,6 +3858,8 @@ func (s InvalidARNFault) RequestID() string { type InvalidClusterStateFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3858,6 +3885,9 @@ func (s InvalidClusterStateFault) Code() string { // Message returns the exception's message. func (s InvalidClusterStateFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -3940,6 +3970,8 @@ func (s InvalidParameterCombinationException) RequestID() string { type InvalidParameterGroupStateFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3965,6 +3997,9 @@ func (s InvalidParameterGroupStateFault) Code() string { // Message returns the exception's message. func (s InvalidParameterGroupStateFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4047,6 +4082,8 @@ func (s InvalidParameterValueException) RequestID() string { type InvalidSubnet struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4072,6 +4109,9 @@ func (s InvalidSubnet) Code() string { // Message returns the exception's message. func (s InvalidSubnet) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4098,6 +4138,8 @@ func (s InvalidSubnet) RequestID() string { type InvalidVPCNetworkStateFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4123,6 +4165,9 @@ func (s InvalidVPCNetworkStateFault) Code() string { // Message returns the exception's message. func (s InvalidVPCNetworkStateFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4304,6 +4349,8 @@ func (s *Node) SetParameterGroupStatus(v string) *Node { type NodeNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4329,6 +4376,9 @@ func (s NodeNotFoundFault) Code() string { // Message returns the exception's message. func (s NodeNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4355,6 +4405,8 @@ func (s NodeNotFoundFault) RequestID() string { type NodeQuotaForClusterExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4380,6 +4432,9 @@ func (s NodeQuotaForClusterExceededFault) Code() string { // Message returns the exception's message. func (s NodeQuotaForClusterExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4406,6 +4461,8 @@ func (s NodeQuotaForClusterExceededFault) RequestID() string { type NodeQuotaForCustomerExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4431,6 +4488,9 @@ func (s NodeQuotaForCustomerExceededFault) Code() string { // Message returns the exception's message. func (s NodeQuotaForCustomerExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4667,6 +4727,8 @@ func (s *ParameterGroup) SetParameterGroupName(v string) *ParameterGroup { type ParameterGroupAlreadyExistsFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4692,6 +4754,9 @@ func (s ParameterGroupAlreadyExistsFault) Code() string { // Message returns the exception's message. func (s ParameterGroupAlreadyExistsFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4718,6 +4783,8 @@ func (s ParameterGroupAlreadyExistsFault) RequestID() string { type ParameterGroupNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4743,6 +4810,9 @@ func (s ParameterGroupNotFoundFault) Code() string { // Message returns the exception's message. func (s ParameterGroupNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4769,6 +4839,8 @@ func (s ParameterGroupNotFoundFault) RequestID() string { type ParameterGroupQuotaExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4794,6 +4866,9 @@ func (s ParameterGroupQuotaExceededFault) Code() string { // Message returns the exception's message. func (s ParameterGroupQuotaExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5076,6 +5151,8 @@ func (s *SecurityGroupMembership) SetStatus(v string) *SecurityGroupMembership { type ServiceLinkedRoleNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5101,6 +5178,9 @@ func (s ServiceLinkedRoleNotFoundFault) Code() string { // Message returns the exception's message. func (s ServiceLinkedRoleNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5217,6 +5297,8 @@ func (s *SubnetGroup) SetVpcId(v string) *SubnetGroup { type SubnetGroupAlreadyExistsFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5242,6 +5324,9 @@ func (s SubnetGroupAlreadyExistsFault) Code() string { // Message returns the exception's message. func (s SubnetGroupAlreadyExistsFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5268,6 +5353,8 @@ func (s SubnetGroupAlreadyExistsFault) RequestID() string { type SubnetGroupInUseFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5293,6 +5380,9 @@ func (s SubnetGroupInUseFault) Code() string { // Message returns the exception's message. func (s SubnetGroupInUseFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5319,6 +5409,8 @@ func (s SubnetGroupInUseFault) RequestID() string { type SubnetGroupNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5344,6 +5436,9 @@ func (s SubnetGroupNotFoundFault) Code() string { // Message returns the exception's message. func (s SubnetGroupNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5371,6 +5466,8 @@ func (s SubnetGroupNotFoundFault) RequestID() string { type SubnetGroupQuotaExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5396,6 +5493,9 @@ func (s SubnetGroupQuotaExceededFault) Code() string { // Message returns the exception's message. func (s SubnetGroupQuotaExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5422,6 +5522,8 @@ func (s SubnetGroupQuotaExceededFault) RequestID() string { type SubnetInUse struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5447,6 +5549,9 @@ func (s SubnetInUse) Code() string { // Message returns the exception's message. func (s SubnetInUse) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5474,6 +5579,8 @@ func (s SubnetInUse) RequestID() string { type SubnetQuotaExceededFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5499,6 +5606,9 @@ func (s SubnetQuotaExceededFault) Code() string { // Message returns the exception's message. func (s SubnetQuotaExceededFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5567,6 +5677,8 @@ func (s *Tag) SetValue(v string) *Tag { type TagNotFoundFault struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5592,6 +5704,9 @@ func (s TagNotFoundFault) Code() string { // Message returns the exception's message. func (s TagNotFoundFault) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5618,6 +5733,8 @@ func (s TagNotFoundFault) RequestID() string { type TagQuotaPerResourceExceeded struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5643,6 +5760,9 @@ func (s TagQuotaPerResourceExceeded) Code() string { // Message returns the exception's message. func (s TagQuotaPerResourceExceeded) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go index 31a405f1c41..4cd291e1480 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go @@ -8716,6 +8716,8 @@ func (s *DisassociateConnectionFromLagInput) SetLagId(v string) *DisassociateCon type DuplicateTagKeysException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -8741,6 +8743,9 @@ func (s DuplicateTagKeysException) Code() string { // Message returns the exception's message. func (s DuplicateTagKeysException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10717,6 +10722,8 @@ func (s TagResourceOutput) GoString() string { type TooManyTagsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10742,6 +10749,9 @@ func (s TooManyTagsException) Code() string { // Message returns the exception's message. func (s TooManyTagsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go index 1ed390b7f27..a7e91197c3c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -440,8 +440,8 @@ func (c *EC2) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *re // AdvertiseByoipCidr API operation for Amazon Elastic Compute Cloud. // -// Advertises an IPv4 address range that is provisioned for use with your AWS -// resources through bring your own IP addresses (BYOIP). +// Advertises an IPv4 or IPv6 address range that is provisioned for use with +// your AWS resources through bring your own IP addresses (BYOIP). // // You can perform this operation at most once every 10 seconds, even if you // specify different address ranges each time. @@ -1603,8 +1603,10 @@ func (c *EC2) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) (r // AssociateVpcCidrBlock API operation for Amazon Elastic Compute Cloud. // // Associates a CIDR block with your VPC. You can associate a secondary IPv4 -// CIDR block, or you can associate an Amazon-provided IPv6 CIDR block. The -// IPv6 CIDR block size is fixed at /56. +// CIDR block, an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from +// an IPv6 address pool that you provisioned through bring your own IP addresses +// (BYOIP (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html)). +// The IPv6 CIDR block size is fixed at /56. // // For more information about associating CIDR blocks with your VPC and applicable // restrictions, see VPC and Subnet Sizing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing) @@ -7169,9 +7171,10 @@ func (c *EC2) CreateVpcRequest(input *CreateVpcInput) (req *request.Request, out // make your VPC, see Your VPC and Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) // in the Amazon Virtual Private Cloud User Guide. // -// You can optionally request an Amazon-provided IPv6 CIDR block for the VPC. -// The IPv6 CIDR block uses a /56 prefix length, and is allocated from Amazon's -// pool of IPv6 addresses. You cannot choose the IPv6 range for your VPC. +// You can optionally request an IPv6 CIDR block for the VPC. You can request +// an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses, +// or an IPv6 CIDR block from an IPv6 address pool that you provisioned through +// bring your own IP addresses (BYOIP (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html)). // // By default, each instance you launch in the VPC has the default DHCP options, // which include only a default DNS server that we provide (AmazonProvidedDNS). @@ -12192,7 +12195,7 @@ func (c *EC2) DescribeByoipCidrsRequest(input *DescribeByoipCidrsInput) (req *re // Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. // // To describe the address pools that were created when you provisioned the -// address ranges, use DescribePublicIpv4Pools. +// address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -16703,6 +16706,138 @@ func (c *EC2) DescribeInternetGatewaysPagesWithContext(ctx aws.Context, input *D return p.Err() } +const opDescribeIpv6Pools = "DescribeIpv6Pools" + +// DescribeIpv6PoolsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeIpv6Pools operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeIpv6Pools for more information on using the DescribeIpv6Pools +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeIpv6PoolsRequest method. +// req, resp := client.DescribeIpv6PoolsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpv6Pools +func (c *EC2) DescribeIpv6PoolsRequest(input *DescribeIpv6PoolsInput) (req *request.Request, output *DescribeIpv6PoolsOutput) { + op := &request.Operation{ + Name: opDescribeIpv6Pools, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeIpv6PoolsInput{} + } + + output = &DescribeIpv6PoolsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeIpv6Pools API operation for Amazon Elastic Compute Cloud. +// +// Describes your IPv6 address pools. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeIpv6Pools for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpv6Pools +func (c *EC2) DescribeIpv6Pools(input *DescribeIpv6PoolsInput) (*DescribeIpv6PoolsOutput, error) { + req, out := c.DescribeIpv6PoolsRequest(input) + return out, req.Send() +} + +// DescribeIpv6PoolsWithContext is the same as DescribeIpv6Pools with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeIpv6Pools for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeIpv6PoolsWithContext(ctx aws.Context, input *DescribeIpv6PoolsInput, opts ...request.Option) (*DescribeIpv6PoolsOutput, error) { + req, out := c.DescribeIpv6PoolsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeIpv6PoolsPages iterates over the pages of a DescribeIpv6Pools operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeIpv6Pools method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeIpv6Pools operation. +// pageNum := 0 +// err := client.DescribeIpv6PoolsPages(params, +// func(page *ec2.DescribeIpv6PoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeIpv6PoolsPages(input *DescribeIpv6PoolsInput, fn func(*DescribeIpv6PoolsOutput, bool) bool) error { + return c.DescribeIpv6PoolsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeIpv6PoolsPagesWithContext same as DescribeIpv6PoolsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeIpv6PoolsPagesWithContext(ctx aws.Context, input *DescribeIpv6PoolsInput, fn func(*DescribeIpv6PoolsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeIpv6PoolsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeIpv6PoolsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeIpv6PoolsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeKeyPairs = "DescribeKeyPairs" // DescribeKeyPairsRequest generates a "aws/request.Request" representing the @@ -26596,6 +26731,139 @@ func (c *EC2) ExportTransitGatewayRoutesWithContext(ctx aws.Context, input *Expo return out, req.Send() } +const opGetAssociatedIpv6PoolCidrs = "GetAssociatedIpv6PoolCidrs" + +// GetAssociatedIpv6PoolCidrsRequest generates a "aws/request.Request" representing the +// client's request for the GetAssociatedIpv6PoolCidrs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAssociatedIpv6PoolCidrs for more information on using the GetAssociatedIpv6PoolCidrs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetAssociatedIpv6PoolCidrsRequest method. +// req, resp := client.GetAssociatedIpv6PoolCidrsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedIpv6PoolCidrs +func (c *EC2) GetAssociatedIpv6PoolCidrsRequest(input *GetAssociatedIpv6PoolCidrsInput) (req *request.Request, output *GetAssociatedIpv6PoolCidrsOutput) { + op := &request.Operation{ + Name: opGetAssociatedIpv6PoolCidrs, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetAssociatedIpv6PoolCidrsInput{} + } + + output = &GetAssociatedIpv6PoolCidrsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAssociatedIpv6PoolCidrs API operation for Amazon Elastic Compute Cloud. +// +// Gets information about the IPv6 CIDR block associations for a specified IPv6 +// address pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetAssociatedIpv6PoolCidrs for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedIpv6PoolCidrs +func (c *EC2) GetAssociatedIpv6PoolCidrs(input *GetAssociatedIpv6PoolCidrsInput) (*GetAssociatedIpv6PoolCidrsOutput, error) { + req, out := c.GetAssociatedIpv6PoolCidrsRequest(input) + return out, req.Send() +} + +// GetAssociatedIpv6PoolCidrsWithContext is the same as GetAssociatedIpv6PoolCidrs with the addition of +// the ability to pass a context and additional request options. +// +// See GetAssociatedIpv6PoolCidrs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetAssociatedIpv6PoolCidrsWithContext(ctx aws.Context, input *GetAssociatedIpv6PoolCidrsInput, opts ...request.Option) (*GetAssociatedIpv6PoolCidrsOutput, error) { + req, out := c.GetAssociatedIpv6PoolCidrsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetAssociatedIpv6PoolCidrsPages iterates over the pages of a GetAssociatedIpv6PoolCidrs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetAssociatedIpv6PoolCidrs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetAssociatedIpv6PoolCidrs operation. +// pageNum := 0 +// err := client.GetAssociatedIpv6PoolCidrsPages(params, +// func(page *ec2.GetAssociatedIpv6PoolCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) GetAssociatedIpv6PoolCidrsPages(input *GetAssociatedIpv6PoolCidrsInput, fn func(*GetAssociatedIpv6PoolCidrsOutput, bool) bool) error { + return c.GetAssociatedIpv6PoolCidrsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetAssociatedIpv6PoolCidrsPagesWithContext same as GetAssociatedIpv6PoolCidrsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetAssociatedIpv6PoolCidrsPagesWithContext(ctx aws.Context, input *GetAssociatedIpv6PoolCidrsInput, fn func(*GetAssociatedIpv6PoolCidrsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetAssociatedIpv6PoolCidrsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAssociatedIpv6PoolCidrsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetAssociatedIpv6PoolCidrsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetCapacityReservationUsage = "GetCapacityReservationUsage" // GetCapacityReservationUsageRequest generates a "aws/request.Request" representing the @@ -31808,9 +32076,10 @@ func (c *EC2) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *re // ProvisionByoipCidr API operation for Amazon Elastic Compute Cloud. // -// Provisions an address range for use with your AWS resources through bring -// your own IP addresses (BYOIP) and creates a corresponding address pool. After -// the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. +// Provisions an IPv4 or IPv6 address range for use with your AWS resources +// through bring your own IP addresses (BYOIP) and creates a corresponding address +// pool. After the address range is provisioned, it is ready to be advertised +// using AdvertiseByoipCidr. // // AWS verifies that you own the address range and are authorized to advertise // it. You must ensure that the address range is registered to you and that @@ -31823,8 +32092,8 @@ func (c *EC2) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *re // immediately, but the address range is not ready to use until its status changes // from pending-provision to provisioned. To monitor the status of an address // range, use DescribeByoipCidrs. To allocate an Elastic IP address from your -// address pool, use AllocateAddress with either the specific address from the -// address pool or the ID of the address pool. +// IPv4 address pool, use AllocateAddress with either the specific address from +// the address pool or the ID of the address pool. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -35894,8 +36163,7 @@ func (c *EC2) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *requ // WithdrawByoipCidr API operation for Amazon Elastic Compute Cloud. // -// Stops advertising an IPv4 address range that is provisioned as an address -// pool. +// Stops advertising an address range that is provisioned as an address pool. // // You can perform this operation at most once every 10 seconds, even if you // specify different address ranges each time. @@ -36566,8 +36834,8 @@ func (s *Address) SetTags(v []*Tag) *Address { type AdvertiseByoipCidrInput struct { _ struct{} `type:"structure"` - // The IPv4 address range, in CIDR notation. This must be the exact range that - // you provisioned. You can't advertise only a portion of the provisioned range. + // The address range, in CIDR notation. This must be the exact range that you + // provisioned. You can't advertise only a portion of the provisioned range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` @@ -38051,6 +38319,12 @@ type AssociateVpcCidrBlockInput struct { // An IPv4 CIDR block to associate with the VPC. CidrBlock *string `type:"string"` + // An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool + // in the request. + // + // To let Amazon choose the IPv6 CIDR block for you, omit this parameter. + Ipv6CidrBlock *string `type:"string"` + // The name of the location from which we advertise the IPV6 CIDR block. Use // this parameter to limit the CiDR block to this location. // @@ -38059,6 +38333,9 @@ type AssociateVpcCidrBlockInput struct { // You can have one IPv6 CIDR block association per network border group. Ipv6CidrBlockNetworkBorderGroup *string `type:"string"` + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. + Ipv6Pool *string `type:"string"` + // The ID of the VPC. // // VpcId is a required field @@ -38100,12 +38377,24 @@ func (s *AssociateVpcCidrBlockInput) SetCidrBlock(v string) *AssociateVpcCidrBlo return s } +// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. +func (s *AssociateVpcCidrBlockInput) SetIpv6CidrBlock(v string) *AssociateVpcCidrBlockInput { + s.Ipv6CidrBlock = &v + return s +} + // SetIpv6CidrBlockNetworkBorderGroup sets the Ipv6CidrBlockNetworkBorderGroup field's value. func (s *AssociateVpcCidrBlockInput) SetIpv6CidrBlockNetworkBorderGroup(v string) *AssociateVpcCidrBlockInput { s.Ipv6CidrBlockNetworkBorderGroup = &v return s } +// SetIpv6Pool sets the Ipv6Pool field's value. +func (s *AssociateVpcCidrBlockInput) SetIpv6Pool(v string) *AssociateVpcCidrBlockInput { + s.Ipv6Pool = &v + return s +} + // SetVpcId sets the VpcId field's value. func (s *AssociateVpcCidrBlockInput) SetVpcId(v string) *AssociateVpcCidrBlockInput { s.VpcId = &v @@ -39669,7 +39958,7 @@ func (s *BundleTaskError) SetMessage(v string) *BundleTaskError { type ByoipCidr struct { _ struct{} `type:"structure"` - // The public IPv4 address range, in CIDR notation. + // The address range, in CIDR notation. Cidr *string `locationName:"cidr" type:"string"` // The description of the address range. @@ -48922,11 +49211,20 @@ type CreateVpcInput struct { // Default: default InstanceTenancy *string `locationName:"instanceTenancy" type:"string" enum:"Tenancy"` + // The IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool + // in the request. + // + // To let Amazon choose the IPv6 CIDR block for you, omit this parameter. + Ipv6CidrBlock *string `type:"string"` + // The name of the location from which we advertise the IPV6 CIDR block. Use // this parameter to limit the address to this location. // // You must set AmazonProvidedIpv6CidrBlock to true to use this parameter. Ipv6CidrBlockNetworkBorderGroup *string `type:"string"` + + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. + Ipv6Pool *string `type:"string"` } // String returns the string representation @@ -48976,12 +49274,24 @@ func (s *CreateVpcInput) SetInstanceTenancy(v string) *CreateVpcInput { return s } +// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. +func (s *CreateVpcInput) SetIpv6CidrBlock(v string) *CreateVpcInput { + s.Ipv6CidrBlock = &v + return s +} + // SetIpv6CidrBlockNetworkBorderGroup sets the Ipv6CidrBlockNetworkBorderGroup field's value. func (s *CreateVpcInput) SetIpv6CidrBlockNetworkBorderGroup(v string) *CreateVpcInput { s.Ipv6CidrBlockNetworkBorderGroup = &v return s } +// SetIpv6Pool sets the Ipv6Pool field's value. +func (s *CreateVpcInput) SetIpv6Pool(v string) *CreateVpcInput { + s.Ipv6Pool = &v + return s +} + type CreateVpcOutput struct { _ struct{} `type:"structure"` @@ -53199,8 +53509,8 @@ func (s DeleteVpnGatewayOutput) GoString() string { type DeprovisionByoipCidrInput struct { _ struct{} `type:"structure"` - // The public IPv4 address range, in CIDR notation. The prefix must be the same - // prefix that you specified when you provisioned the address range. + // The address range, in CIDR notation. The prefix must be the same prefix that + // you specified when you provisioned the address range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` @@ -59102,6 +59412,125 @@ func (s *DescribeInternetGatewaysOutput) SetNextToken(v string) *DescribeInterne return s } +type DescribeIpv6PoolsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * tag: - The key/value combination of a tag assigned to the resource. + // Use the tag key in the filter name and the tag value as the filter value. + // For example, to find all resources that have a tag with the key Owner + // and the value TeamA, specify tag:Owner for the filter name and TeamA for + // the filter value. + // + // * tag-key - The key of a tag assigned to the resource. Use this filter + // to find all resources assigned a tag with a specific key, regardless of + // the tag value. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the IPv6 address pools. + PoolIds []*string `locationName:"PoolId" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeIpv6PoolsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeIpv6PoolsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeIpv6PoolsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIpv6PoolsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeIpv6PoolsInput) SetDryRun(v bool) *DescribeIpv6PoolsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeIpv6PoolsInput) SetFilters(v []*Filter) *DescribeIpv6PoolsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeIpv6PoolsInput) SetMaxResults(v int64) *DescribeIpv6PoolsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeIpv6PoolsInput) SetNextToken(v string) *DescribeIpv6PoolsInput { + s.NextToken = &v + return s +} + +// SetPoolIds sets the PoolIds field's value. +func (s *DescribeIpv6PoolsInput) SetPoolIds(v []*string) *DescribeIpv6PoolsInput { + s.PoolIds = v + return s +} + +type DescribeIpv6PoolsOutput struct { + _ struct{} `type:"structure"` + + // Information about the IPv6 address pools. + Ipv6Pools []*Ipv6Pool `locationName:"ipv6PoolSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeIpv6PoolsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeIpv6PoolsOutput) GoString() string { + return s.String() +} + +// SetIpv6Pools sets the Ipv6Pools field's value. +func (s *DescribeIpv6PoolsOutput) SetIpv6Pools(v []*Ipv6Pool) *DescribeIpv6PoolsOutput { + s.Ipv6Pools = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeIpv6PoolsOutput) SetNextToken(v string) *DescribeIpv6PoolsOutput { + s.NextToken = &v + return s +} + type DescribeKeyPairsInput struct { _ struct{} `type:"structure"` @@ -66897,6 +67326,9 @@ type DescribeVpcsInput struct { // * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated // with the VPC. // + // * ipv6-cidr-block-association.ipv6-pool - The ID of the IPv6 address pool + // from which the IPv6 CIDR block is allocated. + // // * ipv6-cidr-block-association.association-id - The association ID for // an IPv6 CIDR block associated with the VPC. // @@ -72778,6 +73210,111 @@ func (s *FpgaInfo) SetTotalFpgaMemoryInMiB(v int64) *FpgaInfo { return s } +type GetAssociatedIpv6PoolCidrsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The ID of the IPv6 address pool. + // + // PoolId is a required field + PoolId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetAssociatedIpv6PoolCidrsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAssociatedIpv6PoolCidrsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAssociatedIpv6PoolCidrsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAssociatedIpv6PoolCidrsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetAssociatedIpv6PoolCidrsInput) SetDryRun(v bool) *GetAssociatedIpv6PoolCidrsInput { + s.DryRun = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetAssociatedIpv6PoolCidrsInput) SetMaxResults(v int64) *GetAssociatedIpv6PoolCidrsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetAssociatedIpv6PoolCidrsInput) SetNextToken(v string) *GetAssociatedIpv6PoolCidrsInput { + s.NextToken = &v + return s +} + +// SetPoolId sets the PoolId field's value. +func (s *GetAssociatedIpv6PoolCidrsInput) SetPoolId(v string) *GetAssociatedIpv6PoolCidrsInput { + s.PoolId = &v + return s +} + +type GetAssociatedIpv6PoolCidrsOutput struct { + _ struct{} `type:"structure"` + + // Information about the IPv6 CIDR block associations. + Ipv6CidrAssociations []*Ipv6CidrAssociation `locationName:"ipv6CidrAssociationSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetAssociatedIpv6PoolCidrsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAssociatedIpv6PoolCidrsOutput) GoString() string { + return s.String() +} + +// SetIpv6CidrAssociations sets the Ipv6CidrAssociations field's value. +func (s *GetAssociatedIpv6PoolCidrsOutput) SetIpv6CidrAssociations(v []*Ipv6CidrAssociation) *GetAssociatedIpv6PoolCidrsOutput { + s.Ipv6CidrAssociations = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetAssociatedIpv6PoolCidrsOutput) SetNextToken(v string) *GetAssociatedIpv6PoolCidrsOutput { + s.NextToken = &v + return s +} + type GetCapacityReservationUsageInput struct { _ struct{} `type:"structure"` @@ -79651,6 +80188,39 @@ func (s *IpRange) SetDescription(v string) *IpRange { return s } +// Describes an IPv6 CIDR block association. +type Ipv6CidrAssociation struct { + _ struct{} `type:"structure"` + + // The resource that's associated with the IPv6 CIDR block. + AssociatedResource *string `locationName:"associatedResource" type:"string"` + + // The IPv6 CIDR block. + Ipv6Cidr *string `locationName:"ipv6Cidr" type:"string"` +} + +// String returns the string representation +func (s Ipv6CidrAssociation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Ipv6CidrAssociation) GoString() string { + return s.String() +} + +// SetAssociatedResource sets the AssociatedResource field's value. +func (s *Ipv6CidrAssociation) SetAssociatedResource(v string) *Ipv6CidrAssociation { + s.AssociatedResource = &v + return s +} + +// SetIpv6Cidr sets the Ipv6Cidr field's value. +func (s *Ipv6CidrAssociation) SetIpv6Cidr(v string) *Ipv6CidrAssociation { + s.Ipv6Cidr = &v + return s +} + // Describes an IPv6 CIDR block. type Ipv6CidrBlock struct { _ struct{} `type:"structure"` @@ -79675,6 +80245,57 @@ func (s *Ipv6CidrBlock) SetIpv6CidrBlock(v string) *Ipv6CidrBlock { return s } +// Describes an IPv6 address pool. +type Ipv6Pool struct { + _ struct{} `type:"structure"` + + // The description for the address pool. + Description *string `locationName:"description" type:"string"` + + // The CIDR blocks for the address pool. + PoolCidrBlocks []*PoolCidrBlock `locationName:"poolCidrBlockSet" locationNameList:"item" type:"list"` + + // The ID of the address pool. + PoolId *string `locationName:"poolId" type:"string"` + + // Any tags for the address pool. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s Ipv6Pool) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Ipv6Pool) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *Ipv6Pool) SetDescription(v string) *Ipv6Pool { + s.Description = &v + return s +} + +// SetPoolCidrBlocks sets the PoolCidrBlocks field's value. +func (s *Ipv6Pool) SetPoolCidrBlocks(v []*PoolCidrBlock) *Ipv6Pool { + s.PoolCidrBlocks = v + return s +} + +// SetPoolId sets the PoolId field's value. +func (s *Ipv6Pool) SetPoolId(v string) *Ipv6Pool { + s.PoolId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *Ipv6Pool) SetTags(v []*Tag) *Ipv6Pool { + s.Tags = v + return s +} + // [EC2-VPC only] Describes an IPv6 range. type Ipv6Range struct { _ struct{} `type:"structure"` @@ -89281,6 +89902,30 @@ func (s *PlacementResponse) SetGroupName(v string) *PlacementResponse { return s } +// Describes a CIDR block for an address pool. +type PoolCidrBlock struct { + _ struct{} `type:"structure"` + + // The CIDR block. + Cidr *string `locationName:"poolCidrBlock" type:"string"` +} + +// String returns the string representation +func (s PoolCidrBlock) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PoolCidrBlock) GoString() string { + return s.String() +} + +// SetCidr sets the Cidr field's value. +func (s *PoolCidrBlock) SetCidr(v string) *PoolCidrBlock { + s.Cidr = &v + return s +} + // Describes a range of ports. type PortRange struct { _ struct{} `type:"structure"` @@ -89751,9 +90396,10 @@ func (s *PropagatingVgw) SetGatewayId(v string) *PropagatingVgw { type ProvisionByoipCidrInput struct { _ struct{} `type:"structure"` - // The public IPv4 address range, in CIDR notation. The most specific prefix - // that you can specify is /24. The address range cannot overlap with another - // address range that you've brought to this or another Region. + // The public IPv4 or IPv6 address range, in CIDR notation. The most specific + // IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you + // can specify is /56. The address range cannot overlap with another address + // range that you've brought to this or another Region. // // Cidr is a required field Cidr *string `type:"string" required:"true"` @@ -89770,6 +90416,12 @@ type ProvisionByoipCidrInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + + // (IPv6 only) Indicate whether the address range will be publicly advertised + // to the internet. + // + // Default: true + PubliclyAdvertisable *bool `type:"boolean"` } // String returns the string representation @@ -89824,10 +90476,16 @@ func (s *ProvisionByoipCidrInput) SetDryRun(v bool) *ProvisionByoipCidrInput { return s } +// SetPubliclyAdvertisable sets the PubliclyAdvertisable field's value. +func (s *ProvisionByoipCidrInput) SetPubliclyAdvertisable(v bool) *ProvisionByoipCidrInput { + s.PubliclyAdvertisable = &v + return s +} + type ProvisionByoipCidrOutput struct { _ struct{} `type:"structure"` - // Information about the address pool. + // Information about the address range. ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"` } @@ -89919,7 +90577,7 @@ func (s *ProvisionedBandwidth) SetStatus(v string) *ProvisionedBandwidth { return s } -// Describes an address pool. +// Describes an IPv4 address pool. type PublicIpv4Pool struct { _ struct{} `type:"structure"` @@ -89929,7 +90587,7 @@ type PublicIpv4Pool struct { // The address ranges. PoolAddressRanges []*PublicIpv4PoolRange `locationName:"poolAddressRangeSet" locationNameList:"item" type:"list"` - // The ID of the IPv4 address pool. + // The ID of the address pool. PoolId *string `locationName:"poolId" type:"string"` // The total number of addresses. @@ -105811,6 +106469,9 @@ type VpcIpv6CidrBlockAssociation struct { // Information about the state of the CIDR block. Ipv6CidrBlockState *VpcCidrBlockState `locationName:"ipv6CidrBlockState" type:"structure"` + // The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated. + Ipv6Pool *string `locationName:"ipv6Pool" type:"string"` + // The name of the location from which we advertise the IPV6 CIDR block. NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"` } @@ -105843,6 +106504,12 @@ func (s *VpcIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *VpcCidrBlockState return s } +// SetIpv6Pool sets the Ipv6Pool field's value. +func (s *VpcIpv6CidrBlockAssociation) SetIpv6Pool(v string) *VpcIpv6CidrBlockAssociation { + s.Ipv6Pool = &v + return s +} + // SetNetworkBorderGroup sets the NetworkBorderGroup field's value. func (s *VpcIpv6CidrBlockAssociation) SetNetworkBorderGroup(v string) *VpcIpv6CidrBlockAssociation { s.NetworkBorderGroup = &v @@ -106641,7 +107308,7 @@ func (s *VpnTunnelOptionsSpecification) SetTunnelInsideCidr(v string) *VpnTunnel type WithdrawByoipCidrInput struct { _ struct{} `type:"structure"` - // The public IPv4 address range, in CIDR notation. + // The address range, in CIDR notation. // // Cidr is a required field Cidr *string `type:"string" required:"true"` @@ -106946,6 +107613,9 @@ const ( // ByoipCidrStateProvisioned is a ByoipCidrState enum value ByoipCidrStateProvisioned = "provisioned" + + // ByoipCidrStateProvisionedNotPubliclyAdvertisable is a ByoipCidrState enum value + ByoipCidrStateProvisionedNotPubliclyAdvertisable = "provisioned-not-publicly-advertisable" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go index ef9030f5f93..57ed0c4d881 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go @@ -5518,6 +5518,8 @@ func (c *ECS) UpdateTaskSetWithContext(ctx aws.Context, input *UpdateTaskSetInpu type AccessDeniedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5543,6 +5545,9 @@ func (s AccessDeniedException) Code() string { // Message returns the exception's message. func (s AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5753,6 +5758,8 @@ func (s *Attribute) SetValue(v string) *Attribute { type AttributeLimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5778,6 +5785,9 @@ func (s AttributeLimitExceededException) Code() string { // Message returns the exception's message. func (s AttributeLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5947,6 +5957,8 @@ func (s *AwsVpcConfiguration) SetSubnets(v []*string) *AwsVpcConfiguration { type BlockedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5972,6 +5984,9 @@ func (s BlockedException) Code() string { // Message returns the exception's message. func (s BlockedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6449,6 +6464,8 @@ func (s *Cluster) SetTags(v []*Tag) *Cluster { type ClusterContainsContainerInstancesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6474,6 +6491,9 @@ func (s ClusterContainsContainerInstancesException) Code() string { // Message returns the exception's message. func (s ClusterContainsContainerInstancesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6502,6 +6522,8 @@ func (s ClusterContainsContainerInstancesException) RequestID() string { type ClusterContainsServicesException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6527,6 +6549,9 @@ func (s ClusterContainsServicesException) Code() string { // Message returns the exception's message. func (s ClusterContainsServicesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6553,6 +6578,8 @@ func (s ClusterContainsServicesException) RequestID() string { type ClusterContainsTasksException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6578,6 +6605,9 @@ func (s ClusterContainsTasksException) Code() string { // Message returns the exception's message. func (s ClusterContainsTasksException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6605,6 +6635,8 @@ func (s ClusterContainsTasksException) RequestID() string { type ClusterNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6630,6 +6662,9 @@ func (s ClusterNotFoundException) Code() string { // Message returns the exception's message. func (s ClusterNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11426,6 +11461,8 @@ func (s *InferenceAcceleratorOverride) SetDeviceType(v string) *InferenceAcceler type InvalidParameterException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11451,6 +11488,9 @@ func (s InvalidParameterException) Code() string { // Message returns the exception's message. func (s InvalidParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -11580,6 +11620,8 @@ func (s *KeyValuePair) SetValue(v string) *KeyValuePair { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -11605,6 +11647,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13093,6 +13138,8 @@ func (s *ManagedScaling) SetTargetCapacity(v int64) *ManagedScaling { type MissingVersionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13118,6 +13165,9 @@ func (s MissingVersionException) Code() string { // Message returns the exception's message. func (s MissingVersionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13329,6 +13379,8 @@ func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface { type NoUpdateAvailableException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13354,6 +13406,9 @@ func (s NoUpdateAvailableException) Code() string { // Message returns the exception's message. func (s NoUpdateAvailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13527,6 +13582,8 @@ func (s *PlatformDevice) SetType(v string) *PlatformDevice { type PlatformTaskDefinitionIncompatibilityException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13552,6 +13609,9 @@ func (s PlatformTaskDefinitionIncompatibilityException) Code() string { // Message returns the exception's message. func (s PlatformTaskDefinitionIncompatibilityException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13578,6 +13638,8 @@ func (s PlatformTaskDefinitionIncompatibilityException) RequestID() string { type PlatformUnknownException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13603,6 +13665,9 @@ func (s PlatformUnknownException) Code() string { // Message returns the exception's message. func (s PlatformUnknownException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -14947,6 +15012,8 @@ func (s *Resource) SetType(v string) *Resource { type ResourceInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -14972,6 +15039,9 @@ func (s ResourceInUseException) Code() string { // Message returns the exception's message. func (s ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -14998,6 +15068,8 @@ func (s ResourceInUseException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15023,6 +15095,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15995,6 +16070,8 @@ func (s *ServiceEvent) SetMessage(v string) *ServiceEvent { type ServiceNotActiveException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16020,6 +16097,9 @@ func (s ServiceNotActiveException) Code() string { // Message returns the exception's message. func (s ServiceNotActiveException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -16047,6 +16127,8 @@ func (s ServiceNotActiveException) RequestID() string { type ServiceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -16072,6 +16154,9 @@ func (s ServiceNotFoundException) Code() string { // Message returns the exception's message. func (s ServiceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17085,6 +17170,8 @@ func (s TagResourceOutput) GoString() string { type TargetNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17110,6 +17197,9 @@ func (s TargetNotFoundException) Code() string { // Message returns the exception's message. func (s TargetNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18309,6 +18399,8 @@ func (s *TaskSet) SetUpdatedAt(v time.Time) *TaskSet { type TaskSetNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18334,6 +18426,9 @@ func (s TaskSetNotFoundException) Code() string { // Message returns the exception's message. func (s TaskSetNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18496,6 +18591,8 @@ func (s *Ulimit) SetSoftLimit(v int64) *Ulimit { type UnsupportedFeatureException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18521,6 +18618,9 @@ func (s UnsupportedFeatureException) Code() string { // Message returns the exception's message. func (s UnsupportedFeatureException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18873,6 +18973,8 @@ func (s *UpdateContainerInstancesStateOutput) SetFailures(v []*Failure) *UpdateC type UpdateInProgressException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18898,6 +19000,9 @@ func (s UpdateInProgressException) Code() string { // Message returns the exception's message. func (s UpdateInProgressException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go index 082cdfff886..b78db2fddb4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go @@ -3663,6 +3663,8 @@ func (s *DescribeReservedElasticsearchInstancesOutput) SetReservedElasticsearchI type DisabledOperationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3688,6 +3690,9 @@ func (s DisabledOperationException) Code() string { // Message returns the exception's message. func (s DisabledOperationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4872,6 +4877,8 @@ func (s *InstanceLimits) SetInstanceCountLimits(v *InstanceCountLimits) *Instanc type InternalException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4897,6 +4904,9 @@ func (s InternalException) Code() string { // Message returns the exception's message. func (s InternalException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4924,6 +4934,8 @@ func (s InternalException) RequestID() string { type InvalidTypeException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4949,6 +4961,9 @@ func (s InvalidTypeException) Code() string { // Message returns the exception's message. func (s InvalidTypeException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4976,6 +4991,8 @@ func (s InvalidTypeException) RequestID() string { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5001,6 +5018,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6006,6 +6026,8 @@ func (s *ReservedElasticsearchInstanceOffering) SetUsagePrice(v float64) *Reserv type ResourceAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6031,6 +6053,9 @@ func (s ResourceAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ResourceAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6058,6 +6083,8 @@ func (s ResourceAlreadyExistsException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6083,6 +6110,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7007,6 +7037,8 @@ func (s *VPCOptions) SetSubnetIds(v []*string) *VPCOptions { type ValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7032,6 +7064,9 @@ func (s ValidationException) Code() string { // Message returns the exception's message. func (s ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go index 938b01a9d59..504a3e30815 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go @@ -1867,6 +1867,8 @@ func (c *ElasticTranscoder) UpdatePipelineStatusWithContext(ctx aws.Context, inp type AccessDeniedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -1892,6 +1894,9 @@ func (s AccessDeniedException) Code() string { // Message returns the exception's message. func (s AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4092,6 +4097,8 @@ func (s *HlsContentProtection) SetMethod(v string) *HlsContentProtection { type IncompatibleVersionException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4117,6 +4124,9 @@ func (s IncompatibleVersionException) Code() string { // Message returns the exception's message. func (s IncompatibleVersionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -4216,6 +4226,8 @@ func (s *InputCaptions) SetMergePolicy(v string) *InputCaptions { type InternalServiceException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -4241,6 +4253,9 @@ func (s InternalServiceException) Code() string { // Message returns the exception's message. func (s InternalServiceException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5118,6 +5133,8 @@ func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5143,6 +5160,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6745,6 +6765,8 @@ func (s *ReadPresetOutput) SetPreset(v *Preset) *ReadPresetOutput { type ResourceInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6770,6 +6792,9 @@ func (s ResourceInUseException) Code() string { // Message returns the exception's message. func (s ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -6798,6 +6823,8 @@ func (s ResourceInUseException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -6823,6 +6850,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -7680,6 +7710,8 @@ func (s *UpdatePipelineStatusOutput) SetPipeline(v *Pipeline) *UpdatePipelineSta type ValidationException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7705,6 +7737,9 @@ func (s ValidationException) Code() string { // Message returns the exception's message. func (s ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go index e462029a552..f0de166ef22 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go @@ -7394,6 +7394,8 @@ func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSp type InternalServerError struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -7419,6 +7421,9 @@ func (s InternalServerError) Code() string { // Message returns the exception's message. func (s InternalServerError) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go b/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go index 3f4aad1f7c9..262331956e3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go @@ -1506,8 +1506,8 @@ func (c *IoTEvents) UpdateInputWithContext(ctx aws.Context, input *UpdateInputIn return out, req.Send() } -// Sends an IoT Events input, passing in information about the detector model -// instance and the event which triggered the action. +// Sends an AWS IoT Events input, passing in information about the detector +// model instance and the event that triggered the action. type Action struct { _ struct{} `type:"structure"` @@ -1556,19 +1556,19 @@ type ActionData struct { // Information needed to clear the timer. ClearTimer *ClearTimerAction `locationName:"clearTimer" type:"structure"` - // Sends information about the detector model instance and the event which triggered + // Sends information about the detector model instance and the event that triggered // the action to a Kinesis Data Firehose delivery stream. Firehose *FirehoseAction `locationName:"firehose" type:"structure"` // Sends an IoT Events input, passing in information about the detector model - // instance and the event which triggered the action. + // instance and the event that triggered the action. IotEvents *Action `locationName:"iotEvents" type:"structure"` // Publishes an MQTT message with the given topic to the AWS IoT message broker. IotTopicPublish *IotTopicPublishAction `locationName:"iotTopicPublish" type:"structure"` - // Calls an AWS Lambda function, passing in information about the detector model - // instance and the event which triggered the action. + // Calls a Lambda function, passing in information about the detector model + // instance and the event that triggered the action. Lambda *LambdaAction `locationName:"lambda" type:"structure"` // Information needed to reset the timer. @@ -1583,7 +1583,7 @@ type ActionData struct { // Sends an Amazon SNS message. Sns *SNSTopicPublishAction `locationName:"sns" type:"structure"` - // Sends information about the detector model instance and the event which triggered + // Sends information about the detector model instance and the event that triggered // the action to an Amazon SQS queue. Sqs *SqsAction `locationName:"sqs" type:"structure"` } @@ -1829,16 +1829,15 @@ type CreateDetectorModelInput struct { // DetectorModelName is a required field DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string" required:"true"` - // When set to SERIAL, variables are updated and event conditions evaluated - // in the order that the events are defined. When set to BATCH, variables are - // updated and events performed only after all event conditions are evaluated. + // Information about the order in which events are evaluated and how actions + // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` - // The input attribute key used to identify a device or system to create a detector - // (an instance of the detector model) and then to route each input received - // to the appropriate detector (instance). This parameter uses a JSON-path expression - // to specify the attribute-value pair in the message payload of each input - // that is used to identify the device associated with the input. + // The input attribute key used to identify a device or system in order to create + // a detector (an instance of the detector model) and then to route each input + // received to the appropriate detector (instance). This parameter uses a JSON-path + // expression to specify the attribute-value pair in the message payload of + // each input that is used to identify the device associated with the input. Key *string `locationName:"key" min:"1" type:"string"` // The ARN of the role that grants permission to AWS IoT Events to perform its @@ -2475,16 +2474,15 @@ type DetectorModelConfiguration struct { // The version of the detector model. DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"` - // When set to SERIAL, variables are updated and event conditions evaluated - // in the order that the events are defined. When set to BATCH, variables are - // updated and events performed only after all event conditions are evaluated. + // Information about the order in which events are evaluated and how actions + // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` - // The input attribute key used to identify a device or system to create a detector - // (an instance of the detector model) and then to route each input received - // to the appropriate detector (instance). This parameter uses a JSON-path expression - // to specify the attribute-value pair in the message payload of each input - // that is used to identify the device associated with the input. + // The input attribute key used to identify a device or system in order to create + // a detector (an instance of the detector model) and then to route each input + // received to the appropriate detector (instance). This parameter uses a JSON-path + // expression to specify the attribute-value pair in the message payload of + // each input that is used to identify the device associated with the input. Key *string `locationName:"key" min:"1" type:"string"` // The time the detector model was last updated. @@ -2695,9 +2693,8 @@ type DetectorModelVersionSummary struct { // The ID of the detector model version. DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"` - // When set to SERIAL, variables are updated and event conditions evaluated - // in the order that the events are defined. When set to BATCH, variables are - // updated and events performed only after all event conditions are evaluated. + // Information about the order in which events are evaluated and how actions + // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The last time the detector model version was updated. @@ -2839,7 +2836,7 @@ func (s *Event) SetEventName(v string) *Event { return s } -// Sends information about the detector model instance and the event which triggered +// Sends information about the detector model instance and the event that triggered // the action to a Kinesis Data Firehose delivery stream. type FirehoseAction struct { _ struct{} `type:"structure"` @@ -3284,12 +3281,12 @@ func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction { return s } -// Calls an AWS Lambda function, passing in information about the detector model -// instance and the event which triggered the action. +// Calls a Lambda function, passing in information about the detector model +// instance and the event that triggered the action. type LambdaAction struct { _ struct{} `type:"structure"` - // The ARN of the AWS Lambda function which is executed. + // The ARN of the Lambda function that is executed. // // FunctionArn is a required field FunctionArn *string `locationName:"functionArn" min:"1" type:"string" required:"true"` @@ -4438,12 +4435,12 @@ func (s *SetVariableAction) SetVariableName(v string) *SetVariableAction { return s } -// Sends information about the detector model instance and the event which triggered +// Sends information about the detector model instance and the event that triggered // the action to an Amazon SQS queue. type SqsAction struct { _ struct{} `type:"structure"` - // The URL of the Amazon SQS queue where the data is written. + // The URL of the SQS queue where the data is written. // // QueueUrl is a required field QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` @@ -4999,9 +4996,8 @@ type UpdateDetectorModelInput struct { // DetectorModelName is a required field DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"` - // When set to SERIAL, variables are updated and event conditions evaluated - // in the order that the events are defined. When set to BATCH, variables are - // updated and events performed only after all event conditions are evaluated. + // Information about the order in which events are evaluated and how actions + // are executed. EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` // The ARN of the role that grants permission to AWS IoT Events to perform its diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go index caa94ee95a6..fd6f70aa070 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go @@ -179,7 +179,9 @@ func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (r // at least one active HSM. To get the number of active HSMs in a cluster, use // the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) // operation. To add HSMs to the cluster, use the CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. +// operation. Also, the kmsuser crypto user (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) +// (CU) must not be logged into the cluster. This prevents AWS KMS from using +// this account to log in. // // The connection process can take an extended amount of time to complete; up // to 20 minutes. This operation starts the connection process, but it does @@ -192,8 +194,7 @@ func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (r // During the connection process, AWS KMS finds the AWS CloudHSM cluster that // is associated with the custom key store, creates the connection infrastructure, // connects to the cluster, logs into the AWS CloudHSM client as the kmsuser -// crypto user (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) -// (CU), and rotates its password. +// CU, and rotates its password. // // The ConnectCustomKeyStore operation might fail for various reasons. To find // the reason, use the DescribeCustomKeyStores operation and see the ConnectionErrorCode @@ -441,8 +442,8 @@ func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, // can be retried. // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * InvalidStateException @@ -763,8 +764,8 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // The request was rejected because the specified grant token is not valid. // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * InvalidStateException @@ -851,7 +852,8 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // KMS unencrypted. To use the CMK, you must call AWS KMS. You can use a // symmetric CMK to encrypt and decrypt small amounts of data, but they are // typically used to generate data keys (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys) -// or data key pairs. For details, see GenerateDataKey and GenerateDataKeyPair. +// and data keys pairs (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-key-pairs). +// For details, see GenerateDataKey and GenerateDataKeyPair. // // * Asymmetric CMKs can contain an RSA key pair or an Elliptic Curve (ECC) // key pair. The private key in an asymmetric CMK never leaves AWS KMS unencrypted. @@ -932,8 +934,8 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // can be retried. // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * TagException @@ -2225,8 +2227,8 @@ func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, out // can be retried. // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * InvalidStateException @@ -2612,7 +2614,8 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // data key. // // To generate a data key, specify the symmetric CMK that will be used to encrypt -// the data key. You cannot use an asymmetric CMK to generate data keys. +// the data key. You cannot use an asymmetric CMK to generate data keys. To +// get the type of your CMK, use the DescribeKey operation. // // You must also specify the length of the data key. Use either the KeySpec // or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data @@ -3107,15 +3110,11 @@ func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWitho // // To generate a data key, you must specify the symmetric customer master key // (CMK) that is used to encrypt the data key. You cannot use an asymmetric -// CMK to generate a data key. To get the type of your CMK, use the KeySpec -// field in the DescribeKey response. You must also specify the length of the -// data key using either the KeySpec or NumberOfBytes field (but not both). -// For common key lengths (128-bit and 256-bit symmetric keys), use the KeySpec -// parameter. +// CMK to generate a data key. To get the type of your CMK, use the DescribeKey +// operation. // -// If the operation succeeds, you will find the plaintext copy of the data key -// in the Plaintext field of the response, and the encrypted copy of the data -// key in the CiphertextBlob field. +// If the operation succeeds, you will find the encrypted copy of the data key +// in the CiphertextBlob field. // // You can use the optional encryption context to add additional security to // the encryption operation. If you specify an EncryptionContext, you must specify @@ -4079,7 +4078,7 @@ func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, // The response might also include aliases that have no TargetKeyId field. These // are predefined aliases that AWS has created but has not yet associated with // a CMK. Aliases that AWS creates in your account, including predefined aliases, -// do not count against your AWS KMS aliases limit (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit). +// do not count against your AWS KMS aliases quota (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4934,8 +4933,8 @@ func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Reques // can be retried. // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * InvalidStateException @@ -5770,8 +5769,8 @@ func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // in the AWS Key Management Service Developer Guide . // // * LimitExceededException -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. // // * TagException @@ -7150,11 +7149,13 @@ type CreateCustomKeyStoreInput struct { // in the specified AWS CloudHSM cluster. AWS KMS logs into the cluster as this // user to manage key material on your behalf. // + // The password must be a string of 7 to 32 characters. Its value is case sensitive. + // // This parameter tells AWS KMS the kmsuser account password; it does not change // the password in the AWS CloudHSM cluster. // // KeyStorePassword is a required field - KeyStorePassword *string `min:"1" type:"string" required:"true" sensitive:"true"` + KeyStorePassword *string `min:"7" type:"string" required:"true" sensitive:"true"` // Enter the content of the trust anchor certificate for the cluster. This is // the content of the customerCA.crt file that you created when you initialized @@ -7192,8 +7193,8 @@ func (s *CreateCustomKeyStoreInput) Validate() error { if s.KeyStorePassword == nil { invalidParams.Add(request.NewErrParamRequired("KeyStorePassword")) } - if s.KeyStorePassword != nil && len(*s.KeyStorePassword) < 1 { - invalidParams.Add(request.NewErrParamMinLen("KeyStorePassword", 1)) + if s.KeyStorePassword != nil && len(*s.KeyStorePassword) < 7 { + invalidParams.Add(request.NewErrParamMinLen("KeyStorePassword", 7)) } if s.TrustAnchorCertificate == nil { invalidParams.Add(request.NewErrParamRequired("TrustAnchorCertificate")) @@ -7489,19 +7490,26 @@ type CreateKeyInput struct { // of AWS KMS with the isolation and control of a single-tenant key store. CustomKeyStoreId *string `min:"1" type:"string"` - // Specifies the type of CMK to create. The CustomerMasterKeySpec determines - // whether the CMK contains a symmetric key or an asymmetric key pair. It also - // determines the encryption algorithms or signing algorithms that the CMK supports. - // You can't change the CustomerMasterKeySpec after the CMK is created. To further - // restrict the algorithms that can be used with the CMK, use its key policy - // or IAM policy. + // Specifies the type of CMK to create. The default value, SYMMETRIC_DEFAULT, + // creates a CMK with a 256-bit symmetric key for encryption and decryption. + // For help choosing a key spec for your CMK, see How to Choose Your CMK Configuration + // (https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html) + // in the AWS Key Management Service Developer Guide. // - // For help with choosing a key spec for your CMK, see Selecting a Customer - // Master Key Spec (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html#cmk-key-spec) + // The CustomerMasterKeySpec determines whether the CMK contains a symmetric + // key or an asymmetric key pair. It also determines the encryption algorithms + // or signing algorithms that the CMK supports. You can't change the CustomerMasterKeySpec + // after the CMK is created. To further restrict the algorithms that can be + // used with the CMK, use a condition key in its key policy or IAM policy. For + // more information, see kms:EncryptionAlgorithm (https://docs.aws.amazon.com/kms/latest/developerguide/policy-conditions.html#conditions-kms-encryption-algorithm) + // or kms:Signing Algorithm (https://docs.aws.amazon.com/kms/latest/developerguide/policy-conditions.html#conditions-kms-signing-algorithm) // in the AWS Key Management Service Developer Guide. // - // The default value, SYMMETRIC_DEFAULT, creates a CMK with a 256-bit symmetric - // key. + // AWS services that are integrated with AWS KMS (http://aws.amazon.com/kms/features/#AWS_Service_Integration) + // use symmetric CMKs to protect your data. These services do not support asymmetric + // CMKs. For help determining whether a CMK is symmetric or asymmetric, see + // Identifying Symmetric and Asymmetric CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/find-symm-asymm.html) + // in the AWS Key Management Service Developer Guide. // // AWS KMS supports the following key specs for CMKs: // @@ -7578,7 +7586,7 @@ type CreateKeyInput struct { // to the CMK. For more information, see Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default) // in the AWS Key Management Service Developer Guide. // - // The key policy size limit is 32 kilobytes (32768 bytes). + // The key policy size quota 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. Both the @@ -7956,7 +7964,12 @@ type CustomKeyStoresListEntry struct { // the custom key store. CloudHsmClusterId *string `min:"19" type:"string"` - // Describes the connection error. Valid values are: + // Describes the connection error. This field appears in the response only when + // the ConnectionState is FAILED. For help resolving these errors, see How to + // Fix a Connection Failure (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-failed) + // in AWS Key Management Service Developer Guide. + // + // Valid values are: // // * CLUSTER_NOT_FOUND - AWS KMS cannot find the AWS CloudHSM cluster with // the specified cluster ID. @@ -7970,7 +7983,10 @@ type CustomKeyStoresListEntry struct { // the custom key store before trying to connect again. // // * INVALID_CREDENTIALS - AWS KMS does not have the correct password for - // the kmsuser crypto user in the AWS CloudHSM cluster. + // the kmsuser crypto user in the AWS CloudHSM cluster. Before you can connect + // your custom key store to its AWS CloudHSM cluster, you must change the + // kmsuser account password and update the key store password value for the + // custom key store. // // * NETWORK_ERRORS - Network errors are preventing AWS KMS from connecting // to the custom key store. @@ -7978,12 +7994,23 @@ type CustomKeyStoresListEntry struct { // * USER_LOCKED_OUT - The kmsuser CU account is locked out of the associated // AWS CloudHSM cluster due to too many failed password attempts. Before // you can connect your custom key store to its AWS CloudHSM cluster, you - // must change the kmsuser account password and update the password value - // for the custom key store. - // - // For help with connection failures, see Troubleshooting Custom Key Stores - // (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html) - // in the AWS Key Management Service Developer Guide. + // must change the kmsuser account password and update the key store password + // value for the custom key store. + // + // * USER_LOGGED_IN - The kmsuser CU account is logged into the the associated + // AWS CloudHSM cluster. This prevents AWS KMS from rotating the kmsuser + // account password and logging into the cluster. Before you can connect + // your custom key store to its AWS CloudHSM cluster, you must log the kmsuser + // CU out of the cluster. If you changed the kmsuser password to log into + // the cluster, you must also and update the key store password value for + // the custom key store. For help, see How to Log Out and Reconnect (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#login-kmsuser-2) + // in the AWS Key Management Service Developer Guide. + // + // * USER_NOT_FOUND - AWS KMS cannot find a kmsuser CU account in the associated + // AWS CloudHSM cluster. Before you can connect your custom key store to + // its AWS CloudHSM cluster, you must create a kmsuser CU account in the + // cluster, and then update the key store password value for the custom key + // store. ConnectionErrorCode *string `type:"string" enum:"ConnectionErrorCodeType"` // Indicates whether the custom key store is connected to its AWS CloudHSM cluster. @@ -7998,8 +8025,9 @@ type CustomKeyStoresListEntry struct { // one active HSM. // // A value of FAILED indicates that an attempt to connect was unsuccessful. - // For help resolving a connection failure, see Troubleshooting a Custom Key - // Store (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html) + // The ConnectionErrorCode field in the response indicates the cause of the + // failure. For help resolving a connection failure, see Troubleshooting a Custom + // Key Store (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html) // in the AWS Key Management Service Developer Guide. ConnectionState *string `type:"string" enum:"ConnectionStateType"` @@ -9678,7 +9706,8 @@ type GenerateDataKeyPairWithoutPlaintextInput struct { GrantTokens []*string `type:"list"` // Specifies the CMK that encrypts the private key in the data key pair. You - // must specify a symmetric CMK. You cannot use an asymmetric CMK. + // must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the + // type of your CMK, use the DescribeKey operation. // // To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, // or alias ARN. When using an alias name, prefix it with "alias/". @@ -9767,7 +9796,8 @@ type GenerateDataKeyPairWithoutPlaintextOutput struct { _ struct{} `type:"structure"` // Specifies the CMK that encrypted the private key in the data key pair. You - // must specify a symmetric CMK. You cannot use an asymmetric CMK. + // must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the + // type of your CMK, use the DescribeKey operation. // // To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, // or alias ARN. When using an alias name, prefix it with "alias/". @@ -11955,8 +11985,8 @@ func (s KeyUnavailableException) RequestID() string { return s.respMetadata.RequestID } -// The request was rejected because a limit was exceeded. For more information, -// see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. type LimitExceededException struct { _ struct{} `type:"structure"` @@ -12864,7 +12894,9 @@ type PutKeyPolicyInput struct { // immediately visible (https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency) // in the AWS Identity and Access Management User Guide. // - // The key policy size limit is 32 kilobytes (32768 bytes). + // The key policy cannot exceed 32 kilobytes (32768 bytes). For more information, + // see Resource Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/resource-limits.html) + // in the AWS Key Management Service Developer Guide. // // Policy is a required field Policy *string `min:"1" type:"string" required:"true"` @@ -14105,7 +14137,7 @@ type UpdateCustomKeyStoreInput struct { // This parameter tells AWS KMS the current password of the kmsuser crypto user // (CU). It does not set or change the password of any users in the AWS CloudHSM // cluster. - KeyStorePassword *string `min:"1" type:"string" sensitive:"true"` + KeyStorePassword *string `min:"7" type:"string" sensitive:"true"` // Changes the friendly name of the custom key store to the value that you specify. // The custom key store name must be unique in the AWS account. @@ -14134,8 +14166,8 @@ func (s *UpdateCustomKeyStoreInput) Validate() error { if s.CustomKeyStoreId != nil && len(*s.CustomKeyStoreId) < 1 { invalidParams.Add(request.NewErrParamMinLen("CustomKeyStoreId", 1)) } - if s.KeyStorePassword != nil && len(*s.KeyStorePassword) < 1 { - invalidParams.Add(request.NewErrParamMinLen("KeyStorePassword", 1)) + if s.KeyStorePassword != nil && len(*s.KeyStorePassword) < 7 { + invalidParams.Add(request.NewErrParamMinLen("KeyStorePassword", 7)) } if s.NewCustomKeyStoreName != nil && len(*s.NewCustomKeyStoreName) < 1 { invalidParams.Add(request.NewErrParamMinLen("NewCustomKeyStoreName", 1)) @@ -14297,12 +14329,13 @@ type VerifyInput struct { // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` - // Specifies the message that was signed, or a hash digest of that message. - // Messages can be 0-4096 bytes. To verify a larger message, provide a hash - // digest of the message. + // Specifies the message that was signed. You can submit a raw message of up + // to 4096 bytes, or a hash digest of the message. If you submit a digest, use + // the MessageType parameter with a value of DIGEST. // - // If the digest of the message specified here is different from the message - // digest that was signed, the signature verification fails. + // If the message specified here is different from the message that was signed, + // the signature verification fails. A message and its hash digest are considered + // to be the same message. // // Message is automatically base64 encoded/decoded by the SDK. // @@ -14310,8 +14343,12 @@ type VerifyInput struct { Message []byte `min:"1" type:"blob" required:"true" sensitive:"true"` // Tells AWS KMS whether the value of the Message parameter is a message or - // message digest. To indicate a message, enter RAW. To indicate a message digest, - // enter DIGEST. + // message digest. The default value, RAW, indicates a message. To indicate + // a message digest, enter DIGEST. + // + // Use the DIGEST value only when the value of the Message parameter is a message + // digest. If you use the DIGEST value with a raw message, the security of the + // verification operation can be compromised. MessageType *string `type:"string" enum:"MessageType"` // The signature that the Sign operation generated. @@ -14479,6 +14516,12 @@ const ( // ConnectionErrorCodeTypeUserLockedOut is a ConnectionErrorCodeType enum value ConnectionErrorCodeTypeUserLockedOut = "USER_LOCKED_OUT" + + // ConnectionErrorCodeTypeUserNotFound is a ConnectionErrorCodeType enum value + ConnectionErrorCodeTypeUserNotFound = "USER_NOT_FOUND" + + // ConnectionErrorCodeTypeUserLoggedIn is a ConnectionErrorCodeType enum value + ConnectionErrorCodeTypeUserLoggedIn = "USER_LOGGED_IN" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go b/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go index 7d2d6cd1349..911bf576ebf 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go @@ -297,8 +297,8 @@ const ( // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // - // The request was rejected because a limit was exceeded. For more information, - // see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) + // The request was rejected because a quota was exceeded. For more information, + // see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) // in the AWS Key Management Service Developer Guide. ErrCodeLimitExceededException = "LimitExceededException" diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go index 9677d3d09c4..ff41f45abfb 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go @@ -402,6 +402,8 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // * MaximumRetryAttempts - Discard records after the specified number of // retries. // +// * ParallelizationFactor - Process multiple batches from each shard concurrently. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4604,6 +4606,9 @@ func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Reque // * TooManyRequestsException // The request throughput limit was exceeded. // +// * ResourceConflictException +// The resource already exists, or another operation is in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) @@ -4694,6 +4699,9 @@ func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.R // * TooManyRequestsException // The request throughput limit was exceeded. // +// * ResourceConflictException +// The resource already exists, or another operation is in progress. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) @@ -4874,6 +4882,8 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // * MaximumRetryAttempts - Discard records after the specified number of // retries. // +// * ParallelizationFactor - Process multiple batches from each shard concurrently. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -7524,7 +7534,8 @@ type FunctionConfiguration struct { // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string `type:"string"` - // The status of the last update that was performed on the function. + // The status of the last update that was performed on the function. This is + // first set to Successful after function creation completes. LastUpdateStatus *string `type:"string" enum:"LastUpdateStatus"` // The reason for the last update that was performed on the function. @@ -9519,12 +9530,6 @@ type InvokeOutput struct { // If present, indicates that an error occurred during function execution. Details // about the error are included in the response payload. - // - // * Handled - The runtime caught an error thrown by the function and formatted - // it into a JSON document. - // - // * Unhandled - The runtime didn't handle the error. For example, the function - // ran out of memory or timed out. FunctionError *string `location:"header" locationName:"X-Amz-Function-Error" type:"string"` // The last 4 KB of the execution log, which is base64 encoded. @@ -10429,7 +10434,9 @@ type ListFunctionsInput struct { Marker *string `location:"querystring" locationName:"Marker" type:"string"` // For Lambda@Edge functions, the AWS Region of the master function. For example, - // us-east-2 or ALL. If specified, you must set FunctionVersion to ALL. + // us-east-1 filters the list of functions to only include Lambda@Edge functions + // replicated from a master function in US East (N. Virginia). If specified, + // you must set FunctionVersion to ALL. MasterRegion *string `location:"querystring" locationName:"MasterRegion" type:"string"` // Specify a value between 1 and 50 to limit the number of functions in the @@ -12727,7 +12734,8 @@ func (s TooManyRequestsException) RequestID() string { return s.respMetadata.RequestID } -// The function's AWS X-Ray tracing configuration. +// The function's AWS X-Ray tracing configuration. To sample and record incoming +// requests, set Mode to Active. type TracingConfig struct { _ struct{} `type:"structure"` @@ -13795,6 +13803,15 @@ const ( // LastUpdateStatusReasonCodeInternalError is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInternalError = "InternalError" + + // LastUpdateStatusReasonCodeSubnetOutOfIpaddresses is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses" + + // LastUpdateStatusReasonCodeInvalidSubnet is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeInvalidSubnet = "InvalidSubnet" + + // LastUpdateStatusReasonCodeInvalidSecurityGroup is a LastUpdateStatusReasonCode enum value + LastUpdateStatusReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" ) const ( @@ -13913,6 +13930,12 @@ const ( // StateReasonCodeSubnetOutOfIpaddresses is a StateReasonCode enum value StateReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses" + + // StateReasonCodeInvalidSubnet is a StateReasonCode enum value + StateReasonCodeInvalidSubnet = "InvalidSubnet" + + // StateReasonCodeInvalidSecurityGroup is a StateReasonCode enum value + StateReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go index f721043304e..6c81e2b2aa5 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go @@ -10859,6 +10859,8 @@ type ResourceInUseException struct { // exception. ExampleReference *ResourceReference `locationName:"exampleReference" type:"structure"` + Message_ *string `locationName:"message" type:"string"` + ReferenceType *string `locationName:"referenceType" type:"string" enum:"ReferenceType"` } @@ -10885,6 +10887,9 @@ func (s ResourceInUseException) Code() string { // Message returns the exception's message. func (s ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go b/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go index 0dba7679c4e..d2537bef0f0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go @@ -2163,6 +2163,8 @@ func (c *ManagedBlockchain) VoteOnProposalWithContext(ctx aws.Context, input *Vo type AccessDeniedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -2188,6 +2190,9 @@ func (s AccessDeniedException) Code() string { // Message returns the exception's message. func (s AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -3367,6 +3372,8 @@ func (s IllegalActionException) RequestID() string { type InternalServiceErrorException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -3392,6 +3399,9 @@ func (s InternalServiceErrorException) Code() string { // Message returns the exception's message. func (s InternalServiceErrorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -5873,6 +5883,8 @@ func (s ResourceNotReadyException) RequestID() string { type ThrottlingException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -5898,6 +5910,9 @@ func (s ThrottlingException) Code() string { // Message returns the exception's message. func (s ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go index 2e96cb3ada1..469e14910b5 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go @@ -12955,6 +12955,8 @@ func (s DisassociateTagOptionFromResourceOutput) GoString() string { type DuplicateResourceException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12980,6 +12982,9 @@ func (s DuplicateResourceException) Code() string { // Message returns the exception's message. func (s DuplicateResourceException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13383,6 +13388,8 @@ func (s *GetAWSOrganizationsAccessStatusOutput) SetAccessStatus(v string) *GetAW type InvalidParametersException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13408,6 +13415,9 @@ func (s InvalidParametersException) Code() string { // Message returns the exception's message. func (s InvalidParametersException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13436,6 +13446,8 @@ func (s InvalidParametersException) RequestID() string { type InvalidStateException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13461,6 +13473,9 @@ func (s InvalidStateException) Code() string { // Message returns the exception's message. func (s InvalidStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13540,6 +13555,8 @@ func (s *LaunchPathSummary) SetTags(v []*Tag) *LaunchPathSummary { type LimitExceededException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13565,6 +13582,9 @@ func (s LimitExceededException) Code() string { // Message returns the exception's message. func (s LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -15557,6 +15577,8 @@ func (s *ListTagOptionsOutput) SetTagOptionDetails(v []*TagOptionDetail) *ListTa type OperationNotSupportedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -15582,6 +15604,9 @@ func (s OperationNotSupportedException) Code() string { // Message returns the exception's message. func (s OperationNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17902,6 +17927,8 @@ func (s *ResourceDetail) SetName(v string) *ResourceDetail { type ResourceInUseException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17927,6 +17954,9 @@ func (s ResourceInUseException) Code() string { // Message returns the exception's message. func (s ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -17953,6 +17983,8 @@ func (s ResourceInUseException) RequestID() string { type ResourceNotFoundException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -17978,6 +18010,9 @@ func (s ResourceNotFoundException) Code() string { // Message returns the exception's message. func (s ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -18940,6 +18975,8 @@ func (s *TagOptionDetail) SetValue(v string) *TagOptionDetail { type TagOptionNotMigratedException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -18965,6 +19002,9 @@ func (s TagOptionNotMigratedException) Code() string { // Message returns the exception's message. func (s TagOptionNotMigratedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go index 7eaeefde8d9..03cb2c8961f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go @@ -12385,6 +12385,8 @@ func (s AlreadyExistsException) RequestID() string { type AssociatedInstances struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12410,6 +12412,9 @@ func (s AssociatedInstances) Code() string { // Message returns the exception's message. func (s AssociatedInstances) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -12542,6 +12547,8 @@ func (s *Association) SetTargets(v []*Target) *Association { type AssociationAlreadyExists struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -12567,6 +12574,9 @@ func (s AssociationAlreadyExists) Code() string { // Message returns the exception's message. func (s AssociationAlreadyExists) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -13287,6 +13297,8 @@ func (s *AssociationFilter) SetValue(v string) *AssociationFilter { type AssociationLimitExceeded struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -13312,6 +13324,9 @@ func (s AssociationLimitExceeded) Code() string { // Message returns the exception's message. func (s AssociationLimitExceeded) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -23482,6 +23497,8 @@ func (s DuplicateDocumentVersionName) RequestID() string { type DuplicateInstanceId struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -23507,6 +23524,9 @@ func (s DuplicateInstanceId) Code() string { // Message returns the exception's message. func (s DuplicateInstanceId) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -28466,6 +28486,8 @@ func (s InvalidAutomationStatusUpdateException) RequestID() string { type InvalidCommandId struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -28491,6 +28513,9 @@ func (s InvalidCommandId) Code() string { // Message returns the exception's message. func (s InvalidCommandId) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29031,6 +29056,8 @@ func (s InvalidFilter) RequestID() string { type InvalidFilterKey struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29056,6 +29083,9 @@ func (s InvalidFilterKey) Code() string { // Message returns the exception's message. func (s InvalidFilterKey) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29771,6 +29801,8 @@ func (s InvalidOptionException) RequestID() string { type InvalidOutputFolder struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29796,6 +29828,9 @@ func (s InvalidOutputFolder) Code() string { // Message returns the exception's message. func (s InvalidOutputFolder) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29822,6 +29857,8 @@ func (s InvalidOutputFolder) RequestID() string { type InvalidOutputLocation struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -29847,6 +29884,9 @@ func (s InvalidOutputLocation) Code() string { // Message returns the exception's message. func (s InvalidOutputLocation) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -29988,6 +30028,8 @@ func (s InvalidPermissionType) RequestID() string { type InvalidPluginName struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -30013,6 +30055,9 @@ func (s InvalidPluginName) Code() string { // Message returns the exception's message. func (s InvalidPluginName) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -30153,6 +30198,8 @@ func (s InvalidPolicyTypeException) RequestID() string { type InvalidResourceId struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -30178,6 +30225,9 @@ func (s InvalidResourceId) Code() string { // Message returns the exception's message. func (s InvalidResourceId) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -30205,6 +30255,8 @@ func (s InvalidResourceId) RequestID() string { type InvalidResourceType struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -30230,6 +30282,9 @@ func (s InvalidResourceType) Code() string { // Message returns the exception's message. func (s InvalidResourceType) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -31300,6 +31355,8 @@ func (s *InventoryResultItem) SetTypeName(v string) *InventoryResultItem { type InvocationDoesNotExist struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -31325,6 +31382,9 @@ func (s InvocationDoesNotExist) Code() string { // Message returns the exception's message. func (s InvocationDoesNotExist) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -38726,6 +38786,8 @@ type ResourceDataSyncAlreadyExistsException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + Message_ *string `locationName:"message" type:"string"` + SyncName *string `min:"1" type:"string"` } @@ -38752,6 +38814,9 @@ func (s ResourceDataSyncAlreadyExistsException) Code() string { // Message returns the exception's message. func (s ResourceDataSyncAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -41091,6 +41156,8 @@ func (s *StartSessionOutput) SetTokenValue(v string) *StartSessionOutput { type StatusUnchanged struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -41116,6 +41183,9 @@ func (s StatusUnchanged) Code() string { // Message returns the exception's message. func (s StatusUnchanged) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -41964,6 +42034,8 @@ func (s *TerminateSessionOutput) SetSessionId(v string) *TerminateSessionOutput type TooManyTagsError struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -41989,6 +42061,9 @@ func (s TooManyTagsError) Code() string { // Message returns the exception's message. func (s TooManyTagsError) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go b/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go index e769b279d84..eba6b2235f5 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go @@ -4613,6 +4613,8 @@ type ThrottlingException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + Message_ *string `locationName:"message" type:"string"` + RetryAfterSeconds *string `type:"string"` } @@ -4639,6 +4641,9 @@ func (s ThrottlingException) Code() string { // Message returns the exception's message. func (s ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go index e03d66e8ea5..1267ed1a5f3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go @@ -14591,6 +14591,8 @@ func (s InternalErrorException) RequestID() string { type InvalidAccountException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -14616,6 +14618,9 @@ func (s InvalidAccountException) Code() string { // Message returns the exception's message. func (s InvalidAccountException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -14742,6 +14747,8 @@ type InvalidParameterException struct { Field *string `locationName:"field" type:"string" enum:"ParameterExceptionField"` + Message_ *string `locationName:"message" type:"string"` + Parameter *string `locationName:"parameter" min:"1" type:"string"` Reason *string `locationName:"reason" type:"string" enum:"ParameterExceptionReason"` @@ -14770,6 +14777,9 @@ func (s InvalidParameterException) Code() string { // Message returns the exception's message. func (s InvalidParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go index 5d403661ff0..ec82a1dc500 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go @@ -10268,6 +10268,8 @@ func (s WAFInternalErrorException) RequestID() string { type WAFInvalidAccountException struct { _ struct{} `type:"structure"` respMetadata protocol.ResponseMetadata + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation @@ -10293,6 +10295,9 @@ func (s WAFInvalidAccountException) Code() string { // Message returns the exception's message. func (s WAFInvalidAccountException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } @@ -10419,6 +10424,8 @@ type WAFInvalidParameterException struct { Field *string `locationName:"field" type:"string" enum:"ParameterExceptionField"` + Message_ *string `locationName:"message" type:"string"` + Parameter *string `locationName:"parameter" min:"1" type:"string"` Reason *string `locationName:"reason" type:"string" enum:"ParameterExceptionReason"` @@ -10447,6 +10454,9 @@ func (s WAFInvalidParameterException) Code() string { // Message returns the exception's message. func (s WAFInvalidParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } return "" } diff --git a/vendor/modules.txt b/vendor/modules.txt index 07774b5c94a..f27ecf086ec 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -21,7 +21,7 @@ github.com/apparentlymart/go-cidr/cidr github.com/apparentlymart/go-textseg/textseg # github.com/armon/go-radix v1.0.0 github.com/armon/go-radix -# github.com/aws/aws-sdk-go v1.28.5 +# github.com/aws/aws-sdk-go v1.25.14-0.20200121234158-6ca8a5496cb4 github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/arn github.com/aws/aws-sdk-go/aws/awserr