From 7823ed8eb8e3c2614d823a2e8f5130f93eec11fa Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Mon, 5 Jun 2017 13:39:43 +0300 Subject: [PATCH] provider/aws: Bump AWS SDK to 1.8.34 (#15072) --- vendor/github.com/aws/aws-sdk-go/CHANGELOG.md | 101 + vendor/github.com/aws/aws-sdk-go/README.md | 2 +- .../aws/aws-sdk-go/aws/client/logger.go | 10 +- .../shared_credentials_provider.go | 33 +- .../aws-sdk-go/aws/defaults/shared_config.go | 27 + .../aws/aws-sdk-go/aws/endpoints/defaults.go | 95 +- .../aws/aws-sdk-go/aws/request/handlers.go | 31 + .../aws/aws-sdk-go/aws/request/request.go | 28 +- .../aws/aws-sdk-go/aws/request/request_1_7.go | 18 + .../aws/aws-sdk-go/aws/request/request_1_8.go | 22 + .../aws/aws-sdk-go/aws/request/retryer.go | 8 + .../aws/aws-sdk-go/aws/session/env_config.go | 36 +- .../aws/aws-sdk-go/aws/session/session.go | 7 + .../aws-sdk-go/aws/session/shared_config.go | 2 +- .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../internal/shareddefaults/shared_config.go | 40 + .../aws/aws-sdk-go/service/codedeploy/api.go | 347 ++- .../aws-sdk-go/service/codedeploy/errors.go | 6 + .../service/databasemigrationservice/api.go | 2725 ++++++++++++++++- .../service/databasemigrationservice/doc.go | 3 + .../databasemigrationservice/errors.go | 12 + .../aws/aws-sdk-go/service/elbv2/api.go | 48 + .../aws/aws-sdk-go/service/lightsail/api.go | 485 ++- .../aws/aws-sdk-go/service/lightsail/doc.go | 4 +- .../aws-sdk-go/service/lightsail/errors.go | 4 + .../aws/aws-sdk-go/service/rds/api.go | 388 ++- .../aws/aws-sdk-go/service/sts/api.go | 6 +- vendor/vendor.json | 684 +++-- 28 files changed, 4667 insertions(+), 507 deletions(-) create mode 100644 vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go create mode 100644 vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go diff --git a/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md index 755384c72..07fd8a292 100644 --- a/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md @@ -1,3 +1,104 @@ +Release v1.8.34 (2017-06-02) +=== + +### Service Client Updates +* `service/kinesisanalytics`: Updates service API, documentation, and paginators + * Kinesis Analytics publishes error messages CloudWatch logs in case of application misconfigurations +* `service/workdocs`: Updates service API and documentation + * This release includes new APIs to manage tags and custom metadata on resources and also new APIs to add and retrieve comments at the document level. + +Release v1.8.33 (2017-06-01) +=== + +### Service Client Updates +* `service/codedeploy`: Updates service API and documentation + * AWS CodeDeploy has improved how it manages connections to GitHub accounts and repositories. You can now create and store up to 25 connections to GitHub accounts in order to associate AWS CodeDeploy applications with GitHub repositories. Each connection can support multiple repositories. You can create connections to up to 25 different GitHub accounts, or create more than one connection to a single account. The ListGitHubAccountTokenNames command has been introduced to retrieve the names of stored connections to GitHub accounts that you have created. The name of the connection to GitHub used for an AWS CodeDeploy application is also included in the ApplicationInfo structure. Two new fields, lastAttemptedDeployment and lastSuccessfulDeployment, have been added to DeploymentGroupInfo to improve the handling of deployment group information in the AWS CodeDeploy console. Information about these latest deployments can also be retrieved using the GetDeploymentGroup and BatchGetDeployment group requests. Also includes a region update (us-gov-west-1). +* `service/cognitoidentityprovider`: Updates service API, documentation, and paginators +* `service/elbv2`: Updates service API and documentation +* `aws/endpoints`: Updated Regions and Endpoints metadata. +* `service/lexmodelbuildingservice`: Updates service documentation and examples + +### SDK Enhancements +* `aws/defaults`: Exports shared credentials and config default filenames used by the SDK. [#1308](https://github.com/aws/aws-sdk-go/pull/1308) + * Adds SharedCredentialsFilename and SharedConfigFilename functions to defaults package. + +### SDK Bugs +* `aws/credentials`: Fixes shared credential provider's default filename on Windows. [#1308](https://github.com/aws/aws-sdk-go/pull/1308) + * The shared credentials provider would attempt to use the wrong filename on Windows if the `HOME` environment variable was defined. +* `service/s3/s3manager`: service/s3/s3manager: Fix Downloader ignoring Range get parameter [#1311](https://github.com/aws/aws-sdk-go/pull/1311) + * Fixes the S3 Download Manager ignoring the GetObjectInput's Range parameter. If this parameter is provided it will force the downloader to fallback to a single GetObject request disabling concurrency and automatic part size gets. + * Fixes [#1296](https://github.com/aws/aws-sdk-go/issues/1296) +Release v1.8.32 (2017-05-31) +=== + +### Service Client Updates +* `service/rds`: Updates service API and documentation + * Amazon RDS customers can now easily and quickly stop and start their DB instances. + +Release v1.8.31 (2017-05-30) +=== + +### Service Client Updates +* `service/clouddirectory`: Updates service API, documentation, and paginators + * Cloud Directory has launched support for Typed Links, enabling customers to create object-to-object relationships that are not hierarchical in nature. Typed Links enable customers to quickly query for data along these relationships. Customers can also enforce referential integrity using Typed Links, ensuring data in use is not inadvertently deleted. +* `service/s3`: Updates service paginators and examples + * New example snippets for Amazon S3. + +Release v1.8.30 (2017-05-25) +=== + +### Service Client Updates +* `service/appstream`: Updates service API and documentation + * Support added for persistent user storage, backed by S3. +* `service/rekognition`: Updates service API and documentation + * Updated the CompareFaces API response to include orientation information, unmatched faces, landmarks, pose, and quality of the compared faces. + +Release v1.8.29 (2017-05-24) +=== + +### Service Client Updates +* `service/iam`: Updates service API + * The unique ID and access key lengths were extended from 32 to 128 +* `service/storagegateway`: Updates service API and documentation + * Two Storage Gateway data types, Tape and TapeArchive, each have a new response element, TapeUsedInBytes. This element helps you manage your virtual tapes. By using TapeUsedInBytes, you can see the amount of data written to each virtual tape. +* `service/sts`: Updates service API, documentation, and paginators + * The unique ID and access key lengths were extended from 32 to 128. + +Release v1.8.28 (2017-05-23) +=== + +### Service Client Updates +* `service/databasemigrationservice`: Updates service API, documentation, paginators, and examples + * This release adds support for using Amazon S3 and Amazon DynamoDB as targets for database migration, and using MongoDB as a source for database migration. For more information, see the AWS Database Migration Service documentation. + +Release v1.8.27 (2017-05-22) +=== + +### Service Client Updates +* `aws/endpoints`: Updated Regions and Endpoints metadata. +* `service/resourcegroupstaggingapi`: Updates service API, documentation, and paginators + * You can now specify the number of resources returned per page in GetResources operation, as an optional parameter, to easily manage the list of resources returned by your queries. + +### SDK Bugs +* `aws/request`: Add support for PUT temporary redirects (307) [#1283](https://github.com/aws/aws-sdk-go/issues/1283) + * Adds support for Go 1.8's GetBody function allowing the SDK's http request using PUT and POST methods to be redirected with temporary redirects with 307 status code. + * Fixes: [#1267](https://github.com/aws/aws-sdk-go/issues/1267) +* `aws/request`: Add handling for retrying temporary errors during unmarshal [#1289](https://github.com/aws/aws-sdk-go/issues/1289) + * Adds support for retrying temporary errors that occur during unmarshaling of a request's response body. + * Fixes: [#1275](https://github.com/aws/aws-sdk-go/issues/1275) +Release v1.8.26 (2017-05-18) +=== + +### Service Client Updates +* `service/athena`: Adds new service + * This release adds support for Amazon Athena. Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run. +* `service/lightsail`: Updates service API, documentation, and paginators + * This release adds new APIs that make it easier to set network port configurations on Lightsail instances. Developers can now make a single request to both open and close public ports on an instance using the PutInstancePublicPorts operation. + +### SDK Bugs +* `aws/request`: Fix logging from reporting wrong retry request errors #1281 + * Fixes the SDK's retry request logging to report the the actual error that occurred, not a stubbed Unknown error message. + * Fixes the SDK's response logger to not output the response log multiple times per retry. Release v1.8.25 (2017-05-17) === diff --git a/vendor/github.com/aws/aws-sdk-go/README.md b/vendor/github.com/aws/aws-sdk-go/README.md index 9c8718479..559697f66 100644 --- a/vendor/github.com/aws/aws-sdk-go/README.md +++ b/vendor/github.com/aws/aws-sdk-go/README.md @@ -32,7 +32,7 @@ Please use these community resources for getting help. We use the GitHub issues * Ask a question on [StackOverflow](http://stackoverflow.com/) and tag it with the [`aws-sdk-go`](http://stackoverflow.com/questions/tagged/aws-sdk-go) tag. * Come join the AWS SDK for Go community chat on [gitter](https://gitter.im/aws/aws-sdk-go). * Open a support ticket with [AWS Support](http://docs.aws.amazon.com/awssupport/latest/user/getting-started.html). -* If you think you may of found a bug, please open an [issue](https://github.com/aws/aws-sdk-go/issues/new). +* If you think you may have found a bug, please open an [issue](https://github.com/aws/aws-sdk-go/issues/new). ## Opening Issues diff --git a/vendor/github.com/aws/aws-sdk-go/aws/client/logger.go b/vendor/github.com/aws/aws-sdk-go/aws/client/logger.go index 21ecfa190..1f39c91f2 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/client/logger.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/client/logger.go @@ -97,6 +97,12 @@ func logResponse(r *request.Request) { } } - r.Handlers.Unmarshal.PushBack(handlerFn) - r.Handlers.UnmarshalError.PushBack(handlerFn) + const handlerName = "awsdk.client.LogResponse.ResponseBody" + + r.Handlers.Unmarshal.SetBackNamed(request.NamedHandler{ + Name: handlerName, Fn: handlerFn, + }) + r.Handlers.UnmarshalError.SetBackNamed(request.NamedHandler{ + Name: handlerName, Fn: handlerFn, + }) } diff --git a/vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go b/vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go index 7fb7cbf0d..51e21e0f3 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go @@ -3,11 +3,11 @@ package credentials import ( "fmt" "os" - "path/filepath" "github.com/go-ini/ini" "github.com/aws/aws-sdk-go/aws/awserr" + "github.com/aws/aws-sdk-go/internal/shareddefaults" ) // SharedCredsProviderName provides a name of SharedCreds provider @@ -15,8 +15,6 @@ const SharedCredsProviderName = "SharedCredentialsProvider" var ( // ErrSharedCredentialsHomeNotFound is emitted when the user directory cannot be found. - // - // @readonly ErrSharedCredentialsHomeNotFound = awserr.New("UserHomeNotFound", "user home directory not found.", nil) ) @@ -117,22 +115,23 @@ func loadProfile(filename, profile string) (Value, error) { // // Will return an error if the user's home directory path cannot be found. func (p *SharedCredentialsProvider) filename() (string, error) { - if p.Filename == "" { - if p.Filename = os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); p.Filename != "" { - return p.Filename, nil - } - - homeDir := os.Getenv("HOME") // *nix - if homeDir == "" { // Windows - homeDir = os.Getenv("USERPROFILE") - } - if homeDir == "" { - return "", ErrSharedCredentialsHomeNotFound - } - - p.Filename = filepath.Join(homeDir, ".aws", "credentials") + if len(p.Filename) != 0 { + return p.Filename, nil } + if p.Filename = os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); len(p.Filename) != 0 { + return p.Filename, nil + } + + if home := shareddefaults.UserHomeDir(); len(home) == 0 { + // Backwards compatibility of home directly not found error being returned. + // This error is too verbose, failure when opening the file would of been + // a better error to return. + return "", ErrSharedCredentialsHomeNotFound + } + + p.Filename = shareddefaults.SharedCredentialsFilename() + return p.Filename, nil } diff --git a/vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go b/vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go new file mode 100644 index 000000000..ca0ee1dcc --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go @@ -0,0 +1,27 @@ +package defaults + +import ( + "github.com/aws/aws-sdk-go/internal/shareddefaults" +) + +// SharedCredentialsFilename returns the SDK's default file path +// for the shared credentials file. +// +// Builds the shared config file path based on the OS's platform. +// +// - Linux/Unix: $HOME/.aws/credentials +// - Windows: %USERPROFILE%\.aws\credentials +func SharedCredentialsFilename() string { + return shareddefaults.SharedCredentialsFilename() +} + +// SharedConfigFilename returns the SDK's default file path for +// the shared config file. +// +// Builds the shared config file path based on the OS's platform. +// +// - Linux/Unix: $HOME/.aws/config +// - Windows: %USERPROFILE%\.aws\config +func SharedConfigFilename() string { + return shareddefaults.SharedConfigFilename() +} 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 e6d7ede6d..d6d87e446 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 @@ -47,6 +47,7 @@ const ( ApigatewayServiceID = "apigateway" // Apigateway. ApplicationAutoscalingServiceID = "application-autoscaling" // ApplicationAutoscaling. Appstream2ServiceID = "appstream2" // Appstream2. + AthenaServiceID = "athena" // Athena. AutoscalingServiceID = "autoscaling" // Autoscaling. BatchServiceID = "batch" // Batch. BudgetsServiceID = "budgets" // Budgets. @@ -307,6 +308,14 @@ var awsPartition = partition{ "us-west-2": endpoint{}, }, }, + "athena": service{ + + Endpoints: endpoints{ + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, + }, + }, "autoscaling": service{ Defaults: endpoint{ Protocols: []string{"http", "https"}, @@ -331,7 +340,9 @@ var awsPartition = partition{ "batch": service{ Endpoints: endpoints{ + "eu-west-1": endpoint{}, "us-east-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "budgets": service{ @@ -457,10 +468,14 @@ var awsPartition = partition{ "codecommit": service{ Endpoints: endpoints{ - "eu-west-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-2": endpoint{}, + "ap-northeast-1": endpoint{}, + "ap-southeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, + "eu-central-1": endpoint{}, + "eu-west-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, }, }, "codedeploy": service{ @@ -639,11 +654,15 @@ var awsPartition = partition{ Endpoints: endpoints{ "ap-northeast-1": endpoint{}, + "ap-northeast-2": endpoint{}, "ap-southeast-1": endpoint{}, "ap-southeast-2": endpoint{}, + "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, "us-east-1": endpoint{}, + "us-east-2": endpoint{}, "us-west-2": endpoint{}, }, }, @@ -1075,7 +1094,16 @@ var awsPartition = partition{ "lightsail": service{ Endpoints: endpoints{ - "us-east-1": endpoint{}, + "ap-northeast-1": endpoint{}, + "ap-south-1": endpoint{}, + "ap-southeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, + "eu-central-1": endpoint{}, + "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, }, }, "logs": service{ @@ -1488,10 +1516,13 @@ var awsPartition = partition{ Endpoints: endpoints{ "ap-northeast-1": endpoint{}, "ap-northeast-2": endpoint{}, + "ap-south-1": endpoint{}, "ap-southeast-1": endpoint{}, "ap-southeast-2": endpoint{}, + "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, "sa-east-1": endpoint{}, "us-east-1": endpoint{}, "us-east-2": endpoint{}, @@ -1531,7 +1562,7 @@ var awsPartition = partition{ }, "streams.dynamodb": service{ Defaults: endpoint{ - Protocols: []string{"http", "http", "https", "https"}, + Protocols: []string{"http", "https"}, CredentialScope: credentialScope{ Service: "dynamodb", }, @@ -1586,9 +1617,33 @@ var awsPartition = partition{ "eu-west-2": endpoint{}, "sa-east-1": endpoint{}, "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "us-east-1-fips": endpoint{ + Hostname: "sts-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "us-east-2": endpoint{}, + "us-east-2-fips": endpoint{ + Hostname: "sts-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "us-west-1": endpoint{}, + "us-west-1-fips": endpoint{ + Hostname: "sts-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, + "us-west-2": endpoint{}, + "us-west-2-fips": endpoint{ + Hostname: "sts-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, }, }, "support": service{ @@ -1688,8 +1743,10 @@ var awsPartition = partition{ "ap-south-1": endpoint{}, "ap-southeast-1": endpoint{}, "ap-southeast-2": endpoint{}, + "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, "sa-east-1": endpoint{}, "us-east-1": endpoint{}, "us-east-2": endpoint{}, @@ -1912,7 +1969,7 @@ var awscnPartition = partition{ }, "streams.dynamodb": service{ Defaults: endpoint{ - Protocols: []string{"http", "http", "https", "https"}, + Protocols: []string{"http", "https"}, CredentialScope: credentialScope{ Service: "dynamodb", }, @@ -1994,6 +2051,12 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "codedeploy": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "config": service{ Endpoints: endpoints{ @@ -2051,6 +2114,12 @@ var awsusgovPartition = partition{ }, }, }, + "events": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "glacier": service{ Endpoints: endpoints{ @@ -2084,6 +2153,12 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "lambda": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "logs": service{ Endpoints: endpoints{ diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go b/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go index 6c14336f6..802ac88ad 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go @@ -158,6 +158,37 @@ func (l *HandlerList) RemoveByName(name string) { } } +// SwapNamed will swap out any existing handlers with the same name as the +// passed in NamedHandler returning true if handlers were swapped. False is +// returned otherwise. +func (l *HandlerList) SwapNamed(n NamedHandler) (swapped bool) { + for i := 0; i < len(l.list); i++ { + if l.list[i].Name == n.Name { + l.list[i].Fn = n.Fn + swapped = true + } + } + + return swapped +} + +// SetBackNamed will replace the named handler if it exists in the handler list. +// If the handler does not exist the handler will be added to the end of the list. +func (l *HandlerList) SetBackNamed(n NamedHandler) { + if !l.SwapNamed(n) { + l.PushBackNamed(n) + } +} + +// SetFrontNamed will replace the named handler if it exists in the handler list. +// If the handler does not exist the handler will be added to the beginning of +// the list. +func (l *HandlerList) SetFrontNamed(n NamedHandler) { + if !l.SwapNamed(n) { + l.PushFrontNamed(n) + } +} + // Run executes all handlers in the list with a given request object. func (l *HandlerList) Run(r *Request) { for i, h := range l.list { diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go index 301f67fcf..299dc379d 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go @@ -338,10 +338,7 @@ func (r *Request) Sign() error { return r.Error } -// ResetBody rewinds the request body backto its starting position, and -// set's the HTTP Request body reference. When the body is read prior -// to being sent in the HTTP request it will need to be rewound. -func (r *Request) ResetBody() { +func (r *Request) getNextRequestBody() (io.ReadCloser, error) { if r.safeBody != nil { r.safeBody.Close() } @@ -363,14 +360,14 @@ func (r *Request) ResetBody() { // Related golang/go#18257 l, err := computeBodyLength(r.Body) if err != nil { - r.Error = awserr.New(ErrCodeSerialization, "failed to compute request body size", err) - return + return nil, awserr.New(ErrCodeSerialization, "failed to compute request body size", err) } + var body io.ReadCloser if l == 0 { - r.HTTPRequest.Body = NoBody + body = NoBody } else if l > 0 { - r.HTTPRequest.Body = r.safeBody + body = r.safeBody } else { // Hack to prevent sending bodies for methods where the body // should be ignored by the server. Sending bodies on these @@ -382,11 +379,13 @@ func (r *Request) ResetBody() { // a io.Reader that was not also an io.Seeker. switch r.Operation.HTTPMethod { case "GET", "HEAD", "DELETE": - r.HTTPRequest.Body = NoBody + body = NoBody default: - r.HTTPRequest.Body = r.safeBody + body = r.safeBody } } + + return body, nil } // Attempts to compute the length of the body of the reader using the @@ -488,7 +487,7 @@ func (r *Request) Send() error { r.Handlers.Retry.Run(r) r.Handlers.AfterRetry.Run(r) if r.Error != nil { - debugLogReqError(r, "Send Request", false, r.Error) + debugLogReqError(r, "Send Request", false, err) return r.Error } debugLogReqError(r, "Send Request", true, err) @@ -497,12 +496,13 @@ func (r *Request) Send() error { r.Handlers.UnmarshalMeta.Run(r) r.Handlers.ValidateResponse.Run(r) if r.Error != nil { - err := r.Error r.Handlers.UnmarshalError.Run(r) + err := r.Error + r.Handlers.Retry.Run(r) r.Handlers.AfterRetry.Run(r) if r.Error != nil { - debugLogReqError(r, "Validate Response", false, r.Error) + debugLogReqError(r, "Validate Response", false, err) return r.Error } debugLogReqError(r, "Validate Response", true, err) @@ -515,7 +515,7 @@ func (r *Request) Send() error { r.Handlers.Retry.Run(r) r.Handlers.AfterRetry.Run(r) if r.Error != nil { - debugLogReqError(r, "Unmarshal Response", false, r.Error) + debugLogReqError(r, "Unmarshal Response", false, err) return r.Error } debugLogReqError(r, "Unmarshal Response", true, err) diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go b/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go index 2665e8187..869b97a1a 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go @@ -19,3 +19,21 @@ func (noBody) WriteTo(io.Writer) (int64, error) { return 0, nil } // NoBody is an empty reader that will trigger the Go HTTP client to not include // and body in the HTTP request. var NoBody = noBody{} + +// ResetBody rewinds the request body back to its starting position, and +// set's the HTTP Request body reference. When the body is read prior +// to being sent in the HTTP request it will need to be rewound. +// +// ResetBody will automatically be called by the SDK's build handler, but if +// the request is being used directly ResetBody must be called before the request +// is Sent. SetStringBody, SetBufferBody, and SetReaderBody will automatically +// call ResetBody. +func (r *Request) ResetBody() { + body, err := r.getNextRequestBody() + if err != nil { + r.Error = err + return + } + + r.HTTPRequest.Body = body +} diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go b/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go index 8ac66b781..c32fc69bc 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go @@ -9,3 +9,25 @@ import ( // NoBody is a http.NoBody reader instructing Go HTTP client to not include // and body in the HTTP request. var NoBody = http.NoBody + +// ResetBody rewinds the request body back to its starting position, and +// set's the HTTP Request body reference. When the body is read prior +// to being sent in the HTTP request it will need to be rewound. +// +// ResetBody will automatically be called by the SDK's build handler, but if +// the request is being used directly ResetBody must be called before the request +// is Sent. SetStringBody, SetBufferBody, and SetReaderBody will automatically +// call ResetBody. +// +// Will also set the Go 1.8's http.Request.GetBody member to allow retrying +// PUT/POST redirects. +func (r *Request) ResetBody() { + body, err := r.getNextRequestBody() + if err != nil { + r.Error = err + return + } + + r.HTTPRequest.Body = body + r.HTTPRequest.GetBody = r.getNextRequestBody +} diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go b/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go index e36aa3822..8d369c1b8 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go @@ -74,6 +74,10 @@ var validParentCodes = map[string]struct{}{ ErrCodeRead: struct{}{}, } +type temporaryError interface { + Temporary() bool +} + func isNestedErrorRetryable(parentErr awserr.Error) bool { if parentErr == nil { return false @@ -92,6 +96,10 @@ func isNestedErrorRetryable(parentErr awserr.Error) bool { return isCodeRetryable(aerr.Code()) } + if t, ok := err.(temporaryError); ok { + return t.Temporary() + } + return isErrConnectionReset(err) } diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go b/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go index e6278a782..7357e545a 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go @@ -2,7 +2,6 @@ package session import ( "os" - "path/filepath" "strconv" "github.com/aws/aws-sdk-go/aws/credentials" @@ -116,6 +115,12 @@ var ( "AWS_PROFILE", "AWS_DEFAULT_PROFILE", // Only read if AWS_SDK_LOAD_CONFIG is also set } + sharedCredsFileEnvKey = []string{ + "AWS_SHARED_CREDENTIALS_FILE", + } + sharedConfigFileEnvKey = []string{ + "AWS_CONFIG_FILE", + } ) // loadEnvConfig retrieves the SDK's environment configuration. @@ -165,8 +170,8 @@ func envConfigLoad(enableSharedConfig bool) envConfig { setFromEnvVal(&cfg.Region, regionKeys) setFromEnvVal(&cfg.Profile, profileKeys) - cfg.SharedCredentialsFile = sharedCredentialsFilename() - cfg.SharedConfigFile = sharedConfigFilename() + setFromEnvVal(&cfg.SharedCredentialsFile, sharedCredsFileEnvKey) + setFromEnvVal(&cfg.SharedConfigFile, sharedConfigFileEnvKey) cfg.CustomCABundle = os.Getenv("AWS_CA_BUNDLE") @@ -181,28 +186,3 @@ func setFromEnvVal(dst *string, keys []string) { } } } - -func sharedCredentialsFilename() string { - if name := os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); len(name) > 0 { - return name - } - - return filepath.Join(userHomeDir(), ".aws", "credentials") -} - -func sharedConfigFilename() string { - if name := os.Getenv("AWS_CONFIG_FILE"); len(name) > 0 { - return name - } - - return filepath.Join(userHomeDir(), ".aws", "config") -} - -func userHomeDir() string { - homeDir := os.Getenv("HOME") // *nix - if len(homeDir) == 0 { // windows - homeDir = os.Getenv("USERPROFILE") - } - - return homeDir -} diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/session.go b/vendor/github.com/aws/aws-sdk-go/aws/session/session.go index 34a292085..9f75d5ac5 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/session/session.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/session/session.go @@ -243,6 +243,13 @@ func NewSessionWithOptions(opts Options) (*Session, error) { envCfg.EnableSharedConfig = true } + if len(envCfg.SharedCredentialsFile) == 0 { + envCfg.SharedCredentialsFile = defaults.SharedCredentialsFilename() + } + if len(envCfg.SharedConfigFile) == 0 { + envCfg.SharedConfigFile = defaults.SharedConfigFilename() + } + // Only use AWS_CA_BUNDLE if session option is not provided. if len(envCfg.CustomCABundle) != 0 && opts.CustomCABundle == nil { f, err := os.Open(envCfg.CustomCABundle) diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go b/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go index b58076f5e..09c8e5bc7 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go @@ -113,7 +113,7 @@ func loadSharedConfigIniFiles(filenames []string) ([]sharedConfigFile, error) { f, err := ini.Load(b) if err != nil { - return nil, SharedConfigLoadError{Filename: filename} + return nil, SharedConfigLoadError{Filename: filename, Err: err} } files = append(files, sharedConfigFile{ 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 e205652c7..bbf4c2f12 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.8.25" +const SDKVersion = "1.8.34" diff --git a/vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go b/vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go new file mode 100644 index 000000000..ebcbc2b40 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go @@ -0,0 +1,40 @@ +package shareddefaults + +import ( + "os" + "path/filepath" + "runtime" +) + +// SharedCredentialsFilename returns the SDK's default file path +// for the shared credentials file. +// +// Builds the shared config file path based on the OS's platform. +// +// - Linux/Unix: $HOME/.aws/credentials +// - Windows: %USERPROFILE%\.aws\credentials +func SharedCredentialsFilename() string { + return filepath.Join(UserHomeDir(), ".aws", "credentials") +} + +// SharedConfigFilename returns the SDK's default file path for +// the shared config file. +// +// Builds the shared config file path based on the OS's platform. +// +// - Linux/Unix: $HOME/.aws/config +// - Windows: %USERPROFILE%\.aws\config +func SharedConfigFilename() string { + return filepath.Join(UserHomeDir(), ".aws", "config") +} + +// UserHomeDir returns the home directory for the user the process is +// running under. +func UserHomeDir() string { + if runtime.GOOS == "windows" { // Windows + return os.Getenv("USERPROFILE") + } + + // *nix + return os.Getenv("HOME") +} 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 673707b32..7fe90f906 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 @@ -3146,6 +3146,89 @@ func (c *CodeDeploy) ListDeploymentsPagesWithContext(ctx aws.Context, input *Lis return p.Err() } +const opListGitHubAccountTokenNames = "ListGitHubAccountTokenNames" + +// ListGitHubAccountTokenNamesRequest generates a "aws/request.Request" representing the +// client's request for the ListGitHubAccountTokenNames operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See ListGitHubAccountTokenNames for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the ListGitHubAccountTokenNames method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the ListGitHubAccountTokenNamesRequest method. +// req, resp := client.ListGitHubAccountTokenNamesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames +func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) (req *request.Request, output *ListGitHubAccountTokenNamesOutput) { + op := &request.Operation{ + Name: opListGitHubAccountTokenNames, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListGitHubAccountTokenNamesInput{} + } + + output = &ListGitHubAccountTokenNamesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListGitHubAccountTokenNames API operation for AWS CodeDeploy. +// +// Lists the names of stored connections to GitHub accounts. +// +// 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 CodeDeploy's +// API operation ListGitHubAccountTokenNames for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidNextTokenException "InvalidNextTokenException" +// The next token was specified in an invalid format. +// +// * ErrCodeResourceValidationException "ResourceValidationException" +// The specified resource could not be validated. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames +func (c *CodeDeploy) ListGitHubAccountTokenNames(input *ListGitHubAccountTokenNamesInput) (*ListGitHubAccountTokenNamesOutput, error) { + req, out := c.ListGitHubAccountTokenNamesRequest(input) + return out, req.Send() +} + +// ListGitHubAccountTokenNamesWithContext is the same as ListGitHubAccountTokenNames with the addition of +// the ability to pass a context and additional request options. +// +// See ListGitHubAccountTokenNames 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 *CodeDeploy) ListGitHubAccountTokenNamesWithContext(ctx aws.Context, input *ListGitHubAccountTokenNamesInput, opts ...request.Option) (*ListGitHubAccountTokenNamesOutput, error) { + req, out := c.ListGitHubAccountTokenNamesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListOnPremisesInstances = "ListOnPremisesInstances" // ListOnPremisesInstancesRequest generates a "aws/request.Request" representing the @@ -4153,6 +4236,9 @@ type ApplicationInfo struct { // The time at which the application was created. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` + // The name for a connection to a GitHub account. + GitHubAccountName *string `locationName:"gitHubAccountName" type:"string"` + // True if the user has authenticated with GitHub for the specified application; // otherwise, false. LinkedToGitHub *bool `locationName:"linkedToGitHub" type:"boolean"` @@ -4186,6 +4272,12 @@ func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo { return s } +// SetGitHubAccountName sets the GitHubAccountName field's value. +func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo { + s.GitHubAccountName = &v + return s +} + // SetLinkedToGitHub sets the LinkedToGitHub field's value. func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo { s.LinkedToGitHub = &v @@ -4262,7 +4354,7 @@ func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { return s } -// Represents the input of a batch get application revisions operation. +// Represents the input of a BatchGetApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput type BatchGetApplicationRevisionsInput struct { _ struct{} `type:"structure"` @@ -4319,7 +4411,7 @@ func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []*RevisionLocation) return s } -// Represents the output of a batch get application revisions operation. +// Represents the output of a BatchGetApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput type BatchGetApplicationRevisionsOutput struct { _ struct{} `type:"structure"` @@ -4362,7 +4454,7 @@ func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []*RevisionInfo) *Ba return s } -// Represents the input of a batch get applications operation. +// Represents the input of a BatchGetApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput type BatchGetApplicationsInput struct { _ struct{} `type:"structure"` @@ -4387,7 +4479,7 @@ func (s *BatchGetApplicationsInput) SetApplicationNames(v []*string) *BatchGetAp return s } -// Represents the output of a batch get applications operation. +// Represents the output of a BatchGetApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput type BatchGetApplicationsOutput struct { _ struct{} `type:"structure"` @@ -4412,7 +4504,7 @@ func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []*ApplicationInfo) * return s } -// Represents the input of a batch get deployment groups operation. +// Represents the input of a BatchGetDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput type BatchGetDeploymentGroupsInput struct { _ struct{} `type:"structure"` @@ -4470,7 +4562,7 @@ func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []*string) *Ba return s } -// Represents the output of a batch get deployment groups operation. +// Represents the output of a BatchGetDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput type BatchGetDeploymentGroupsOutput struct { _ struct{} `type:"structure"` @@ -4504,7 +4596,7 @@ func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDepl return s } -// Represents the input of a batch get deployment instances operation. +// Represents the input of a BatchGetDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput type BatchGetDeploymentInstancesInput struct { _ struct{} `type:"structure"` @@ -4558,7 +4650,7 @@ func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []*string) *BatchGet return s } -// Represents the output of a batch get deployment instance operation. +// Represents the output of a BatchGetDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput type BatchGetDeploymentInstancesOutput struct { _ struct{} `type:"structure"` @@ -4592,7 +4684,7 @@ func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []*InstanceSum return s } -// Represents the input of a batch get deployments operation. +// Represents the input of a BatchGetDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput type BatchGetDeploymentsInput struct { _ struct{} `type:"structure"` @@ -4617,7 +4709,7 @@ func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []*string) *BatchGetDeploy return s } -// Represents the output of a batch get deployments operation. +// Represents the output of a BatchGetDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput type BatchGetDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -4642,7 +4734,7 @@ func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []*DeploymentInfo) *Bat return s } -// Represents the input of a batch get on-premises instances operation. +// Represents the input of a BatchGetOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput type BatchGetOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -4667,7 +4759,7 @@ func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []*string) *BatchG return s } -// Represents the output of a batch get on-premises instances operation. +// Represents the output of a BatchGetOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput type BatchGetOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` @@ -4820,7 +4912,7 @@ func (s ContinueDeploymentOutput) GoString() string { return s.String() } -// Represents the input of a create application operation. +// Represents the input of a CreateApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -4864,7 +4956,7 @@ func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplication return s } -// Represents the output of a create application operation. +// Represents the output of a CreateApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput type CreateApplicationOutput struct { _ struct{} `type:"structure"` @@ -4889,7 +4981,7 @@ func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationO return s } -// Represents the input of a create deployment configuration operation. +// Represents the input of a CreateDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput type CreateDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -4959,7 +5051,7 @@ func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHo return s } -// Represents the output of a create deployment configuration operation. +// Represents the output of a CreateDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput type CreateDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -4984,7 +5076,7 @@ func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDe return s } -// Represents the input of a create deployment group operation. +// Represents the input of a CreateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput type CreateDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -5171,7 +5263,7 @@ func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig return s } -// Represents the output of a create deployment group operation. +// Represents the output of a CreateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput type CreateDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -5196,7 +5288,7 @@ func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDepl return s } -// Represents the input of a create deployment operation. +// Represents the input of a CreateDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -5356,7 +5448,7 @@ func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDe return s } -// Represents the output of a create deployment operation. +// Represents the output of a CreateDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput type CreateDeploymentOutput struct { _ struct{} `type:"structure"` @@ -5381,7 +5473,7 @@ func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutp return s } -// Represents the input of a delete application operation. +// Represents the input of a DeleteApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput type DeleteApplicationInput struct { _ struct{} `type:"structure"` @@ -5440,7 +5532,7 @@ func (s DeleteApplicationOutput) GoString() string { return s.String() } -// Represents the input of a delete deployment configuration operation. +// Represents the input of a DeleteDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput type DeleteDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -5499,7 +5591,7 @@ func (s DeleteDeploymentConfigOutput) GoString() string { return s.String() } -// Represents the input of a delete deployment group operation. +// Represents the input of a DeleteDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput type DeleteDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -5560,7 +5652,7 @@ func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDep return s } -// Represents the output of a delete deployment group operation. +// Represents the output of a DeleteDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput type DeleteDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -5679,6 +5771,14 @@ type DeploymentGroupInfo struct { // The Amazon EC2 tags on which to filter. Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"` + // Information about the most recent attempted deployment to the deployment + // group. + LastAttemptedDeployment *LastDeploymentInfo `locationName:"lastAttemptedDeployment" type:"structure"` + + // Information about the most recent successful deployment to the deployment + // group. + LastSuccessfulDeployment *LastDeploymentInfo `locationName:"lastSuccessfulDeployment" type:"structure"` + // Information about the load balancer to use in a deployment. LoadBalancerInfo *LoadBalancerInfo `locationName:"loadBalancerInfo" type:"structure"` @@ -5766,6 +5866,18 @@ func (s *DeploymentGroupInfo) SetEc2TagFilters(v []*EC2TagFilter) *DeploymentGro return s } +// SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value. +func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo { + s.LastAttemptedDeployment = v + return s +} + +// SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value. +func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo { + s.LastSuccessfulDeployment = v + return s +} + // SetLoadBalancerInfo sets the LoadBalancerInfo field's value. func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo { s.LoadBalancerInfo = v @@ -6231,7 +6343,7 @@ func (s *DeploymentStyle) SetDeploymentType(v string) *DeploymentStyle { return s } -// Represents the input of a deregister on-premises instance operation. +// Represents the input of a DeregisterOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput type DeregisterOnPremisesInstanceInput struct { _ struct{} `type:"structure"` @@ -6568,7 +6680,7 @@ func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo return s } -// Represents the input of a get application operation. +// Represents the input of a GetApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput type GetApplicationInput struct { _ struct{} `type:"structure"` @@ -6612,7 +6724,7 @@ func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput return s } -// Represents the output of a get application operation. +// Represents the output of a GetApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput type GetApplicationOutput struct { _ struct{} `type:"structure"` @@ -6637,7 +6749,7 @@ func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicatio return s } -// Represents the input of a get application revision operation. +// Represents the input of a GetApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput type GetApplicationRevisionInput struct { _ struct{} `type:"structure"` @@ -6694,7 +6806,7 @@ func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetAppli return s } -// Represents the output of a get application revision operation. +// Represents the output of a GetApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput type GetApplicationRevisionOutput struct { _ struct{} `type:"structure"` @@ -6737,7 +6849,7 @@ func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) * return s } -// Represents the input of a get deployment configuration operation. +// Represents the input of a GetDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput type GetDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -6781,7 +6893,7 @@ func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploym return s } -// Represents the output of a get deployment configuration operation. +// Represents the output of a GetDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput type GetDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -6806,7 +6918,7 @@ func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigI return s } -// Represents the input of a get deployment group operation. +// Represents the input of a GetDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput type GetDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -6867,7 +6979,7 @@ func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymen return s } -// Represents the output of a get deployment group operation. +// Represents the output of a GetDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput type GetDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -6892,7 +7004,7 @@ func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo return s } -// Represents the input of a get deployment operation. +// Represents the input of a GetDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput type GetDeploymentInput struct { _ struct{} `type:"structure"` @@ -6932,7 +7044,7 @@ func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput { return s } -// Represents the input of a get deployment instance operation. +// Represents the input of a GetDeploymentInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput type GetDeploymentInstanceInput struct { _ struct{} `type:"structure"` @@ -6986,7 +7098,7 @@ func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInsta return s } -// Represents the output of a get deployment instance operation. +// Represents the output of a GetDeploymentInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput type GetDeploymentInstanceOutput struct { _ struct{} `type:"structure"` @@ -7011,7 +7123,7 @@ func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *Ge return s } -// Represents the output of a get deployment operation. +// Represents the output of a GetDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput type GetDeploymentOutput struct { _ struct{} `type:"structure"` @@ -7036,7 +7148,7 @@ func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymen return s } -// Represents the input of a get on-premises instance operation. +// Represents the input of a GetOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput type GetOnPremisesInstanceInput struct { _ struct{} `type:"structure"` @@ -7076,7 +7188,7 @@ func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesIns return s } -// Represents the output of a get on-premises instance operation. +// Represents the output of a GetOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput type GetOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` @@ -7338,6 +7450,61 @@ func (s *InstanceSummary) SetStatus(v string) *InstanceSummary { return s } +// Information about the most recent attempted or successful deployment to a +// deployment group. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo +type LastDeploymentInfo struct { + _ struct{} `type:"structure"` + + // A timestamp indicating when the most recent deployment to the deployment + // group started. + CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"` + + // The deployment ID. + DeploymentId *string `locationName:"deploymentId" type:"string"` + + // A timestamp indicating when the most recent deployment to the deployment + // group completed. + EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` + + // The status of the most recent deployment. + Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"` +} + +// String returns the string representation +func (s LastDeploymentInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LastDeploymentInfo) GoString() string { + return s.String() +} + +// SetCreateTime sets the CreateTime field's value. +func (s *LastDeploymentInfo) SetCreateTime(v time.Time) *LastDeploymentInfo { + s.CreateTime = &v + return s +} + +// SetDeploymentId sets the DeploymentId field's value. +func (s *LastDeploymentInfo) SetDeploymentId(v string) *LastDeploymentInfo { + s.DeploymentId = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo { + s.EndTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *LastDeploymentInfo) SetStatus(v string) *LastDeploymentInfo { + s.Status = &v + return s +} + // Information about a deployment lifecycle event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent type LifecycleEvent struct { @@ -7412,7 +7579,7 @@ func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent { return s } -// Represents the input of a list application revisions operation. +// Represents the input of a ListApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput type ListApplicationRevisionsInput struct { _ struct{} `type:"structure"` @@ -7539,7 +7706,7 @@ func (s *ListApplicationRevisionsInput) SetSortOrder(v string) *ListApplicationR return s } -// Represents the output of a list application revisions operation. +// Represents the output of a ListApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput type ListApplicationRevisionsOutput struct { _ struct{} `type:"structure"` @@ -7575,7 +7742,7 @@ func (s *ListApplicationRevisionsOutput) SetRevisions(v []*RevisionLocation) *Li return s } -// Represents the input of a list applications operation. +// Represents the input of a ListApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput type ListApplicationsInput struct { _ struct{} `type:"structure"` @@ -7601,7 +7768,7 @@ func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { return s } -// Represents the output of a list applications operation. +// Represents the output of a ListApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput type ListApplicationsOutput struct { _ struct{} `type:"structure"` @@ -7637,7 +7804,7 @@ func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput return s } -// Represents the input of a list deployment configurations operation. +// Represents the input of a ListDeploymentConfigs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput type ListDeploymentConfigsInput struct { _ struct{} `type:"structure"` @@ -7664,7 +7831,7 @@ func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfi return s } -// Represents the output of a list deployment configurations operation. +// Represents the output of a ListDeploymentConfigs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput type ListDeploymentConfigsOutput struct { _ struct{} `type:"structure"` @@ -7701,7 +7868,7 @@ func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConf return s } -// Represents the input of a list deployment groups operation. +// Represents the input of a ListDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput type ListDeploymentGroupsInput struct { _ struct{} `type:"structure"` @@ -7755,7 +7922,7 @@ func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroups return s } -// Represents the output of a list deployment groups operation. +// Represents the output of a ListDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput type ListDeploymentGroupsOutput struct { _ struct{} `type:"structure"` @@ -7800,7 +7967,7 @@ func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroup return s } -// Represents the input of a list deployment instances operation. +// Represents the input of a ListDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput type ListDeploymentInstancesInput struct { _ struct{} `type:"structure"` @@ -7882,7 +8049,7 @@ func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentIns return s } -// Represents the output of a list deployment instances operation. +// Represents the output of a ListDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput type ListDeploymentInstancesOutput struct { _ struct{} `type:"structure"` @@ -7918,7 +8085,7 @@ func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentIn return s } -// Represents the input of a list deployments operation. +// Represents the input of a ListDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput type ListDeploymentsInput struct { _ struct{} `type:"structure"` @@ -8009,7 +8176,7 @@ func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput { return s } -// Represents the output of a list deployments operation. +// Represents the output of a ListDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput type ListDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -8045,7 +8212,69 @@ func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput { return s } -// Represents the input of a list on-premises instances operation. +// Represents the input of a ListGitHubAccountTokenNames operation. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput +type ListGitHubAccountTokenNamesInput struct { + _ struct{} `type:"structure"` + + // An identifier returned from the previous ListGitHubAccountTokenNames call. + // It can be used to return the next set of names in the list. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListGitHubAccountTokenNamesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGitHubAccountTokenNamesInput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGitHubAccountTokenNamesInput) SetNextToken(v string) *ListGitHubAccountTokenNamesInput { + s.NextToken = &v + return s +} + +// Represents the output of a ListGitHubAccountTokenNames operation. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput +type ListGitHubAccountTokenNamesOutput struct { + _ struct{} `type:"structure"` + + // If a large amount of information is returned, an identifier is also returned. + // It can be used in a subsequent ListGitHubAccountTokenNames call to return + // the next set of names in the list. + NextToken *string `locationName:"nextToken" type:"string"` + + // A list of names of connections to GitHub accounts. + TokenNameList []*string `locationName:"tokenNameList" type:"list"` +} + +// String returns the string representation +func (s ListGitHubAccountTokenNamesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGitHubAccountTokenNamesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGitHubAccountTokenNamesOutput) SetNextToken(v string) *ListGitHubAccountTokenNamesOutput { + s.NextToken = &v + return s +} + +// SetTokenNameList sets the TokenNameList field's value. +func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []*string) *ListGitHubAccountTokenNamesOutput { + s.TokenNameList = v + return s +} + +// Represents the input of a ListOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput type ListOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -8217,7 +8446,7 @@ func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts { return s } -// Represents the input of a register application revision operation. +// Represents the input of a RegisterApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput type RegisterApplicationRevisionInput struct { _ struct{} `type:"structure"` @@ -8373,7 +8602,7 @@ func (s RegisterOnPremisesInstanceOutput) GoString() string { return s.String() } -// Represents the input of a remove tags from on-premises instances operation. +// Represents the input of a RemoveTagsFromOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput type RemoveTagsFromOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -8687,7 +8916,7 @@ func (s SkipWaitTimeForInstanceTerminationOutput) GoString() string { return s.String() } -// Represents the input of a stop deployment operation. +// Represents the input of a StopDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput type StopDeploymentInput struct { _ struct{} `type:"structure"` @@ -8738,7 +8967,7 @@ func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput { return s } -// Represents the output of a stop deployment operation. +// Represents the output of a StopDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput type StopDeploymentOutput struct { _ struct{} `type:"structure"` @@ -8978,7 +9207,7 @@ func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig { return s } -// Represents the input of an update application operation. +// Represents the input of an UpdateApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput type UpdateApplicationInput struct { _ struct{} `type:"structure"` @@ -9043,7 +9272,7 @@ func (s UpdateApplicationOutput) GoString() string { return s.String() } -// Represents the input of an update deployment group operation. +// Represents the input of an UpdateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput type UpdateDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -9230,7 +9459,7 @@ func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig return s } -// Represents the output of an update deployment group operation. +// Represents the output of an UpdateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput type UpdateDeploymentGroupOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go index 1e1e41c65..cf425556c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/errors.go @@ -467,6 +467,12 @@ const ( // Use only one ARN type. ErrCodeMultipleIamArnsProvidedException = "MultipleIamArnsProvidedException" + // ErrCodeResourceValidationException for service response error code + // "ResourceValidationException". + // + // The specified resource could not be validated. + ErrCodeResourceValidationException = "ResourceValidationException" + // ErrCodeRevisionDoesNotExistException for service response error code // "RevisionDoesNotExistException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go index a79d2915b..eb95c3690 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go @@ -190,6 +190,114 @@ func (c *DatabaseMigrationService) CreateEndpointWithContext(ctx aws.Context, in return out, req.Send() } +const opCreateEventSubscription = "CreateEventSubscription" + +// CreateEventSubscriptionRequest generates a "aws/request.Request" representing the +// client's request for the CreateEventSubscription operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See CreateEventSubscription for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the CreateEventSubscription method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription +func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { + op := &request.Operation{ + Name: opCreateEventSubscription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateEventSubscriptionInput{} + } + + output = &CreateEventSubscriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateEventSubscription API operation for AWS Database Migration Service. +// +// Creates an AWS DMS event notification subscription. +// +// You can specify the type of source (SourceType) you want to be notified of, +// provide a list of AWS DMS source IDs (SourceIds) that triggers the events, +// and provide a list of event categories (EventCategories) for events you want +// to be notified of. If you specify both the SourceType and SourceIds, such +// as SourceType = replication-instance and SourceIdentifier = my-replinstance, +// you will be notified of all the replication instance events for the specified +// source. If you specify a SourceType but don't specify a SourceIdentifier, +// you receive notice of the events for that source type for all your AWS DMS +// sources. If you don't specify either SourceType nor SourceIdentifier, you +// will be notified of events generated from all AWS DMS sources belonging to +// your customer account. +// +// For more information about AWS DMS events, see Working with Events and Notifications +// (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the +// AWS Database MIgration Service User Guide. +// +// 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 Database Migration Service's +// API operation CreateEventSubscription for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault" +// The quota for this resource quota has been exceeded. +// +// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault" +// The resource you are attempting to create already exists. +// +// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopicFault" +// The SNS topic is invalid. +// +// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorizationFault" +// You are not authorized for the SNS subscription. +// +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription +func (c *DatabaseMigrationService) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { + req, out := c.CreateEventSubscriptionRequest(input) + return out, req.Send() +} + +// CreateEventSubscriptionWithContext is the same as CreateEventSubscription with the addition of +// the ability to pass a context and additional request options. +// +// See CreateEventSubscription 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 *DatabaseMigrationService) CreateEventSubscriptionWithContext(ctx aws.Context, input *CreateEventSubscriptionInput, opts ...request.Option) (*CreateEventSubscriptionOutput, error) { + req, out := c.CreateEventSubscriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateReplicationInstance = "CreateReplicationInstance" // CreateReplicationInstanceRequest generates a "aws/request.Request" representing the @@ -659,6 +767,90 @@ func (c *DatabaseMigrationService) DeleteEndpointWithContext(ctx aws.Context, in return out, req.Send() } +const opDeleteEventSubscription = "DeleteEventSubscription" + +// DeleteEventSubscriptionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteEventSubscription operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DeleteEventSubscription for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DeleteEventSubscription method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription +func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { + op := &request.Operation{ + Name: opDeleteEventSubscription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteEventSubscriptionInput{} + } + + output = &DeleteEventSubscriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteEventSubscription API operation for AWS Database Migration Service. +// +// Deletes an AWS DMS event subscription. +// +// 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 Database Migration Service's +// API operation DeleteEventSubscription for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault" +// The resource is in a state that prevents it from being used for database +// migration. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription +func (c *DatabaseMigrationService) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { + req, out := c.DeleteEventSubscriptionRequest(input) + return out, req.Send() +} + +// DeleteEventSubscriptionWithContext is the same as DeleteEventSubscription with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteEventSubscription 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 *DatabaseMigrationService) DeleteEventSubscriptionWithContext(ctx aws.Context, input *DeleteEventSubscriptionInput, opts ...request.Option) (*DeleteEventSubscriptionOutput, error) { + req, out := c.DeleteEventSubscriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteReplicationInstance = "DeleteReplicationInstance" // DeleteReplicationInstanceRequest generates a "aws/request.Request" representing the @@ -1026,6 +1218,12 @@ func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCe Name: opDescribeCertificates, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1074,6 +1272,56 @@ func (c *DatabaseMigrationService) DescribeCertificatesWithContext(ctx aws.Conte return out, req.Send() } +// DescribeCertificatesPages iterates over the pages of a DescribeCertificates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeCertificates 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 DescribeCertificates operation. +// pageNum := 0 +// err := client.DescribeCertificatesPages(params, +// func(page *DescribeCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error { + return c.DescribeCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeCertificatesPagesWithContext same as DescribeCertificatesPages 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 *DatabaseMigrationService) DescribeCertificatesPagesWithContext(ctx aws.Context, input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeCertificatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeCertificatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeCertificatesOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeConnections = "DescribeConnections" // DescribeConnectionsRequest generates a "aws/request.Request" representing the @@ -1106,6 +1354,12 @@ func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeCon Name: opDescribeConnections, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1155,6 +1409,56 @@ func (c *DatabaseMigrationService) DescribeConnectionsWithContext(ctx aws.Contex return out, req.Send() } +// DescribeConnectionsPages iterates over the pages of a DescribeConnections operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeConnections 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 DescribeConnections operation. +// pageNum := 0 +// err := client.DescribeConnectionsPages(params, +// func(page *DescribeConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeConnectionsPages(input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool) error { + return c.DescribeConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeConnectionsPagesWithContext same as DescribeConnectionsPages 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 *DatabaseMigrationService) DescribeConnectionsPagesWithContext(ctx aws.Context, input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeConnectionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeConnectionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeConnectionsOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeEndpointTypes = "DescribeEndpointTypes" // DescribeEndpointTypesRequest generates a "aws/request.Request" representing the @@ -1187,6 +1491,12 @@ func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeE Name: opDescribeEndpointTypes, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1230,6 +1540,56 @@ func (c *DatabaseMigrationService) DescribeEndpointTypesWithContext(ctx aws.Cont return out, req.Send() } +// DescribeEndpointTypesPages iterates over the pages of a DescribeEndpointTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeEndpointTypes 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 DescribeEndpointTypes operation. +// pageNum := 0 +// err := client.DescribeEndpointTypesPages(params, +// func(page *DescribeEndpointTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeEndpointTypesPages(input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool) error { + return c.DescribeEndpointTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeEndpointTypesPagesWithContext same as DescribeEndpointTypesPages 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 *DatabaseMigrationService) DescribeEndpointTypesPagesWithContext(ctx aws.Context, input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeEndpointTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEndpointTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeEndpointTypesOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeEndpoints = "DescribeEndpoints" // DescribeEndpointsRequest generates a "aws/request.Request" representing the @@ -1262,6 +1622,12 @@ func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpo Name: opDescribeEndpoints, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1310,6 +1676,408 @@ func (c *DatabaseMigrationService) DescribeEndpointsWithContext(ctx aws.Context, return out, req.Send() } +// DescribeEndpointsPages iterates over the pages of a DescribeEndpoints operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeEndpoints 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 DescribeEndpoints operation. +// pageNum := 0 +// err := client.DescribeEndpointsPages(params, +// func(page *DescribeEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeEndpointsPages(input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool) error { + return c.DescribeEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeEndpointsPagesWithContext same as DescribeEndpointsPages 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 *DatabaseMigrationService) DescribeEndpointsPagesWithContext(ctx aws.Context, input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeEndpointsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEndpointsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeEndpointsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opDescribeEventCategories = "DescribeEventCategories" + +// DescribeEventCategoriesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEventCategories operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DescribeEventCategories for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeEventCategories method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories +func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { + op := &request.Operation{ + Name: opDescribeEventCategories, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeEventCategoriesInput{} + } + + output = &DescribeEventCategoriesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEventCategories API operation for AWS Database Migration Service. +// +// Lists categories for all event source types, or, if specified, for a specified +// source type. You can see a list of the event categories and source types +// in Working with Events and Notifications (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) +// in the AWS Database Migration Service User Guide. +// +// 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 Database Migration Service's +// API operation DescribeEventCategories for usage and error information. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories +func (c *DatabaseMigrationService) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { + req, out := c.DescribeEventCategoriesRequest(input) + return out, req.Send() +} + +// DescribeEventCategoriesWithContext is the same as DescribeEventCategories with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEventCategories 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 *DatabaseMigrationService) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error) { + req, out := c.DescribeEventCategoriesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeEventSubscriptions = "DescribeEventSubscriptions" + +// DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEventSubscriptions operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DescribeEventSubscriptions for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeEventSubscriptions method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions +func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { + op := &request.Operation{ + Name: opDescribeEventSubscriptions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeEventSubscriptionsInput{} + } + + output = &DescribeEventSubscriptionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEventSubscriptions API operation for AWS Database Migration Service. +// +// Lists all the event subscriptions for a customer account. The description +// of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, +// SourceID, CreationTime, and Status. +// +// If you specify SubscriptionName, this action lists the description for that +// subscription. +// +// 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 Database Migration Service's +// API operation DescribeEventSubscriptions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions +func (c *DatabaseMigrationService) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { + req, out := c.DescribeEventSubscriptionsRequest(input) + return out, req.Send() +} + +// DescribeEventSubscriptionsWithContext is the same as DescribeEventSubscriptions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEventSubscriptions 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 *DatabaseMigrationService) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, opts ...request.Option) (*DescribeEventSubscriptionsOutput, error) { + req, out := c.DescribeEventSubscriptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeEventSubscriptionsPages iterates over the pages of a DescribeEventSubscriptions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeEventSubscriptions 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 DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { + return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeEventSubscriptionsPagesWithContext same as DescribeEventSubscriptionsPages 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 *DatabaseMigrationService) DescribeEventSubscriptionsPagesWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeEventSubscriptionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEventSubscriptionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeEventSubscriptionsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opDescribeEvents = "DescribeEvents" + +// DescribeEventsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEvents operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DescribeEvents for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeEvents method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents +func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { + op := &request.Operation{ + Name: opDescribeEvents, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeEventsInput{} + } + + output = &DescribeEventsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEvents API operation for AWS Database Migration Service. +// +// Lists events for a given source identifier and source type. You can also +// specify a start and end time. For more information on AWS DMS events, see +// Working with Events and Notifications (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html). +// +// 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 Database Migration Service's +// API operation DescribeEvents for usage and error information. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents +func (c *DatabaseMigrationService) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { + req, out := c.DescribeEventsRequest(input) + return out, req.Send() +} + +// DescribeEventsWithContext is the same as DescribeEvents with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEvents 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 *DatabaseMigrationService) DescribeEventsWithContext(ctx aws.Context, input *DescribeEventsInput, opts ...request.Option) (*DescribeEventsOutput, error) { + req, out := c.DescribeEventsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeEventsPages iterates over the pages of a DescribeEvents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeEvents 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 DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { + return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeEventsPagesWithContext same as DescribeEventsPages 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 *DatabaseMigrationService) DescribeEventsPagesWithContext(ctx aws.Context, input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeEventsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEventsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeEventsOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeOrderableReplicationInstances = "DescribeOrderableReplicationInstances" // DescribeOrderableReplicationInstancesRequest generates a "aws/request.Request" representing the @@ -1342,6 +2110,12 @@ func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest( Name: opDescribeOrderableReplicationInstances, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1386,6 +2160,56 @@ func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesWithCont return out, req.Send() } +// DescribeOrderableReplicationInstancesPages iterates over the pages of a DescribeOrderableReplicationInstances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeOrderableReplicationInstances 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 DescribeOrderableReplicationInstances operation. +// pageNum := 0 +// err := client.DescribeOrderableReplicationInstancesPages(params, +// func(page *DescribeOrderableReplicationInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPages(input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool) error { + return c.DescribeOrderableReplicationInstancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeOrderableReplicationInstancesPagesWithContext same as DescribeOrderableReplicationInstancesPages 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 *DatabaseMigrationService) DescribeOrderableReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeOrderableReplicationInstancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeOrderableReplicationInstancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeOrderableReplicationInstancesOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeRefreshSchemasStatus = "DescribeRefreshSchemasStatus" // DescribeRefreshSchemasStatusRequest generates a "aws/request.Request" representing the @@ -1502,6 +2326,12 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *De Name: opDescribeReplicationInstances, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1551,6 +2381,56 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesWithContext(ctx a return out, req.Send() } +// DescribeReplicationInstancesPages iterates over the pages of a DescribeReplicationInstances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeReplicationInstances 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 DescribeReplicationInstances operation. +// pageNum := 0 +// err := client.DescribeReplicationInstancesPages(params, +// func(page *DescribeReplicationInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeReplicationInstancesPages(input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool) error { + return c.DescribeReplicationInstancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeReplicationInstancesPagesWithContext same as DescribeReplicationInstancesPages 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 *DatabaseMigrationService) DescribeReplicationInstancesPagesWithContext(ctx aws.Context, input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeReplicationInstancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeReplicationInstancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeReplicationInstancesOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeReplicationSubnetGroups = "DescribeReplicationSubnetGroups" // DescribeReplicationSubnetGroupsRequest generates a "aws/request.Request" representing the @@ -1583,6 +2463,12 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input Name: opDescribeReplicationSubnetGroups, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1631,6 +2517,56 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsWithContext(ct return out, req.Send() } +// DescribeReplicationSubnetGroupsPages iterates over the pages of a DescribeReplicationSubnetGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeReplicationSubnetGroups 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 DescribeReplicationSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeReplicationSubnetGroupsPages(params, +// func(page *DescribeReplicationSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPages(input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool) error { + return c.DescribeReplicationSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeReplicationSubnetGroupsPagesWithContext same as DescribeReplicationSubnetGroupsPages 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 *DatabaseMigrationService) DescribeReplicationSubnetGroupsPagesWithContext(ctx aws.Context, input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeReplicationSubnetGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeReplicationSubnetGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeReplicationSubnetGroupsOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeReplicationTasks = "DescribeReplicationTasks" // DescribeReplicationTasksRequest generates a "aws/request.Request" representing the @@ -1663,6 +2599,12 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *Descri Name: opDescribeReplicationTasks, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1712,6 +2654,56 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksWithContext(ctx aws.C return out, req.Send() } +// DescribeReplicationTasksPages iterates over the pages of a DescribeReplicationTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeReplicationTasks 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 DescribeReplicationTasks operation. +// pageNum := 0 +// err := client.DescribeReplicationTasksPages(params, +// func(page *DescribeReplicationTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeReplicationTasksPages(input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool) error { + return c.DescribeReplicationTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeReplicationTasksPagesWithContext same as DescribeReplicationTasksPages 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 *DatabaseMigrationService) DescribeReplicationTasksPagesWithContext(ctx aws.Context, input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeReplicationTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeReplicationTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeReplicationTasksOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeSchemas = "DescribeSchemas" // DescribeSchemasRequest generates a "aws/request.Request" representing the @@ -1744,6 +2736,12 @@ func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemas Name: opDescribeSchemas, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1796,6 +2794,56 @@ func (c *DatabaseMigrationService) DescribeSchemasWithContext(ctx aws.Context, i return out, req.Send() } +// DescribeSchemasPages iterates over the pages of a DescribeSchemas operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeSchemas 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 DescribeSchemas operation. +// pageNum := 0 +// err := client.DescribeSchemasPages(params, +// func(page *DescribeSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeSchemasPages(input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool) error { + return c.DescribeSchemasPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeSchemasPagesWithContext same as DescribeSchemasPages 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 *DatabaseMigrationService) DescribeSchemasPagesWithContext(ctx aws.Context, input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeSchemasInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeSchemasRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeSchemasOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeTableStatistics = "DescribeTableStatistics" // DescribeTableStatisticsRequest generates a "aws/request.Request" representing the @@ -1828,6 +2876,12 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *Describ Name: opDescribeTableStatistics, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -1881,6 +2935,56 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsWithContext(ctx aws.Co return out, req.Send() } +// DescribeTableStatisticsPages iterates over the pages of a DescribeTableStatistics operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeTableStatistics 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 DescribeTableStatistics operation. +// pageNum := 0 +// err := client.DescribeTableStatisticsPages(params, +// func(page *DescribeTableStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeTableStatisticsPages(input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool) error { + return c.DescribeTableStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeTableStatisticsPagesWithContext same as DescribeTableStatisticsPages 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 *DatabaseMigrationService) DescribeTableStatisticsPagesWithContext(ctx aws.Context, input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeTableStatisticsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeTableStatisticsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeTableStatisticsOutput), !p.HasNextPage()) + } + return p.Err() +} + const opImportCertificate = "ImportCertificate" // ImportCertificateRequest generates a "aws/request.Request" representing the @@ -2112,6 +3216,9 @@ func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointIn // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // AWS DMS cannot access the KMS key. // +// * ErrCodeAccessDeniedFault "AccessDeniedFault" +// AWS DMS was denied access to the endpoint. +// // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error) { req, out := c.ModifyEndpointRequest(input) @@ -2134,6 +3241,95 @@ func (c *DatabaseMigrationService) ModifyEndpointWithContext(ctx aws.Context, in return out, req.Send() } +const opModifyEventSubscription = "ModifyEventSubscription" + +// ModifyEventSubscriptionRequest generates a "aws/request.Request" representing the +// client's request for the ModifyEventSubscription operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See ModifyEventSubscription for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the ModifyEventSubscription method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription +func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { + op := &request.Operation{ + Name: opModifyEventSubscription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyEventSubscriptionInput{} + } + + output = &ModifyEventSubscriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyEventSubscription API operation for AWS Database Migration Service. +// +// Modifies an existing AWS DMS event notification subscription. +// +// 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 Database Migration Service's +// API operation ModifyEventSubscription for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault" +// The quota for this resource quota has been exceeded. +// +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopicFault" +// The SNS topic is invalid. +// +// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorizationFault" +// You are not authorized for the SNS subscription. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription +func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { + req, out := c.ModifyEventSubscriptionRequest(input) + return out, req.Send() +} + +// ModifyEventSubscriptionWithContext is the same as ModifyEventSubscription with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyEventSubscription 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 *DatabaseMigrationService) ModifyEventSubscriptionWithContext(ctx aws.Context, input *ModifyEventSubscriptionInput, opts ...request.Option) (*ModifyEventSubscriptionOutput, error) { + req, out := c.ModifyEventSubscriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyReplicationInstance = "ModifyReplicationInstance" // ModifyReplicationInstanceRequest generates a "aws/request.Request" representing the @@ -2380,6 +3576,9 @@ func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyRep // You can't modify the task endpoints. The task must be stopped before you // can modify it. // +// For more information about AWS DMS tasks, see the AWS DMS user guide at +// Working with Migration Tasks (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) +// // 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. @@ -2515,6 +3714,90 @@ func (c *DatabaseMigrationService) RefreshSchemasWithContext(ctx aws.Context, in return out, req.Send() } +const opReloadTables = "ReloadTables" + +// ReloadTablesRequest generates a "aws/request.Request" representing the +// client's request for the ReloadTables operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See ReloadTables for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the ReloadTables method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the ReloadTablesRequest method. +// req, resp := client.ReloadTablesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables +func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) (req *request.Request, output *ReloadTablesOutput) { + op := &request.Operation{ + Name: opReloadTables, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ReloadTablesInput{} + } + + output = &ReloadTablesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ReloadTables API operation for AWS Database Migration Service. +// +// Reloads the target database table with the source data. +// +// 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 Database Migration Service's +// API operation ReloadTables for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault" +// The resource is in a state that prevents it from being used for database +// migration. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables +func (c *DatabaseMigrationService) ReloadTables(input *ReloadTablesInput) (*ReloadTablesOutput, error) { + req, out := c.ReloadTablesRequest(input) + return out, req.Send() +} + +// ReloadTablesWithContext is the same as ReloadTables with the addition of +// the ability to pass a context and additional request options. +// +// See ReloadTables 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 *DatabaseMigrationService) ReloadTablesWithContext(ctx aws.Context, input *ReloadTablesInput, opts ...request.Option) (*ReloadTablesOutput, error) { + req, out := c.ReloadTablesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemoveTagsFromResource = "RemoveTagsFromResource" // RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the @@ -2642,6 +3925,9 @@ func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartRepli // // Starts the replication task. // +// For more information about AWS DMS tasks, see the AWS DMS user guide at +// Working with Migration Tasks (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html) +// // 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. @@ -3183,6 +4469,12 @@ type CreateEndpointInput struct { // The name of the endpoint database. DatabaseName *string `type:"string"` + // Settings in JSON format for the target Amazon DynamoDB endpoint. For more + // information about the available settings, see the Using Object Mapping to + // Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as + // a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html). + DynamoDbSettings *DynamoDbSettings `type:"structure"` + // The database endpoint identifier. Identifiers must begin with a letter; must // contain only ASCII letters, digits, and hyphens; and must not end with a // hyphen or contain two consecutive hyphens. @@ -3195,8 +4487,9 @@ type CreateEndpointInput struct { // EndpointType is a required field EndpointType *string `type:"string" required:"true" enum:"ReplicationEndpointTypeValue"` - // The type of engine for the endpoint. Valid values include MYSQL, ORACLE, - // POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER. + // The type of engine for the endpoint. Valid values, depending on the EndPointType, + // include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, + // MONGODB, and SQLSERVER. // // EngineName is a required field EngineName *string `type:"string" required:"true"` @@ -3211,12 +4504,23 @@ type CreateEndpointInput struct { // key for each AWS region. KmsKeyId *string `type:"string"` + // Settings in JSON format for the source MongoDB endpoint. For more information + // about the available settings, see the Configuration Properties When Using + // MongoDB as a Source for AWS Database Migration Service section at Using + // Amazon S3 as a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html). + MongoDbSettings *MongoDbSettings `type:"structure"` + // The password to be used to login to the endpoint database. Password *string `type:"string"` // The port used by the endpoint database. Port *int64 `type:"integer"` + // Settings in JSON format for the target S3 endpoint. For more information + // about the available settings, see the Extra Connection Attributes section + // at Using Amazon S3 as a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html). + S3Settings *S3Settings `type:"structure"` + // The name of the server where the endpoint database resides. ServerName *string `type:"string"` @@ -3256,6 +4560,11 @@ func (s *CreateEndpointInput) Validate() error { if s.EngineName == nil { invalidParams.Add(request.NewErrParamRequired("EngineName")) } + if s.DynamoDbSettings != nil { + if err := s.DynamoDbSettings.Validate(); err != nil { + invalidParams.AddNested("DynamoDbSettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3275,6 +4584,12 @@ func (s *CreateEndpointInput) SetDatabaseName(v string) *CreateEndpointInput { return s } +// SetDynamoDbSettings sets the DynamoDbSettings field's value. +func (s *CreateEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *CreateEndpointInput { + s.DynamoDbSettings = v + return s +} + // SetEndpointIdentifier sets the EndpointIdentifier field's value. func (s *CreateEndpointInput) SetEndpointIdentifier(v string) *CreateEndpointInput { s.EndpointIdentifier = &v @@ -3305,6 +4620,12 @@ func (s *CreateEndpointInput) SetKmsKeyId(v string) *CreateEndpointInput { return s } +// SetMongoDbSettings sets the MongoDbSettings field's value. +func (s *CreateEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *CreateEndpointInput { + s.MongoDbSettings = v + return s +} + // SetPassword sets the Password field's value. func (s *CreateEndpointInput) SetPassword(v string) *CreateEndpointInput { s.Password = &v @@ -3317,6 +4638,12 @@ func (s *CreateEndpointInput) SetPort(v int64) *CreateEndpointInput { return s } +// SetS3Settings sets the S3Settings field's value. +func (s *CreateEndpointInput) SetS3Settings(v *S3Settings) *CreateEndpointInput { + s.S3Settings = v + return s +} + // SetServerName sets the ServerName field's value. func (s *CreateEndpointInput) SetServerName(v string) *CreateEndpointInput { s.ServerName = &v @@ -3365,6 +4692,145 @@ func (s *CreateEndpointOutput) SetEndpoint(v *Endpoint) *CreateEndpointOutput { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage +type CreateEventSubscriptionInput struct { + _ struct{} `type:"structure"` + + // A Boolean value; set to true to activate the subscription, or set to false + // to create the subscription but not activate it. + Enabled *bool `type:"boolean"` + + // A list of event categories for a source type that you want to subscribe to. + // You can see a list of the categories for a given source type by calling the + // DescribeEventCategories action or in the topic Working with Events and Notifications + // (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the + // AWS Database Migration Service User Guide. + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // The Amazon Resource Name (ARN) of the Amazon SNS topic created for event + // notification. The ARN is created by Amazon SNS when you create a topic and + // subscribe to it. + // + // SnsTopicArn is a required field + SnsTopicArn *string `type:"string" required:"true"` + + // The list of identifiers of the event sources for which events will be returned. + // If not specified, then all sources are included in the response. An identifier + // must begin with a letter and must contain only ASCII letters, digits, and + // hyphens; it cannot end with a hyphen or contain two consecutive hyphens. + SourceIds []*string `locationNameList:"SourceId" type:"list"` + + // The type of AWS DMS resource that generates the events. For example, if you + // want to be notified of events generated by a replication instance, you set + // this parameter to replication-instance. If this value is not specified, all + // events are returned. + // + // Valid values: replication-instance | migration-task + SourceType *string `type:"string"` + + // The name of the DMS event notification subscription. + // + // Constraints: The name must be less than 255 characters. + // + // SubscriptionName is a required field + SubscriptionName *string `type:"string" required:"true"` + + // A tag to be attached to the event subscription. + Tags []*Tag `locationNameList:"Tag" type:"list"` +} + +// String returns the string representation +func (s CreateEventSubscriptionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateEventSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateEventSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateEventSubscriptionInput"} + if s.SnsTopicArn == nil { + invalidParams.Add(request.NewErrParamRequired("SnsTopicArn")) + } + if s.SubscriptionName == nil { + invalidParams.Add(request.NewErrParamRequired("SubscriptionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { + s.Enabled = &v + return s +} + +// SetEventCategories sets the EventCategories field's value. +func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput { + s.EventCategories = v + return s +} + +// SetSnsTopicArn sets the SnsTopicArn field's value. +func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput { + s.SnsTopicArn = &v + return s +} + +// SetSourceIds sets the SourceIds field's value. +func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput { + s.SourceIds = v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput { + s.SourceType = &v + return s +} + +// SetSubscriptionName sets the SubscriptionName field's value. +func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput { + s.SubscriptionName = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput { + s.Tags = v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionResponse +type CreateEventSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // The event subscription that was created. + EventSubscription *EventSubscription `type:"structure"` +} + +// String returns the string representation +func (s CreateEventSubscriptionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateEventSubscriptionOutput) GoString() string { + return s.String() +} + +// SetEventSubscription sets the EventSubscription field's value. +func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput { + s.EventSubscription = v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage type CreateReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -3710,7 +5176,7 @@ type CreateReplicationTaskInput struct { // // Constraints: // - // * Must contain from 1 to 63 alphanumeric characters or hyphens. + // * Must contain from 1 to 255 alphanumeric characters or hyphens. // // * First character must be a letter. // @@ -3729,8 +5195,9 @@ type CreateReplicationTaskInput struct { // SourceEndpointArn is a required field SourceEndpointArn *string `type:"string" required:"true"` - // The path of the JSON file that contains the table mappings. Preceed the path - // with "file://". + // When using the AWS CLI or boto3, provide the path of the JSON file that contains + // the table mappings. Precede the path with "file://". When working with the + // DMS API, provide the JSON as the parameter value. // // For example, --table-mappings file://mappingfile.json // @@ -3988,6 +5455,69 @@ func (s *DeleteEndpointOutput) SetEndpoint(v *Endpoint) *DeleteEndpointOutput { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionMessage +type DeleteEventSubscriptionInput struct { + _ struct{} `type:"structure"` + + // The name of the DMS event notification subscription to be deleted. + // + // SubscriptionName is a required field + SubscriptionName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteEventSubscriptionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteEventSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteEventSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEventSubscriptionInput"} + if s.SubscriptionName == nil { + invalidParams.Add(request.NewErrParamRequired("SubscriptionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSubscriptionName sets the SubscriptionName field's value. +func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput { + s.SubscriptionName = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse +type DeleteEventSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // The event subscription that was deleted. + EventSubscription *EventSubscription `type:"structure"` +} + +// String returns the string representation +func (s DeleteEventSubscriptionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteEventSubscriptionOutput) GoString() string { + return s.String() +} + +// SetEventSubscription sets the EventSubscription field's value. +func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput { + s.EventSubscription = v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceMessage type DeleteReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -4630,6 +6160,362 @@ func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage +type DescribeEventCategoriesInput struct { + _ struct{} `type:"structure"` + + // Filters applied to the action. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // The type of AWS DMS resource that generates events. + // + // Valid values: replication-instance | migration-task + SourceType *string `type:"string"` +} + +// String returns the string representation +func (s DescribeEventCategoriesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventCategoriesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeEventCategoriesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeEventCategoriesInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput { + s.Filters = v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput { + s.SourceType = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesResponse +type DescribeEventCategoriesOutput struct { + _ struct{} `type:"structure"` + + // A list of event categories. + EventCategoryGroupList []*EventCategoryGroup `locationNameList:"EventCategoryGroup" type:"list"` +} + +// String returns the string representation +func (s DescribeEventCategoriesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventCategoriesOutput) GoString() string { + return s.String() +} + +// SetEventCategoryGroupList sets the EventCategoryGroupList field's value. +func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCategoryGroup) *DescribeEventCategoriesOutput { + s.EventCategoryGroupList = v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsMessage +type DescribeEventSubscriptionsInput struct { + _ struct{} `type:"structure"` + + // Filters applied to the action. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of records to include in the response. If more records + // exist than the specified MaxRecords value, a pagination token called a marker + // is included in the response so that the remaining results can be retrieved. + // + // Default: 100 + // + // Constraints: Minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // The name of the AWS DMS event subscription to be described. + SubscriptionName *string `type:"string"` +} + +// String returns the string representation +func (s DescribeEventSubscriptionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventSubscriptionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeEventSubscriptionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeEventSubscriptionsInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput { + s.Filters = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput { + s.MaxRecords = &v + return s +} + +// SetSubscriptionName sets the SubscriptionName field's value. +func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput { + s.SubscriptionName = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsResponse +type DescribeEventSubscriptionsOutput struct { + _ struct{} `type:"structure"` + + // A list of event subscriptions. + EventSubscriptionsList []*EventSubscription `locationNameList:"EventSubscription" type:"list"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` +} + +// String returns the string representation +func (s DescribeEventSubscriptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventSubscriptionsOutput) GoString() string { + return s.String() +} + +// SetEventSubscriptionsList sets the EventSubscriptionsList field's value. +func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput { + s.EventSubscriptionsList = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput { + s.Marker = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsMessage +type DescribeEventsInput struct { + _ struct{} `type:"structure"` + + // The duration of the events to be listed. + Duration *int64 `type:"integer"` + + // The end time for the events to be listed. + EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` + + // A list of event categories for a source type that you want to subscribe to. + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // Filters applied to the action. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of records to include in the response. If more records + // exist than the specified MaxRecords value, a pagination token called a marker + // is included in the response so that the remaining results can be retrieved. + // + // Default: 100 + // + // Constraints: Minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // The identifier of the event source. An identifier must begin with a letter + // and must contain only ASCII letters, digits, and hyphens. It cannot end with + // a hyphen or contain two consecutive hyphens. + SourceIdentifier *string `type:"string"` + + // The type of AWS DMS resource that generates events. + // + // Valid values: replication-instance | migration-task + SourceType *string `type:"string" enum:"SourceType"` + + // The start time for the events to be listed. + StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s DescribeEventsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeEventsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeEventsInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDuration sets the Duration field's value. +func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { + s.Duration = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { + s.EndTime = &v + return s +} + +// SetEventCategories sets the EventCategories field's value. +func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput { + s.EventCategories = v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput { + s.Filters = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { + s.MaxRecords = &v + return s +} + +// SetSourceIdentifier sets the SourceIdentifier field's value. +func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput { + s.SourceIdentifier = &v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput { + s.SourceType = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { + s.StartTime = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsResponse +type DescribeEventsOutput struct { + _ struct{} `type:"structure"` + + // The events described. + Events []*Event `locationNameList:"Event" type:"list"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` +} + +// String returns the string representation +func (s DescribeEventsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventsOutput) GoString() string { + return s.String() +} + +// SetEvents sets the Events field's value. +func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput { + s.Events = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { + s.Marker = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesMessage type DescribeOrderableReplicationInstancesInput struct { _ struct{} `type:"structure"` @@ -5299,6 +7185,45 @@ func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []*TableStatistics) return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DynamoDbSettings +type DynamoDbSettings struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) used by the service access IAM role. + // + // ServiceAccessRoleArn is a required field + ServiceAccessRoleArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DynamoDbSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DynamoDbSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamoDbSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamoDbSettings"} + if s.ServiceAccessRoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceAccessRoleArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value. +func (s *DynamoDbSettings) SetServiceAccessRoleArn(v string) *DynamoDbSettings { + s.ServiceAccessRoleArn = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -5309,6 +7234,10 @@ type Endpoint struct { // The name of the database at the endpoint. DatabaseName *string `type:"string"` + // The settings for the target DynamoDB database. For more information, see + // the DynamoDBSettings structure. + DynamoDbSettings *DynamoDbSettings `type:"structure"` + // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. EndpointArn *string `type:"string"` @@ -5320,10 +7249,16 @@ type Endpoint struct { // The type of endpoint. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"` - // The database engine name. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, - // AURORA, REDSHIFT, SYBASE, and SQLSERVER. + // The database engine name. Valid values, depending on the EndPointType, include + // MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, + // MONGODB, and SQLSERVER. EngineName *string `type:"string"` + // Value returned by a call to CreateEndpoint that can be used for cross-account + // validation. Use it on a subsequent call to CreateEndpoint to create the endpoint + // with a cross-account. + ExternalId *string `type:"string"` + // Additional connection attributes used to connect to the endpoint. ExtraConnectionAttributes *string `type:"string"` @@ -5334,9 +7269,17 @@ type Endpoint struct { // key for each AWS region. KmsKeyId *string `type:"string"` + // The settings for the MongoDB source endpoint. For more information, see the + // MongoDbSettings structure. + MongoDbSettings *MongoDbSettings `type:"structure"` + // The port value used to access the endpoint. Port *int64 `type:"integer"` + // The settings for the S3 target endpoint. For more information, see the S3Settings + // structure. + S3Settings *S3Settings `type:"structure"` + // The name of the server at the endpoint. ServerName *string `type:"string"` @@ -5376,6 +7319,12 @@ func (s *Endpoint) SetDatabaseName(v string) *Endpoint { return s } +// SetDynamoDbSettings sets the DynamoDbSettings field's value. +func (s *Endpoint) SetDynamoDbSettings(v *DynamoDbSettings) *Endpoint { + s.DynamoDbSettings = v + return s +} + // SetEndpointArn sets the EndpointArn field's value. func (s *Endpoint) SetEndpointArn(v string) *Endpoint { s.EndpointArn = &v @@ -5400,6 +7349,12 @@ func (s *Endpoint) SetEngineName(v string) *Endpoint { return s } +// SetExternalId sets the ExternalId field's value. +func (s *Endpoint) SetExternalId(v string) *Endpoint { + s.ExternalId = &v + return s +} + // SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value. func (s *Endpoint) SetExtraConnectionAttributes(v string) *Endpoint { s.ExtraConnectionAttributes = &v @@ -5412,12 +7367,24 @@ func (s *Endpoint) SetKmsKeyId(v string) *Endpoint { return s } +// SetMongoDbSettings sets the MongoDbSettings field's value. +func (s *Endpoint) SetMongoDbSettings(v *MongoDbSettings) *Endpoint { + s.MongoDbSettings = v + return s +} + // SetPort sets the Port field's value. func (s *Endpoint) SetPort(v int64) *Endpoint { s.Port = &v return s } +// SetS3Settings sets the S3Settings field's value. +func (s *Endpoint) SetS3Settings(v *S3Settings) *Endpoint { + s.S3Settings = v + return s +} + // SetServerName sets the ServerName field's value. func (s *Endpoint) SetServerName(v string) *Endpoint { s.ServerName = &v @@ -5442,6 +7409,216 @@ func (s *Endpoint) SetUsername(v string) *Endpoint { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Event +type Event struct { + _ struct{} `type:"structure"` + + // The date of the event. + Date *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The event categories available for the specified source type. + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // The event message. + Message *string `type:"string"` + + // The identifier of the event source. An identifier must begin with a letter + // and must contain only ASCII letters, digits, and hyphens; it cannot end with + // a hyphen or contain two consecutive hyphens. + // + // Constraints:replication instance, endpoint, migration task + SourceIdentifier *string `type:"string"` + + // The type of AWS DMS resource that generates events. + // + // Valid values: replication-instance | endpoint | migration-task + SourceType *string `type:"string" enum:"SourceType"` +} + +// String returns the string representation +func (s Event) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Event) GoString() string { + return s.String() +} + +// SetDate sets the Date field's value. +func (s *Event) SetDate(v time.Time) *Event { + s.Date = &v + return s +} + +// SetEventCategories sets the EventCategories field's value. +func (s *Event) SetEventCategories(v []*string) *Event { + s.EventCategories = v + return s +} + +// SetMessage sets the Message field's value. +func (s *Event) SetMessage(v string) *Event { + s.Message = &v + return s +} + +// SetSourceIdentifier sets the SourceIdentifier field's value. +func (s *Event) SetSourceIdentifier(v string) *Event { + s.SourceIdentifier = &v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *Event) SetSourceType(v string) *Event { + s.SourceType = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventCategoryGroup +type EventCategoryGroup struct { + _ struct{} `type:"structure"` + + // A list of event categories for a SourceType that you want to subscribe to. + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // The type of AWS DMS resource that generates events. + // + // Valid values: replication-instance | replication-server | security-group + // | migration-task + SourceType *string `type:"string"` +} + +// String returns the string representation +func (s EventCategoryGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EventCategoryGroup) GoString() string { + return s.String() +} + +// SetEventCategories sets the EventCategories field's value. +func (s *EventCategoryGroup) SetEventCategories(v []*string) *EventCategoryGroup { + s.EventCategories = v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *EventCategoryGroup) SetSourceType(v string) *EventCategoryGroup { + s.SourceType = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventSubscription +type EventSubscription struct { + _ struct{} `type:"structure"` + + // The AWS DMS event notification subscription Id. + CustSubscriptionId *string `type:"string"` + + // The AWS customer account associated with the AWS DMS event notification subscription. + CustomerAwsId *string `type:"string"` + + // Boolean value that indicates if the event subscription is enabled. + Enabled *bool `type:"boolean"` + + // A lists of event categories. + EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"` + + // The topic ARN of the AWS DMS event notification subscription. + SnsTopicArn *string `type:"string"` + + // A list of source Ids for the event subscription. + SourceIdsList []*string `locationNameList:"SourceId" type:"list"` + + // The type of AWS DMS resource that generates events. + // + // Valid values: replication-instance | replication-server | security-group + // | migration-task + SourceType *string `type:"string"` + + // The status of the AWS DMS event notification subscription. + // + // Constraints: + // + // Can be one of the following: creating | modifying | deleting | active | no-permission + // | topic-not-exist + // + // The status "no-permission" indicates that AWS DMS no longer has permission + // to post to the SNS topic. The status "topic-not-exist" indicates that the + // topic was deleted after the subscription was created. + Status *string `type:"string"` + + // The time the RDS event notification subscription was created. + SubscriptionCreationTime *string `type:"string"` +} + +// String returns the string representation +func (s EventSubscription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EventSubscription) GoString() string { + return s.String() +} + +// SetCustSubscriptionId sets the CustSubscriptionId field's value. +func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription { + s.CustSubscriptionId = &v + return s +} + +// SetCustomerAwsId sets the CustomerAwsId field's value. +func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription { + s.CustomerAwsId = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *EventSubscription) SetEnabled(v bool) *EventSubscription { + s.Enabled = &v + return s +} + +// SetEventCategoriesList sets the EventCategoriesList field's value. +func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription { + s.EventCategoriesList = v + return s +} + +// SetSnsTopicArn sets the SnsTopicArn field's value. +func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription { + s.SnsTopicArn = &v + return s +} + +// SetSourceIdsList sets the SourceIdsList field's value. +func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription { + s.SourceIdsList = v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *EventSubscription) SetSourceType(v string) *EventSubscription { + s.SourceType = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *EventSubscription) SetStatus(v string) *EventSubscription { + s.Status = &v + return s +} + +// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value. +func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription { + s.SubscriptionCreationTime = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Filter type Filter struct { _ struct{} `type:"structure"` @@ -5653,6 +7830,12 @@ type ModifyEndpointInput struct { // The name of the endpoint database. DatabaseName *string `type:"string"` + // Settings in JSON format for the target Amazon DynamoDB endpoint. For more + // information about the available settings, see the Using Object Mapping to + // Migrate Data to DynamoDB section at Using an Amazon DynamoDB Database as + // a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html). + DynamoDbSettings *DynamoDbSettings `type:"structure"` + // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. // // EndpointArn is a required field @@ -5666,19 +7849,31 @@ type ModifyEndpointInput struct { // The type of endpoint. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"` - // The type of engine for the endpoint. Valid values include MYSQL, ORACLE, - // POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER. + // The type of engine for the endpoint. Valid values, depending on the EndPointType, + // include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, + // MONGODB, SYBASE, and SQLSERVER. EngineName *string `type:"string"` // Additional attributes associated with the connection. ExtraConnectionAttributes *string `type:"string"` + // Settings in JSON format for the source MongoDB endpoint. For more information + // about the available settings, see the Configuration Properties When Using + // MongoDB as a Source for AWS Database Migration Service section at Using + // Amazon S3 as a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html). + MongoDbSettings *MongoDbSettings `type:"structure"` + // The password to be used to login to the endpoint database. Password *string `type:"string"` // The port used by the endpoint database. Port *int64 `type:"integer"` + // Settings in JSON format for the target S3 endpoint. For more information + // about the available settings, see the Extra Connection Attributes section + // at Using Amazon S3 as a Target for AWS Database Migration Service (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html). + S3Settings *S3Settings `type:"structure"` + // The name of the server where the endpoint database resides. ServerName *string `type:"string"` @@ -5709,6 +7904,11 @@ func (s *ModifyEndpointInput) Validate() error { if s.EndpointArn == nil { invalidParams.Add(request.NewErrParamRequired("EndpointArn")) } + if s.DynamoDbSettings != nil { + if err := s.DynamoDbSettings.Validate(); err != nil { + invalidParams.AddNested("DynamoDbSettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5728,6 +7928,12 @@ func (s *ModifyEndpointInput) SetDatabaseName(v string) *ModifyEndpointInput { return s } +// SetDynamoDbSettings sets the DynamoDbSettings field's value. +func (s *ModifyEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *ModifyEndpointInput { + s.DynamoDbSettings = v + return s +} + // SetEndpointArn sets the EndpointArn field's value. func (s *ModifyEndpointInput) SetEndpointArn(v string) *ModifyEndpointInput { s.EndpointArn = &v @@ -5758,6 +7964,12 @@ func (s *ModifyEndpointInput) SetExtraConnectionAttributes(v string) *ModifyEndp return s } +// SetMongoDbSettings sets the MongoDbSettings field's value. +func (s *ModifyEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *ModifyEndpointInput { + s.MongoDbSettings = v + return s +} + // SetPassword sets the Password field's value. func (s *ModifyEndpointInput) SetPassword(v string) *ModifyEndpointInput { s.Password = &v @@ -5770,6 +7982,12 @@ func (s *ModifyEndpointInput) SetPort(v int64) *ModifyEndpointInput { return s } +// SetS3Settings sets the S3Settings field's value. +func (s *ModifyEndpointInput) SetS3Settings(v *S3Settings) *ModifyEndpointInput { + s.S3Settings = v + return s +} + // SetServerName sets the ServerName field's value. func (s *ModifyEndpointInput) SetServerName(v string) *ModifyEndpointInput { s.ServerName = &v @@ -5812,6 +8030,111 @@ func (s *ModifyEndpointOutput) SetEndpoint(v *Endpoint) *ModifyEndpointOutput { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionMessage +type ModifyEventSubscriptionInput struct { + _ struct{} `type:"structure"` + + // A Boolean value; set to true to activate the subscription. + Enabled *bool `type:"boolean"` + + // A list of event categories for a source type that you want to subscribe to. + // Use the DescribeEventCategories action to see a list of event categories. + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // The Amazon Resource Name (ARN) of the Amazon SNS topic created for event + // notification. The ARN is created by Amazon SNS when you create a topic and + // subscribe to it. + SnsTopicArn *string `type:"string"` + + // The type of AWS DMS resource that generates the events you want to subscribe + // to. + // + // Valid values: replication-instance | migration-task + SourceType *string `type:"string"` + + // The name of the AWS DMS event notification subscription to be modified. + // + // SubscriptionName is a required field + SubscriptionName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ModifyEventSubscriptionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyEventSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyEventSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyEventSubscriptionInput"} + if s.SubscriptionName == nil { + invalidParams.Add(request.NewErrParamRequired("SubscriptionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput { + s.Enabled = &v + return s +} + +// SetEventCategories sets the EventCategories field's value. +func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput { + s.EventCategories = v + return s +} + +// SetSnsTopicArn sets the SnsTopicArn field's value. +func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput { + s.SnsTopicArn = &v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput { + s.SourceType = &v + return s +} + +// SetSubscriptionName sets the SubscriptionName field's value. +func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput { + s.SubscriptionName = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionResponse +type ModifyEventSubscriptionOutput struct { + _ struct{} `type:"structure"` + + // The modified event subscription. + EventSubscription *EventSubscription `type:"structure"` +} + +// String returns the string representation +func (s ModifyEventSubscriptionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyEventSubscriptionOutput) GoString() string { + return s.String() +} + +// SetEventSubscription sets the EventSubscription field's value. +func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput { + s.EventSubscription = v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceMessage type ModifyReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -6106,7 +8429,7 @@ type ModifyReplicationTaskInput struct { // // Constraints: // - // * Must contain from 1 to 63 alphanumeric characters or hyphens. + // * Must contain from 1 to 255 alphanumeric characters or hyphens. // // * First character must be a letter. // @@ -6116,8 +8439,9 @@ type ModifyReplicationTaskInput struct { // JSON file that contains settings for the task, such as target metadata settings. ReplicationTaskSettings *string `type:"string"` - // The path of the JSON file that contains the table mappings. Preceed the path - // with "file://". + // When using the AWS CLI or boto3, provide the path of the JSON file that contains + // the table mappings. Precede the path with "file://". When working with the + // DMS API, provide the JSON as the parameter value. // // For example, --table-mappings file://mappingfile.json TableMappings *string `type:"string"` @@ -6206,6 +8530,143 @@ func (s *ModifyReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Mo return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings +type MongoDbSettings struct { + _ struct{} `type:"structure"` + + // The authentication mechanism you use to access the MongoDB source endpoint. + // + // Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1 + // + // DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, + // use SCRAM_SHA_1. This attribute is not used when authType=No. + AuthMechanism *string `type:"string" enum:"AuthMechanismValue"` + + // The MongoDB database name. This attribute is not used when authType=NO. + // + // The default is admin. + AuthSource *string `type:"string"` + + // The authentication type you use to access the MongoDB source endpoint. + // + // Valid values: NO, PASSWORD + // + // When NO is selected, user name and password parameters are not used and can + // be empty. + AuthType *string `type:"string" enum:"AuthTypeValue"` + + // The database name on the MongoDB source endpoint. + DatabaseName *string `type:"string"` + + // Indicates the number of documents to preview to determine the document organization. + // Use this attribute when NestingLevel is set to ONE. + // + // Must be a positive value greater than 0. Default value is 1000. + DocsToInvestigate *string `type:"string"` + + // Specifies the document ID. Use this attribute when NestingLevel is set to + // NONE. + // + // Default value is false. + ExtractDocId *string `type:"string"` + + // Specifies either document or table mode. + // + // Valid values: NONE, ONE + // + // Default value is NONE. Specify NONE to use document mode. Specify ONE to + // use table mode. + NestingLevel *string `type:"string" enum:"NestingLevelValue"` + + // The password for the user account you use to access the MongoDB source endpoint. + Password *string `type:"string"` + + // The port value for the MongoDB source endpoint. + Port *int64 `type:"integer"` + + // The name of the server on the MongoDB source endpoint. + ServerName *string `type:"string"` + + // The user name you use to access the MongoDB source endpoint. + Username *string `type:"string"` +} + +// String returns the string representation +func (s MongoDbSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MongoDbSettings) GoString() string { + return s.String() +} + +// SetAuthMechanism sets the AuthMechanism field's value. +func (s *MongoDbSettings) SetAuthMechanism(v string) *MongoDbSettings { + s.AuthMechanism = &v + return s +} + +// SetAuthSource sets the AuthSource field's value. +func (s *MongoDbSettings) SetAuthSource(v string) *MongoDbSettings { + s.AuthSource = &v + return s +} + +// SetAuthType sets the AuthType field's value. +func (s *MongoDbSettings) SetAuthType(v string) *MongoDbSettings { + s.AuthType = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *MongoDbSettings) SetDatabaseName(v string) *MongoDbSettings { + s.DatabaseName = &v + return s +} + +// SetDocsToInvestigate sets the DocsToInvestigate field's value. +func (s *MongoDbSettings) SetDocsToInvestigate(v string) *MongoDbSettings { + s.DocsToInvestigate = &v + return s +} + +// SetExtractDocId sets the ExtractDocId field's value. +func (s *MongoDbSettings) SetExtractDocId(v string) *MongoDbSettings { + s.ExtractDocId = &v + return s +} + +// SetNestingLevel sets the NestingLevel field's value. +func (s *MongoDbSettings) SetNestingLevel(v string) *MongoDbSettings { + s.NestingLevel = &v + return s +} + +// SetPassword sets the Password field's value. +func (s *MongoDbSettings) SetPassword(v string) *MongoDbSettings { + s.Password = &v + return s +} + +// SetPort sets the Port field's value. +func (s *MongoDbSettings) SetPort(v int64) *MongoDbSettings { + s.Port = &v + return s +} + +// SetServerName sets the ServerName field's value. +func (s *MongoDbSettings) SetServerName(v string) *MongoDbSettings { + s.ServerName = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *MongoDbSettings) SetUsername(v string) *MongoDbSettings { + s.Username = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OrderableReplicationInstance type OrderableReplicationInstance struct { _ struct{} `type:"structure"` @@ -6428,6 +8889,83 @@ func (s *RefreshSchemasStatus) SetStatus(v string) *RefreshSchemasStatus { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesMessage +type ReloadTablesInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the replication instance. + // + // ReplicationTaskArn is a required field + ReplicationTaskArn *string `type:"string" required:"true"` + + // The name and schema of the table to be reloaded. + // + // TablesToReload is a required field + TablesToReload []*TableToReload `type:"list" required:"true"` +} + +// String returns the string representation +func (s ReloadTablesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReloadTablesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReloadTablesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReloadTablesInput"} + if s.ReplicationTaskArn == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn")) + } + if s.TablesToReload == nil { + invalidParams.Add(request.NewErrParamRequired("TablesToReload")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *ReloadTablesInput) SetReplicationTaskArn(v string) *ReloadTablesInput { + s.ReplicationTaskArn = &v + return s +} + +// SetTablesToReload sets the TablesToReload field's value. +func (s *ReloadTablesInput) SetTablesToReload(v []*TableToReload) *ReloadTablesInput { + s.TablesToReload = v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesResponse +type ReloadTablesOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the replication task. + ReplicationTaskArn *string `type:"string"` +} + +// String returns the string representation +func (s ReloadTablesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReloadTablesOutput) GoString() string { + return s.String() +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *ReloadTablesOutput) SetReplicationTaskArn(v string) *ReloadTablesOutput { + s.ReplicationTaskArn = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -6863,7 +9401,7 @@ type ReplicationTask struct { // // Constraints: // - // * Must contain from 1 to 63 alphanumeric characters or hyphens. + // * Must contain from 1 to 255 alphanumeric characters or hyphens. // // * First character must be a letter. // @@ -7059,6 +9597,89 @@ func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings +type S3Settings struct { + _ struct{} `type:"structure"` + + // An optional parameter to set a folder name in the S3 bucket. If provided, + // tables are created in the path ///. + // If this parameter is not specified, then the path used is //. + BucketFolder *string `type:"string"` + + // The name of the S3 bucket. + BucketName *string `type:"string"` + + // An optional parameter to use GZIP to compress the target files. Set to GZIP + // to compress the target files. Set to NONE (the default) or do not use to + // leave the files uncompressed. + CompressionType *string `type:"string" enum:"CompressionTypeValue"` + + // The delimiter used to separate columns in the source files. The default is + // a comma. + CsvDelimiter *string `type:"string"` + + // The delimiter used to separate rows in the source files. The default is a + // carriage return (\n). + CsvRowDelimiter *string `type:"string"` + + ExternalTableDefinition *string `type:"string"` + + // The Amazon Resource Name (ARN) used by the service access IAM role. + ServiceAccessRoleArn *string `type:"string"` +} + +// String returns the string representation +func (s S3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s S3Settings) GoString() string { + return s.String() +} + +// SetBucketFolder sets the BucketFolder field's value. +func (s *S3Settings) SetBucketFolder(v string) *S3Settings { + s.BucketFolder = &v + return s +} + +// SetBucketName sets the BucketName field's value. +func (s *S3Settings) SetBucketName(v string) *S3Settings { + s.BucketName = &v + return s +} + +// SetCompressionType sets the CompressionType field's value. +func (s *S3Settings) SetCompressionType(v string) *S3Settings { + s.CompressionType = &v + return s +} + +// SetCsvDelimiter sets the CsvDelimiter field's value. +func (s *S3Settings) SetCsvDelimiter(v string) *S3Settings { + s.CsvDelimiter = &v + return s +} + +// SetCsvRowDelimiter sets the CsvRowDelimiter field's value. +func (s *S3Settings) SetCsvRowDelimiter(v string) *S3Settings { + s.CsvRowDelimiter = &v + return s +} + +// SetExternalTableDefinition sets the ExternalTableDefinition field's value. +func (s *S3Settings) SetExternalTableDefinition(v string) *S3Settings { + s.ExternalTableDefinition = &v + return s +} + +// SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value. +func (s *S3Settings) SetServiceAccessRoleArn(v string) *S3Settings { + s.ServiceAccessRoleArn = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage type StartReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -7257,8 +9878,9 @@ type SupportedEndpointType struct { // The type of endpoint. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"` - // The database engine name. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, - // AURORA, REDSHIFT, SYBASE, and SQLSERVER. + // The database engine name. Valid values, depending on the EndPointType, include + // MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, + // MONGODB, and SQLSERVER. EngineName *string `type:"string"` // Indicates if Change Data Capture (CDC) is supported. @@ -7390,6 +10012,39 @@ func (s *TableStatistics) SetUpdates(v int64) *TableStatistics { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableToReload +type TableToReload struct { + _ struct{} `type:"structure"` + + // The schema name of the table to be reloaded. + SchemaName *string `type:"string"` + + // The table name of the table to be reloaded. + TableName *string `type:"string"` +} + +// String returns the string representation +func (s TableToReload) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TableToReload) GoString() string { + return s.String() +} + +// SetSchemaName sets the SchemaName field's value. +func (s *TableToReload) SetSchemaName(v string) *TableToReload { + s.SchemaName = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *TableToReload) SetTableName(v string) *TableToReload { + s.TableName = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -7539,6 +10194,33 @@ func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurit return s } +const ( + // AuthMechanismValueDefault is a AuthMechanismValue enum value + AuthMechanismValueDefault = "default" + + // AuthMechanismValueMongodbCr is a AuthMechanismValue enum value + AuthMechanismValueMongodbCr = "mongodb_cr" + + // AuthMechanismValueScramSha1 is a AuthMechanismValue enum value + AuthMechanismValueScramSha1 = "scram_sha_1" +) + +const ( + // AuthTypeValueNo is a AuthTypeValue enum value + AuthTypeValueNo = "no" + + // AuthTypeValuePassword is a AuthTypeValue enum value + AuthTypeValuePassword = "password" +) + +const ( + // CompressionTypeValueNone is a CompressionTypeValue enum value + CompressionTypeValueNone = "none" + + // CompressionTypeValueGzip is a CompressionTypeValue enum value + CompressionTypeValueGzip = "gzip" +) + const ( // DmsSslModeValueNone is a DmsSslModeValue enum value DmsSslModeValueNone = "none" @@ -7564,6 +10246,14 @@ const ( MigrationTypeValueFullLoadAndCdc = "full-load-and-cdc" ) +const ( + // NestingLevelValueNone is a NestingLevelValue enum value + NestingLevelValueNone = "none" + + // NestingLevelValueOne is a NestingLevelValue enum value + NestingLevelValueOne = "one" +) + const ( // RefreshSchemasStatusTypeValueSuccessful is a RefreshSchemasStatusTypeValue enum value RefreshSchemasStatusTypeValueSuccessful = "successful" @@ -7583,6 +10273,11 @@ const ( ReplicationEndpointTypeValueTarget = "target" ) +const ( + // SourceTypeReplicationInstance is a SourceType enum value + SourceTypeReplicationInstance = "replication-instance" +) + const ( // StartReplicationTaskTypeValueStartReplication is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueStartReplication = "start-replication" diff --git a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/doc.go b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/doc.go index c0dafec86..e773cf260 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/doc.go @@ -11,6 +11,9 @@ // between different database platforms, such as Oracle to MySQL or SQL Server // to PostgreSQL. // +// For more information about AWS DMS, see the AWS DMS user guide at What Is +// AWS Database Migration Service? (http://docs.aws.amazon.com/dms/latest/userguide/Welcome.html) +// // See https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01 for more information on this service. // // See databasemigrationservice package documentation for more information. diff --git a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/errors.go b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/errors.go index 01d12048a..9bb02f3a9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/errors.go @@ -66,6 +66,18 @@ const ( // The quota for this resource quota has been exceeded. ErrCodeResourceQuotaExceededFault = "ResourceQuotaExceededFault" + // ErrCodeSNSInvalidTopicFault for service response error code + // "SNSInvalidTopicFault". + // + // The SNS topic is invalid. + ErrCodeSNSInvalidTopicFault = "SNSInvalidTopicFault" + + // ErrCodeSNSNoAuthorizationFault for service response error code + // "SNSNoAuthorizationFault". + // + // You are not authorized for the SNS subscription. + ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorizationFault" + // ErrCodeStorageQuotaExceededFault for service response error code // "StorageQuotaExceededFault". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go index d5fadd720..e36e0f13f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go @@ -2272,6 +2272,12 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, // You've reached the limit on the number of times a target can be registered // with a load balancer. // +// * ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. +// +// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. +// // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule func (c *ELBV2) ModifyRule(input *ModifyRuleInput) (*ModifyRuleOutput, error) { req, out := c.ModifyRuleRequest(input) @@ -4523,6 +4529,13 @@ type DescribeRulesInput struct { // The Amazon Resource Name (ARN) of the listener. ListenerArn *string `type:"string"` + // The marker for the next set of results. (You received this marker from a + // previous call.) + Marker *string `type:"string"` + + // The maximum number of results to return with this call. + PageSize *int64 `min:"1" type:"integer"` + // The Amazon Resource Names (ARN) of the rules. RuleArns []*string `type:"list"` } @@ -4537,12 +4550,37 @@ func (s DescribeRulesInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeRulesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeRulesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetListenerArn sets the ListenerArn field's value. func (s *DescribeRulesInput) SetListenerArn(v string) *DescribeRulesInput { s.ListenerArn = &v return s } +// SetMarker sets the Marker field's value. +func (s *DescribeRulesInput) SetMarker(v string) *DescribeRulesInput { + s.Marker = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *DescribeRulesInput) SetPageSize(v int64) *DescribeRulesInput { + s.PageSize = &v + return s +} + // SetRuleArns sets the RuleArns field's value. func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput { s.RuleArns = v @@ -4553,6 +4591,10 @@ func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput { type DescribeRulesOutput struct { _ struct{} `type:"structure"` + // The marker to use when requesting the next set of results. If there are no + // additional results, the string is empty. + NextMarker *string `type:"string"` + // Information about the rules. Rules []*Rule `type:"list"` } @@ -4567,6 +4609,12 @@ func (s DescribeRulesOutput) GoString() string { return s.String() } +// SetNextMarker sets the NextMarker field's value. +func (s *DescribeRulesOutput) SetNextMarker(v string) *DescribeRulesOutput { + s.NextMarker = &v + return s +} + // SetRules sets the Rules field's value. func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput { s.Rules = v diff --git a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go index 13bfbb577..f8313b0e7 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go @@ -72,6 +72,10 @@ func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) (req * // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -173,6 +177,10 @@ func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -274,6 +282,10 @@ func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPo // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -375,6 +387,10 @@ func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -477,6 +493,10 @@ func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -579,6 +599,10 @@ func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotI // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -680,6 +704,10 @@ func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -782,6 +810,10 @@ func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFro // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -883,6 +915,10 @@ func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -984,6 +1020,10 @@ func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1085,6 +1125,10 @@ func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1186,6 +1230,10 @@ func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1287,6 +1335,10 @@ func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotI // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1388,6 +1440,10 @@ func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1489,6 +1545,10 @@ func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1590,6 +1650,10 @@ func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairI // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1691,6 +1755,10 @@ func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1795,6 +1863,10 @@ func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1897,6 +1969,10 @@ func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -1998,6 +2074,10 @@ func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2099,6 +2179,10 @@ func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2201,6 +2285,10 @@ func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2303,6 +2391,10 @@ func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDeta // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2405,6 +2497,10 @@ func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInp // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2506,6 +2602,10 @@ func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInp // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2607,6 +2707,10 @@ func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2708,6 +2812,10 @@ func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2809,6 +2917,10 @@ func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req * // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -2911,6 +3023,10 @@ func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3012,6 +3128,10 @@ func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3113,6 +3233,10 @@ func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3216,6 +3340,10 @@ func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3321,6 +3449,10 @@ func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3422,6 +3554,10 @@ func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResou // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3506,7 +3642,8 @@ func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Requ // GetRegions API operation for Amazon Lightsail. // -// Returns a list of all valid regions for Amazon Lightsail. +// Returns a list of all valid regions for Amazon Lightsail. Use the include +// availability zones parameter to also return the availability zones in a region. // // 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 @@ -3523,6 +3660,10 @@ func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3624,6 +3765,10 @@ func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3725,6 +3870,10 @@ func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3826,6 +3975,10 @@ func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -3927,6 +4080,10 @@ func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4028,6 +4185,10 @@ func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPort // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4129,6 +4290,10 @@ func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, o // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4168,6 +4333,112 @@ func (c *Lightsail) PeerVpcWithContext(ctx aws.Context, input *PeerVpcInput, opt return out, req.Send() } +const opPutInstancePublicPorts = "PutInstancePublicPorts" + +// PutInstancePublicPortsRequest generates a "aws/request.Request" representing the +// client's request for the PutInstancePublicPorts operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See PutInstancePublicPorts for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the PutInstancePublicPorts method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the PutInstancePublicPortsRequest method. +// req, resp := client.PutInstancePublicPortsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts +func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) (req *request.Request, output *PutInstancePublicPortsOutput) { + op := &request.Operation{ + Name: opPutInstancePublicPorts, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutInstancePublicPortsInput{} + } + + output = &PutInstancePublicPortsOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutInstancePublicPorts API operation for Amazon Lightsail. +// +// Sets the specified open ports for an Amazon Lightsail instance, and closes +// all ports for every protocol not included in the current request. +// +// 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 Lightsail's +// API operation PutInstancePublicPorts for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts +func (c *Lightsail) PutInstancePublicPorts(input *PutInstancePublicPortsInput) (*PutInstancePublicPortsOutput, error) { + req, out := c.PutInstancePublicPortsRequest(input) + return out, req.Send() +} + +// PutInstancePublicPortsWithContext is the same as PutInstancePublicPorts with the addition of +// the ability to pass a context and additional request options. +// +// See PutInstancePublicPorts 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 *Lightsail) PutInstancePublicPortsWithContext(ctx aws.Context, input *PutInstancePublicPortsInput, opts ...request.Option) (*PutInstancePublicPortsOutput, error) { + req, out := c.PutInstancePublicPortsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRebootInstance = "RebootInstance" // RebootInstanceRequest generates a "aws/request.Request" representing the @@ -4233,6 +4504,10 @@ func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *requ // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4334,6 +4609,10 @@ func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *re // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4436,6 +4715,10 @@ func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4537,6 +4820,10 @@ func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request. // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4638,6 +4925,10 @@ func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Reques // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4739,6 +5030,10 @@ func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. // +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// // * ErrCodeNotFoundException "NotFoundException" // Lightsail throws this exception when it cannot find a resource. // @@ -4927,7 +5222,7 @@ type AvailabilityZone struct { // The state of the Availability Zone. State *string `locationName:"state" type:"string"` - // The name of the Availability Zone. + // The name of the Availability Zone. The format is us-east-1a (case-sensitive). ZoneName *string `locationName:"zoneName" type:"string"` } @@ -5487,7 +5782,10 @@ type CreateInstancesFromSnapshotInput struct { _ struct{} `type:"structure"` // The Availability Zone where you want to create your instances. Use the following - // formatting: us-east-1a (case sensitive). + // formatting: us-east-1a (case sensitive). You can get a list of availability + // zones by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) + // operation. Be sure to add the include availability zones parameter to your + // request. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` @@ -5621,7 +5919,10 @@ type CreateInstancesInput struct { _ struct{} `type:"structure"` // The Availability Zone in which to create your instance. Use the following - // format: us-east-1a (case sensitive). + // format: us-east-1a (case sensitive). You can get a list of availability zones + // by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) + // operation. Be sure to add the include availability zones parameter to your + // request. // // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` @@ -7246,7 +7547,7 @@ type GetInstancePortStatesOutput struct { _ struct{} `type:"structure"` // Information about the port states resulting from your request. - PortStates []*string `locationName:"portStates" type:"list"` + PortStates []*InstancePortState `locationName:"portStates" type:"list"` } // String returns the string representation @@ -7260,7 +7561,7 @@ func (s GetInstancePortStatesOutput) GoString() string { } // SetPortStates sets the PortStates field's value. -func (s *GetInstancePortStatesOutput) SetPortStates(v []*string) *GetInstancePortStatesOutput { +func (s *GetInstancePortStatesOutput) SetPortStates(v []*InstancePortState) *GetInstancePortStatesOutput { s.PortStates = v return s } @@ -8463,7 +8764,24 @@ type InstancePortInfo struct { // The first port in the range. FromPort *int64 `locationName:"fromPort" type:"integer"` - // The protocol. + // The protocol being used. Can be one of the following. + // + // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, + // and error-checked delivery of streamed data between applications running + // on hosts communicating by an IP network. If you have an application that + // doesn't require reliable data stream service, use UDP instead. + // + // * all - All transport layer protocol types. For more general information, + // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on + // Wikipedia. + // + // * udp - With User Datagram Protocol (UDP), computer applications can send + // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. + // Prior communications are not required to set up transmission channels + // or data paths. Applications that don't require reliable data stream service + // can use UDP, which provides a connectionless datagram service that emphasizes + // reduced latency over reliability. If you do require reliable data stream + // service, use TCP instead. Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` // The last port in the range. @@ -8522,6 +8840,75 @@ func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo { return s } +// Describes the port state. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState +type InstancePortState struct { + _ struct{} `type:"structure"` + + // The first port in the range. + FromPort *int64 `locationName:"fromPort" type:"integer"` + + // The protocol being used. Can be one of the following. + // + // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, + // and error-checked delivery of streamed data between applications running + // on hosts communicating by an IP network. If you have an application that + // doesn't require reliable data stream service, use UDP instead. + // + // * all - All transport layer protocol types. For more general information, + // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on + // Wikipedia. + // + // * udp - With User Datagram Protocol (UDP), computer applications can send + // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. + // Prior communications are not required to set up transmission channels + // or data paths. Applications that don't require reliable data stream service + // can use UDP, which provides a connectionless datagram service that emphasizes + // reduced latency over reliability. If you do require reliable data stream + // service, use TCP instead. + Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` + + // Specifies whether the instance port is open or closed. + State *string `locationName:"state" type:"string" enum:"PortState"` + + // The last port in the range. + ToPort *int64 `locationName:"toPort" type:"integer"` +} + +// String returns the string representation +func (s InstancePortState) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstancePortState) GoString() string { + return s.String() +} + +// SetFromPort sets the FromPort field's value. +func (s *InstancePortState) SetFromPort(v int64) *InstancePortState { + s.FromPort = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *InstancePortState) SetProtocol(v string) *InstancePortState { + s.Protocol = &v + return s +} + +// SetState sets the State field's value. +func (s *InstancePortState) SetState(v string) *InstancePortState { + s.State = &v + return s +} + +// SetToPort sets the ToPort field's value. +func (s *InstancePortState) SetToPort(v int64) *InstancePortState { + s.ToPort = &v + return s +} + // Describes the snapshot of the virtual private server, or instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot type InstanceSnapshot struct { @@ -9203,6 +9590,83 @@ func (s *PortInfo) SetToPort(v int64) *PortInfo { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest +type PutInstancePublicPortsInput struct { + _ struct{} `type:"structure"` + + // The Lightsail instance name of the public port(s) you are setting. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + + // Specifies information about the public port(s). + // + // PortInfos is a required field + PortInfos []*PortInfo `locationName:"portInfos" type:"list" required:"true"` +} + +// String returns the string representation +func (s PutInstancePublicPortsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutInstancePublicPortsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutInstancePublicPortsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutInstancePublicPortsInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + if s.PortInfos == nil { + invalidParams.Add(request.NewErrParamRequired("PortInfos")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *PutInstancePublicPortsInput) SetInstanceName(v string) *PutInstancePublicPortsInput { + s.InstanceName = &v + return s +} + +// SetPortInfos sets the PortInfos field's value. +func (s *PutInstancePublicPortsInput) SetPortInfos(v []*PortInfo) *PutInstancePublicPortsInput { + s.PortInfos = v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult +type PutInstancePublicPortsOutput struct { + _ struct{} `type:"structure"` + + // Describes metadata about the operation you just executed. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s PutInstancePublicPortsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutInstancePublicPortsOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *PutInstancePublicPortsOutput) SetOperation(v *Operation) *PutInstancePublicPortsOutput { + s.Operation = v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -9271,7 +9735,7 @@ func (s *RebootInstanceOutput) SetOperations(v []*Operation) *RebootInstanceOutp type Region struct { _ struct{} `type:"structure"` - // The Availability Zones. + // The Availability Zones. Follows the format us-east-1a (case-sensitive). AvailabilityZones []*AvailabilityZone `locationName:"availabilityZones" type:"list"` // The continent code (e.g., NA, meaning North America). @@ -9396,7 +9860,7 @@ func (s *ReleaseStaticIpOutput) SetOperations(v []*Operation) *ReleaseStaticIpOu type ResourceLocation struct { _ struct{} `type:"structure"` - // The Availability Zone. + // The Availability Zone. Follows the format us-east-1a (case-sensitive). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The AWS Region name. @@ -9965,6 +10429,9 @@ const ( // OperationTypeOpenInstancePublicPorts is a OperationType enum value OperationTypeOpenInstancePublicPorts = "OpenInstancePublicPorts" + // OperationTypePutInstancePublicPorts is a OperationType enum value + OperationTypePutInstancePublicPorts = "PutInstancePublicPorts" + // OperationTypeCloseInstancePublicPorts is a OperationType enum value OperationTypeCloseInstancePublicPorts = "CloseInstancePublicPorts" diff --git a/vendor/github.com/aws/aws-sdk-go/service/lightsail/doc.go b/vendor/github.com/aws/aws-sdk-go/service/lightsail/doc.go index 171892107..0e2e9ee62 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lightsail/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lightsail/doc.go @@ -11,11 +11,11 @@ // the API or command-line interface (CLI). // // For more information about Lightsail concepts and tasks, see the Lightsail -// Dev Guide (http://lightsail.aws.amazon.com/ls/docs). +// Dev Guide (https://lightsail.aws.amazon.com/ls/docs/all). // // To use the Lightsail API or the CLI, you will need to use AWS Identity and // Access Management (IAM) to generate access keys. For details about how to -// set this up, see the Lightsail Dev Guide (http://lightsail.aws.amazon.com/ls/docs/how-to/articles/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli). +// set this up, see the Lightsail Dev Guide (http://lightsail.aws.amazon.com/ls/docs/how-to/article/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli). // // See https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28 for more information on this service. // diff --git a/vendor/github.com/aws/aws-sdk-go/service/lightsail/errors.go b/vendor/github.com/aws/aws-sdk-go/service/lightsail/errors.go index a42a1393b..d1ef481f2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lightsail/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lightsail/errors.go @@ -23,6 +23,10 @@ const ( // // Lightsail throws this exception when user input does not conform to the validation // rules of an input field. + // + // Domain-related APIs are only available in the N. Virginia (us-east-1) Region. + // Please set your Region configuration to us-east-1 to create, view, or edit + // these resources. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodeNotFoundException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go index 786172c72..daa872353 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go @@ -9352,6 +9352,222 @@ func (c *RDS) RevokeDBSecurityGroupIngressWithContext(ctx aws.Context, input *Re return out, req.Send() } +const opStartDBInstance = "StartDBInstance" + +// StartDBInstanceRequest generates a "aws/request.Request" representing the +// client's request for the StartDBInstance operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See StartDBInstance for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the StartDBInstance method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the StartDBInstanceRequest method. +// req, resp := client.StartDBInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance +func (c *RDS) StartDBInstanceRequest(input *StartDBInstanceInput) (req *request.Request, output *StartDBInstanceOutput) { + op := &request.Operation{ + Name: opStartDBInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartDBInstanceInput{} + } + + output = &StartDBInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartDBInstance API operation for Amazon Relational Database Service. +// +// Starts a DB instance that was stopped using the AWS console, the stop-db-instance +// AWS CLI command, or the StopDBInstance action. For more information, see +// Stopping and Starting a DB instance in the AWS RDS user guide. +// +// 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 Relational Database Service's +// API operation StartDBInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// Specified DB instance class is not available in the specified Availability +// Zone. +// +// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. +// +// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. +// +// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// * ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. +// +// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. +// +// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// Specified CIDRIP or EC2 security group is not authorized for the specified +// DB security group. +// +// RDS may not also be authorized via IAM to perform necessary actions on your +// behalf. +// +// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance +func (c *RDS) StartDBInstance(input *StartDBInstanceInput) (*StartDBInstanceOutput, error) { + req, out := c.StartDBInstanceRequest(input) + return out, req.Send() +} + +// StartDBInstanceWithContext is the same as StartDBInstance with the addition of +// the ability to pass a context and additional request options. +// +// See StartDBInstance 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 *RDS) StartDBInstanceWithContext(ctx aws.Context, input *StartDBInstanceInput, opts ...request.Option) (*StartDBInstanceOutput, error) { + req, out := c.StartDBInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopDBInstance = "StopDBInstance" + +// StopDBInstanceRequest generates a "aws/request.Request" representing the +// client's request for the StopDBInstance operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See StopDBInstance for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the StopDBInstance method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the StopDBInstanceRequest method. +// req, resp := client.StopDBInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance +func (c *RDS) StopDBInstanceRequest(input *StopDBInstanceInput) (req *request.Request, output *StopDBInstanceOutput) { + op := &request.Operation{ + Name: opStopDBInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StopDBInstanceInput{} + } + + output = &StopDBInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopDBInstance API operation for Amazon Relational Database Service. +// +// Stops a DB instance. When you stop a DB instance, Amazon RDS retains the +// DB instance's metadata, including its endpoint, DB parameter group, and option +// group membership. Amazon RDS also retains the transaction logs so you can +// do a point-in-time restore if necessary. For more information, see Stopping +// and Starting a DB instance in the AWS RDS user guide. +// +// 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 Relational Database Service's +// API operation StopDBInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. +// +// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// Request would result in user exceeding the allowed number of DB snapshots. +// +// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance +func (c *RDS) StopDBInstance(input *StopDBInstanceInput) (*StopDBInstanceOutput, error) { + req, out := c.StopDBInstanceRequest(input) + return out, req.Send() +} + +// StopDBInstanceWithContext is the same as StopDBInstance with the addition of +// the ability to pass a context and additional request options. +// +// See StopDBInstance 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 *RDS) StopDBInstanceWithContext(ctx aws.Context, input *StopDBInstanceInput, opts ...request.Option) (*StopDBInstanceOutput, error) { + req, out := c.StopDBInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Describes a quota for an AWS account, for example, the number of DB instances // allowed. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountQuota @@ -10873,7 +11089,7 @@ type CreateDBClusterInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` - // The name for your database of up to 8 alpha-numeric characters. If you do + // The name for your database of up to 64 alpha-numeric characters. If you do // not provide a name, Amazon RDS will not create a database in the DB cluster // you are creating. DatabaseName *string `type:"string"` @@ -11628,7 +11844,9 @@ type CreateDBInstanceInput struct { // // Oracle // - // The Oracle System ID (SID) of the created DB instance. + // The Oracle System ID (SID) of the created DB instance. If you specify null, + // the default value ORCL is used. You can't specify the string NULL, or any + // other reserved word, for DBName. // // Default: ORCL // @@ -11795,6 +12013,9 @@ type CreateDBInstanceInput struct { // // Oracle 12c // + // * 12.1.0.2.v8 (supported for EE in all AWS regions, and SE2 in all AWS + // regions except us-gov-west-1) + // // * 12.1.0.2.v7 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // @@ -11818,6 +12039,8 @@ type CreateDBInstanceInput struct { // // Oracle 11g // + // * 11.2.0.4.v12 (supported for EE, SE1, and SE, in all AWS regions) + // // * 11.2.0.4.v11 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v10 (supported for EE, SE1, and SE, in all AWS regions) @@ -11840,14 +12063,13 @@ type CreateDBInstanceInput struct { // // PostgreSQL // - // * Version 9.6: 9.6.1 + // * Version 9.6.x: 9.6.1 | 9.6.2 // - // * Version 9.5:9.5.4 | 9.5.2 + // * Version 9.5.x:9.5.6 | 9.5.4 | 9.5.2 // - // * Version 9.4: 9.4.9 | 9.4.7 | 9.4.5 | 9.4.4 | 9.4.1 + // * Version 9.4.x:9.4.11 | 9.4.9 | 9.4.7 // - // * Version 9.3: 9.3.14 | 9.3.12 | 9.3.10 | 9.3.9 | 9.3.6 | 9.3.5 | 9.3.3 - // | 9.3.2 | 9.3.1 + // * Version 9.3.x:9.3.16 | 9.3.14 | 9.3.12 EngineVersion *string `type:"string"` // The amount of Provisioned IOPS (input/output operations per second) to be @@ -27085,6 +27307,158 @@ func (s *SourceRegion) SetStatus(v string) *SourceRegion { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceMessage +type StartDBInstanceInput struct { + _ struct{} `type:"structure"` + + // The user-supplied instance identifier. + // + // DBInstanceIdentifier is a required field + DBInstanceIdentifier *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s StartDBInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartDBInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartDBInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartDBInstanceInput"} + if s.DBInstanceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBInstanceIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. +func (s *StartDBInstanceInput) SetDBInstanceIdentifier(v string) *StartDBInstanceInput { + s.DBInstanceIdentifier = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceResult +type StartDBInstanceOutput struct { + _ struct{} `type:"structure"` + + // Contains the result of a successful invocation of the following actions: + // + // * CreateDBInstance + // + // * DeleteDBInstance + // + // * ModifyDBInstance + // + // This data type is used as a response element in the DescribeDBInstances action. + DBInstance *DBInstance `type:"structure"` +} + +// String returns the string representation +func (s StartDBInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartDBInstanceOutput) GoString() string { + return s.String() +} + +// SetDBInstance sets the DBInstance field's value. +func (s *StartDBInstanceOutput) SetDBInstance(v *DBInstance) *StartDBInstanceOutput { + s.DBInstance = v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceMessage +type StopDBInstanceInput struct { + _ struct{} `type:"structure"` + + // The user-supplied instance identifier. + // + // DBInstanceIdentifier is a required field + DBInstanceIdentifier *string `type:"string" required:"true"` + + // The user-supplied instance identifier of the DB Snapshot created immediately + // before the DB instance is stopped. + DBSnapshotIdentifier *string `type:"string"` +} + +// String returns the string representation +func (s StopDBInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopDBInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopDBInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopDBInstanceInput"} + if s.DBInstanceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBInstanceIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. +func (s *StopDBInstanceInput) SetDBInstanceIdentifier(v string) *StopDBInstanceInput { + s.DBInstanceIdentifier = &v + return s +} + +// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. +func (s *StopDBInstanceInput) SetDBSnapshotIdentifier(v string) *StopDBInstanceInput { + s.DBSnapshotIdentifier = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceResult +type StopDBInstanceOutput struct { + _ struct{} `type:"structure"` + + // Contains the result of a successful invocation of the following actions: + // + // * CreateDBInstance + // + // * DeleteDBInstance + // + // * ModifyDBInstance + // + // This data type is used as a response element in the DescribeDBInstances action. + DBInstance *DBInstance `type:"structure"` +} + +// String returns the string representation +func (s StopDBInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopDBInstanceOutput) GoString() string { + return s.String() +} + +// SetDBInstance sets the DBInstance field's value. +func (s *StopDBInstanceOutput) SetDBInstance(v *DBInstance) *StopDBInstanceOutput { + s.DBInstance = v + return s +} + // This data type is used as a response element in the DescribeDBSubnetGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Subnet diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go index 2de65288b..e5c105fed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go @@ -1085,7 +1085,7 @@ type AssumeRoleInput struct { // // The regex used to validated this parameter is a string of characters consisting // of upper- and lower-case alphanumeric characters with no spaces. You can - // also include underscores or any of the following characters: =,.@:\/- + // also include underscores or any of the following characters: =,.@:/- ExternalId *string `min:"2" type:"string"` // An IAM policy in JSON format. @@ -2269,9 +2269,9 @@ type GetSessionTokenInput struct { // You can find the device for an IAM user by going to the AWS Management Console // and viewing the user's security credentials. // - // The regex used to validate this parameter is a string of characters consisting + // The regex used to validated this parameter is a string of characters consisting // of upper- and lower-case alphanumeric characters with no spaces. You can - // also include underscores or any of the following characters: =,.@- + // also include underscores or any of the following characters: =,.@:/- SerialNumber *string `min:"9" type:"string"` // The value provided by the MFA device, if MFA is required. If any policy requires diff --git a/vendor/vendor.json b/vendor/vendor.json index edc5c37d8..c3a83ffa3 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -500,652 +500,660 @@ "revisionTime": "2017-05-29T11:00:29Z" }, { - "checksumSHA1": "PGIgHSoZK8yT9WZ6UGQEhSFeLwU=", + "checksumSHA1": "SnEMTCMew+WLtt8C93TK9/fam2I=", "path": "github.com/aws/aws-sdk-go", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "hEzUQFPuW6Mkgm3wVOzsYYkDsOs=", + "checksumSHA1": "fFU9OeM0pKWGL3D+Fa3PmHSjjLg=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "U1xxXRUP7urOrplUC4G6znib8rU=", + "checksumSHA1": "gcA6wFbLBJLLO/6g+AH9QoQQX1U=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "7/8j/q0TWtOgXyvEcv4B2Dhl00o=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "F52sZ5zdDeALnul8vxcodVchWi0=", + "checksumSHA1": "Y+cPwQL0dZMyqp3wI+KJWmA9KQ8=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "u3GOAJLmdvbuNUeUEcZSEAOeL/0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "JEYqmF83O5n5bHkupAzA6STm0no=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "k4IMA27NIDHgZgvBxrKyJy16Y20=", + "checksumSHA1": "ZdtYh3ZHSgP/WEIaqwJHTEhpkbs=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "/EXbk/z2TWjWc1Hvb4QYs3Wmhb8=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "M3m80XNHPV23xy6lIrjxFwHyXhc=", + "checksumSHA1": "vaHB7ND2ZMMwBwrdT0KJUKT1VaM=", "path": "github.com/aws/aws-sdk-go/aws/endpoints", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "dsVwPNbrXbXMAXZY9ZkXG7vR+Oc=", + "checksumSHA1": "Utpqcq3J2hqoaKEsjI7kDF9bUkg=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "1EOQCPnx1LFTbJG/6EgXFON67rE=", + "checksumSHA1": "Y20DEtMtbfE9qTtmoi2NYV1x7aA=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "SvIsunO8D9MEKbetMENA4WRnyeE=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" + }, + { + "checksumSHA1": "04ypv4x12l4q0TksA1zEVsmgpvw=", + "path": "github.com/aws/aws-sdk-go/internal/shareddefaults", + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "O6hcK24yI6w7FA+g4Pbr+eQ7pys=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Drt1JfLMa0DQEZLWrnMlTWaIcC8=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "VCTh+dEaqqhog5ncy/WTt9+/gFM=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "0qYPUga28aQVkxZgBR3Z86AbGUQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "RihpzjL86Zqrq7caZqddkGmpS/U=", "path": "github.com/aws/aws-sdk-go/service/acm", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Vty8Iim26/C2eW4v5ID75vXoQj0=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "kq7a1zUsytCRQV+Q9KZf5Tzkv4s=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "y1rEAHCCFNKFXtzGeNTuSkxdxnw=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "H36nvtC7Uxl6I3NlRbgSYHqIhyQ=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Xa4HENUzQxHSsx5HoabaxdUpVrg=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "hj0mJrjPfyAc8kHGDcXnMuMVozg=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "dqRrfGewSrIfajRNmsx1ugEYSuw=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "uQXi6iOpIf22Hz1VP4qLb3jfAqw=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "eJJjXlK7MLOlZhu8741//GZj0ZQ=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "fkA9YVQMcsQ0qQlGSUw3iN/BhR4=", "path": "github.com/aws/aws-sdk-go/service/codebuild", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "BsfbsSZlJdNvYlM/ykGHTZVoLY0=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "HJea/EFVsUxxjXB3tpG6WWeEl44=", + "checksumSHA1": "tK1JfJ1vPlusBWvmnhi/IEOS1BQ=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "bZ5Dg5Pww7RsjVhgKqmGIzoFkug=", "path": "github.com/aws/aws-sdk-go/service/codepipeline", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "W+yGe3hYhzKMlRE/0jR4B6FpDJY=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentity", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "eSqx7hsdmEMqD9K2l36FE/PlgHM=", "path": "github.com/aws/aws-sdk-go/service/configservice", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "8TVmfSkvfEXobuvakOFg9sMm7vQ=", + "checksumSHA1": "S+tUbNOE99Ok1ppIxF82/JcI4Gk=", "path": "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "JsCuHtHM4ql9lVjpCJ869L7irZk=", "path": "github.com/aws/aws-sdk-go/service/devicefarm", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "nZ0ZiiZ29v0HiVleXACY3m6bXgI=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "dcUwKQHxD9+ap+/MP9gZ6kT/lXI=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "RGW6Tn0SO0m9m0pNQAY9OhdJ3tI=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Lwqoi9aWc+j6dzkgt06LLR7i1XA=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "xK333jTw5R1dnr9mt+yxsEHg3/A=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "WJ0qqKev5awu3aOPmYEmLz2B7Tw=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "aO69igvJSXy8Hw3zCP2g9d/icv4=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "bnl0q1BLkaBD6rD7n1tWemceVzI=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "omf+Wesp5JG8FrhzLXJgItIYAHk=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "VWn6yZTaOgD0daNMBAQWnc5tOp4=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "i/ykCvWenrw5U3O3xb9hJ9tfFa8=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "03QX7X3DzyHiZ1bAB2edifrCJ6Y=", + "checksumSHA1": "P0SzxhcZ8vFMDys3qIWQW7MhD8k=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "TJDUTql/Ls5Ds86pLO1F2b/DqdA=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "FCPGPaaFgN9iWup3dVCDVt0Yqp0=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "g/B0cturzQMWZN+VJwm9izYoQ5Q=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "sUTXkrAohDlfGKgkLEYh9UawmL0=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "oYVrMzwK3o8fi9ejIhN9R5h4KRc=", "path": "github.com/aws/aws-sdk-go/service/inspector", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "KJuPA/SLv0fLME23SmxVP4410BE=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "DlyhlgQf94WXnPSpGy1WlzdNkkE=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "qnpJf/YILf+JOxp4vM8oOgQAQ28=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "UtyTfF6oXj5KPfXr8H+ivJ0XTgs=", + "checksumSHA1": "GcreyMFdl0U8K+3oaf052AepgNI=", "path": "github.com/aws/aws-sdk-go/service/lightsail", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "O2MqFCP7z1x6cC59NxiXVOZiUfY=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "hOMvmDsta9bUZXcE59EYXAF2lMM=", + "checksumSHA1": "nKMjGqakuQZpROgbXGfL9uP+N68=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "Q8CPmpN6L73bkhA7rEy1ciy6izo=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "g/d8eqqotx1ITOpxwyk4PWDXiVk=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "krqUUMDYRN2ohYcumxZl8BTR5EQ=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "wCql3QDkXRHDY6Cm6GSUijoeDcg=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "EPVYa41c+FwHj5as9Px5zCZmxlQ=", "path": "github.com/aws/aws-sdk-go/service/sfn", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "qbJgxyoq6VmwEtQR5uT9KVYqV6I=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "vP/0ADSA7kkW5CCadIpV3Q6s+DQ=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "/2BKYAF4iJKOIiOixgXWb0tVclE=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "TUxh01D/FrlX+12NTF5M8f+tYYA=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { - "checksumSHA1": "fbROB+q5aRgvH79KOnEqr63ahRE=", + "checksumSHA1": "VH5y62f+SDyEIqnTibiPtQ687i8=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "MXy2G+JW109dosdS5rhbWj7X1Dg=", "path": "github.com/aws/aws-sdk-go/service/waf", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "s5N7qUhc2Zs1Nj2bwpZCy4QQRlo=", "path": "github.com/aws/aws-sdk-go/service/wafregional", - "revision": "3cf3ede801c0c4b8b0f6f65b7be60a61a55ef91c", - "revisionTime": "2017-05-17T22:36:48Z", - "version": "v1.8.25", - "versionExact": "v1.8.25" + "revision": "be4fa13e47938e4801fada8c8ca3d1867ad3dcb3", + "revisionTime": "2017-06-02T18:54:01Z", + "version": "v1.8.34", + "versionExact": "v1.8.34" }, { "checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",