From 0ab27f50d26ca13879e010baca5a187ce07e6b4a Mon Sep 17 00:00:00 2001 From: tf-release-bot Date: Wed, 26 Sep 2018 20:25:45 +0000 Subject: [PATCH 1/9] Cleanup after v1.38.0 release --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5502f8d2c62..141bd1a5e0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +## 1.39.0 (Unreleased) ## 1.38.0 (September 26, 2018) FEATURES: From 3dca2e533a13d02d9fc0f74b25a27be722de9120 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 26 Sep 2018 16:42:30 -0400 Subject: [PATCH 2/9] Fix #5980 CHANGELOG link --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 141bd1a5e0c..7186975500d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ ENHANCEMENTS: * resource/aws_codebuild_project: Add `arn` attribute ([#5973](https://github.com/terraform-providers/terraform-provider-aws/issues/5973)) * resource/aws_launch_template: Support `credit_specification` configuration of T3 instance types ([#5922](https://github.com/terraform-providers/terraform-provider-aws/issues/5922)) * resource/aws_launch_template: Allow `network_interface` `ipv6_address_count` configuration ([#5771](https://github.com/terraform-providers/terraform-provider-aws/issues/5771)) -* resource/aws_rds_cluster: Support `parallelquery` `engine_mode` argument [GH=5980] +* resource/aws_rds_cluster: Support `parallelquery` `engine_mode` argument ([#5980](https://github.com/terraform-providers/terraform-provider-aws/issues/5980)) BUG FIXES: From a0208891fb07d724e53c6541dee3de2fd8d2a9c1 Mon Sep 17 00:00:00 2001 From: Szabolcs Palmer Date: Thu, 27 Sep 2018 11:11:49 +1000 Subject: [PATCH 3/9] Add import instructions to Cognito User Pool Client resource documentation Reasoning: the importing of Cognito User Pool Client was added a long time ago but the documentation lacks the instructions on how to do it. Relevant Terraform version: v1.7.0 and up No new resources No code changes --- website/docs/r/cognito_user_pool_client.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/r/cognito_user_pool_client.markdown b/website/docs/r/cognito_user_pool_client.markdown index c10e93fe05f..b41ebfb1e70 100644 --- a/website/docs/r/cognito_user_pool_client.markdown +++ b/website/docs/r/cognito_user_pool_client.markdown @@ -67,3 +67,11 @@ In addition to all arguments above, the following attributes are exported: * `id` - The id of the user pool client. * `client_secret` - The client secret of the user pool client. + +## Import + +Cognito User Pool Clients can be imported using the `id` of the Cognito User Pool, and the `id` of the Cognito User Pool Client, e.g. + +``` +$ terraform import aws_cognito_user_pool_client.client / +``` From 7c88258e45ce6ffa633a850629b4a146460c89c8 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 26 Sep 2018 21:12:09 -0400 Subject: [PATCH 4/9] guides/eks-getting-started: Clarify 602401143452 owners value in aws_ami data source --- examples/eks-getting-started/eks-worker-nodes.tf | 2 +- website/docs/guides/eks-getting-started.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/eks-getting-started/eks-worker-nodes.tf b/examples/eks-getting-started/eks-worker-nodes.tf index f6c140238dd..2667ffa26dd 100644 --- a/examples/eks-getting-started/eks-worker-nodes.tf +++ b/examples/eks-getting-started/eks-worker-nodes.tf @@ -93,7 +93,7 @@ data "aws_ami" "eks-worker" { } most_recent = true - owners = ["602401143452"] # Amazon + owners = ["602401143452"] # Amazon EKS AMI Account ID } # EKS currently documents this required userdata for EKS worker nodes to diff --git a/website/docs/guides/eks-getting-started.html.md b/website/docs/guides/eks-getting-started.html.md index e24b3bae065..34fb514ff9e 100644 --- a/website/docs/guides/eks-getting-started.html.md +++ b/website/docs/guides/eks-getting-started.html.md @@ -477,7 +477,7 @@ data "aws_ami" "eks-worker" { } most_recent = true - owners = ["602401143452"] # Amazon Account ID + owners = ["602401143452"] # Amazon EKS AMI Account ID } ``` From 2d3c8bed3267e3a01570bdeec67f13c9130b4a75 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 26 Sep 2018 21:25:56 -0400 Subject: [PATCH 5/9] vendor: aws/aws-sdk-go@v1.15.43 Updated via: `govendor fetch github.com/aws/aws-sdk-go/...@v1.15.43` --- .../aws/aws-sdk-go/aws/endpoints/defaults.go | 21 +- .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../private/protocol/jsonrpc/jsonrpc.go | 20 +- .../private/protocol/restjson/restjson.go | 22 +- .../aws/aws-sdk-go/service/cloudfront/api.go | 69 +- .../service/directoryservice/api.go | 1457 ++++++++++++++++- .../service/directoryservice/errors.go | 37 + .../aws/aws-sdk-go/service/ec2/api.go | 49 +- .../aws/aws-sdk-go/service/glue/api.go | 145 ++ .../aws/aws-sdk-go/service/rds/api.go | 147 ++ .../aws/aws-sdk-go/service/sqs/api.go | 492 +++--- .../aws/aws-sdk-go/service/sqs/doc.go | 9 +- .../aws/aws-sdk-go/service/sqs/errors.go | 22 +- vendor/vendor.json | 1036 ++++++------ 14 files changed, 2603 insertions(+), 925 deletions(-) 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 005bde0daaf..4bd182ab2e5 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 @@ -1415,10 +1415,11 @@ var awsPartition = partition{ "iotanalytics": service{ Endpoints: endpoints{ - "eu-west-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-2": endpoint{}, + "ap-northeast-1": endpoint{}, + "eu-west-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-2": endpoint{}, }, }, "kinesis": service{ @@ -2109,11 +2110,16 @@ 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{}, + "eu-west-3": endpoint{}, + "sa-east-1": endpoint{}, "us-east-1": endpoint{}, "us-east-2": endpoint{}, "us-west-1": endpoint{}, @@ -2618,6 +2624,13 @@ var awscnPartition = partition{ "cn-northwest-1": endpoint{}, }, }, + "codebuild": service{ + + Endpoints: endpoints{ + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, + }, + }, "codedeploy": service{ Endpoints: endpoints{ 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 13eb1060a51..be84dd516e4 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.15.41" +const SDKVersion = "1.15.43" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/jsonrpc.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/jsonrpc.go index 95155f6c1b6..9a7ba27ad53 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/jsonrpc.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/jsonrpc.go @@ -7,7 +7,7 @@ package jsonrpc import ( "encoding/json" - "io/ioutil" + "io" "strings" "github.com/aws/aws-sdk-go/aws/awserr" @@ -82,25 +82,17 @@ func UnmarshalMeta(req *request.Request) { // UnmarshalError unmarshals an error response for a JSON RPC service. func UnmarshalError(req *request.Request) { defer req.HTTPResponse.Body.Close() - bodyBytes, err := ioutil.ReadAll(req.HTTPResponse.Body) - if err != nil { - req.Error = awserr.NewRequestFailure( - awserr.New("SerializationError", "failed reading JSON RPC error response", err), - req.HTTPResponse.StatusCode, - req.RequestID, - ) - return - } - if len(bodyBytes) == 0 { + + var jsonErr jsonErrorResponse + err := json.NewDecoder(req.HTTPResponse.Body).Decode(&jsonErr) + if err == io.EOF { req.Error = awserr.NewRequestFailure( awserr.New("SerializationError", req.HTTPResponse.Status, nil), req.HTTPResponse.StatusCode, req.RequestID, ) return - } - var jsonErr jsonErrorResponse - if err := json.Unmarshal(bodyBytes, &jsonErr); err != nil { + } else if err != nil { req.Error = awserr.NewRequestFailure( awserr.New("SerializationError", "failed decoding JSON RPC error response", err), req.HTTPResponse.StatusCode, diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/restjson.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/restjson.go index d61044e2c67..de8adce636c 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/restjson.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/restjson.go @@ -7,7 +7,7 @@ package restjson import ( "encoding/json" - "io/ioutil" + "io" "strings" "github.com/aws/aws-sdk-go/aws/awserr" @@ -54,26 +54,17 @@ func UnmarshalMeta(r *request.Request) { // UnmarshalError unmarshals a response error for the REST JSON protocol. func UnmarshalError(r *request.Request) { defer r.HTTPResponse.Body.Close() - code := r.HTTPResponse.Header.Get("X-Amzn-Errortype") - bodyBytes, err := ioutil.ReadAll(r.HTTPResponse.Body) - if err != nil { - r.Error = awserr.NewRequestFailure( - awserr.New("SerializationError", "failed reading REST JSON error response", err), - r.HTTPResponse.StatusCode, - r.RequestID, - ) - return - } - if len(bodyBytes) == 0 { + + var jsonErr jsonErrorResponse + err := json.NewDecoder(r.HTTPResponse.Body).Decode(&jsonErr) + if err == io.EOF { r.Error = awserr.NewRequestFailure( awserr.New("SerializationError", r.HTTPResponse.Status, nil), r.HTTPResponse.StatusCode, r.RequestID, ) return - } - var jsonErr jsonErrorResponse - if err := json.Unmarshal(bodyBytes, &jsonErr); err != nil { + } else if err != nil { r.Error = awserr.NewRequestFailure( awserr.New("SerializationError", "failed decoding REST JSON error response", err), r.HTTPResponse.StatusCode, @@ -82,6 +73,7 @@ func UnmarshalError(r *request.Request) { return } + code := r.HTTPResponse.Header.Get("X-Amzn-Errortype") if code == "" { code = jsonErr.Code } diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go index f81df398430..1e4ce44ab3d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go @@ -158,8 +158,21 @@ func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) ( // CreateDistribution API operation for Amazon CloudFront. // -// Creates a new web distribution. Send a POST request to the /CloudFront API -// version/distribution/distribution ID resource. +// Creates a new web distribution. You create a CloudFront distribution to tell +// CloudFront where you want content to be delivered from, and the details about +// how to track and manage content delivery. Send a POST request to the /CloudFront +// API version/distribution/distribution ID resource. +// +// When you update a distribution, there are more required fields than when +// you create a distribution. When you update your distribution by using UpdateDistribution, +// follow the steps included in the documentation to get the current configuration +// and then make your updates. This helps to make sure that you include all +// of the required fields. To view a summary, see Required Fields for Create +// Distribution and Update Distribution (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html) +// in the Amazon CloudFront Developer Guide. +// +// If you are using Adobe Flash Media Server's RTMP protocol, you set up a different +// kind of CloudFront distribution. For more information, see CreateStreamingDistribution. // // 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 @@ -4110,11 +4123,22 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // UpdateDistribution API operation for Amazon CloudFront. // -// Updates the configuration for a web distribution. Perform the following steps. +// Updates the configuration for a web distribution. +// +// When you update a distribution, there are more required fields than when +// you create a distribution. When you update your distribution by using this +// API action, follow the steps here to get the current configuration and then +// make your updates, to make sure that you include all of the required fields. +// To view a summary, see Required Fields for Create Distribution and Update +// Distribution (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html) +// in the Amazon CloudFront Developer Guide. +// +// The update process includes getting the current distribution configuration, +// updating the XML document that is returned to make your changes, and then +// submitting an UpdateDistribution request to make the updates. // -// For information about updating a distribution using the CloudFront console, -// see Creating or Updating a Web Distribution Using the CloudFront Console -// (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html) +// For information about updating a distribution using the CloudFront console +// instead, see Creating a Distribution (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html) // in the Amazon CloudFront Developer Guide. // // To update a web distribution using the CloudFront API @@ -4122,15 +4146,25 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // Submit a GetDistributionConfig request to get the current configuration and // an Etag header for the distribution. // -// If you update the distribution again, you need to get a new Etag header. +// If you update the distribution again, you must get a new Etag header. // // Update the XML document that was returned in the response to your GetDistributionConfig -// request to include the desired changes. You can't change the value of CallerReference. -// If you try to change this value, CloudFront returns an IllegalUpdate error. -// Note that you must strip out the ETag parameter that is returned. +// request to include your changes. +// +// When you edit the XML file, be aware of the following: +// +// You must strip out the ETag parameter that is returned. +// +// Additional fields are required when you update a distribution. There may +// be fields included in the XML file for features that you haven't configured +// for your distribution. This is expected and required to successfully update +// the distribution. +// +// You can't change the value of CallerReference. If you try to change this +// value, CloudFront returns an IllegalUpdate error. // // The new configuration replaces the existing configuration; the values that -// you specify in an UpdateDistribution request are not merged into the existing +// you specify in an UpdateDistribution request are not merged into your existing // configuration. When you add, delete, or replace values in an element that // allows multiple values (for example, CNAME), you must specify all of the // values that you want to appear in the updated distribution. In addition, @@ -4152,16 +4186,6 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // Optional: Submit a GetDistribution request to confirm that your changes have // propagated. When propagation is complete, the value of Status is Deployed. // -// Beginning with the 2012-05-05 version of the CloudFront API, we made substantial -// changes to the format of the XML document that you include in the request -// body when you create or update a distribution. With previous versions of -// the API, we discovered that it was too easy to accidentally delete one or -// more values for an element that accepts multiple values, for example, CNAMEs -// and trusted signers. Our changes for the 2012-05-05 release are intended -// to prevent these accidental deletions and to notify you when there's a mismatch -// between the number of values you say you're specifying in the Quantity element -// and the number of values you're actually specifying. -// // 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. @@ -10809,7 +10833,8 @@ type LambdaFunctionAssociation struct { EventType *string `type:"string" required:"true" enum:"EventType"` // A flag that allows a Lambda function to have read access to the body content. - // For more information, see Accessing Body Content (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/) + // For more information, see Accessing the Request Body by Choosing the Include + // Body Option (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html) // in the Amazon CloudFront Developer Guide. IncludeBody *bool `type:"boolean"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go index 17e357d803b..5febece4957 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go @@ -11,6 +11,98 @@ import ( "github.com/aws/aws-sdk-go/aws/request" ) +const opAcceptSharedDirectory = "AcceptSharedDirectory" + +// AcceptSharedDirectoryRequest generates a "aws/request.Request" representing the +// client's request for the AcceptSharedDirectory operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AcceptSharedDirectory for more information on using the AcceptSharedDirectory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AcceptSharedDirectoryRequest method. +// req, resp := client.AcceptSharedDirectoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory +func (c *DirectoryService) AcceptSharedDirectoryRequest(input *AcceptSharedDirectoryInput) (req *request.Request, output *AcceptSharedDirectoryOutput) { + op := &request.Operation{ + Name: opAcceptSharedDirectory, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AcceptSharedDirectoryInput{} + } + + output = &AcceptSharedDirectoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptSharedDirectory API operation for AWS Directory Service. +// +// Accepts a directory sharing request that was sent from the directory owner +// account. +// +// 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 Directory Service's +// API operation AcceptSharedDirectory for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// One or more parameters are not valid. +// +// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" +// The specified entity could not be found. +// +// * ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException" +// The specified directory has already been shared with this AWS account. +// +// * ErrCodeClientException "ClientException" +// A client exception has occurred. +// +// * ErrCodeServiceException "ServiceException" +// An exception has occurred in AWS Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory +func (c *DirectoryService) AcceptSharedDirectory(input *AcceptSharedDirectoryInput) (*AcceptSharedDirectoryOutput, error) { + req, out := c.AcceptSharedDirectoryRequest(input) + return out, req.Send() +} + +// AcceptSharedDirectoryWithContext is the same as AcceptSharedDirectory with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptSharedDirectory 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 *DirectoryService) AcceptSharedDirectoryWithContext(ctx aws.Context, input *AcceptSharedDirectoryInput, opts ...request.Option) (*AcceptSharedDirectoryOutput, error) { + req, out := c.AcceptSharedDirectoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAddIpRoutes = "AddIpRoutes" // AddIpRoutesRequest generates a "aws/request.Request" representing the @@ -2155,6 +2247,100 @@ func (c *DirectoryService) DescribeEventTopicsWithContext(ctx aws.Context, input return out, req.Send() } +const opDescribeSharedDirectories = "DescribeSharedDirectories" + +// DescribeSharedDirectoriesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeSharedDirectories operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeSharedDirectories for more information on using the DescribeSharedDirectories +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeSharedDirectoriesRequest method. +// req, resp := client.DescribeSharedDirectoriesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories +func (c *DirectoryService) DescribeSharedDirectoriesRequest(input *DescribeSharedDirectoriesInput) (req *request.Request, output *DescribeSharedDirectoriesOutput) { + op := &request.Operation{ + Name: opDescribeSharedDirectories, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeSharedDirectoriesInput{} + } + + output = &DescribeSharedDirectoriesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeSharedDirectories API operation for AWS Directory Service. +// +// Returns the shared directories in your account. +// +// 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 Directory Service's +// API operation DescribeSharedDirectories for usage and error information. +// +// Returned Error Codes: +// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" +// The specified entity could not be found. +// +// * ErrCodeInvalidNextTokenException "InvalidNextTokenException" +// The NextToken value is not valid. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// One or more parameters are not valid. +// +// * ErrCodeUnsupportedOperationException "UnsupportedOperationException" +// The operation is not supported. +// +// * ErrCodeClientException "ClientException" +// A client exception has occurred. +// +// * ErrCodeServiceException "ServiceException" +// An exception has occurred in AWS Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories +func (c *DirectoryService) DescribeSharedDirectories(input *DescribeSharedDirectoriesInput) (*DescribeSharedDirectoriesOutput, error) { + req, out := c.DescribeSharedDirectoriesRequest(input) + return out, req.Send() +} + +// DescribeSharedDirectoriesWithContext is the same as DescribeSharedDirectories with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeSharedDirectories 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 *DirectoryService) DescribeSharedDirectoriesWithContext(ctx aws.Context, input *DescribeSharedDirectoriesInput, opts ...request.Option) (*DescribeSharedDirectoriesOutput, error) { + req, out := c.DescribeSharedDirectoriesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeSnapshots = "DescribeSnapshots" // DescribeSnapshotsRequest generates a "aws/request.Request" representing the @@ -2395,7 +2581,8 @@ func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req // DisableRadius API operation for AWS Directory Service. // // Disables multi-factor authentication (MFA) with the Remote Authentication -// Dial In User Service (RADIUS) server for an AD Connector directory. +// Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD +// directory. // // 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 @@ -2572,7 +2759,8 @@ func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *r // EnableRadius API operation for AWS Directory Service. // // Enables multi-factor authentication (MFA) with the Remote Authentication -// Dial In User Service (RADIUS) server for an AD Connector directory. +// Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD +// directory. // // 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 @@ -3331,6 +3519,98 @@ func (c *DirectoryService) RegisterEventTopicWithContext(ctx aws.Context, input return out, req.Send() } +const opRejectSharedDirectory = "RejectSharedDirectory" + +// RejectSharedDirectoryRequest generates a "aws/request.Request" representing the +// client's request for the RejectSharedDirectory operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RejectSharedDirectory for more information on using the RejectSharedDirectory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RejectSharedDirectoryRequest method. +// req, resp := client.RejectSharedDirectoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory +func (c *DirectoryService) RejectSharedDirectoryRequest(input *RejectSharedDirectoryInput) (req *request.Request, output *RejectSharedDirectoryOutput) { + op := &request.Operation{ + Name: opRejectSharedDirectory, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RejectSharedDirectoryInput{} + } + + output = &RejectSharedDirectoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// RejectSharedDirectory API operation for AWS Directory Service. +// +// Rejects a directory sharing request that was sent from the directory owner +// account. +// +// 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 Directory Service's +// API operation RejectSharedDirectory for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// One or more parameters are not valid. +// +// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" +// The specified entity could not be found. +// +// * ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException" +// The specified directory has already been shared with this AWS account. +// +// * ErrCodeClientException "ClientException" +// A client exception has occurred. +// +// * ErrCodeServiceException "ServiceException" +// An exception has occurred in AWS Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory +func (c *DirectoryService) RejectSharedDirectory(input *RejectSharedDirectoryInput) (*RejectSharedDirectoryOutput, error) { + req, out := c.RejectSharedDirectoryRequest(input) + return out, req.Send() +} + +// RejectSharedDirectoryWithContext is the same as RejectSharedDirectory with the addition of +// the ability to pass a context and additional request options. +// +// See RejectSharedDirectory 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 *DirectoryService) RejectSharedDirectoryWithContext(ctx aws.Context, input *RejectSharedDirectoryInput, opts ...request.Option) (*RejectSharedDirectoryOutput, error) { + req, out := c.RejectSharedDirectoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemoveIpRoutes = "RemoveIpRoutes" // RemoveIpRoutesRequest generates a "aws/request.Request" representing the @@ -3705,120 +3985,335 @@ func (c *DirectoryService) RestoreFromSnapshotWithContext(ctx aws.Context, input return out, req.Send() } -const opStartSchemaExtension = "StartSchemaExtension" +const opShareDirectory = "ShareDirectory" -// StartSchemaExtensionRequest generates a "aws/request.Request" representing the -// client's request for the StartSchemaExtension operation. The "output" return +// ShareDirectoryRequest generates a "aws/request.Request" representing the +// client's request for the ShareDirectory operation. The "output" return // value will be populated with the request's response once the request completes // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartSchemaExtension for more information on using the StartSchemaExtension +// See ShareDirectory for more information on using the ShareDirectory // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the StartSchemaExtensionRequest method. -// req, resp := client.StartSchemaExtensionRequest(params) +// // Example sending a request using the ShareDirectoryRequest method. +// req, resp := client.ShareDirectoryRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension -func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory +func (c *DirectoryService) ShareDirectoryRequest(input *ShareDirectoryInput) (req *request.Request, output *ShareDirectoryOutput) { op := &request.Operation{ - Name: opStartSchemaExtension, + Name: opShareDirectory, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &StartSchemaExtensionInput{} + input = &ShareDirectoryInput{} } - output = &StartSchemaExtensionOutput{} + output = &ShareDirectoryOutput{} req = c.newRequest(op, input, output) return } -// StartSchemaExtension API operation for AWS Directory Service. +// ShareDirectory API operation for AWS Directory Service. // -// Applies a schema extension to a Microsoft AD directory. +// Shares a specified directory (DirectoryId) in your AWS account (directory +// owner) with another AWS account (directory consumer). With this operation +// you can use your directory from any AWS account and from any Amazon VPC within +// an AWS Region. +// +// When you share your AWS Managed Microsoft AD directory, AWS Directory Service +// creates a shared directory in the directory consumer account. This shared +// directory contains the metadata to provide access to the directory within +// the directory owner account. The shared directory is visible in all VPCs +// in the directory consumer account. +// +// The ShareMethod parameter determines whether the specified directory can +// be shared between AWS accounts inside the same AWS organization (ORGANIZATIONS). +// It also determines whether you can share the directory with any other AWS +// account either inside or outside of the organization (HANDSHAKE). +// +// The ShareNotes parameter is only used when HANDSHAKE is called, which sends +// a directory sharing request to the directory consumer. // // 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 Directory Service's -// API operation StartSchemaExtension for usage and error information. +// API operation ShareDirectory for usage and error information. // // Returned Error Codes: -// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException" -// The specified directory is unavailable or could not be found. +// * ErrCodeDirectoryAlreadySharedException "DirectoryAlreadySharedException" +// The specified directory has already been shared with this AWS account. // // * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" // The specified entity could not be found. // +// * ErrCodeInvalidTargetException "InvalidTargetException" +// The specified shared target is not valid. +// // * ErrCodeInvalidParameterException "InvalidParameterException" // One or more parameters are not valid. // -// * ErrCodeSnapshotLimitExceededException "SnapshotLimitExceededException" -// The maximum number of manual snapshots for the directory has been reached. -// You can use the GetSnapshotLimits operation to determine the snapshot limits -// for a directory. -// // * ErrCodeClientException "ClientException" // A client exception has occurred. // +// * ErrCodeShareLimitExceededException "ShareLimitExceededException" +// The maximum number of AWS accounts that you can share with this directory +// has been reached. +// +// * ErrCodeOrganizationsException "OrganizationsException" +// Exception encountered while trying to access your AWS organization. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have sufficient access to perform this action. +// +// * ErrCodeUnsupportedOperationException "UnsupportedOperationException" +// The operation is not supported. +// // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension -func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error) { - req, out := c.StartSchemaExtensionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory +func (c *DirectoryService) ShareDirectory(input *ShareDirectoryInput) (*ShareDirectoryOutput, error) { + req, out := c.ShareDirectoryRequest(input) return out, req.Send() } -// StartSchemaExtensionWithContext is the same as StartSchemaExtension with the addition of +// ShareDirectoryWithContext is the same as ShareDirectory with the addition of // the ability to pass a context and additional request options. // -// See StartSchemaExtension for details on how to use this API operation. +// See ShareDirectory 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 *DirectoryService) StartSchemaExtensionWithContext(ctx aws.Context, input *StartSchemaExtensionInput, opts ...request.Option) (*StartSchemaExtensionOutput, error) { - req, out := c.StartSchemaExtensionRequest(input) +func (c *DirectoryService) ShareDirectoryWithContext(ctx aws.Context, input *ShareDirectoryInput, opts ...request.Option) (*ShareDirectoryOutput, error) { + req, out := c.ShareDirectoryRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateConditionalForwarder = "UpdateConditionalForwarder" +const opStartSchemaExtension = "StartSchemaExtension" -// UpdateConditionalForwarderRequest generates a "aws/request.Request" representing the -// client's request for the UpdateConditionalForwarder operation. The "output" return +// StartSchemaExtensionRequest generates a "aws/request.Request" representing the +// client's request for the StartSchemaExtension operation. The "output" return // value will be populated with the request's response once the request completes // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateConditionalForwarder for more information on using the UpdateConditionalForwarder +// See StartSchemaExtension for more information on using the StartSchemaExtension // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateConditionalForwarderRequest method. +// // Example sending a request using the StartSchemaExtensionRequest method. +// req, resp := client.StartSchemaExtensionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension +func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput) { + op := &request.Operation{ + Name: opStartSchemaExtension, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartSchemaExtensionInput{} + } + + output = &StartSchemaExtensionOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartSchemaExtension API operation for AWS Directory Service. +// +// Applies a schema extension to a Microsoft AD directory. +// +// 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 Directory Service's +// API operation StartSchemaExtension for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException" +// The specified directory is unavailable or could not be found. +// +// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" +// The specified entity could not be found. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// One or more parameters are not valid. +// +// * ErrCodeSnapshotLimitExceededException "SnapshotLimitExceededException" +// The maximum number of manual snapshots for the directory has been reached. +// You can use the GetSnapshotLimits operation to determine the snapshot limits +// for a directory. +// +// * ErrCodeClientException "ClientException" +// A client exception has occurred. +// +// * ErrCodeServiceException "ServiceException" +// An exception has occurred in AWS Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension +func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error) { + req, out := c.StartSchemaExtensionRequest(input) + return out, req.Send() +} + +// StartSchemaExtensionWithContext is the same as StartSchemaExtension with the addition of +// the ability to pass a context and additional request options. +// +// See StartSchemaExtension 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 *DirectoryService) StartSchemaExtensionWithContext(ctx aws.Context, input *StartSchemaExtensionInput, opts ...request.Option) (*StartSchemaExtensionOutput, error) { + req, out := c.StartSchemaExtensionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUnshareDirectory = "UnshareDirectory" + +// UnshareDirectoryRequest generates a "aws/request.Request" representing the +// client's request for the UnshareDirectory operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UnshareDirectory for more information on using the UnshareDirectory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UnshareDirectoryRequest method. +// req, resp := client.UnshareDirectoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory +func (c *DirectoryService) UnshareDirectoryRequest(input *UnshareDirectoryInput) (req *request.Request, output *UnshareDirectoryOutput) { + op := &request.Operation{ + Name: opUnshareDirectory, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UnshareDirectoryInput{} + } + + output = &UnshareDirectoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// UnshareDirectory API operation for AWS Directory Service. +// +// Stops the directory sharing between the directory owner and consumer 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 Directory Service's +// API operation UnshareDirectory for usage and error information. +// +// Returned Error Codes: +// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException" +// The specified entity could not be found. +// +// * ErrCodeInvalidTargetException "InvalidTargetException" +// The specified shared target is not valid. +// +// * ErrCodeDirectoryNotSharedException "DirectoryNotSharedException" +// The specified directory has not been shared with this AWS account. +// +// * ErrCodeClientException "ClientException" +// A client exception has occurred. +// +// * ErrCodeServiceException "ServiceException" +// An exception has occurred in AWS Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory +func (c *DirectoryService) UnshareDirectory(input *UnshareDirectoryInput) (*UnshareDirectoryOutput, error) { + req, out := c.UnshareDirectoryRequest(input) + return out, req.Send() +} + +// UnshareDirectoryWithContext is the same as UnshareDirectory with the addition of +// the ability to pass a context and additional request options. +// +// See UnshareDirectory 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 *DirectoryService) UnshareDirectoryWithContext(ctx aws.Context, input *UnshareDirectoryInput, opts ...request.Option) (*UnshareDirectoryOutput, error) { + req, out := c.UnshareDirectoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConditionalForwarder = "UpdateConditionalForwarder" + +// UpdateConditionalForwarderRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConditionalForwarder operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConditionalForwarder for more information on using the UpdateConditionalForwarder +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConditionalForwarderRequest method. // req, resp := client.UpdateConditionalForwarderRequest(params) // // err := req.Send() @@ -4043,7 +4538,7 @@ func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *r // UpdateRadius API operation for AWS Directory Service. // // Updates the Remote Authentication Dial In User Service (RADIUS) server information -// for an AD Connector directory. +// for an AD Connector or Microsoft AD directory. // // 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 @@ -4182,6 +4677,68 @@ func (c *DirectoryService) VerifyTrustWithContext(ctx aws.Context, input *Verify return out, req.Send() } +type AcceptSharedDirectoryInput struct { + _ struct{} `type:"structure"` + + // Identifier of the shared directory in the directory consumer account. This + // identifier is different for each directory owner account. + // + // SharedDirectoryId is a required field + SharedDirectoryId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AcceptSharedDirectoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptSharedDirectoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptSharedDirectoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptSharedDirectoryInput"} + if s.SharedDirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("SharedDirectoryId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *AcceptSharedDirectoryInput) SetSharedDirectoryId(v string) *AcceptSharedDirectoryInput { + s.SharedDirectoryId = &v + return s +} + +type AcceptSharedDirectoryOutput struct { + _ struct{} `type:"structure"` + + // The shared directory in the directory consumer account. + SharedDirectory *SharedDirectory `type:"structure"` +} + +// String returns the string representation +func (s AcceptSharedDirectoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptSharedDirectoryOutput) GoString() string { + return s.String() +} + +// SetSharedDirectory sets the SharedDirectory field's value. +func (s *AcceptSharedDirectoryOutput) SetSharedDirectory(v *SharedDirectory) *AcceptSharedDirectoryOutput { + s.SharedDirectory = v + return s +} + type AddIpRoutesInput struct { _ struct{} `type:"structure"` @@ -4593,7 +5150,7 @@ type ConnectDirectoryInput struct { // A textual description for the directory. Description *string `type:"string"` - // The fully-qualified name of the on-premises directory, such as corp.example.com. + // The fully qualified name of the on-premises directory, such as corp.example.com. // // Name is a required field Name *string `type:"string" required:"true"` @@ -5034,7 +5591,7 @@ type CreateDirectoryInput struct { Name *string `type:"string" required:"true"` // The password for the directory administrator. The directory creation process - // creates a directory administrator account with the username Administrator + // creates a directory administrator account with the user name Administrator // and this password. // // Password is a required field @@ -6272,100 +6829,200 @@ func (s *DescribeEventTopicsOutput) SetEventTopics(v []*EventTopic) *DescribeEve return s } -// Contains the inputs for the DescribeSnapshots operation. -type DescribeSnapshotsInput struct { +type DescribeSharedDirectoriesInput struct { _ struct{} `type:"structure"` - // The identifier of the directory for which to retrieve snapshot information. - DirectoryId *string `type:"string"` - - // The maximum number of objects to return. + // The number of shared directories to return in the response object. Limit *int64 `type:"integer"` - // The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. - // Pass null if this is the first call. + // The DescribeSharedDirectoriesResult.NextToken value from a previous call + // to DescribeSharedDirectories. Pass null if this is the first call. NextToken *string `type:"string"` - // A list of identifiers of the snapshots to obtain the information for. If - // this member is null or empty, all snapshots are returned using the Limit - // and NextToken members. - SnapshotIds []*string `type:"list"` + // Returns the identifier of the directory in the directory owner account. + // + // OwnerDirectoryId is a required field + OwnerDirectoryId *string `type:"string" required:"true"` + + // A list of identifiers of all shared directories in your account. + SharedDirectoryIds []*string `type:"list"` } // String returns the string representation -func (s DescribeSnapshotsInput) String() string { +func (s DescribeSharedDirectoriesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeSnapshotsInput) GoString() string { +func (s DescribeSharedDirectoriesInput) GoString() string { return s.String() } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeSnapshotsInput) SetDirectoryId(v string) *DescribeSnapshotsInput { - s.DirectoryId = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeSharedDirectoriesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeSharedDirectoriesInput"} + if s.OwnerDirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("OwnerDirectoryId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // SetLimit sets the Limit field's value. -func (s *DescribeSnapshotsInput) SetLimit(v int64) *DescribeSnapshotsInput { +func (s *DescribeSharedDirectoriesInput) SetLimit(v int64) *DescribeSharedDirectoriesInput { s.Limit = &v return s } // SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput { +func (s *DescribeSharedDirectoriesInput) SetNextToken(v string) *DescribeSharedDirectoriesInput { s.NextToken = &v return s } -// SetSnapshotIds sets the SnapshotIds field's value. -func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsInput { - s.SnapshotIds = v +// SetOwnerDirectoryId sets the OwnerDirectoryId field's value. +func (s *DescribeSharedDirectoriesInput) SetOwnerDirectoryId(v string) *DescribeSharedDirectoriesInput { + s.OwnerDirectoryId = &v return s } -// Contains the results of the DescribeSnapshots operation. -type DescribeSnapshotsOutput struct { +// SetSharedDirectoryIds sets the SharedDirectoryIds field's value. +func (s *DescribeSharedDirectoriesInput) SetSharedDirectoryIds(v []*string) *DescribeSharedDirectoriesInput { + s.SharedDirectoryIds = v + return s +} + +type DescribeSharedDirectoriesOutput struct { _ struct{} `type:"structure"` - // If not null, more results are available. Pass this value in the NextToken - // member of a subsequent call to DescribeSnapshots. + // If not null, token that indicates that more results are available. Pass this + // value for the NextToken parameter in a subsequent call to DescribeSharedDirectories + // to retrieve the next set of items. NextToken *string `type:"string"` - // The list of Snapshot objects that were retrieved. - // - // It is possible that this list contains less than the number of items specified - // in the Limit member of the request. This occurs if there are less than the - // requested number of items left to retrieve, or if the limitations of the - // operation have been exceeded. - Snapshots []*Snapshot `type:"list"` + // A list of all shared directories in your account. + SharedDirectories []*SharedDirectory `type:"list"` } // String returns the string representation -func (s DescribeSnapshotsOutput) String() string { +func (s DescribeSharedDirectoriesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeSnapshotsOutput) GoString() string { +func (s DescribeSharedDirectoriesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput { +func (s *DescribeSharedDirectoriesOutput) SetNextToken(v string) *DescribeSharedDirectoriesOutput { s.NextToken = &v return s } -// SetSnapshots sets the Snapshots field's value. -func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput { - s.Snapshots = v +// SetSharedDirectories sets the SharedDirectories field's value. +func (s *DescribeSharedDirectoriesOutput) SetSharedDirectories(v []*SharedDirectory) *DescribeSharedDirectoriesOutput { + s.SharedDirectories = v return s } -// Describes the trust relationships for a particular Microsoft AD in the AWS +// Contains the inputs for the DescribeSnapshots operation. +type DescribeSnapshotsInput struct { + _ struct{} `type:"structure"` + + // The identifier of the directory for which to retrieve snapshot information. + DirectoryId *string `type:"string"` + + // The maximum number of objects to return. + Limit *int64 `type:"integer"` + + // The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. + // Pass null if this is the first call. + NextToken *string `type:"string"` + + // A list of identifiers of the snapshots to obtain the information for. If + // this member is null or empty, all snapshots are returned using the Limit + // and NextToken members. + SnapshotIds []*string `type:"list"` +} + +// String returns the string representation +func (s DescribeSnapshotsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSnapshotsInput) GoString() string { + return s.String() +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *DescribeSnapshotsInput) SetDirectoryId(v string) *DescribeSnapshotsInput { + s.DirectoryId = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *DescribeSnapshotsInput) SetLimit(v int64) *DescribeSnapshotsInput { + s.Limit = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput { + s.NextToken = &v + return s +} + +// SetSnapshotIds sets the SnapshotIds field's value. +func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsInput { + s.SnapshotIds = v + return s +} + +// Contains the results of the DescribeSnapshots operation. +type DescribeSnapshotsOutput struct { + _ struct{} `type:"structure"` + + // If not null, more results are available. Pass this value in the NextToken + // member of a subsequent call to DescribeSnapshots. + NextToken *string `type:"string"` + + // The list of Snapshot objects that were retrieved. + // + // It is possible that this list contains less than the number of items specified + // in the Limit member of the request. This occurs if there are less than the + // requested number of items left to retrieve, or if the limitations of the + // operation have been exceeded. + Snapshots []*Snapshot `type:"list"` +} + +// String returns the string representation +func (s DescribeSnapshotsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSnapshotsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput { + s.NextToken = &v + return s +} + +// SetSnapshots sets the Snapshots field's value. +func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput { + s.Snapshots = v + return s +} + +// Describes the trust relationships for a particular Microsoft AD in the AWS // cloud. If no input parameters are are provided, such as directory ID or trust // ID, this request describes all the trust relationships. type DescribeTrustsInput struct { @@ -6475,8 +7132,8 @@ type DirectoryConnectSettings struct { // CustomerDnsIps is a required field CustomerDnsIps []*string `type:"list" required:"true"` - // The username of an account in the on-premises directory that is used to connect - // to the directory. This account must have the following privileges: + // The user name of an account in the on-premises directory that is used to + // connect to the directory. This account must have the following permissions: // // * Read users and groups // @@ -6567,7 +7224,7 @@ type DirectoryConnectSettingsDescription struct { // The IP addresses of the AD Connector servers. ConnectIps []*string `type:"list"` - // The username of the service account in the on-premises directory. + // The user name of the service account in the on-premises directory. CustomerUserName *string `min:"1" type:"string"` // The security group identifier for the AD Connector directory. @@ -6667,9 +7324,12 @@ type DirectoryDescription struct { // Specifies when the directory was created. LaunchTime *time.Time `type:"timestamp"` - // The fully-qualified name of the directory. + // The fully qualified name of the directory. Name *string `type:"string"` + // Describes the AWS Managed Microsoft AD directory in the directory owner account. + OwnerDirectoryDescription *OwnerDirectoryDescription `type:"structure"` + // A RadiusSettings object that contains information about the RADIUS server // configured for this directory. RadiusSettings *RadiusSettings `type:"structure"` @@ -6677,13 +7337,26 @@ type DirectoryDescription struct { // The status of the RADIUS MFA server connection. RadiusStatus *string `type:"string" enum:"RadiusStatus"` + // The method used when sharing a directory to determine whether the directory + // should be shared within your AWS organization (ORGANIZATIONS) or with any + // AWS account by sending a shared directory request (HANDSHAKE). + ShareMethod *string `type:"string" enum:"ShareMethod"` + + // A directory share request that is sent by the directory owner to the directory + // consumer. The request includes a typed message to help the directory consumer + // administrator determine whether to approve or reject the share invitation. + ShareNotes *string `type:"string"` + + // Current directory status of the shared AWS Managed Microsoft AD directory. + ShareStatus *string `type:"string" enum:"ShareStatus"` + // The short name of the directory. ShortName *string `type:"string"` // The directory size. Size *string `type:"string" enum:"DirectorySize"` - // Indicates if single-sign on is enabled for the directory. For more information, + // Indicates if single sign-on is enabled for the directory. For more information, // see EnableSso and DisableSso. SsoEnabled *bool `type:"boolean"` @@ -6775,6 +7448,12 @@ func (s *DirectoryDescription) SetName(v string) *DirectoryDescription { return s } +// SetOwnerDirectoryDescription sets the OwnerDirectoryDescription field's value. +func (s *DirectoryDescription) SetOwnerDirectoryDescription(v *OwnerDirectoryDescription) *DirectoryDescription { + s.OwnerDirectoryDescription = v + return s +} + // SetRadiusSettings sets the RadiusSettings field's value. func (s *DirectoryDescription) SetRadiusSettings(v *RadiusSettings) *DirectoryDescription { s.RadiusSettings = v @@ -6787,6 +7466,24 @@ func (s *DirectoryDescription) SetRadiusStatus(v string) *DirectoryDescription { return s } +// SetShareMethod sets the ShareMethod field's value. +func (s *DirectoryDescription) SetShareMethod(v string) *DirectoryDescription { + s.ShareMethod = &v + return s +} + +// SetShareNotes sets the ShareNotes field's value. +func (s *DirectoryDescription) SetShareNotes(v string) *DirectoryDescription { + s.ShareNotes = &v + return s +} + +// SetShareStatus sets the ShareStatus field's value. +func (s *DirectoryDescription) SetShareStatus(v string) *DirectoryDescription { + s.ShareStatus = &v + return s +} + // SetShortName sets the ShortName field's value. func (s *DirectoryDescription) SetShortName(v string) *DirectoryDescription { s.ShortName = &v @@ -8107,6 +8804,77 @@ func (s *LogSubscription) SetSubscriptionCreatedDateTime(v time.Time) *LogSubscr return s } +// Describes the directory owner account details that have been shared to the +// directory consumer account. +type OwnerDirectoryDescription struct { + _ struct{} `type:"structure"` + + // Identifier of the directory owner account. + AccountId *string `type:"string"` + + // Identifier of the AWS Managed Microsoft AD directory in the directory owner + // account. + DirectoryId *string `type:"string"` + + // IP address of the directory’s domain controllers. + DnsIpAddrs []*string `type:"list"` + + // A RadiusSettings object that contains information about the RADIUS server. + RadiusSettings *RadiusSettings `type:"structure"` + + // Information about the status of the RADIUS server. + RadiusStatus *string `type:"string" enum:"RadiusStatus"` + + // Information about the VPC settings for the directory. + VpcSettings *DirectoryVpcSettingsDescription `type:"structure"` +} + +// String returns the string representation +func (s OwnerDirectoryDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OwnerDirectoryDescription) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *OwnerDirectoryDescription) SetAccountId(v string) *OwnerDirectoryDescription { + s.AccountId = &v + return s +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *OwnerDirectoryDescription) SetDirectoryId(v string) *OwnerDirectoryDescription { + s.DirectoryId = &v + return s +} + +// SetDnsIpAddrs sets the DnsIpAddrs field's value. +func (s *OwnerDirectoryDescription) SetDnsIpAddrs(v []*string) *OwnerDirectoryDescription { + s.DnsIpAddrs = v + return s +} + +// SetRadiusSettings sets the RadiusSettings field's value. +func (s *OwnerDirectoryDescription) SetRadiusSettings(v *RadiusSettings) *OwnerDirectoryDescription { + s.RadiusSettings = v + return s +} + +// SetRadiusStatus sets the RadiusStatus field's value. +func (s *OwnerDirectoryDescription) SetRadiusStatus(v string) *OwnerDirectoryDescription { + s.RadiusStatus = &v + return s +} + +// SetVpcSettings sets the VpcSettings field's value. +func (s *OwnerDirectoryDescription) SetVpcSettings(v *DirectoryVpcSettingsDescription) *OwnerDirectoryDescription { + s.VpcSettings = v + return s +} + // Contains information about a Remote Authentication Dial In User Service (RADIUS) // server. type RadiusSettings struct { @@ -8134,7 +8902,7 @@ type RadiusSettings struct { // The amount of time, in seconds, to wait for the RADIUS server to respond. RadiusTimeout *int64 `min:"1" type:"integer"` - // Not currently used. + // Required for enabling RADIUS on the directory. SharedSecret *string `min:"8" type:"string"` // Not currently used. @@ -8293,6 +9061,68 @@ func (s RegisterEventTopicOutput) GoString() string { return s.String() } +type RejectSharedDirectoryInput struct { + _ struct{} `type:"structure"` + + // Identifier of the shared directory in the directory consumer account. This + // identifier is different for each directory owner account. + // + // SharedDirectoryId is a required field + SharedDirectoryId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s RejectSharedDirectoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectSharedDirectoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectSharedDirectoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectSharedDirectoryInput"} + if s.SharedDirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("SharedDirectoryId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *RejectSharedDirectoryInput) SetSharedDirectoryId(v string) *RejectSharedDirectoryInput { + s.SharedDirectoryId = &v + return s +} + +type RejectSharedDirectoryOutput struct { + _ struct{} `type:"structure"` + + // Identifier of the shared directory in the directory consumer account. + SharedDirectoryId *string `type:"string"` +} + +// String returns the string representation +func (s RejectSharedDirectoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectSharedDirectoryOutput) GoString() string { + return s.String() +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *RejectSharedDirectoryOutput) SetSharedDirectoryId(v string) *RejectSharedDirectoryOutput { + s.SharedDirectoryId = &v + return s +} + type RemoveIpRoutesInput struct { _ struct{} `type:"structure"` @@ -8439,7 +9269,7 @@ type ResetUserPasswordInput struct { // NewPassword is a required field NewPassword *string `min:"1" type:"string" required:"true"` - // The username of the user whose password will be reset. + // The user name of the user whose password will be reset. // // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` @@ -8645,6 +9475,276 @@ func (s *SchemaExtensionInfo) SetStartDateTime(v time.Time) *SchemaExtensionInfo return s } +type ShareDirectoryInput struct { + _ struct{} `type:"structure"` + + // Identifier of the AWS Managed Microsoft AD directory that you want to share + // with other AWS accounts. + // + // DirectoryId is a required field + DirectoryId *string `type:"string" required:"true"` + + // The method used when sharing a directory to determine whether the directory + // should be shared within your AWS organization (ORGANIZATIONS) or with any + // AWS account by sending a directory sharing request (HANDSHAKE). + // + // ShareMethod is a required field + ShareMethod *string `type:"string" required:"true" enum:"ShareMethod"` + + // A directory share request that is sent by the directory owner to the directory + // consumer. The request includes a typed message to help the directory consumer + // administrator determine whether to approve or reject the share invitation. + ShareNotes *string `type:"string"` + + // Identifier for the directory consumer account with whom the directory is + // to be shared. + // + // ShareTarget is a required field + ShareTarget *ShareTarget `type:"structure" required:"true"` +} + +// String returns the string representation +func (s ShareDirectoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ShareDirectoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ShareDirectoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ShareDirectoryInput"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.ShareMethod == nil { + invalidParams.Add(request.NewErrParamRequired("ShareMethod")) + } + if s.ShareTarget == nil { + invalidParams.Add(request.NewErrParamRequired("ShareTarget")) + } + if s.ShareTarget != nil { + if err := s.ShareTarget.Validate(); err != nil { + invalidParams.AddNested("ShareTarget", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *ShareDirectoryInput) SetDirectoryId(v string) *ShareDirectoryInput { + s.DirectoryId = &v + return s +} + +// SetShareMethod sets the ShareMethod field's value. +func (s *ShareDirectoryInput) SetShareMethod(v string) *ShareDirectoryInput { + s.ShareMethod = &v + return s +} + +// SetShareNotes sets the ShareNotes field's value. +func (s *ShareDirectoryInput) SetShareNotes(v string) *ShareDirectoryInput { + s.ShareNotes = &v + return s +} + +// SetShareTarget sets the ShareTarget field's value. +func (s *ShareDirectoryInput) SetShareTarget(v *ShareTarget) *ShareDirectoryInput { + s.ShareTarget = v + return s +} + +type ShareDirectoryOutput struct { + _ struct{} `type:"structure"` + + // Identifier of the directory that is stored in the directory consumer account + // that is shared from the specified directory (DirectoryId). + SharedDirectoryId *string `type:"string"` +} + +// String returns the string representation +func (s ShareDirectoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ShareDirectoryOutput) GoString() string { + return s.String() +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *ShareDirectoryOutput) SetSharedDirectoryId(v string) *ShareDirectoryOutput { + s.SharedDirectoryId = &v + return s +} + +// Identifier that contains details about the directory consumer account. +type ShareTarget struct { + _ struct{} `type:"structure"` + + // Identifier of the directory consumer account. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // Type of identifier to be used in the Id field. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"TargetType"` +} + +// String returns the string representation +func (s ShareTarget) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ShareTarget) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ShareTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ShareTarget"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *ShareTarget) SetId(v string) *ShareTarget { + s.Id = &v + return s +} + +// SetType sets the Type field's value. +func (s *ShareTarget) SetType(v string) *ShareTarget { + s.Type = &v + return s +} + +// Details about the shared directory in the directory owner account for which +// the share request in the directory consumer account has been accepted. +type SharedDirectory struct { + _ struct{} `type:"structure"` + + // The date and time that the shared directory was created. + CreatedDateTime *time.Time `type:"timestamp"` + + // The date and time that the shared directory was last updated. + LastUpdatedDateTime *time.Time `type:"timestamp"` + + // Identifier of the directory owner account, which contains the directory that + // has been shared to the consumer account. + OwnerAccountId *string `type:"string"` + + // Identifier of the directory in the directory owner account. + OwnerDirectoryId *string `type:"string"` + + // The method used when sharing a directory to determine whether the directory + // should be shared within your AWS organization (ORGANIZATIONS) or with any + // AWS account by sending a shared directory request (HANDSHAKE). + ShareMethod *string `type:"string" enum:"ShareMethod"` + + // A directory share request that is sent by the directory owner to the directory + // consumer. The request includes a typed message to help the directory consumer + // administrator determine whether to approve or reject the share invitation. + ShareNotes *string `type:"string"` + + // Current directory status of the shared AWS Managed Microsoft AD directory. + ShareStatus *string `type:"string" enum:"ShareStatus"` + + // Identifier of the directory consumer account that has access to the shared + // directory (OwnerDirectoryId) in the directory owner account. + SharedAccountId *string `type:"string"` + + // Identifier of the shared directory in the directory consumer account. This + // identifier is different for each directory owner account. + SharedDirectoryId *string `type:"string"` +} + +// String returns the string representation +func (s SharedDirectory) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SharedDirectory) GoString() string { + return s.String() +} + +// SetCreatedDateTime sets the CreatedDateTime field's value. +func (s *SharedDirectory) SetCreatedDateTime(v time.Time) *SharedDirectory { + s.CreatedDateTime = &v + return s +} + +// SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value. +func (s *SharedDirectory) SetLastUpdatedDateTime(v time.Time) *SharedDirectory { + s.LastUpdatedDateTime = &v + return s +} + +// SetOwnerAccountId sets the OwnerAccountId field's value. +func (s *SharedDirectory) SetOwnerAccountId(v string) *SharedDirectory { + s.OwnerAccountId = &v + return s +} + +// SetOwnerDirectoryId sets the OwnerDirectoryId field's value. +func (s *SharedDirectory) SetOwnerDirectoryId(v string) *SharedDirectory { + s.OwnerDirectoryId = &v + return s +} + +// SetShareMethod sets the ShareMethod field's value. +func (s *SharedDirectory) SetShareMethod(v string) *SharedDirectory { + s.ShareMethod = &v + return s +} + +// SetShareNotes sets the ShareNotes field's value. +func (s *SharedDirectory) SetShareNotes(v string) *SharedDirectory { + s.ShareNotes = &v + return s +} + +// SetShareStatus sets the ShareStatus field's value. +func (s *SharedDirectory) SetShareStatus(v string) *SharedDirectory { + s.ShareStatus = &v + return s +} + +// SetSharedAccountId sets the SharedAccountId field's value. +func (s *SharedDirectory) SetSharedAccountId(v string) *SharedDirectory { + s.SharedAccountId = &v + return s +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *SharedDirectory) SetSharedDirectoryId(v string) *SharedDirectory { + s.SharedDirectoryId = &v + return s +} + // Describes a directory snapshot. type Snapshot struct { _ struct{} `type:"structure"` @@ -9033,6 +10133,146 @@ func (s *Trust) SetTrustType(v string) *Trust { return s } +type UnshareDirectoryInput struct { + _ struct{} `type:"structure"` + + // The identifier of the AWS Managed Microsoft AD directory that you want to + // stop sharing. + // + // DirectoryId is a required field + DirectoryId *string `type:"string" required:"true"` + + // Identifier for the directory consumer account with whom the directory has + // to be unshared. + // + // UnshareTarget is a required field + UnshareTarget *UnshareTarget `type:"structure" required:"true"` +} + +// String returns the string representation +func (s UnshareDirectoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnshareDirectoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UnshareDirectoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UnshareDirectoryInput"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.UnshareTarget == nil { + invalidParams.Add(request.NewErrParamRequired("UnshareTarget")) + } + if s.UnshareTarget != nil { + if err := s.UnshareTarget.Validate(); err != nil { + invalidParams.AddNested("UnshareTarget", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *UnshareDirectoryInput) SetDirectoryId(v string) *UnshareDirectoryInput { + s.DirectoryId = &v + return s +} + +// SetUnshareTarget sets the UnshareTarget field's value. +func (s *UnshareDirectoryInput) SetUnshareTarget(v *UnshareTarget) *UnshareDirectoryInput { + s.UnshareTarget = v + return s +} + +type UnshareDirectoryOutput struct { + _ struct{} `type:"structure"` + + // Identifier of the directory stored in the directory consumer account that + // is to be unshared from the specified directory (DirectoryId). + SharedDirectoryId *string `type:"string"` +} + +// String returns the string representation +func (s UnshareDirectoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnshareDirectoryOutput) GoString() string { + return s.String() +} + +// SetSharedDirectoryId sets the SharedDirectoryId field's value. +func (s *UnshareDirectoryOutput) SetSharedDirectoryId(v string) *UnshareDirectoryOutput { + s.SharedDirectoryId = &v + return s +} + +// Identifier that contains details about the directory consumer account with +// whom the directory is being unshared. +type UnshareTarget struct { + _ struct{} `type:"structure"` + + // Identifier of the directory consumer account. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // Type of identifier to be used in the Id field. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"TargetType"` +} + +// String returns the string representation +func (s UnshareTarget) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnshareTarget) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UnshareTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UnshareTarget"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *UnshareTarget) SetId(v string) *UnshareTarget { + s.Id = &v + return s +} + +// SetType sets the Type field's value. +func (s *UnshareTarget) SetType(v string) *UnshareTarget { + s.Type = &v + return s +} + // Updates a conditional forwarder. type UpdateConditionalForwarderInput struct { _ struct{} `type:"structure"` @@ -9385,6 +10625,9 @@ const ( // DirectoryTypeMicrosoftAd is a DirectoryType enum value DirectoryTypeMicrosoftAd = "MicrosoftAD" + + // DirectoryTypeSharedMicrosoftAd is a DirectoryType enum value + DirectoryTypeSharedMicrosoftAd = "SharedMicrosoftAD" ) const ( @@ -9489,6 +10732,43 @@ const ( SchemaExtensionStatusCompleted = "Completed" ) +const ( + // ShareMethodOrganizations is a ShareMethod enum value + ShareMethodOrganizations = "ORGANIZATIONS" + + // ShareMethodHandshake is a ShareMethod enum value + ShareMethodHandshake = "HANDSHAKE" +) + +const ( + // ShareStatusShared is a ShareStatus enum value + ShareStatusShared = "Shared" + + // ShareStatusPendingAcceptance is a ShareStatus enum value + ShareStatusPendingAcceptance = "PendingAcceptance" + + // ShareStatusRejected is a ShareStatus enum value + ShareStatusRejected = "Rejected" + + // ShareStatusRejecting is a ShareStatus enum value + ShareStatusRejecting = "Rejecting" + + // ShareStatusRejectFailed is a ShareStatus enum value + ShareStatusRejectFailed = "RejectFailed" + + // ShareStatusSharing is a ShareStatus enum value + ShareStatusSharing = "Sharing" + + // ShareStatusShareFailed is a ShareStatus enum value + ShareStatusShareFailed = "ShareFailed" + + // ShareStatusDeleted is a ShareStatus enum value + ShareStatusDeleted = "Deleted" + + // ShareStatusDeleting is a ShareStatus enum value + ShareStatusDeleting = "Deleting" +) + const ( // SnapshotStatusCreating is a SnapshotStatus enum value SnapshotStatusCreating = "Creating" @@ -9508,6 +10788,11 @@ const ( SnapshotTypeManual = "Manual" ) +const ( + // TargetTypeAccount is a TargetType enum value + TargetTypeAccount = "ACCOUNT" +) + const ( // TopicStatusRegistered is a TopicStatus enum value TopicStatusRegistered = "Registered" diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go index 85d83136429..b5bdd25a10f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/errors.go @@ -4,6 +4,12 @@ package directoryservice const ( + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You do not have sufficient access to perform this action. + ErrCodeAccessDeniedException = "AccessDeniedException" + // ErrCodeAuthenticationFailedException for service response error code // "AuthenticationFailedException". // @@ -16,6 +22,12 @@ const ( // A client exception has occurred. ErrCodeClientException = "ClientException" + // ErrCodeDirectoryAlreadySharedException for service response error code + // "DirectoryAlreadySharedException". + // + // The specified directory has already been shared with this AWS account. + ErrCodeDirectoryAlreadySharedException = "DirectoryAlreadySharedException" + // ErrCodeDirectoryLimitExceededException for service response error code // "DirectoryLimitExceededException". // @@ -24,6 +36,12 @@ const ( // the region. ErrCodeDirectoryLimitExceededException = "DirectoryLimitExceededException" + // ErrCodeDirectoryNotSharedException for service response error code + // "DirectoryNotSharedException". + // + // The specified directory has not been shared with this AWS account. + ErrCodeDirectoryNotSharedException = "DirectoryNotSharedException" + // ErrCodeDirectoryUnavailableException for service response error code // "DirectoryUnavailableException". // @@ -74,6 +92,12 @@ const ( // requirements defined in your directory. ErrCodeInvalidPasswordException = "InvalidPasswordException" + // ErrCodeInvalidTargetException for service response error code + // "InvalidTargetException". + // + // The specified shared target is not valid. + ErrCodeInvalidTargetException = "InvalidTargetException" + // ErrCodeIpRouteLimitExceededException for service response error code // "IpRouteLimitExceededException". // @@ -81,12 +105,25 @@ const ( // is 100 IP address blocks. ErrCodeIpRouteLimitExceededException = "IpRouteLimitExceededException" + // ErrCodeOrganizationsException for service response error code + // "OrganizationsException". + // + // Exception encountered while trying to access your AWS organization. + ErrCodeOrganizationsException = "OrganizationsException" + // ErrCodeServiceException for service response error code // "ServiceException". // // An exception has occurred in AWS Directory Service. ErrCodeServiceException = "ServiceException" + // ErrCodeShareLimitExceededException for service response error code + // "ShareLimitExceededException". + // + // The maximum number of AWS accounts that you can share with this directory + // has been reached. + ErrCodeShareLimitExceededException = "ShareLimitExceededException" + // ErrCodeSnapshotLimitExceededException for service response error code // "SnapshotLimitExceededException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go index 495f5321afd..5d4ffc3d48c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -27990,7 +27990,8 @@ type CreateFlowLogsInput struct { // can also specify a subfolder in the bucket. To specify a subfolder in the // bucket, use the following ARN format: bucket_ARN/subfolder_name/. For example, // to specify a subfolder named my-logs in a bucket named my-bucket, use the - // following ARN: arn:aws:s3:::my-bucket/my-logs/. + // following ARN: arn:aws:s3:::my-bucket/my-logs/. You cannot use AWSLogs as + // a subfolder name. This is a reserved term. LogDestination *string `type:"string"` // Specifies the type of destination to which the flow log data is to be published. @@ -28271,7 +28272,9 @@ func (s *CreateFpgaImageOutput) SetFpgaImageId(v string) *CreateFpgaImageOutput type CreateImageInput struct { _ struct{} `type:"structure"` - // Information about one or more block device mappings. + // Information about one or more block device mappings. This parameter cannot + // be used to modify the encryption status of existing volumes or snapshots. + // To create an AMI with encrypted snapshots, use the CopyImage action. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // A description for the new image. @@ -39952,6 +39955,14 @@ type DescribeRouteTablesInput struct { // * vpc-id - The ID of the VPC for the route table. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned NextToken value. This + // value can be between 5 and 100. + MaxResults *int64 `type:"integer"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` + // One or more route table IDs. // // Default: Describes all your route tables. @@ -39980,15 +39991,32 @@ func (s *DescribeRouteTablesInput) SetFilters(v []*Filter) *DescribeRouteTablesI return s } +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeRouteTablesInput) SetMaxResults(v int64) *DescribeRouteTablesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeRouteTablesInput) SetNextToken(v string) *DescribeRouteTablesInput { + s.NextToken = &v + return s +} + // SetRouteTableIds sets the RouteTableIds field's value. func (s *DescribeRouteTablesInput) SetRouteTableIds(v []*string) *DescribeRouteTablesInput { s.RouteTableIds = v return s } +// Contains the output of DescribeRouteTables. type DescribeRouteTablesOutput struct { _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + // Information about one or more route tables. RouteTables []*RouteTable `locationName:"routeTableSet" locationNameList:"item" type:"list"` } @@ -40003,6 +40031,12 @@ func (s DescribeRouteTablesOutput) GoString() string { return s.String() } +// SetNextToken sets the NextToken field's value. +func (s *DescribeRouteTablesOutput) SetNextToken(v string) *DescribeRouteTablesOutput { + s.NextToken = &v + return s +} + // SetRouteTables sets the RouteTables field's value. func (s *DescribeRouteTablesOutput) SetRouteTables(v []*RouteTable) *DescribeRouteTablesOutput { s.RouteTables = v @@ -45018,9 +45052,14 @@ type EbsBlockDevice struct { DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // Indicates whether the EBS volume is encrypted. Encrypted volumes can only - // be attached to instances that support Amazon EBS encryption. If you are creating - // a volume from a snapshot, you can't specify an encryption value. This is - // because only blank volumes can be encrypted on creation. + // be attached to instances that support Amazon EBS encryption. + // + // If you are creating a volume from a snapshot, you cannot specify an encryption + // value. This is because only blank volumes can be encrypted on creation. If + // you are creating a snapshot from an existing EBS volume, you cannot specify + // an encryption value that differs from that of the EBS volume. We recommend + // that you omit the encryption value from the block device mappings when creating + // an image from an instance. Encrypted *bool `locationName:"encrypted" type:"boolean"` // The number of I/O operations per second (IOPS) that the volume supports. diff --git a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go index 220bd22aaa3..83d1890b739 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go @@ -3709,6 +3709,91 @@ func (c *Glue) GetCrawlersPagesWithContext(ctx aws.Context, input *GetCrawlersIn return p.Err() } +const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings" + +// GetDataCatalogEncryptionSettingsRequest generates a "aws/request.Request" representing the +// client's request for the GetDataCatalogEncryptionSettings operation. The "output" return +// value will be populated with the request's response once the request completes +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetDataCatalogEncryptionSettings for more information on using the GetDataCatalogEncryptionSettings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method. +// req, resp := client.GetDataCatalogEncryptionSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings +func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) { + op := &request.Operation{ + Name: opGetDataCatalogEncryptionSettings, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetDataCatalogEncryptionSettingsInput{} + } + + output = &GetDataCatalogEncryptionSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDataCatalogEncryptionSettings API operation for AWS Glue. +// +// Retrieves the security configuration for a specified catalog. +// +// 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 Glue's +// API operation GetDataCatalogEncryptionSettings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalServiceException "InternalServiceException" +// An internal service error occurred. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// The input provided was not valid. +// +// * ErrCodeOperationTimeoutException "OperationTimeoutException" +// The operation timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings +func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) { + req, out := c.GetDataCatalogEncryptionSettingsRequest(input) + return out, req.Send() +} + +// GetDataCatalogEncryptionSettingsWithContext is the same as GetDataCatalogEncryptionSettings with the addition of +// the ability to pass a context and additional request options. +// +// See GetDataCatalogEncryptionSettings 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 *Glue) GetDataCatalogEncryptionSettingsWithContext(ctx aws.Context, input *GetDataCatalogEncryptionSettingsInput, opts ...request.Option) (*GetDataCatalogEncryptionSettingsOutput, error) { + req, out := c.GetDataCatalogEncryptionSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetDatabase = "GetDatabase" // GetDatabaseRequest generates a "aws/request.Request" representing the @@ -14004,6 +14089,66 @@ func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput { return s } +type GetDataCatalogEncryptionSettingsInput struct { + _ struct{} `type:"structure"` + + // The ID of the Data Catalog for which to retrieve the security configuration. + // If none is supplied, the AWS account ID is used by default. + CatalogId *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s GetDataCatalogEncryptionSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDataCatalogEncryptionSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDataCatalogEncryptionSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDataCatalogEncryptionSettingsInput"} + if s.CatalogId != nil && len(*s.CatalogId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CatalogId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCatalogId sets the CatalogId field's value. +func (s *GetDataCatalogEncryptionSettingsInput) SetCatalogId(v string) *GetDataCatalogEncryptionSettingsInput { + s.CatalogId = &v + return s +} + +type GetDataCatalogEncryptionSettingsOutput struct { + _ struct{} `type:"structure"` + + // The requested security configuration. + DataCatalogEncryptionSettings *DataCatalogEncryptionSettings `type:"structure"` +} + +// String returns the string representation +func (s GetDataCatalogEncryptionSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDataCatalogEncryptionSettingsOutput) GoString() string { + return s.String() +} + +// SetDataCatalogEncryptionSettings sets the DataCatalogEncryptionSettings field's value. +func (s *GetDataCatalogEncryptionSettingsOutput) SetDataCatalogEncryptionSettings(v *DataCatalogEncryptionSettings) *GetDataCatalogEncryptionSettingsOutput { + s.DataCatalogEncryptionSettings = v + return s +} + type GetDatabaseInput struct { _ struct{} `type:"structure"` 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 f0fecd4b19a..1d699dc9468 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 @@ -9821,6 +9821,9 @@ func (c *RDS) StartDBClusterRequest(input *StartDBClusterInput) (req *request.Re // Starts an Amazon Aurora DB cluster that was stopped using the AWS console, // the stop-db-cluster AWS CLI command, or the StopDBCluster action. // +// For more information, see Stopping and Starting an Aurora Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-cluster-stop-start.html) +// in the Amazon Aurora 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. @@ -10034,6 +10037,9 @@ func (c *RDS) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Requ // Aurora also retains the transaction logs so you can do a point-in-time restore // if necessary. // +// For more information, see Stopping and Starting an Aurora Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-cluster-stop-start.html) +// in the Amazon Aurora 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. @@ -11949,6 +11955,11 @@ type CreateDBClusterInput struct { // you are creating. DatabaseName *string `type:"string"` + // Indicates if the DB cluster should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. + DeletionProtection *bool `type:"boolean"` + // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` @@ -12204,6 +12215,12 @@ func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput { return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *CreateDBClusterInput) SetDeletionProtection(v bool) *CreateDBClusterInput { + s.DeletionProtection = &v + return s +} + // SetDestinationRegion sets the DestinationRegion field's value. func (s *CreateDBClusterInput) SetDestinationRegion(v string) *CreateDBClusterInput { s.DestinationRegion = &v @@ -12826,6 +12843,11 @@ type CreateDBInstanceInput struct { // If there is no DB subnet group, then it is a non-VPC DB instance. DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. For more information, see Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // Specify the Active Directory Domain to create the instance in. Domain *string `type:"string"` @@ -13392,6 +13414,12 @@ func (s *CreateDBInstanceInput) SetDBSubnetGroupName(v string) *CreateDBInstance return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *CreateDBInstanceInput) SetDeletionProtection(v bool) *CreateDBInstanceInput { + s.DeletionProtection = &v + return s +} + // SetDomain sets the Domain field's value. func (s *CreateDBInstanceInput) SetDomain(v string) *CreateDBInstanceInput { s.Domain = &v @@ -13666,6 +13694,11 @@ type CreateDBInstanceReadReplicaInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. For more information, see Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` @@ -13932,6 +13965,12 @@ func (s *CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName(v string) *Creat return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *CreateDBInstanceReadReplicaInput) SetDeletionProtection(v bool) *CreateDBInstanceReadReplicaInput { + s.DeletionProtection = &v + return s +} + // SetDestinationRegion sets the DestinationRegion field's value. func (s *CreateDBInstanceReadReplicaInput) SetDestinationRegion(v string) *CreateDBInstanceReadReplicaInput { s.DestinationRegion = &v @@ -14870,6 +14909,10 @@ type DBCluster struct { // cluster is accessed. DbClusterResourceId *string `type:"string"` + // Indicates if the DB cluster has deletion protection enabled. The database + // can't be deleted when this value is set to true. + DeletionProtection *bool `type:"boolean"` + // The earliest time to which a DB cluster can be backtracked. EarliestBacktrackTime *time.Time `type:"timestamp"` @@ -15089,6 +15132,12 @@ func (s *DBCluster) SetDbClusterResourceId(v string) *DBCluster { return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *DBCluster) SetDeletionProtection(v bool) *DBCluster { + s.DeletionProtection = &v + return s +} + // SetEarliestBacktrackTime sets the EarliestBacktrackTime field's value. func (s *DBCluster) SetEarliestBacktrackTime(v time.Time) *DBCluster { s.EarliestBacktrackTime = &v @@ -15980,6 +16029,11 @@ type DBInstance struct { // instance is accessed. DbiResourceId *string `type:"string"` + // Indicates if the DB instance has deletion protection enabled. The database + // can't be deleted when this value is set to true. For more information, see + // Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // The Active Directory Domain membership records associated with the DB instance. DomainMemberships []*DomainMembership `locationNameList:"DomainMembership" type:"list"` @@ -16253,6 +16307,12 @@ func (s *DBInstance) SetDbiResourceId(v string) *DBInstance { return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *DBInstance) SetDeletionProtection(v bool) *DBInstance { + s.DeletionProtection = &v + return s +} + // SetDomainMemberships sets the DomainMemberships field's value. func (s *DBInstance) SetDomainMemberships(v []*DomainMembership) *DBInstance { s.DomainMemberships = v @@ -22870,6 +22930,10 @@ type ModifyDBClusterInput struct { // The name of the DB cluster parameter group to use for the DB cluster. DBClusterParameterGroupName *string `type:"string"` + // Indicates if the DB cluster has deletion protection enabled. The database + // can't be deleted when this value is set to true. + DeletionProtection *bool `type:"boolean"` + // True to enable mapping of AWS Identity and Access Management (IAM) accounts // to database accounts, and otherwise false. // @@ -23024,6 +23088,12 @@ func (s *ModifyDBClusterInput) SetDBClusterParameterGroupName(v string) *ModifyD return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *ModifyDBClusterInput) SetDeletionProtection(v bool) *ModifyDBClusterInput { + s.DeletionProtection = &v + return s +} + // SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. func (s *ModifyDBClusterInput) SetEnableIAMDatabaseAuthentication(v bool) *ModifyDBClusterInput { s.EnableIAMDatabaseAuthentication = &v @@ -23473,6 +23543,11 @@ type ModifyDBInstanceInput struct { // Example: mySubnetGroup DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance has deletion protection enabled. The database + // can't be deleted when this value is set to true. For more information, see + // Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // The Active Directory Domain to move the instance to. Specify none to remove // the instance from its current domain. The domain must be created prior to // this operation. Currently only a Microsoft SQL Server instance can be created @@ -23882,6 +23957,12 @@ func (s *ModifyDBInstanceInput) SetDBSubnetGroupName(v string) *ModifyDBInstance return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *ModifyDBInstanceInput) SetDeletionProtection(v bool) *ModifyDBInstanceInput { + s.DeletionProtection = &v + return s +} + // SetDomain sets the Domain field's value. func (s *ModifyDBInstanceInput) SetDomain(v string) *ModifyDBInstanceInput { s.Domain = &v @@ -27177,6 +27258,11 @@ type RestoreDBClusterFromS3Input struct { // The database name for the restored DB cluster. DatabaseName *string `type:"string"` + // Indicates if the DB cluster should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. + DeletionProtection *bool `type:"boolean"` + // The list of logs that the restored DB cluster is to export to CloudWatch // Logs. The values in the list depend on the DB engine being used. For more // information, see Publishing Database Logs to Amazon CloudWatch Logs (http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) @@ -27428,6 +27514,12 @@ func (s *RestoreDBClusterFromS3Input) SetDatabaseName(v string) *RestoreDBCluste return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBClusterFromS3Input) SetDeletionProtection(v bool) *RestoreDBClusterFromS3Input { + s.DeletionProtection = &v + return s +} + // SetEnableCloudwatchLogsExports sets the EnableCloudwatchLogsExports field's value. func (s *RestoreDBClusterFromS3Input) SetEnableCloudwatchLogsExports(v []*string) *RestoreDBClusterFromS3Input { s.EnableCloudwatchLogsExports = v @@ -27612,6 +27704,11 @@ type RestoreDBClusterFromSnapshotInput struct { // The database name for the restored DB cluster. DatabaseName *string `type:"string"` + // Indicates if the DB cluster should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. + DeletionProtection *bool `type:"boolean"` + // The list of logs that the restored DB cluster is to export to CloudWatch // Logs. The values in the list depend on the DB engine being used. For more // information, see Publishing Database Logs to Amazon CloudWatch Logs (http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) @@ -27752,6 +27849,12 @@ func (s *RestoreDBClusterFromSnapshotInput) SetDatabaseName(v string) *RestoreDB return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBClusterFromSnapshotInput) SetDeletionProtection(v bool) *RestoreDBClusterFromSnapshotInput { + s.DeletionProtection = &v + return s +} + // SetEnableCloudwatchLogsExports sets the EnableCloudwatchLogsExports field's value. func (s *RestoreDBClusterFromSnapshotInput) SetEnableCloudwatchLogsExports(v []*string) *RestoreDBClusterFromSnapshotInput { s.EnableCloudwatchLogsExports = v @@ -27884,6 +27987,11 @@ type RestoreDBClusterToPointInTimeInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` + // Indicates if the DB cluster should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. + DeletionProtection *bool `type:"boolean"` + // The list of logs that the restored DB cluster is to export to CloudWatch // Logs. The values in the list depend on the DB engine being used. For more // information, see Publishing Database Logs to Amazon CloudWatch Logs (http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) @@ -28034,6 +28142,12 @@ func (s *RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName(v string) *Res return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBClusterToPointInTimeInput) SetDeletionProtection(v bool) *RestoreDBClusterToPointInTimeInput { + s.DeletionProtection = &v + return s +} + // SetEnableCloudwatchLogsExports sets the EnableCloudwatchLogsExports field's value. func (s *RestoreDBClusterToPointInTimeInput) SetEnableCloudwatchLogsExports(v []*string) *RestoreDBClusterToPointInTimeInput { s.EnableCloudwatchLogsExports = v @@ -28196,6 +28310,11 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. For more information, see Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // Specify the Active Directory Domain to restore the instance in. Domain *string `type:"string"` @@ -28405,6 +28524,12 @@ func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName(v string) *R return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBInstanceFromDBSnapshotInput) SetDeletionProtection(v bool) *RestoreDBInstanceFromDBSnapshotInput { + s.DeletionProtection = &v + return s +} + // SetDomain sets the Domain field's value. func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomain(v string) *RestoreDBInstanceFromDBSnapshotInput { s.Domain = &v @@ -28619,6 +28744,11 @@ type RestoreDBInstanceFromS3Input struct { // A DB subnet group to associate with this DB instance. DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. For more information, see Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // The list of logs that the restored DB instance is to export to CloudWatch // Logs. The values in the list depend on the DB engine being used. For more // information, see Publishing Database Logs to Amazon CloudWatch Logs (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) @@ -28941,6 +29071,12 @@ func (s *RestoreDBInstanceFromS3Input) SetDBSubnetGroupName(v string) *RestoreDB return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBInstanceFromS3Input) SetDeletionProtection(v bool) *RestoreDBInstanceFromS3Input { + s.DeletionProtection = &v + return s +} + // SetEnableCloudwatchLogsExports sets the EnableCloudwatchLogsExports field's value. func (s *RestoreDBInstanceFromS3Input) SetEnableCloudwatchLogsExports(v []*string) *RestoreDBInstanceFromS3Input { s.EnableCloudwatchLogsExports = v @@ -29194,6 +29330,11 @@ type RestoreDBInstanceToPointInTimeInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` + // Indicates if the DB instance should have deletion protection enabled. The + // database can't be deleted when this value is set to true. The default is + // false. For more information, see Deleting a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + DeletionProtection *bool `type:"boolean"` + // Specify the Active Directory Domain to restore the instance in. Domain *string `type:"string"` @@ -29428,6 +29569,12 @@ func (s *RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName(v string) *Re return s } +// SetDeletionProtection sets the DeletionProtection field's value. +func (s *RestoreDBInstanceToPointInTimeInput) SetDeletionProtection(v bool) *RestoreDBInstanceToPointInTimeInput { + s.DeletionProtection = &v + return s +} + // SetDomain sets the Domain field's value. func (s *RestoreDBInstanceToPointInTimeInput) SetDomain(v string) *RestoreDBInstanceToPointInTimeInput { s.Domain = &v diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go index 1b42a7dd686..3cded93215a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go @@ -63,21 +63,29 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // // When you create a queue, you have full control access rights for the queue. // Only you, the owner of the queue, can grant or deny permissions to the queue. -// For more information about these permissions, see Shared Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html) +// For more information about these permissions, see Allow Developers to Write +// Messages to a Shared Queue (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue) // in the Amazon Simple Queue Service Developer Guide. // // AddPermission writes an Amazon-SQS-generated policy. If you want to write // your own policy, use SetQueueAttributes to upload your policy. For more information -// about writing your own policy, see Using The Access Policy Language (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AccessPolicyLanguage.html) +// about writing your own policy, see Using Custom Policies with the Amazon +// SQS Access Policy Language (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) // in the Amazon Simple Queue Service Developer Guide. // +// An Amazon SQS policy can have a maximum of 7 actions. +// // Some actions take lists of parameters. These lists are specified using the // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first +// +// &Attribute.2=second // -// &Attribute.2=that +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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 @@ -88,10 +96,10 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // // Returned Error Codes: // * ErrCodeOverLimit "OverLimit" -// The action that you requested would violate a limit. For example, ReceiveMessage -// returns this error if the maximum number of inflight messages is reached. -// AddPermission returns this error if the maximum number of permissions for -// the queue is reached. +// The specified action violates a limit. For example, ReceiveMessage returns +// this error if the maximum number of inflight messages is reached and AddPermission +// returns this error if the maximum number of permissions for the queue is +// reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission func (c *SQS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -162,18 +170,15 @@ func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput // ChangeMessageVisibility API operation for Amazon Simple Queue Service. // // Changes the visibility timeout of a specified message in a queue to a new -// value. The maximum allowed timeout value is 12 hours. Thus, you can't extend -// the timeout of a message in an existing queue to more than a total visibility -// timeout of 12 hours. For more information, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) +// value. The maximum allowed timeout value is 12 hours. For more information, +// see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) // in the Amazon Simple Queue Service Developer Guide. // // For example, you have a message with a visibility timeout of 5 minutes. After -// 3 minutes, you call ChangeMessageVisiblity with a timeout of 10 minutes. -// At that time, the timeout for the message is extended by 10 minutes beyond -// the time of the ChangeMessageVisibility action. This results in a total visibility -// timeout of 13 minutes. You can continue to call the ChangeMessageVisibility -// to extend the visibility timeout to a maximum of 12 hours. If you try to -// extend the visibility timeout beyond 12 hours, your request is rejected. +// 3 minutes, you call ChangeMessageVisibility with a timeout of 10 minutes. +// You can continue to call ChangeMessageVisibility to extend the visibility +// timeout to a maximum of 12 hours. If you try to extend the visibility timeout +// beyond 12 hours, your request is rejected. // // A message is considered to be in flight after it's received from a queue // by a consumer, but not yet deleted from the queue. @@ -207,10 +212,10 @@ func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput // // Returned Error Codes: // * ErrCodeMessageNotInflight "AWS.SimpleQueueService.MessageNotInflight" -// The message referred to isn't in flight. +// The specified message isn't in flight. // // * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" -// The receipt handle provided isn't valid. +// The specified receipt handle isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility func (c *SQS) ChangeMessageVisibility(input *ChangeMessageVisibilityInput) (*ChangeMessageVisibilityOutput, error) { @@ -291,9 +296,9 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first // -// &Attribute.2=that +// &Attribute.2=second // // 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 @@ -390,7 +395,7 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // You can't change the queue type after you create it and you can't convert // an existing standard queue into a FIFO queue. You must either create a // new FIFO queue for your application or delete your existing standard queue -// and recreate it as a FIFO queue. For more information, see Moving From +// and recreate it as a FIFO queue. For more information, see Moving From // a Standard Queue to a FIFO Queue (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving) // in the Amazon Simple Queue Service Developer Guide. // @@ -418,9 +423,13 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first // -// &Attribute.2=that +// &Attribute.2=second +// +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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 @@ -432,10 +441,10 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // Returned Error Codes: // * ErrCodeQueueDeletedRecently "AWS.SimpleQueueService.QueueDeletedRecently" // You must wait 60 seconds after deleting a queue before you can create another -// one with the same name. +// queue with the same name. // // * ErrCodeQueueNameExists "QueueAlreadyExists" -// A queue already exists with this name. Amazon SQS returns this error only +// A queue with this name already exists. Amazon SQS returns this error only // if the request includes attributes whose values differ from those of the // existing queue. // @@ -507,26 +516,26 @@ func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Requ // DeleteMessage API operation for Amazon Simple Queue Service. // -// Deletes the specified message from the specified queue. You specify the message -// by using the message's receipt handle and not the MessageId you receive when -// you send the message. Even if the message is locked by another reader due -// to the visibility timeout setting, it is still deleted from the queue. If -// you leave a message in the queue for longer than the queue's configured retention -// period, Amazon SQS automatically deletes the message. +// Deletes the specified message from the specified queue. To select the message +// to delete, use the ReceiptHandle of the message (not the MessageId which +// you receive when you send the message). Amazon SQS can delete a message from +// a queue even if a visibility timeout setting causes the message to be locked +// by another consumer. Amazon SQS automatically deletes messages left in a +// queue longer than the retention period configured for the queue. // -// The receipt handle is associated with a specific instance of receiving the -// message. If you receive a message more than once, the receipt handle you -// get each time you receive the message is different. If you don't provide -// the most recently received receipt handle for the message when you use the -// DeleteMessage action, the request succeeds, but the message might not be -// deleted. +// The ReceiptHandle is associated with a specific instance of receiving a message. +// If you receive a message more than once, the ReceiptHandle is different each +// time you receive a message. When you use the DeleteMessage action, you must +// provide the most recently received ReceiptHandle for the message (otherwise, +// the request succeeds, but the message might not be deleted). // // For standard queues, it is possible to receive a message even after you delete -// it. This might happen on rare occasions if one of the servers storing a copy -// of the message is unavailable when you send the request to delete the message. -// The copy remains on the server and might be returned to you on a subsequent -// receive request. You should ensure that your application is idempotent, so -// that receiving a message more than once does not cause issues. +// it. This might happen on rare occasions if one of the servers which stores +// a copy of the message is unavailable when you send the request to delete +// the message. The copy remains on the server and might be returned to you +// during a subsequent receive request. You should ensure that your application +// is idempotent, so that receiving a message more than once does not cause +// issues. // // 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 @@ -537,10 +546,10 @@ func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Requ // // Returned Error Codes: // * ErrCodeInvalidIdFormat "InvalidIdFormat" -// The receipt handle isn't valid for the current version. +// The specified receipt handle isn't valid for the current version. // // * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" -// The receipt handle provided isn't valid. +// The specified receipt handle isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage func (c *SQS) DeleteMessage(input *DeleteMessageInput) (*DeleteMessageOutput, error) { @@ -620,9 +629,9 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first // -// &Attribute.2=that +// &Attribute.2=second // // 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 @@ -726,6 +735,10 @@ func (c *SQS) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, // When you delete a queue, you must wait at least 60 seconds before creating // a queue with the same name. // +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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. @@ -807,9 +820,9 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first // -// &Attribute.2=that +// &Attribute.2=second // // 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 @@ -820,7 +833,7 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re // // Returned Error Codes: // * ErrCodeInvalidAttributeName "InvalidAttributeName" -// The attribute referred to doesn't exist. +// The specified attribute doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes func (c *SQS) GetQueueAttributes(input *GetQueueAttributesInput) (*GetQueueAttributesOutput, error) { @@ -888,13 +901,13 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, // GetQueueUrl API operation for Amazon Simple Queue Service. // -// Returns the URL of an existing queue. This action provides a simple way to -// retrieve the URL of an Amazon SQS queue. +// Returns the URL of an existing Amazon SQS queue. // // To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId // parameter to specify the account ID of the queue's owner. The queue's owner // must grant you permission to access the queue. For more information about -// shared queue access, see AddPermission or see Shared Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html) +// shared queue access, see AddPermission or see Allow Developers to Write Messages +// to a Shared Queue (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue) // in the Amazon Simple Queue Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -906,7 +919,7 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, // // Returned Error Codes: // * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The queue referred to doesn't exist. +// The specified queue doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl func (c *SQS) GetQueueUrl(input *GetQueueUrlInput) (*GetQueueUrlOutput, error) { @@ -990,7 +1003,7 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue // // Returned Error Codes: // * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The queue referred to doesn't exist. +// The specified queue doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues func (c *SQS) ListDeadLetterSourceQueues(input *ListDeadLetterSourceQueuesInput) (*ListDeadLetterSourceQueuesOutput, error) { @@ -1059,7 +1072,7 @@ func (c *SQS) ListQueueTagsRequest(input *ListQueueTagsInput) (req *request.Requ // ListQueueTags API operation for Amazon Simple Queue Service. // // List all cost allocation tags added to the specified Amazon SQS queue. For -// an overview, see Tagging Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html) +// an overview, see Tagging Your Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html) // in the Amazon Simple Queue Service Developer Guide. // // When you use queue tags, keep the following guidelines in mind: @@ -1074,10 +1087,14 @@ func (c *SQS) ListQueueTagsRequest(input *ListQueueTagsInput) (req *request.Requ // * A new tag with a key identical to that of an existing tag overwrites // the existing tag. // -// * Tagging API actions are limited to 5 TPS per AWS account. If your application +// * Tagging actions are limited to 5 TPS per AWS account. If your application // requires a higher throughput, file a technical support request (https://console.aws.amazon.com/support/home#/case/create?issueType=technical). // -// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html) +// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues) +// in the Amazon Simple Queue Service Developer Guide. +// +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) // in the Amazon Simple Queue Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1156,6 +1173,10 @@ func (c *SQS) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, o // is 1,000. If you specify a value for the optional QueueNamePrefix parameter, // only queues with a name that begins with the specified value are returned. // +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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. @@ -1232,14 +1253,17 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o // // Deletes the messages in a queue specified by the QueueURL parameter. // -// When you use the PurgeQueue action, you can't retrieve a message deleted +// When you use the PurgeQueue action, you can't retrieve any messages deleted // from a queue. // -// When you purge a queue, the message deletion process takes up to 60 seconds. -// All messages sent to the queue before calling the PurgeQueue action are deleted. -// Messages sent to the queue while it is being purged might be deleted. While -// the queue is being purged, messages sent to the queue before PurgeQueue is -// called might be received, but are deleted within the next minute. +// The message deletion process takes up to 60 seconds. We recommend waiting +// for 60 seconds regardless of your queue's size. +// +// Messages sent to the queue before you call PurgeQueue might be received but +// are deleted within the next minute. +// +// Messages sent to the queue after you call PurgeQueue might be deleted while +// the queue is being purged. // // 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 @@ -1250,7 +1274,7 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o // // Returned Error Codes: // * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The queue referred to doesn't exist. +// The specified queue doesn't exist. // // * ErrCodePurgeQueueInProgress "AWS.SimpleQueueService.PurgeQueueInProgress" // Indicates that the specified queue previously received a PurgeQueue request @@ -1380,10 +1404,10 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re // // Returned Error Codes: // * ErrCodeOverLimit "OverLimit" -// The action that you requested would violate a limit. For example, ReceiveMessage -// returns this error if the maximum number of inflight messages is reached. -// AddPermission returns this error if the maximum number of permissions for -// the queue is reached. +// The specified action violates a limit. For example, ReceiveMessage returns +// this error if the maximum number of inflight messages is reached and AddPermission +// returns this error if the maximum number of permissions for the queue is +// reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage func (c *SQS) ReceiveMessage(input *ReceiveMessageInput) (*ReceiveMessageOutput, error) { @@ -1454,7 +1478,13 @@ func (c *SQS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // RemovePermission API operation for Amazon Simple Queue Service. // // Revokes any permissions in the queue policy that matches the specified Label -// parameter. Only the owner of the queue can remove permissions. +// parameter. +// +// Only the owner of a queue can remove permissions from it. +// +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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 @@ -1646,9 +1676,9 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques // param.n notation. Values of n are integers starting from 1. For example, // a parameter list with two elements looks like this: // -// &Attribute.1=this +// &Attribute.1=first // -// &Attribute.2=that +// &Attribute.2=second // // 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 @@ -1753,6 +1783,10 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re // this action, we recommend that you structure your code so that it can handle // new attributes gracefully. // +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon Simple Queue Service Developer 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. @@ -1762,7 +1796,7 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re // // Returned Error Codes: // * ErrCodeInvalidAttributeName "InvalidAttributeName" -// The attribute referred to doesn't exist. +// The specified attribute doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes func (c *SQS) SetQueueAttributes(input *SetQueueAttributesInput) (*SetQueueAttributesOutput, error) { @@ -1833,7 +1867,7 @@ func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, outpu // TagQueue API operation for Amazon Simple Queue Service. // // Add cost allocation tags to the specified Amazon SQS queue. For an overview, -// see Tagging Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html) +// see Tagging Your Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html) // in the Amazon Simple Queue Service Developer Guide. // // When you use queue tags, keep the following guidelines in mind: @@ -1848,10 +1882,14 @@ func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, outpu // * A new tag with a key identical to that of an existing tag overwrites // the existing tag. // -// * Tagging API actions are limited to 5 TPS per AWS account. If your application +// * Tagging actions are limited to 5 TPS per AWS account. If your application // requires a higher throughput, file a technical support request (https://console.aws.amazon.com/support/home#/case/create?issueType=technical). // -// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html) +// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues) +// in the Amazon Simple Queue Service Developer Guide. +// +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) // in the Amazon Simple Queue Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1929,7 +1967,7 @@ func (c *SQS) UntagQueueRequest(input *UntagQueueInput) (req *request.Request, o // UntagQueue API operation for Amazon Simple Queue Service. // // Remove cost allocation tags from the specified Amazon SQS queue. For an overview, -// see Tagging Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-tagging-queues.html) +// see Tagging Your Amazon SQS Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html) // in the Amazon Simple Queue Service Developer Guide. // // When you use queue tags, keep the following guidelines in mind: @@ -1944,10 +1982,14 @@ func (c *SQS) UntagQueueRequest(input *UntagQueueInput) (req *request.Request, o // * A new tag with a key identical to that of an existing tag overwrites // the existing tag. // -// * Tagging API actions are limited to 5 TPS per AWS account. If your application +// * Tagging actions are limited to 5 TPS per AWS account. If your application // requires a higher throughput, file a technical support request (https://console.aws.amazon.com/support/home#/case/create?issueType=technical). // -// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html) +// For a full list of tag restrictions, see Limits Related to Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues) +// in the Amazon Simple Queue Service Developer Guide. +// +// Cross-account permissions don't apply to this action. For more information, +// see see Grant Cross-Account Permissions to a Role and a User Name (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) // in the Amazon Simple Queue Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1984,30 +2026,17 @@ type AddPermissionInput struct { // The AWS account number of the principal (http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P) // who is given permission. The principal must have an AWS account, but does // not need to be signed up for Amazon SQS. For information about locating the - // AWS account identification, see Your AWS Identifiers (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AWSCredentials.html) + // AWS account identification, see Your AWS Identifiers (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication) // in the Amazon Simple Queue Service Developer Guide. // // AWSAccountIds is a required field AWSAccountIds []*string `locationNameList:"AWSAccountId" type:"list" flattened:"true" required:"true"` - // The action the client wants to allow for the specified principal. The following - // values are valid: - // - // * * - // - // * ChangeMessageVisibility - // - // * DeleteMessage + // The action the client wants to allow for the specified principal. Valid values: + // the name of any action or *. // - // * GetQueueAttributes - // - // * GetQueueUrl - // - // * ReceiveMessage - // - // * SendMessage - // - // For more information about these actions, see Understanding Permissions (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html#PermissionTypes) + // For more information about these actions, see Overview of Managing Access + // Permissions to Your Amazon Simple Queue Service Resource (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html) // in the Amazon Simple Queue Service Developer Guide. // // Specifying SendMessage, DeleteMessage, or ChangeMessageVisibility for ActionName.n @@ -2026,7 +2055,7 @@ type AddPermissionInput struct { // The URL of the Amazon SQS queue to which permissions are added. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2102,8 +2131,8 @@ func (s AddPermissionOutput) GoString() string { return s.String() } -// This is used in the responses of batch API to give a detailed description -// of the result of an action on each entry in the request. +// Gives a detailed description of the result of an action on each entry in +// the request. type BatchResultErrorEntry struct { _ struct{} `type:"structure"` @@ -2120,7 +2149,7 @@ type BatchResultErrorEntry struct { // A message explaining why the action failed on this entry. Message *string `type:"string"` - // Specifies whether the error happened due to the sender's fault. + // Specifies whether the error happened due to the producer. // // SenderFault is a required field SenderFault *bool `type:"boolean" required:"true"` @@ -2171,7 +2200,7 @@ type ChangeMessageVisibilityBatchInput struct { // The URL of the Amazon SQS queue whose messages' visibility is changed. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2272,7 +2301,7 @@ func (s *ChangeMessageVisibilityBatchOutput) SetSuccessful(v []*ChangeMessageVis // // &ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2 // -// &ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=Your_Receipt_Handle +// &ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle // // &ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45 type ChangeMessageVisibilityBatchRequestEntry struct { @@ -2370,7 +2399,7 @@ type ChangeMessageVisibilityInput struct { // The URL of the Amazon SQS queue whose message's visibility is changed. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2459,16 +2488,15 @@ type CreateQueueInput struct { // // * DelaySeconds - The length of time, in seconds, for which the delivery // of all messages in the queue is delayed. Valid values: An integer from - // 0 to 900 seconds (15 minutes). The default is 0 (zero). + // 0 to 900 seconds (15 minutes). Default: 0. // // * MaximumMessageSize - The limit of how many bytes a message can contain // before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes - // (1 KiB) to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB). - // + // (1 KiB) to 262,144 bytes (256 KiB). Default: 262,144 (256 KiB). // // * MessageRetentionPeriod - The length of time, in seconds, for which Amazon // SQS retains a message. Valid values: An integer from 60 seconds (1 minute) - // to 1,209,600 seconds (14 days). The default is 345,600 (4 days). + // to 1,209,600 seconds (14 days). Default: 345,600 (4 days). // // * Policy - The queue's policy. A valid AWS policy. For more information // about policy structure, see Overview of AWS IAM Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html) @@ -2476,7 +2504,7 @@ type CreateQueueInput struct { // // * ReceiveMessageWaitTimeSeconds - The length of time, in seconds, for // which a ReceiveMessage action waits for a message to arrive. Valid values: - // An integer from 0 to 20 (seconds). The default is 0 (zero). + // An integer from 0 to 20 (seconds). Default: 0. // // * RedrivePolicy - The string that includes the parameters for the dead-letter // queue functionality of the source queue. For more information about the @@ -2489,14 +2517,17 @@ type CreateQueueInput struct { // is exceeded. // // maxReceiveCount - The number of times a message is delivered to the source - // queue before being moved to the dead-letter queue. + // queue before being moved to the dead-letter queue. When the ReceiveCount + // for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves + // the message to the dead-letter-queue. // // The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, // the dead-letter queue of a standard queue must also be a standard queue. // - // * VisibilityTimeout - The visibility timeout for the queue. Valid values: - // An integer from 0 to 43,200 (12 hours). The default is 30. For more information - // about the visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) + // * VisibilityTimeout - The visibility timeout for the queue, in seconds. + // Valid values: An integer from 0 to 43,200 (12 hours). Default: 30. For + // more information about the visibility timeout, see Visibility Timeout + // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) // in the Amazon Simple Queue Service Developer Guide. // // The following attributes apply only to server-side-encryption (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html): @@ -2512,10 +2543,10 @@ type CreateQueueInput struct { // Amazon SQS can reuse a data key (http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys) // to encrypt or decrypt messages before calling AWS KMS again. An integer // representing seconds, between 60 seconds (1 minute) and 86,400 seconds - // (24 hours). The default is 300 (5 minutes). A shorter time period provides - // better security but results in more calls to KMS which might incur charges - // after Free Tier. For more information, see How Does the Data Key Reuse - // Period Work? (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work). + // (24 hours). Default: 300 (5 minutes). A shorter time period provides better + // security but results in more calls to KMS which might incur charges after + // Free Tier. For more information, see How Does the Data Key Reuse Period + // Work? (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work). // // // The following attributes apply only to FIFO (first-in-first-out) queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html): @@ -2556,20 +2587,6 @@ type CreateQueueInput struct { // message with a MessageDeduplicationId that is the same as the one generated // for the first MessageDeduplicationId, the two messages are treated as // duplicates and only one copy of the message is delivered. - // - // Any other valid special request parameters (such as the following) are ignored: - // - // * ApproximateNumberOfMessages - // - // * ApproximateNumberOfMessagesDelayed - // - // * ApproximateNumberOfMessagesNotVisible - // - // * CreatedTimestamp - // - // * LastModifiedTimestamp - // - // * QueueArn Attributes map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` // The name of the new queue. The following limits apply to this name: @@ -2581,7 +2598,7 @@ type CreateQueueInput struct { // // * A FIFO queue name must end with the .fifo suffix. // - // Queue names are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueName is a required field QueueName *string `type:"string" required:"true"` @@ -2656,7 +2673,7 @@ type DeleteMessageBatchInput struct { // The URL of the Amazon SQS queue from which messages are deleted. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2836,7 +2853,7 @@ type DeleteMessageInput struct { // The URL of the Amazon SQS queue from which messages are deleted. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2904,7 +2921,7 @@ type DeleteQueueInput struct { // The URL of the Amazon SQS queue to delete. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -2966,18 +2983,18 @@ type GetQueueAttributesInput struct { // // * All - Returns all values. // - // * ApproximateNumberOfMessages - Returns the approximate number of visible - // messages in a queue. For more information, see Resources Required to Process - // Messages (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-resources-required-process-messages.html) - // in the Amazon Simple Queue Service Developer Guide. + // * ApproximateNumberOfMessages - Returns the approximate number of messages + // available for retrieval from the queue. // // * ApproximateNumberOfMessagesDelayed - Returns the approximate number - // of messages that are waiting to be added to the queue. + // of messages in the queue that are delayed and not available for reading + // immediately. This can happen when the queue is configured as a delay queue + // or when a message has been sent with a delay parameter. // // * ApproximateNumberOfMessagesNotVisible - Returns the approximate number - // of messages that have not timed-out and aren't deleted. For more information, - // see Resources Required to Process Messages (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-resources-required-process-messages.html) - // in the Amazon Simple Queue Service Developer Guide. + // of messages that are in flight. Messages are considered to be in flight + // if they have been sent to a client but have not yet been deleted or have + // not yet reached the end of their visibility window. // // * CreatedTimestamp - Returns the time when the queue was created in seconds // (epoch time (http://en.wikipedia.org/wiki/Unix_time)). @@ -3011,7 +3028,9 @@ type GetQueueAttributesInput struct { // is exceeded. // // maxReceiveCount - The number of times a message is delivered to the source - // queue before being moved to the dead-letter queue. + // queue before being moved to the dead-letter queue. When the ReceiveCount + // for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves + // the message to the dead-letter-queue. // // * VisibilityTimeout - Returns the visibility timeout for the queue. For // more information about the visibility timeout, see Visibility Timeout @@ -3048,7 +3067,7 @@ type GetQueueAttributesInput struct { // The URL of the Amazon SQS queue whose attribute information is retrieved. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -3119,7 +3138,7 @@ type GetQueueUrlInput struct { // The name of the queue whose URL must be fetched. Maximum 80 characters. Valid // values: alphanumeric characters, hyphens (-), and underscores (_). // - // Queue names are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueName is a required field QueueName *string `type:"string" required:"true"` @@ -3163,7 +3182,7 @@ func (s *GetQueueUrlInput) SetQueueOwnerAWSAccountId(v string) *GetQueueUrlInput return s } -// For more information, see Responses (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html) +// For more information, see Interpreting Responses (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-api-responses.html) // in the Amazon Simple Queue Service Developer Guide. type GetQueueUrlOutput struct { _ struct{} `type:"structure"` @@ -3193,7 +3212,7 @@ type ListDeadLetterSourceQueuesInput struct { // The URL of a dead-letter queue. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -3322,7 +3341,7 @@ type ListQueuesInput struct { // A string to use for filtering the list results. Only those queues whose name // begins with the specified string are returned. // - // Queue names are case-sensitive. + // Queue URLs and names are case-sensitive. QueueNamePrefix *string `type:"string"` } @@ -3370,8 +3389,24 @@ func (s *ListQueuesOutput) SetQueueUrls(v []*string) *ListQueuesOutput { type Message struct { _ struct{} `type:"structure"` - // SenderId, SentTimestamp, ApproximateReceiveCount, and/or ApproximateFirstReceiveTimestamp. - // SentTimestamp and ApproximateFirstReceiveTimestamp are each returned as an + // A map of the attributes requested in ReceiveMessage to their respective values. + // Supported attributes: + // + // * ApproximateReceiveCount + // + // * ApproximateFirstReceiveTimestamp + // + // * MessageDeduplicationId + // + // * MessageGroupId + // + // * SenderId + // + // * SentTimestamp + // + // * SequenceNumber + // + // ApproximateFirstReceiveTimestamp and SentTimestamp are each returned as an // integer representing the epoch time (http://en.wikipedia.org/wiki/Unix_time) // in milliseconds. Attributes map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` @@ -3389,7 +3424,7 @@ type Message struct { MD5OfMessageAttributes *string `type:"string"` // Each message attribute consists of a Name, Type, and Value. For more information, - // see Message Attribute Items and Validation (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation) + // see Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) // in the Amazon Simple Queue Service Developer Guide. MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` @@ -3477,8 +3512,8 @@ type MessageAttributeValue struct { // Amazon SQS supports the following logical data types: String, Number, and // Binary. For the Number data type, you must use StringValue. // - // You can also append custom labels. For more information, see Message Attribute - // Data Types and Validation (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-data-types-validation) + // You can also append custom labels. For more information, see Amazon SQS Message + // Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) // in the Amazon Simple Queue Service Developer Guide. // // DataType is a required field @@ -3550,7 +3585,7 @@ type PurgeQueueInput struct { // The URL of the queue from which the PurgeQueue action deletes messages. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -3602,8 +3637,8 @@ func (s PurgeQueueOutput) GoString() string { type ReceiveMessageInput struct { _ struct{} `type:"structure"` - // A list of attributes that need to be returned along with each message. These - // attributes include: + // A list of s that need to be returned along with each message. These attributes + // include: // // * All - Returns all values. // @@ -3623,51 +3658,19 @@ type ReceiveMessageInput struct { // * SentTimestamp - Returns the time the message was sent to the queue (epoch // time (http://en.wikipedia.org/wiki/Unix_time) in milliseconds). // - // * MessageDeduplicationId - Returns the value provided by the sender that - // calls the SendMessage action. + // * MessageDeduplicationId - Returns the value provided by the producer + // that calls the SendMessage action. // - // * MessageGroupId - Returns the value provided by the sender that calls + // * MessageGroupId - Returns the value provided by the producer that calls // the SendMessage action. Messages with the same MessageGroupId are returned // in sequence. // // * SequenceNumber - Returns the value provided by Amazon SQS. - // - // Any other valid special request parameters (such as the following) are ignored: - // - // * ApproximateNumberOfMessages - // - // * ApproximateNumberOfMessagesDelayed - // - // * ApproximateNumberOfMessagesNotVisible - // - // * CreatedTimestamp - // - // * ContentBasedDeduplication - // - // * DelaySeconds - // - // * FifoQueue - // - // * LastModifiedTimestamp - // - // * MaximumMessageSize - // - // * MessageRetentionPeriod - // - // * Policy - // - // * QueueArn, - // - // * ReceiveMessageWaitTimeSeconds - // - // * RedrivePolicy - // - // * VisibilityTimeout AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"` // The maximum number of messages to return. Amazon SQS never returns more messages - // than this value (however, fewer messages might be returned). Valid values - // are 1 to 10. Default is 1. + // than this value (however, fewer messages might be returned). Valid values: + // 1 to 10. Default: 1. MaxNumberOfMessages *int64 `type:"integer"` // The name of the message attribute, where N is the index. @@ -3694,7 +3697,7 @@ type ReceiveMessageInput struct { // The URL of the Amazon SQS queue from which messages are received. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -3726,11 +3729,11 @@ type ReceiveMessageInput struct { // information, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) // in the Amazon Simple Queue Service Developer Guide. // - // If a caller of the ReceiveMessage action is still processing messages when - // the visibility timeout expires and messages become visible, another worker - // reading from the same queue can receive the same messages and therefore - // process duplicates. Also, if a reader whose message processing time is - // longer than the visibility timeout tries to delete the processed messages, + // If a caller of the ReceiveMessage action still processes messages when the + // visibility timeout expires and messages become visible, another worker + // consuming from the same queue can receive the same messages and therefore + // process duplicates. Also, if a consumer whose message processing time + // is longer than the visibility timeout tries to delete the processed messages, // the action fails with an error. // // To mitigate this effect, ensure that your application observes a safe threshold @@ -3750,7 +3753,7 @@ type ReceiveMessageInput struct { // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). // // For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId - // Request Parameter (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-receiverequestattemptid-request-parameter) + // Request Parameter (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-receiverequestattemptid-request-parameter.html) // in the Amazon Simple Queue Service Developer Guide. ReceiveRequestAttemptId *string `type:"string"` @@ -3865,7 +3868,7 @@ type RemovePermissionInput struct { // The URL of the Amazon SQS queue from which permissions are removed. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -3933,7 +3936,7 @@ type SendMessageBatchInput struct { // The URL of the Amazon SQS queue to which batched messages are sent. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -4044,11 +4047,14 @@ type SendMessageBatchRequestEntry struct { // // The Ids of a batch request need to be unique within a request // + // This identifier can have up to 80 characters. The following characters are + // accepted: alphanumeric characters, hyphens(-), and underscores (_). + // // Id is a required field Id *string `type:"string" required:"true"` // Each message attribute consists of a Name, Type, and Value. For more information, - // see Message Attribute Items and Validation (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation) + // see Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) // in the Amazon Simple Queue Service Developer Guide. MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` @@ -4090,18 +4096,21 @@ type SendMessageBatchRequestEntry struct { // one generated for the first MessageDeduplicationId, the two messages are // treated as duplicates and only one copy of the message is delivered. // - // The MessageDeduplicationId is available to the recipient of the message (this + // The MessageDeduplicationId is available to the consumer of the message (this // can be useful for troubleshooting delivery issues). // // If a message is sent successfully but the acknowledgement is lost and the // message is resent with the same MessageDeduplicationId after the deduplication // interval, Amazon SQS can't detect duplicate messages. // + // Amazon SQS continues to keep track of the message deduplication ID even after + // the message is received and deleted. + // // The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). // // For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId - // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property) + // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) // in the Amazon Simple Queue Service Developer Guide. MessageDeduplicationId *string `type:"string"` @@ -4112,8 +4121,8 @@ type SendMessageBatchRequestEntry struct { // (however, messages in different message groups might be processed out of // order). To interleave multiple ordered streams within a single queue, use // MessageGroupId values (for example, session data for multiple users). In - // this scenario, multiple readers can process the queue, but the session data - // of each user is processed in a FIFO fashion. + // this scenario, multiple consumers can process the queue, but the session + // data of each user is processed in a FIFO fashion. // // * You must associate a non-empty MessageGroupId with a message. If you // don't provide a MessageGroupId, the action fails. @@ -4122,11 +4131,11 @@ type SendMessageBatchRequestEntry struct { // For each MessageGroupId, the messages are sorted by time sent. The caller // can't specify a MessageGroupId. // - // The length of MessageGroupId is 128 characters. Valid values are alphanumeric + // The length of MessageGroupId is 128 characters. Valid values: alphanumeric // characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). // // For best practices of using MessageGroupId, see Using the MessageGroupId - // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property) + // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html) // in the Amazon Simple Queue Service Developer Guide. // // MessageGroupId is required for FIFO queues. You can't use it for Standard @@ -4296,7 +4305,7 @@ type SendMessageInput struct { DelaySeconds *int64 `type:"integer"` // Each message attribute consists of a Name, Type, and Value. For more information, - // see Message Attribute Items and Validation (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation) + // see Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) // in the Amazon Simple Queue Service Developer Guide. MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` @@ -4346,18 +4355,21 @@ type SendMessageInput struct { // one generated for the first MessageDeduplicationId, the two messages are // treated as duplicates and only one copy of the message is delivered. // - // The MessageDeduplicationId is available to the recipient of the message (this + // The MessageDeduplicationId is available to the consumer of the message (this // can be useful for troubleshooting delivery issues). // // If a message is sent successfully but the acknowledgement is lost and the // message is resent with the same MessageDeduplicationId after the deduplication // interval, Amazon SQS can't detect duplicate messages. // + // Amazon SQS continues to keep track of the message deduplication ID even after + // the message is received and deleted. + // // The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). // // For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId - // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property) + // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) // in the Amazon Simple Queue Service Developer Guide. MessageDeduplicationId *string `type:"string"` @@ -4368,8 +4380,8 @@ type SendMessageInput struct { // (however, messages in different message groups might be processed out of // order). To interleave multiple ordered streams within a single queue, use // MessageGroupId values (for example, session data for multiple users). In - // this scenario, multiple readers can process the queue, but the session data - // of each user is processed in a FIFO fashion. + // this scenario, multiple consumers can process the queue, but the session + // data of each user is processed in a FIFO fashion. // // * You must associate a non-empty MessageGroupId with a message. If you // don't provide a MessageGroupId, the action fails. @@ -4378,11 +4390,11 @@ type SendMessageInput struct { // For each MessageGroupId, the messages are sorted by time sent. The caller // can't specify a MessageGroupId. // - // The length of MessageGroupId is 128 characters. Valid values are alphanumeric + // The length of MessageGroupId is 128 characters. Valid values: alphanumeric // characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). // // For best practices of using MessageGroupId, see Using the MessageGroupId - // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property) + // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html) // in the Amazon Simple Queue Service Developer Guide. // // MessageGroupId is required for FIFO queues. You can't use it for Standard @@ -4391,7 +4403,7 @@ type SendMessageInput struct { // The URL of the Amazon SQS queue to which a message is sent. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` @@ -4543,16 +4555,15 @@ type SetQueueAttributesInput struct { // // * DelaySeconds - The length of time, in seconds, for which the delivery // of all messages in the queue is delayed. Valid values: An integer from - // 0 to 900 (15 minutes). The default is 0 (zero). + // 0 to 900 (15 minutes). Default: 0. // // * MaximumMessageSize - The limit of how many bytes a message can contain // before Amazon SQS rejects it. Valid values: An integer from 1,024 bytes - // (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB). - // + // (1 KiB) up to 262,144 bytes (256 KiB). Default: 262,144 (256 KiB). // // * MessageRetentionPeriod - The length of time, in seconds, for which Amazon // SQS retains a message. Valid values: An integer representing seconds, - // from 60 (1 minute) to 1,209,600 (14 days). The default is 345,600 (4 days). + // from 60 (1 minute) to 1,209,600 (14 days). Default: 345,600 (4 days). // // // * Policy - The queue's policy. A valid AWS policy. For more information @@ -4561,7 +4572,7 @@ type SetQueueAttributesInput struct { // // * ReceiveMessageWaitTimeSeconds - The length of time, in seconds, for // which a ReceiveMessage action waits for a message to arrive. Valid values: - // an integer from 0 to 20 (seconds). The default is 0. + // an integer from 0 to 20 (seconds). Default: 0. // // * RedrivePolicy - The string that includes the parameters for the dead-letter // queue functionality of the source queue. For more information about the @@ -4574,14 +4585,17 @@ type SetQueueAttributesInput struct { // is exceeded. // // maxReceiveCount - The number of times a message is delivered to the source - // queue before being moved to the dead-letter queue. + // queue before being moved to the dead-letter queue. When the ReceiveCount + // for a message exceeds the maxReceiveCount for a queue, Amazon SQS moves + // the message to the dead-letter-queue. // // The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, // the dead-letter queue of a standard queue must also be a standard queue. // - // * VisibilityTimeout - The visibility timeout for the queue. Valid values: - // an integer from 0 to 43,200 (12 hours). The default is 30. For more information - // about the visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) + // * VisibilityTimeout - The visibility timeout for the queue, in seconds. + // Valid values: an integer from 0 to 43,200 (12 hours). Default: 30. For + // more information about the visibility timeout, see Visibility Timeout + // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) // in the Amazon Simple Queue Service Developer Guide. // // The following attributes apply only to server-side-encryption (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html): @@ -4597,10 +4611,10 @@ type SetQueueAttributesInput struct { // Amazon SQS can reuse a data key (http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys) // to encrypt or decrypt messages before calling AWS KMS again. An integer // representing seconds, between 60 seconds (1 minute) and 86,400 seconds - // (24 hours). The default is 300 (5 minutes). A shorter time period provides - // better security but results in more calls to KMS which might incur charges - // after Free Tier. For more information, see How Does the Data Key Reuse - // Period Work? (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work). + // (24 hours). Default: 300 (5 minutes). A shorter time period provides better + // security but results in more calls to KMS which might incur charges after + // Free Tier. For more information, see How Does the Data Key Reuse Period + // Work? (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work). // // // The following attribute applies only to FIFO (first-in-first-out) queues @@ -4634,26 +4648,12 @@ type SetQueueAttributesInput struct { // for the first MessageDeduplicationId, the two messages are treated as // duplicates and only one copy of the message is delivered. // - // Any other valid special request parameters (such as the following) are ignored: - // - // * ApproximateNumberOfMessages - // - // * ApproximateNumberOfMessagesDelayed - // - // * ApproximateNumberOfMessagesNotVisible - // - // * CreatedTimestamp - // - // * LastModifiedTimestamp - // - // * QueueArn - // // Attributes is a required field Attributes map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true" required:"true"` // The URL of the Amazon SQS queue whose attributes are set. // - // Queue URLs are case-sensitive. + // Queue URLs and names are case-sensitive. // // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/doc.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/doc.go index 7f0c5799fb3..6f338035969 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sqs/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/doc.go @@ -31,11 +31,14 @@ // // * Amazon Simple Queue Service Developer Guide // -// Making API Requests (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html) +// Making API Requests (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html) // -// Using Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) +// Amazon SQS Message Attributes (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) // -// Using Amazon SQS Dead-Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html) +// Amazon SQS Dead-Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html) +// +// * Amazon SQS in the (http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html)AWS +// CLI Command Reference // // * Amazon Web Services General Reference // diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/errors.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/errors.go index 722867d3293..89eb40d7fd2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sqs/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/errors.go @@ -25,7 +25,7 @@ const ( // ErrCodeInvalidAttributeName for service response error code // "InvalidAttributeName". // - // The attribute referred to doesn't exist. + // The specified attribute doesn't exist. ErrCodeInvalidAttributeName = "InvalidAttributeName" // ErrCodeInvalidBatchEntryId for service response error code @@ -37,7 +37,7 @@ const ( // ErrCodeInvalidIdFormat for service response error code // "InvalidIdFormat". // - // The receipt handle isn't valid for the current version. + // The specified receipt handle isn't valid for the current version. ErrCodeInvalidIdFormat = "InvalidIdFormat" // ErrCodeInvalidMessageContents for service response error code @@ -49,16 +49,16 @@ const ( // ErrCodeMessageNotInflight for service response error code // "AWS.SimpleQueueService.MessageNotInflight". // - // The message referred to isn't in flight. + // The specified message isn't in flight. ErrCodeMessageNotInflight = "AWS.SimpleQueueService.MessageNotInflight" // ErrCodeOverLimit for service response error code // "OverLimit". // - // The action that you requested would violate a limit. For example, ReceiveMessage - // returns this error if the maximum number of inflight messages is reached. - // AddPermission returns this error if the maximum number of permissions for - // the queue is reached. + // The specified action violates a limit. For example, ReceiveMessage returns + // this error if the maximum number of inflight messages is reached and AddPermission + // returns this error if the maximum number of permissions for the queue is + // reached. ErrCodeOverLimit = "OverLimit" // ErrCodePurgeQueueInProgress for service response error code @@ -73,19 +73,19 @@ const ( // "AWS.SimpleQueueService.QueueDeletedRecently". // // You must wait 60 seconds after deleting a queue before you can create another - // one with the same name. + // queue with the same name. ErrCodeQueueDeletedRecently = "AWS.SimpleQueueService.QueueDeletedRecently" // ErrCodeQueueDoesNotExist for service response error code // "AWS.SimpleQueueService.NonExistentQueue". // - // The queue referred to doesn't exist. + // The specified queue doesn't exist. ErrCodeQueueDoesNotExist = "AWS.SimpleQueueService.NonExistentQueue" // ErrCodeQueueNameExists for service response error code // "QueueAlreadyExists". // - // A queue already exists with this name. Amazon SQS returns this error only + // A queue with this name already exists. Amazon SQS returns this error only // if the request includes attributes whose values differ from those of the // existing queue. ErrCodeQueueNameExists = "QueueAlreadyExists" @@ -93,7 +93,7 @@ const ( // ErrCodeReceiptHandleIsInvalid for service response error code // "ReceiptHandleIsInvalid". // - // The receipt handle provided isn't valid. + // The specified receipt handle isn't valid. ErrCodeReceiptHandleIsInvalid = "ReceiptHandleIsInvalid" // ErrCodeTooManyEntriesInBatchRequest for service response error code diff --git a/vendor/vendor.json b/vendor/vendor.json index 33820b55319..e6a3676da60 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -47,1020 +47,1020 @@ "versionExact": "v1.0.0" }, { - "checksumSHA1": "MCocepWzptgTwvHTzAv1/IPRBAE=", + "checksumSHA1": "IPmmjXG8RiXtdA04ly1EkaGka78=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "DtuTqKH29YnLjrIJkRYX0HQtXY0=", "path": "github.com/aws/aws-sdk-go/aws/arn", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "EwL79Cq6euk+EV/t/n2E+jzPNmU=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "uEJU4I6dTKaraQKvrljlYKUZwoc=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "vVSUnICaD9IaBQisCfw0n8zLwig=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "I87y3G8r14yKZQ5NlkupFUJ5jW0=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "JTilCBYWVAfhbKSnrxCNhE8IFns=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "1pENtl2K9hG7qoB7R6J7dAHa82g=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "JEYqmF83O5n5bHkupAzA6STm0no=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "eI5TmiOTCFjEUNvWeceFycs9dRU=", "path": "github.com/aws/aws-sdk-go/aws/csm", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ga8NLl3uroITvUgioRFFgSnSBt0=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "mYqgKOMSGvLmrt0CoBNbqdcTM3c=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "dmNv2Zknjg9hMHc+Bu5/InkxdNI=", + "checksumSHA1": "WGg5z1n2JGCf7YIwtwlhn30svbo=", "path": "github.com/aws/aws-sdk-go/aws/endpoints", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "Ia/AZ2fZp7J4lMO6fpkvfLU/HGY=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "zx1mZCdOwgbjBV3jMfb0kyDd//Q=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "gQ1sGIVnPqvvxa9Ww2g/PGkk16M=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "wjxQlU1PYxrDRFoL1Vek8Wch7jk=", "path": "github.com/aws/aws-sdk-go/internal/sdkio", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "MYLldFRnsZh21TfCkgkXCT3maPU=", "path": "github.com/aws/aws-sdk-go/internal/sdkrand", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "tQVg7Sz2zv+KkhbiXxPH0mh9spg=", "path": "github.com/aws/aws-sdk-go/internal/sdkuri", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "04ypv4x12l4q0TksA1zEVsmgpvw=", "path": "github.com/aws/aws-sdk-go/internal/shareddefaults", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ZX5QHZb0PrK4UF45um2kaAEiX+8=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "0cZnOaE1EcFUuiu4bdHV2k7slQg=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "stsUCJVnZ5yMrmzSExbjbYp5tZ8=", "path": "github.com/aws/aws-sdk-go/private/protocol/eventstream", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "bOQjEfKXaTqe7dZhDDER/wZUzQc=", "path": "github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "tXRIRarT7qepHconxydtO7mXod4=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "M/NMrlQ2oULxgqzCvOfA30NN+Hc=", + "checksumSHA1": "v2c4B7IgTyjl7ShytqbTOqhCIoM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "lj56XJFI2OSp+hEOrFZ+eiEi/yM=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "+O6A945eTP9plLpkEMZB0lwBAcg=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "uRvmEPKcEdv7qc0Ep2zn0E3Xumc=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "OGjEnXhjob/5yfMcW8JHD9NeczY=", + "checksumSHA1": "S7NJNuKPbT+a9/zk9qC1/zZAHLM=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ZZgzuZoMphxAf8wwz9QqpSQdBGc=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "soXVJWQ/xvEB72Mo6FresaQIxLg=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "4xFqSOZkwDKot6FJQQgKjhJFoQw=", "path": "github.com/aws/aws-sdk-go/service/acm", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "3e/4A/8NqTOSXEtJ6KhYAqqWnuY=", "path": "github.com/aws/aws-sdk-go/service/acmpca", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "gnra20TFPzmLbXjGvNyd1I8MP+A=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "K/ynSj/L2OzW+9Zqs2PRe8NzYUc=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "owhfVKeKxjXt4P5KO6PSIjnMLIA=", "path": "github.com/aws/aws-sdk-go/service/appsync", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "3JN52M5wxJMazxQWXB4epL78LNQ=", "path": "github.com/aws/aws-sdk-go/service/athena", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "P2+Mby00TG2KXcfhiVoNoqIT1Kc=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "42OCpXRErVgOtgPsuTrdg7y++TA=", "path": "github.com/aws/aws-sdk-go/service/batch", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "kPYTVg109H4HL8CKEf1yQvwKMw4=", "path": "github.com/aws/aws-sdk-go/service/budgets", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "GhANcrglYWrhNSR/NzxNe3jClMk=", "path": "github.com/aws/aws-sdk-go/service/cloud9", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "HmZRIixQ6u+zMz2Qt0iTU42WVZU=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "vji1m2m9ubDFRcv7UuDcD/CBjTc=", + "checksumSHA1": "mPxC6/GzboWRsRI3AtzKAn5eTxQ=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "H5MA8wWENhj36kHuNzegai4auhg=", "path": "github.com/aws/aws-sdk-go/service/cloudhsmv2", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "1uyTJ/RTr7c8uL2Kbrp+60PE40M=", "path": "github.com/aws/aws-sdk-go/service/cloudsearch", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "XTJxEnVVUOosPxVNHYHpkJ7Cexo=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "kwJggEX9qSkmOwfXZxrx/7PzsGI=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "bbsROEsQ5BI5F2k8qiArbrpgH94=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "UyVuwts5ZE8rw9jGeubOLvvQaI8=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "93JBs0oX/wyisR/XRcNx0H8tvVQ=", "path": "github.com/aws/aws-sdk-go/service/codebuild", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "rvZxiKvno7mVcW7tS+rcF6mDWsY=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "GvjVVg5btXuEFEHqyoe19BZogGw=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "vklitYIK0AiOXA0obSTq0c04pc4=", "path": "github.com/aws/aws-sdk-go/service/codepipeline", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "rL0O6L1zSJ/UQE0kEWUoCOOFDog=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentity", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "gkmRw2ZP/uU+V3b9v7CQM0CA0xs=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentityprovider", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ZKsjHOyH5z0PuKFcNtwlbhxwHFg=", "path": "github.com/aws/aws-sdk-go/service/configservice", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "RmFFvwnIx0l3buDtcoQ3PWkW7+g=", "path": "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "TWva9VAs3zgU/FQjJkiUvY3wIXw=", "path": "github.com/aws/aws-sdk-go/service/dax", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "LfJ0Owy9HyaulKTvDEgCdkChMG8=", "path": "github.com/aws/aws-sdk-go/service/devicefarm", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "zblSxBuyR1S5z7oSouEdCXoCUuE=", "path": "github.com/aws/aws-sdk-go/service/directconnect", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "zO1r2v4NZk061xOK2LiqArM9Z54=", + "checksumSHA1": "RZ0tw1iDGZfl6ns7xkHTSUJeW3A=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "xoFqND2spsYdyoui+wKepfGQS8c=", "path": "github.com/aws/aws-sdk-go/service/dlm", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "42xYT0wxX/R9vu4C9+cHtBZkvxY=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "Tza6owZ215pjxjramSvK8azCpIg=", + "checksumSHA1": "APmZYbT6Drts1ArqEZcdnGeSKDs=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "VD7bAh0n/UgOwRBPe5y38Ow/dHU=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "1oG37V7l0otp9pqbyWXcPJv3O/8=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "NDrEwIZeUSlHgENwBzVdy0KcCCY=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "dSndJIyIFwpciskUn2ZmUvIdR+c=", "path": "github.com/aws/aws-sdk-go/service/eks", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "lILFc3A1a60Sv2sbdmqmp+YyK1A=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "G1BmSThB0eTjq8gSfjA+PnB9zs0=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "V6KcC3YquAo1VcT4OoEX/QQyFUA=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "k5QQzIkQYnAOnRYLcZwHAOyXCtQ=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "SnJVGrH1gX3X7pfugBZ5dWhQM6E=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "wIiqI9GFAV2AQ32o2kEYHNyqVig=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "7cq3bZMJV152e3ocGW8mbI657J0=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "VO+EdD/iXQVzjiuIeCQhVAsm9SI=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "2/b8QVWYIBGbDNK9nYVLcRo9hRg=", "path": "github.com/aws/aws-sdk-go/service/fms", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "J1SHh0J6kX8JBD0+TQCFP+1Kij4=", "path": "github.com/aws/aws-sdk-go/service/gamelift", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "BB3/VzUU5Rg4KgrezJ17D4kCnwA=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "A1E5569KvbsmoB9/eA0YxBYmjMI=", + "checksumSHA1": "AAUMH/fZ2DnwQez6LZJC0P7oQc4=", "path": "github.com/aws/aws-sdk-go/service/glue", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "HNndTio5+fNOiLr23i+QZpPp8HU=", "path": "github.com/aws/aws-sdk-go/service/guardduty", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ae+jhUirSvN0IXPVU7X7xc+EbFE=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "39yMWxFP9XB+8wWWCZX4vkNWmxU=", "path": "github.com/aws/aws-sdk-go/service/inspector", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "wAWGvZ95XguL4gT8AEYNtum2eZM=", "path": "github.com/aws/aws-sdk-go/service/iot", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "q9HZ/0/lBSRKtjHXMegmcRcazPo=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "nUdxsOW9jg+m+sWZYPu7oX9rZo8=", "path": "github.com/aws/aws-sdk-go/service/kinesisanalytics", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "vaMnUnRVDkpHp/e4f3dFX20JblM=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "5dqI6y+bI5brPj7ReZT/NJSGzrM=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "nMklVJilxMmhlmnnquFJB97isMk=", "path": "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ROCCysE4/I6Tu5OCs6fuc0uTXBo=", "path": "github.com/aws/aws-sdk-go/service/lightsail", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "+l6bA5aVzmBXH2Isj1xZkd5RKNY=", "path": "github.com/aws/aws-sdk-go/service/macie", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "3LGus2oZnUFXIC8xUzmRJVQakgs=", "path": "github.com/aws/aws-sdk-go/service/mediaconvert", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "PE3129yEUwSvn0rg3P86Pxqnnps=", "path": "github.com/aws/aws-sdk-go/service/medialive", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "7/SSsXiRqnukDTUDeEg1ToMD6nQ=", "path": "github.com/aws/aws-sdk-go/service/mediapackage", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "9NU6dJOvKvcgnl/4eUdwy4YD5ss=", "path": "github.com/aws/aws-sdk-go/service/mediastore", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "qyIVtaN5mzPq4d7BDj9YpYtifKs=", "path": "github.com/aws/aws-sdk-go/service/mediastoredata", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "1jKxCBvS+zKzq6p2i4BqLXYHm48=", "path": "github.com/aws/aws-sdk-go/service/mq", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "44C523Sshu3BkoWwmXxawrUF2LQ=", "path": "github.com/aws/aws-sdk-go/service/neptune", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "x3PsW91a7fh+Q466y3WM3fdtnGg=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "fwGuLMKZjqpwaxsDvIiZUwWtYhM=", "path": "github.com/aws/aws-sdk-go/service/organizations", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "e5v4Cc9/0H2ngQNuvVyj2Mt0vi0=", "path": "github.com/aws/aws-sdk-go/service/pinpoint", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "j1i1tZ94/kDvvzgpv5xqxwNvgyY=", "path": "github.com/aws/aws-sdk-go/service/pricing", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "HiH+tpcfPO9yPxz1GgylX0Vif1Q=", + "checksumSHA1": "pmp2+MdhNNkBKUy9dkoeoXOE2sg=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "QocMd7m30oMSTWvEWoqytggtMno=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "KlM6azZ5G09MmPg+lzEizW2qaLA=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "nJE/Ts7KsiIwdDK4SLlZhGeGbLQ=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "qB34t8+gQAYbx7kaxDIllgM9MpQ=", "path": "github.com/aws/aws-sdk-go/service/sagemaker", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "TDOmiGJj5vg5aCwjTNCa6FAR27M=", "path": "github.com/aws/aws-sdk-go/service/secretsmanager", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "Y29bmjwKXcPg0d0WvZNFGdhd4+E=", "path": "github.com/aws/aws-sdk-go/service/serverlessapplicationrepository", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "T8dOJ1jjEBdogUE03oRPRJCOY3k=", "path": "github.com/aws/aws-sdk-go/service/servicecatalog", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "UhJ0RdPXzdMOUEBWREB5Zi9lgmY=", "path": "github.com/aws/aws-sdk-go/service/servicediscovery", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "n8Omv6QJc5ONFl/rJwFhEeBL4YQ=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "1rJbvLXRsCzWhTihruRq/i0Zawg=", "path": "github.com/aws/aws-sdk-go/service/sfn", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "hliWYTmov/HswyMpYq93zJtdkk0=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "bW9FW0Qe3VURaSoY305kA/wCFrM=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { - "checksumSHA1": "ECIZck5xhocpUl8GeUAdeSnCgvg=", + "checksumSHA1": "wuarbZJVYFXWlZiuJNSXp8WvyfQ=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "WmzUmkGbfT3M2Cck71AbSn4DlX8=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "TeuakooizAybzyMQyTXllUyhfBg=", "path": "github.com/aws/aws-sdk-go/service/storagegateway", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "UhIVLDgQc19wjrPj8pP7Fu2UwWc=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "zSqEhiGtEK6ll3f1Rlf2tuDKQA8=", "path": "github.com/aws/aws-sdk-go/service/swf", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "N/w20GqQBU7sVFbshxOA3AWAvDU=", "path": "github.com/aws/aws-sdk-go/service/waf", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "ocF/2t8BOrkUpc62h6kHH0WtfTg=", "path": "github.com/aws/aws-sdk-go/service/wafregional", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "oe8l2ibuhzz7fWM3f64cWnHwFy8=", "path": "github.com/aws/aws-sdk-go/service/workspaces", - "revision": "0d5157217e4c72d0fc7fabad8e0501d3d5cb768d", - "revisionTime": "2018-09-24T22:26:25Z", - "version": "v1.15.41", - "versionExact": "v1.15.41" + "revision": "85d9dfd77e6d694e83c3ac054141cb5e81eecc7f", + "revisionTime": "2018-09-26T20:12:39Z", + "version": "v1.15.43", + "versionExact": "v1.15.43" }, { "checksumSHA1": "yBBHqv7DvZNsZdF00SO8PbEQAKU=", From bd620dc7845d09a3a8dcc2c2891b74142269ac8f Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Thu, 27 Sep 2018 10:42:00 -0400 Subject: [PATCH 6/9] Add resource for a single dynamodb attribute --- aws/provider.go | 1 + ...ource_aws_dynamodb_table_item_attribute.go | 182 ++++++++++++++++++ 2 files changed, 183 insertions(+) create mode 100644 aws/resource_aws_dynamodb_table_item_attribute.go diff --git a/aws/provider.go b/aws/provider.go index 5e31714c7fc..4d369f8de28 100644 --- a/aws/provider.go +++ b/aws/provider.go @@ -396,6 +396,7 @@ func Provider() terraform.ResourceProvider { "aws_dx_public_virtual_interface": resourceAwsDxPublicVirtualInterface(), "aws_dynamodb_table": resourceAwsDynamoDbTable(), "aws_dynamodb_table_item": resourceAwsDynamoDbTableItem(), + "aws_dynamodb_table_item_attribute": resourceAwsDynamoDbTableItemAttribute(), "aws_dynamodb_global_table": resourceAwsDynamoDbGlobalTable(), "aws_ebs_snapshot": resourceAwsEbsSnapshot(), "aws_ebs_volume": resourceAwsEbsVolume(), diff --git a/aws/resource_aws_dynamodb_table_item_attribute.go b/aws/resource_aws_dynamodb_table_item_attribute.go new file mode 100644 index 00000000000..9856e22fc22 --- /dev/null +++ b/aws/resource_aws_dynamodb_table_item_attribute.go @@ -0,0 +1,182 @@ +package aws + +import ( + "fmt" + "log" + "strings" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/dynamodb" + "github.com/hashicorp/terraform/helper/schema" +) + +const ( + updateExpressionSet = "SET" + updateExpressionRemove = "REMOVE" +) + +func resourceAwsDynamoDbTableItemAttribute() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsDynamoDbTableItemAttributeUpdate, + Read: resourceAwsDynamoDbTableItemAttributeRead, + Update: resourceAwsDynamoDbTableItemAttributeUpdate, + Delete: resourceAwsDynamoDbTableItemAttributeDelete, + + Schema: map[string]*schema.Schema{ + "table_name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "hash_key": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "range_key": { + Type: schema.TypeString, + ForceNew: true, + Optional: true, + }, + "attribute_key": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "attribute_value": { + Type: schema.TypeString, + Required: true, + }, + }, + } +} + +func resourceAwsDynamoDbTableItemAttributeDelete(d *schema.ResourceData, meta interface{}) error { + return resourceAwsDynamoDbTableItemAttributeModify(updateExpressionRemove, d, meta) +} + +func resourceAwsDynamoDbTableItemAttributeUpdate(d *schema.ResourceData, meta interface{}) error { + if err := resourceAwsDynamoDbTableItemAttributeModify(updateExpressionSet, d, meta); err == nil { + return resourceAwsDynamoDbTableItemAttributeRead(d, meta) + } else { + return err + } +} + +func resourceAwsDynamoDbTableItemAttributeModify(action string, d *schema.ResourceData, meta interface{}) error { + log.Printf("[DEBUG] %s DynamoDB table %s", action, d.Id()) + conn := meta.(*AWSClient).dynamodbconn + + tableName := d.Get("table_name").(string) + + hashKey := d.Get("hash_key").(string) + rangeKey := d.Get("range_key").(string) + attributeKey := d.Get("attribute_key").(string) + attributeValue := d.Get("attribute_value").(string) + + hashKeyName, rangeKeyName, err := resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn, tableName) + if err != nil { + return err + } + + updateItemInput := &dynamodb.UpdateItemInput{ + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKey, rangeKeyName, rangeKey), + TableName: aws.String(tableName), + } + + if d.IsNewResource() { + updateItemInput.ConditionExpression = aws.String(fmt.Sprintf("attribute_not_exists(%s)", attributeKey)) + } + + if action == updateExpressionSet { + updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s %s = :v", updateExpressionSet, attributeKey)) + updateItemInput.ExpressionAttributeValues = map[string]*dynamodb.AttributeValue{ + ":v": { + S: aws.String(attributeValue), + }, + } + } else if action == updateExpressionRemove { + updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s %s", updateExpressionRemove, attributeKey)) + } + + if _, err := conn.UpdateItem(updateItemInput); err != nil { + return err + } + + id := fmt.Sprintf("%s:%s:%s:%s", tableName, hashKey, rangeKey, attributeKey) + d.SetId(id) + + return nil +} + +func resourceAwsDynamoDbTableItemAttributeRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).dynamodbconn + + log.Printf("[DEBUG] Loading data for DynamoDB table item attribute '%s'", d.Id()) + + idParts := strings.Split(d.Id(), ":") + tableName, hashKey, rangeKey, attributeKey := idParts[0], idParts[1], idParts[2], idParts[3] + + hashKeyName, rangeKeyName, err := resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn, tableName) + if err != nil { + return err + } + + result, err := conn.GetItem(&dynamodb.GetItemInput{ + ConsistentRead: aws.Bool(true), + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKey, rangeKeyName, rangeKey), + TableName: aws.String(tableName), + ProjectionExpression: aws.String(attributeKey), + }) + if err != nil { + if isAWSErr(err, dynamodb.ErrCodeResourceNotFoundException, "") { + log.Printf("[WARN] Dynamodb Table Item (%s) not found, error code (404)", d.Id()) + d.SetId("") + return nil + } + + return fmt.Errorf("Error retrieving DynamoDB table item: %s", err) + } + + if result.Item == nil { + log.Printf("[WARN] Dynamodb Table Item (%s) not found", d.Id()) + d.SetId("") + return nil + } + d.Set("table_name", tableName) + d.Set("hash_key", hashKey) + d.Set("range_key", rangeKey) + d.Set("attribute_key", attributeKey) + d.Set("attribute_value", result.Item[attributeKey].S) + + return nil +} + +func resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn *dynamodb.DynamoDB, tableName string) (string, string, error) { + var hashKeyName, rangeKeyName string + if out, err := conn.DescribeTable(&dynamodb.DescribeTableInput{ + TableName: aws.String(tableName), + }); err == nil { + for _, key := range out.Table.KeySchema { + if *key.KeyType == dynamodb.KeyTypeHash { + hashKeyName = *key.AttributeName + } else if *key.KeyType == dynamodb.KeyTypeRange { + rangeKeyName = *key.AttributeName + } + } + } else { + return "", "", fmt.Errorf("Error descring table %s: %v", tableName, err) + } + + return hashKeyName, rangeKeyName, nil +} + +func resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName string, hashKeyValue string, rangeKeyName string, rangeKeyValue string) map[string]*dynamodb.AttributeValue { + queryKey := map[string]*dynamodb.AttributeValue{ + hashKeyName: &dynamodb.AttributeValue{S: aws.String(hashKeyValue)}, + } + if rangeKeyValue != "" { + queryKey[rangeKeyName] = &dynamodb.AttributeValue{S: aws.String(rangeKeyValue)} + } + return queryKey +} From 11c98145d19489d90a9461aad5394820280fe63f Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Fri, 28 Sep 2018 23:01:07 -0400 Subject: [PATCH 7/9] Add tests for dynamodb_table_item_attribute --- ...ource_aws_dynamodb_table_item_attribute.go | 45 +-- ..._aws_dynamodb_table_item_attribute_test.go | 299 ++++++++++++++++++ 2 files changed, 324 insertions(+), 20 deletions(-) create mode 100644 aws/resource_aws_dynamodb_table_item_attribute_test.go diff --git a/aws/resource_aws_dynamodb_table_item_attribute.go b/aws/resource_aws_dynamodb_table_item_attribute.go index 9856e22fc22..add08ecf660 100644 --- a/aws/resource_aws_dynamodb_table_item_attribute.go +++ b/aws/resource_aws_dynamodb_table_item_attribute.go @@ -28,12 +28,12 @@ func resourceAwsDynamoDbTableItemAttribute() *schema.Resource { Required: true, ForceNew: true, }, - "hash_key": { + "hash_key_value": { Type: schema.TypeString, Required: true, ForceNew: true, }, - "range_key": { + "range_key_value": { Type: schema.TypeString, ForceNew: true, Optional: true, @@ -56,11 +56,10 @@ func resourceAwsDynamoDbTableItemAttributeDelete(d *schema.ResourceData, meta in } func resourceAwsDynamoDbTableItemAttributeUpdate(d *schema.ResourceData, meta interface{}) error { - if err := resourceAwsDynamoDbTableItemAttributeModify(updateExpressionSet, d, meta); err == nil { - return resourceAwsDynamoDbTableItemAttributeRead(d, meta) - } else { + if err := resourceAwsDynamoDbTableItemAttributeModify(updateExpressionSet, d, meta); err != nil { return err } + return resourceAwsDynamoDbTableItemAttributeRead(d, meta) } func resourceAwsDynamoDbTableItemAttributeModify(action string, d *schema.ResourceData, meta interface{}) error { @@ -69,8 +68,8 @@ func resourceAwsDynamoDbTableItemAttributeModify(action string, d *schema.Resour tableName := d.Get("table_name").(string) - hashKey := d.Get("hash_key").(string) - rangeKey := d.Get("range_key").(string) + hashKeyValue := d.Get("hash_key_value").(string) + rangeKeyValue := d.Get("range_key_value").(string) attributeKey := d.Get("attribute_key").(string) attributeValue := d.Get("attribute_value").(string) @@ -80,30 +79,33 @@ func resourceAwsDynamoDbTableItemAttributeModify(action string, d *schema.Resour } updateItemInput := &dynamodb.UpdateItemInput{ - Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKey, rangeKeyName, rangeKey), + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKeyValue, rangeKeyName, rangeKeyValue), TableName: aws.String(tableName), } if d.IsNewResource() { - updateItemInput.ConditionExpression = aws.String(fmt.Sprintf("attribute_not_exists(%s)", attributeKey)) + updateItemInput.ConditionExpression = aws.String("attribute_not_exists(#key)") } + updateItemInput.ExpressionAttributeNames = map[string]*string{ + "#key": aws.String(attributeKey), + } if action == updateExpressionSet { - updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s %s = :v", updateExpressionSet, attributeKey)) + updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s #key = :v", updateExpressionSet)) updateItemInput.ExpressionAttributeValues = map[string]*dynamodb.AttributeValue{ ":v": { S: aws.String(attributeValue), }, } } else if action == updateExpressionRemove { - updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s %s", updateExpressionRemove, attributeKey)) + updateItemInput.UpdateExpression = aws.String(fmt.Sprintf("%s #key", updateExpressionRemove)) } if _, err := conn.UpdateItem(updateItemInput); err != nil { return err } - id := fmt.Sprintf("%s:%s:%s:%s", tableName, hashKey, rangeKey, attributeKey) + id := fmt.Sprintf("%s:%s:%s:%s", tableName, hashKeyValue, rangeKeyValue, attributeKey) d.SetId(id) return nil @@ -115,7 +117,7 @@ func resourceAwsDynamoDbTableItemAttributeRead(d *schema.ResourceData, meta inte log.Printf("[DEBUG] Loading data for DynamoDB table item attribute '%s'", d.Id()) idParts := strings.Split(d.Id(), ":") - tableName, hashKey, rangeKey, attributeKey := idParts[0], idParts[1], idParts[2], idParts[3] + tableName, hashKeyValue, rangeKeyValue, attributeKey := idParts[0], idParts[1], idParts[2], idParts[3] hashKeyName, rangeKeyName, err := resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn, tableName) if err != nil { @@ -123,10 +125,13 @@ func resourceAwsDynamoDbTableItemAttributeRead(d *schema.ResourceData, meta inte } result, err := conn.GetItem(&dynamodb.GetItemInput{ - ConsistentRead: aws.Bool(true), - Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKey, rangeKeyName, rangeKey), + ConsistentRead: aws.Bool(true), + ExpressionAttributeNames: map[string]*string{ + "#key": aws.String(attributeKey), + }, + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, hashKeyValue, rangeKeyName, rangeKeyValue), TableName: aws.String(tableName), - ProjectionExpression: aws.String(attributeKey), + ProjectionExpression: aws.String("#key"), }) if err != nil { if isAWSErr(err, dynamodb.ErrCodeResourceNotFoundException, "") { @@ -144,8 +149,8 @@ func resourceAwsDynamoDbTableItemAttributeRead(d *schema.ResourceData, meta inte return nil } d.Set("table_name", tableName) - d.Set("hash_key", hashKey) - d.Set("range_key", rangeKey) + d.Set("hash_key_value", hashKeyValue) + d.Set("range_key_value", rangeKeyValue) d.Set("attribute_key", attributeKey) d.Set("attribute_value", result.Item[attributeKey].S) @@ -165,7 +170,7 @@ func resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn *dynamodb.DynamoDB, t } } } else { - return "", "", fmt.Errorf("Error descring table %s: %v", tableName, err) + return "", "", fmt.Errorf("Error describing table %s: %v", tableName, err) } return hashKeyName, rangeKeyName, nil @@ -173,7 +178,7 @@ func resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn *dynamodb.DynamoDB, t func resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName string, hashKeyValue string, rangeKeyName string, rangeKeyValue string) map[string]*dynamodb.AttributeValue { queryKey := map[string]*dynamodb.AttributeValue{ - hashKeyName: &dynamodb.AttributeValue{S: aws.String(hashKeyValue)}, + hashKeyName: {S: aws.String(hashKeyValue)}, } if rangeKeyValue != "" { queryKey[rangeKeyName] = &dynamodb.AttributeValue{S: aws.String(rangeKeyValue)} diff --git a/aws/resource_aws_dynamodb_table_item_attribute_test.go b/aws/resource_aws_dynamodb_table_item_attribute_test.go new file mode 100644 index 00000000000..1ebbd52c3bf --- /dev/null +++ b/aws/resource_aws_dynamodb_table_item_attribute_test.go @@ -0,0 +1,299 @@ +package aws + +import ( + "fmt" + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/dynamodb" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/terraform" + "testing" +) + +const resourceName = "aws_dynamodb_table_item_attribute.test" + +func TestAccAWSDynamoDbTableItemAttribute_basic(t *testing.T) { + tableName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(8)) + hashKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue := fmt.Sprintf("%s", acctest.RandString(8)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSDynamoDbItemAttributeDestroy(hashKey, ""), + Steps: []resource.TestStep{ + { + Config: testAccAWSDynamoDbItemAttributeConfigBasic(tableName, hashKey, attributeKey, attributeValue), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", ""), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), + ), + }, + }, + }) +} + +func TestAccAWSDynamoDbTableItemAttribute_update(t *testing.T) { + tableName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(8)) + hashKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue2 := fmt.Sprintf("%s", acctest.RandString(8)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSDynamoDbItemAttributeDestroy(hashKey, ""), + Steps: []resource.TestStep{ + { + Config: testAccAWSDynamoDbItemAttributeConfigBasic(tableName, hashKey, attributeKey, attributeValue), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", ""), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), + ), + }, + { + Config: testAccAWSDynamoDbItemAttributeConfigBasic(tableName, hashKey, attributeKey, attributeValue2), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", ""), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue2), + ), + }, + }, + }) +} + +func TestAccAWSDynamoDbTableItemAttribute_withRangeKey(t *testing.T) { + tableName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(8)) + hashKey := fmt.Sprintf("%s", acctest.RandString(8)) + rangeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue := fmt.Sprintf("%s", acctest.RandString(8)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSDynamoDbItemAttributeDestroy(hashKey, rangeKey), + Steps: []resource.TestStep{ + { + Config: testAccAWSDynamoDbItemAttributeConfigWithRangeKey(tableName, hashKey, rangeKey, attributeKey, attributeValue), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", "rangeKeyValue"), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), + ), + }, + }, + }) +} + +func TestAccAWSDynamoDbTableItemAttribute_withRangeKey_update(t *testing.T) { + tableName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(8)) + hashKey := fmt.Sprintf("%s", acctest.RandString(8)) + rangeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeKey := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue := fmt.Sprintf("%s", acctest.RandString(8)) + attributeValue2 := fmt.Sprintf("%s", acctest.RandString(8)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSDynamoDbItemAttributeDestroy(hashKey, rangeKey), + Steps: []resource.TestStep{ + { + Config: testAccAWSDynamoDbItemAttributeConfigWithRangeKey(tableName, hashKey, rangeKey, attributeKey, attributeValue), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", "rangeKeyValue"), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), + ), + }, + { + Config: testAccAWSDynamoDbItemAttributeConfigWithRangeKey(tableName, hashKey, rangeKey, attributeKey, attributeValue2), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSDynamoDbTableItemAttributeExists(resourceName), + resource.TestCheckResourceAttr(resourceName, "table_name", tableName), + resource.TestCheckResourceAttr(resourceName, "hash_key_value", "hashKeyValue"), + resource.TestCheckResourceAttr(resourceName, "range_key_value", "rangeKeyValue"), + resource.TestCheckResourceAttr(resourceName, "attribute_key", attributeKey), + resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue2), + ), + }, + }, + }) +} + +func testAccCheckAWSDynamoDbItemAttributeDestroy(hashKeyName, rangeKeyName string) resource.TestCheckFunc { + return func(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).dynamodbconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_dynamodb_table_item_attribute" { + continue + } + + attrs := rs.Primary.Attributes + + result, err := conn.GetItem(&dynamodb.GetItemInput{ + ConsistentRead: aws.Bool(true), + ExpressionAttributeNames: map[string]*string{ + "#key": aws.String(attrs["attribute_key"]), + }, + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, attrs["hash_key_value"], rangeKeyName, attrs["range_key_value"]), + ProjectionExpression: aws.String("#key"), + TableName: aws.String(attrs["table_name"]), + }) + if err != nil { + if isAWSErr(err, dynamodb.ErrCodeResourceNotFoundException, "") { + return nil + } + return fmt.Errorf("Error retrieving DynamoDB table item: %s", err) + } + if result.Item == nil { + return nil + } + + return fmt.Errorf("DynamoDB table item attribute %s still exists", rs.Primary.ID) + } + + return nil + } +} + +func testAccCheckAWSDynamoDbTableItemAttributeExists(n string) resource.TestCheckFunc { + return func(s *terraform.State) error { + rs, ok := s.RootModule().Resources[n] + if !ok { + return fmt.Errorf("Not found: %s", n) + } + + if rs.Primary.ID == "" { + return fmt.Errorf("No DynamoDB table item ID specified") + } + + conn := testAccProvider.Meta().(*AWSClient).dynamodbconn + + attrs := rs.Primary.Attributes + + hashKeyName, rangeKeyName, err := resourceAwsDynamoDbTableItemAttributeGetKeysInfo(conn, attrs["table_name"]) + if err != nil { + return err + } + + result, err := conn.GetItem(&dynamodb.GetItemInput{ + ConsistentRead: aws.Bool(true), + ExpressionAttributeNames: map[string]*string{ + "#key": aws.String(attrs["attribute_key"]), + }, + Key: resourceAwsDynamoDbTableItemAttributeGetQueryKey(hashKeyName, attrs["hash_key_value"], rangeKeyName, attrs["range_key_value"]), + ProjectionExpression: aws.String("#key"), + TableName: aws.String(attrs["table_name"]), + }) + if err != nil { + return fmt.Errorf("Problem getting table item '%s': %s", rs.Primary.ID, err) + } + + expectedValue := attrs["attribute_value"] + gottenValue := *result.Item[attrs["attribute_key"]].S + if expectedValue != gottenValue { + return fmt.Errorf("Got attribute value: %s, Expected: %s", gottenValue, expectedValue) + } + + return nil + } +} + +func testAccAWSDynamoDbItemAttributeConfigBasic(tableName, hashKey, attributeKey, attributeValue string) string { + return fmt.Sprintf(` +resource "aws_dynamodb_table" "test" { + name = "%[1]s" + read_capacity = 10 + write_capacity = 10 + hash_key = "%[2]s" + + attribute { + name = "%[2]s" + type = "S" + } +} + +resource "aws_dynamodb_table_item" "test" { + table_name = "${aws_dynamodb_table.test.name}" + hash_key = "${aws_dynamodb_table.test.hash_key}" + item = < Date: Fri, 28 Sep 2018 23:08:07 -0400 Subject: [PATCH 8/9] Add docs for dynamodb_table_item_attribute --- website/aws.erb | 4 ++ ...ynamodb_table_item_attribute.html.markdown | 69 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 website/docs/r/dynamodb_table_item_attribute.html.markdown diff --git a/website/aws.erb b/website/aws.erb index f9cf6b4ce42..5aa77e2615d 100644 --- a/website/aws.erb +++ b/website/aws.erb @@ -857,6 +857,10 @@ aws_dynamodb_table_item + > + aws_dynamodb_table_item_attribute + + diff --git a/website/docs/r/dynamodb_table_item_attribute.html.markdown b/website/docs/r/dynamodb_table_item_attribute.html.markdown new file mode 100644 index 00000000000..96ca815dcca --- /dev/null +++ b/website/docs/r/dynamodb_table_item_attribute.html.markdown @@ -0,0 +1,69 @@ +--- +layout: "aws" +page_title: "AWS: dynamodb_table_item_attribute" +sidebar_current: "docs-aws-resource-dynamodb-table-item-attribute" +description: |- + Provides a DynamoDB table item attribute resource +--- + +# aws_dynamodb_table_item_attribute + +Provides a DynamoDB table item attribute resource. Only supports strings. + +-> **Note:** This resource is not meant to be used for managing large amounts of data in your table, it is not designed to scale. + You should perform **regular backups** of all data in the table, see [AWS docs for more](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupRestore.html). + +## Example Usage + +```hcl +resource "aws_dynamodb_table_item_attribute" "example" { + table_name = "${aws_dynamodb_table.example.name}" + hash_key_value = "something" + attribute_key = "five" + attribute_value = "55555" +} + +resource "aws_dynamodb_table_item" "example" { + table_name = "${aws_dynamodb_table.example.name}" + hash_key = "${aws_dynamodb_table.example.hash_key}" + item = < Date: Fri, 28 Sep 2018 23:21:22 -0400 Subject: [PATCH 9/9] Add import for dynamodb_table_item_attribute --- aws/resource_aws_dynamodb_table_item_attribute.go | 3 +++ ...esource_aws_dynamodb_table_item_attribute_test.go | 10 ++++++++++ .../r/dynamodb_table_item_attribute.html.markdown | 12 +++++++++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/aws/resource_aws_dynamodb_table_item_attribute.go b/aws/resource_aws_dynamodb_table_item_attribute.go index add08ecf660..87155591ea7 100644 --- a/aws/resource_aws_dynamodb_table_item_attribute.go +++ b/aws/resource_aws_dynamodb_table_item_attribute.go @@ -21,6 +21,9 @@ func resourceAwsDynamoDbTableItemAttribute() *schema.Resource { Read: resourceAwsDynamoDbTableItemAttributeRead, Update: resourceAwsDynamoDbTableItemAttributeUpdate, Delete: resourceAwsDynamoDbTableItemAttributeDelete, + Importer: &schema.ResourceImporter{ + State: schema.ImportStatePassthrough, + }, Schema: map[string]*schema.Schema{ "table_name": { diff --git a/aws/resource_aws_dynamodb_table_item_attribute_test.go b/aws/resource_aws_dynamodb_table_item_attribute_test.go index 1ebbd52c3bf..07941aa80d4 100644 --- a/aws/resource_aws_dynamodb_table_item_attribute_test.go +++ b/aws/resource_aws_dynamodb_table_item_attribute_test.go @@ -34,6 +34,11 @@ func TestAccAWSDynamoDbTableItemAttribute_basic(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), ), }, + { + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, }, }) } @@ -99,6 +104,11 @@ func TestAccAWSDynamoDbTableItemAttribute_withRangeKey(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "attribute_value", attributeValue), ), }, + { + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, }, }) } diff --git a/website/docs/r/dynamodb_table_item_attribute.html.markdown b/website/docs/r/dynamodb_table_item_attribute.html.markdown index 96ca815dcca..784334c8c3b 100644 --- a/website/docs/r/dynamodb_table_item_attribute.html.markdown +++ b/website/docs/r/dynamodb_table_item_attribute.html.markdown @@ -66,4 +66,14 @@ All of the arguments above are exported as attributes. ## Import -DynamoDB table items cannot be imported. +DynamoDB table item attributes can be imported using the table name, hash key value, range key value and attribute key, e.g. + +Without a range key: +``` +$ terraform import aws_dynamodb_table_item_attribute.example table_name:hash_key_value::attribute_key +``` + +With a range key: +``` +$ terraform import aws_dynamodb_table_item_attribute.example table_name:hash_key_value:range_key_value:attribute_key +```