From 3bad035ebd003441c9cf2b87a260bc8af4dc0251 Mon Sep 17 00:00:00 2001 From: Puneeth Nanjundaswamy Date: Thu, 30 Nov 2017 21:27:50 +0100 Subject: [PATCH] Bump aws-sdk-go to v1.12.38 --- .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../aws/aws-sdk-go/service/apigateway/api.go | 1201 +++++++++++++++-- .../aws/aws-sdk-go/service/apigateway/doc.go | 8 +- .../aws/aws-sdk-go/service/ec2/api.go | 90 +- .../aws/aws-sdk-go/service/lambda/api.go | 727 ++++++++-- .../aws/aws-sdk-go/service/lambda/errors.go | 14 +- vendor/vendor.json | 800 +++++------ 7 files changed, 2169 insertions(+), 673 deletions(-) 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 d47cb19e3dc..c4ed19d435b 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.12.37" +const SDKVersion = "1.12.38" diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go index 8d80fa8b847..89a4dc522bf 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go @@ -1308,6 +1308,93 @@ func (c *APIGateway) CreateUsagePlanKeyWithContext(ctx aws.Context, input *Creat return out, req.Send() } +const opCreateVpcLink = "CreateVpcLink" + +// CreateVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the CreateVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 CreateVpcLink for more information on using the CreateVpcLink +// 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 CreateVpcLinkRequest method. +// req, resp := client.CreateVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { + op := &request.Operation{ + Name: opCreateVpcLink, + HTTPMethod: "POST", + HTTPPath: "/vpclinks", + } + + if input == nil { + input = &CreateVpcLinkInput{} + } + + output = &UpdateVpcLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVpcLink API operation for Amazon API Gateway. +// +// Creates a VPC link, under the caller's account in a selected region, in an +// asynchronous operation that typically takes 2-4 minutes to complete and become +// operational. The caller must have permissions to create and update VPC Endpoint +// services. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation CreateVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) CreateVpcLink(input *CreateVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.CreateVpcLinkRequest(input) + return out, req.Send() +} + +// CreateVpcLinkWithContext is the same as CreateVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVpcLink 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 *APIGateway) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.CreateVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteApiKey = "DeleteApiKey" // DeleteApiKeyRequest generates a "aws/request.Request" representing the @@ -3125,6 +3212,95 @@ func (c *APIGateway) DeleteUsagePlanKeyWithContext(ctx aws.Context, input *Delet return out, req.Send() } +const opDeleteVpcLink = "DeleteVpcLink" + +// DeleteVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 DeleteVpcLink for more information on using the DeleteVpcLink +// 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 DeleteVpcLinkRequest method. +// req, resp := client.DeleteVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput) { + op := &request.Operation{ + Name: opDeleteVpcLink, + HTTPMethod: "DELETE", + HTTPPath: "/vpclinks/{vpclink_id}", + } + + if input == nil { + input = &DeleteVpcLinkInput{} + } + + output = &DeleteVpcLinkOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteVpcLink API operation for Amazon API Gateway. +// +// Deletes an existing VpcLink of a specified identifier. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation DeleteVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +func (c *APIGateway) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error) { + req, out := c.DeleteVpcLinkRequest(input) + return out, req.Send() +} + +// DeleteVpcLinkWithContext is the same as DeleteVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVpcLink 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 *APIGateway) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error) { + req, out := c.DeleteVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opFlushStageAuthorizersCache = "FlushStageAuthorizersCache" // FlushStageAuthorizersCacheRequest generates a "aws/request.Request" representing the @@ -5320,8 +5496,8 @@ func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) // // Gets the GatewayResponses collection on the given RestApi. If an API developer // has not added any definitions for gateway responses, the result will be the -// Amazon API Gateway-generated default GatewayResponses collection for the -// supported response types. +// API Gateway-generated default GatewayResponses collection for the supported +// response types. // // 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 @@ -7655,6 +7831,229 @@ func (c *APIGateway) GetUsagePlansPagesWithContext(ctx aws.Context, input *GetUs return p.Err() } +const opGetVpcLink = "GetVpcLink" + +// GetVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the GetVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 GetVpcLink for more information on using the GetVpcLink +// 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 GetVpcLinkRequest method. +// req, resp := client.GetVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { + op := &request.Operation{ + Name: opGetVpcLink, + HTTPMethod: "GET", + HTTPPath: "/vpclinks/{vpclink_id}", + } + + if input == nil { + input = &GetVpcLinkInput{} + } + + output = &UpdateVpcLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetVpcLink API operation for Amazon API Gateway. +// +// Gets a specified VPC link under the caller's account in a region. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation GetVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) GetVpcLink(input *GetVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.GetVpcLinkRequest(input) + return out, req.Send() +} + +// GetVpcLinkWithContext is the same as GetVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See GetVpcLink 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 *APIGateway) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.GetVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetVpcLinks = "GetVpcLinks" + +// GetVpcLinksRequest generates a "aws/request.Request" representing the +// client's request for the GetVpcLinks operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 GetVpcLinks for more information on using the GetVpcLinks +// 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 GetVpcLinksRequest method. +// req, resp := client.GetVpcLinksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput) { + op := &request.Operation{ + Name: opGetVpcLinks, + HTTPMethod: "GET", + HTTPPath: "/vpclinks", + Paginator: &request.Paginator{ + InputTokens: []string{"position"}, + OutputTokens: []string{"position"}, + LimitToken: "limit", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetVpcLinksInput{} + } + + output = &GetVpcLinksOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetVpcLinks API operation for Amazon API Gateway. +// +// Gets the VpcLinks collection under the caller's account in a selected region. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation GetVpcLinks for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error) { + req, out := c.GetVpcLinksRequest(input) + return out, req.Send() +} + +// GetVpcLinksWithContext is the same as GetVpcLinks with the addition of +// the ability to pass a context and additional request options. +// +// See GetVpcLinks 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 *APIGateway) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error) { + req, out := c.GetVpcLinksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetVpcLinksPages iterates over the pages of a GetVpcLinks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetVpcLinks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetVpcLinks operation. +// pageNum := 0 +// err := client.GetVpcLinksPages(params, +// func(page *GetVpcLinksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *APIGateway) GetVpcLinksPages(input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool) error { + return c.GetVpcLinksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetVpcLinksPagesWithContext same as GetVpcLinksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) GetVpcLinksPagesWithContext(ctx aws.Context, input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetVpcLinksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetVpcLinksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetVpcLinksOutput), !p.HasNextPage()) + } + return p.Err() +} + const opImportApiKeys = "ImportApiKeys" // ImportApiKeysRequest generates a "aws/request.Request" representing the @@ -7879,8 +8278,8 @@ func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *reque // ImportRestApi API operation for Amazon API Gateway. // -// A feature of the Amazon API Gateway control service for creating a new API -// from an external API definition file. +// A feature of the API Gateway control service for creating a new API from +// an external API definition file. // // 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 @@ -8435,9 +8834,9 @@ func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Req // PutRestApi API operation for Amazon API Gateway. // -// A feature of the Amazon API Gateway control service for updating an existing -// API with an input of external API definitions. The update can take the form -// of merging the supplied definition into the existing API or overwriting the +// A feature of the API Gateway control service for updating an existing API +// with an input of external API definitions. The update can take the form of +// merging the supplied definition into the existing API or overwriting the // existing API. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -10560,6 +10959,97 @@ func (c *APIGateway) UpdateUsagePlanWithContext(ctx aws.Context, input *UpdateUs return out, req.Send() } +const opUpdateVpcLink = "UpdateVpcLink" + +// UpdateVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the UpdateVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 UpdateVpcLink for more information on using the UpdateVpcLink +// 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 UpdateVpcLinkRequest method. +// req, resp := client.UpdateVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { + op := &request.Operation{ + Name: opUpdateVpcLink, + HTTPMethod: "PATCH", + HTTPPath: "/vpclinks/{vpclink_id}", + } + + if input == nil { + input = &UpdateVpcLinkInput{} + } + + output = &UpdateVpcLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateVpcLink API operation for Amazon API Gateway. +// +// Updates an existing VpcLink of a specified identifier. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation UpdateVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeConflictException "ConflictException" +// The request configuration has conflicts. For details, see the accompanying +// error message. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.UpdateVpcLinkRequest(input) + return out, req.Send() +} + +// UpdateVpcLinkWithContext is the same as UpdateVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateVpcLink 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 *APIGateway) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.UpdateVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Access log settings, including the access log format and access log destination // ARN. type AccessLogSettings struct { @@ -10596,7 +11086,7 @@ func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings { return s } -// Represents an AWS account that is associated with Amazon API Gateway. +// Represents an AWS account that is associated with API Gateway. // // To view the account info, call GET on this resource. // @@ -10829,10 +11319,10 @@ type Authorizer struct { // functional impact. AuthType *string `locationName:"authType" type:"string"` - // Specifies the required credentials as an IAM role for Amazon API Gateway - // to invoke the authorizer. To specify an IAM role for Amazon API Gateway to - // assume, use the role's Amazon Resource Name (ARN). To use resource-based - // permissions on the Lambda function, specify null. + // Specifies the required credentials as an IAM role for API Gateway to invoke + // the authorizer. To specify an IAM role for API Gateway to assume, use the + // role's Amazon Resource Name (ARN). To use resource-based permissions on the + // Lambda function, specify null. AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"` // The TTL in seconds of cached authorizer results. If it equals 0, authorization @@ -10876,8 +11366,8 @@ type Authorizer struct { IdentitySource *string `locationName:"identitySource" type:"string"` // A validation expression for the incoming identity token. For TOKEN authorizers, - // this value is a regular expression. Amazon API Gateway will match the incoming - // token from the client against the specified regular expression. It will invoke + // this value is a regular expression. API Gateway will match the incoming token + // from the client against the specified regular expression. It will invoke // the authorizer's Lambda function there is a match. Otherwise, it will return // a 401 Unauthorized response without calling the Lambda function. The validation // expression does not apply to the REQUEST authorizer. @@ -11225,10 +11715,10 @@ type CreateAuthorizerInput struct { // functional impact. AuthType *string `locationName:"authType" type:"string"` - // Specifies the required credentials as an IAM role for Amazon API Gateway - // to invoke the authorizer. To specify an IAM role for Amazon API Gateway to - // assume, use the role's Amazon Resource Name (ARN). To use resource-based - // permissions on the Lambda function, specify null. + // Specifies the required credentials as an IAM role for API Gateway to invoke + // the authorizer. To specify an IAM role for API Gateway to assume, use the + // role's Amazon Resource Name (ARN). To use resource-based permissions on the + // Lambda function, specify null. AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"` // The TTL in seconds of cached authorizer results. If it equals 0, authorization @@ -11269,8 +11759,8 @@ type CreateAuthorizerInput struct { IdentitySource *string `locationName:"identitySource" type:"string"` // A validation expression for the incoming identity token. For TOKEN authorizers, - // this value is a regular expression. Amazon API Gateway will match the incoming - // token from the client against the specified regular expression. It will invoke + // this value is a regular expression. API Gateway will match the incoming token + // from the client against the specified regular expression. It will invoke // the authorizer's Lambda function there is a match. Otherwise, it will return // a 401 Unauthorized response without calling the Lambda function. The validation // expression does not apply to the REQUEST authorizer. @@ -11389,7 +11879,7 @@ func (s *CreateAuthorizerInput) SetType(v string) *CreateAuthorizerInput { return s } -// Requests Amazon API Gateway to create a new BasePathMapping resource. +// Requests API Gateway to create a new BasePathMapping resource. type CreateBasePathMappingInput struct { _ struct{} `type:"structure"` @@ -11465,7 +11955,7 @@ func (s *CreateBasePathMappingInput) SetStage(v string) *CreateBasePathMappingIn return s } -// Requests Amazon API Gateway to create a Deployment resource. +// Requests API Gateway to create a Deployment resource. type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -11997,7 +12487,7 @@ func (s *CreateRequestValidatorInput) SetValidateRequestParameters(v bool) *Crea return s } -// Requests Amazon API Gateway to create a Resource resource. +// Requests API Gateway to create a Resource resource. type CreateResourceInput struct { _ struct{} `type:"structure"` @@ -12150,7 +12640,7 @@ func (s *CreateRestApiInput) SetVersion(v string) *CreateRestApiInput { return s } -// Requests Amazon API Gateway to create a Stage resource. +// Requests API Gateway to create a Stage resource. type CreateStageInput struct { _ struct{} `type:"structure"` @@ -12179,7 +12669,7 @@ type CreateStageInput struct { // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` - // {Required] The name for the Stage resource. + // [Required] The name for the Stage resource. // // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` @@ -12365,34 +12855,101 @@ type CreateUsagePlanKeyInput struct { // KeyType is a required field KeyType *string `locationName:"keyType" type:"string" required:"true"` - // The Id of the UsagePlan resource representing the usage plan containing the - // to-be-created UsagePlanKey resource representing a plan customer. + // The Id of the UsagePlan resource representing the usage plan containing the + // to-be-created UsagePlanKey resource representing a plan customer. + // + // UsagePlanId is a required field + UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateUsagePlanKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateUsagePlanKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateUsagePlanKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUsagePlanKeyInput"} + if s.KeyId == nil { + invalidParams.Add(request.NewErrParamRequired("KeyId")) + } + if s.KeyType == nil { + invalidParams.Add(request.NewErrParamRequired("KeyType")) + } + if s.UsagePlanId == nil { + invalidParams.Add(request.NewErrParamRequired("UsagePlanId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKeyId sets the KeyId field's value. +func (s *CreateUsagePlanKeyInput) SetKeyId(v string) *CreateUsagePlanKeyInput { + s.KeyId = &v + return s +} + +// SetKeyType sets the KeyType field's value. +func (s *CreateUsagePlanKeyInput) SetKeyType(v string) *CreateUsagePlanKeyInput { + s.KeyType = &v + return s +} + +// SetUsagePlanId sets the UsagePlanId field's value. +func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyInput { + s.UsagePlanId = &v + return s +} + +// Creates a VPC link, under the caller's account in a selected region, in an +// asynchronous operation that typically takes 2-4 minutes to complete and become +// operational. The caller must have permissions to create and update VPC Endpoint +// services. +type CreateVpcLinkInput struct { + _ struct{} `type:"structure"` + + // The description of the VPC link. + Description *string `locationName:"description" type:"string"` + + // [Required] The name used to label and identify the VPC link. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // [Required] The ARNs of network load balancers of the VPC targeted by the + // VPC link. The network load balancers must be owned by the same AWS account + // of the API owner. // - // UsagePlanId is a required field - UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` + // TargetArns is a required field + TargetArns []*string `locationName:"targetArns" type:"list" required:"true"` } // String returns the string representation -func (s CreateUsagePlanKeyInput) String() string { +func (s CreateVpcLinkInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUsagePlanKeyInput) GoString() string { +func (s CreateVpcLinkInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateUsagePlanKeyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateUsagePlanKeyInput"} - if s.KeyId == nil { - invalidParams.Add(request.NewErrParamRequired("KeyId")) - } - if s.KeyType == nil { - invalidParams.Add(request.NewErrParamRequired("KeyType")) +func (s *CreateVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVpcLinkInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.UsagePlanId == nil { - invalidParams.Add(request.NewErrParamRequired("UsagePlanId")) + if s.TargetArns == nil { + invalidParams.Add(request.NewErrParamRequired("TargetArns")) } if invalidParams.Len() > 0 { @@ -12401,21 +12958,21 @@ func (s *CreateUsagePlanKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *CreateUsagePlanKeyInput) SetKeyId(v string) *CreateUsagePlanKeyInput { - s.KeyId = &v +// SetDescription sets the Description field's value. +func (s *CreateVpcLinkInput) SetDescription(v string) *CreateVpcLinkInput { + s.Description = &v return s } -// SetKeyType sets the KeyType field's value. -func (s *CreateUsagePlanKeyInput) SetKeyType(v string) *CreateUsagePlanKeyInput { - s.KeyType = &v +// SetName sets the Name field's value. +func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput { + s.Name = &v return s } -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyInput { - s.UsagePlanId = &v +// SetTargetArns sets the TargetArns field's value. +func (s *CreateVpcLinkInput) SetTargetArns(v []*string) *CreateVpcLinkInput { + s.TargetArns = v return s } @@ -12659,7 +13216,7 @@ func (s DeleteClientCertificateOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to delete a Deployment resource. +// Requests API Gateway to delete a Deployment resource. type DeleteDeploymentInput struct { _ struct{} `type:"structure"` @@ -13607,7 +14164,7 @@ func (s DeleteRestApiOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to delete a Stage resource. +// Requests API Gateway to delete a Stage resource. type DeleteStageInput struct { _ struct{} `type:"structure"` @@ -13796,6 +14353,60 @@ func (s DeleteUsagePlanOutput) GoString() string { return s.String() } +// Deletes an existing VpcLink of a specified identifier. +type DeleteVpcLinkInput struct { + _ struct{} `type:"structure"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput { + s.VpcLinkId = &v + return s +} + +type DeleteVpcLinkOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteVpcLinkOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcLinkOutput) GoString() string { + return s.String() +} + // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable // over the Internet. @@ -13922,8 +14533,8 @@ func (s *DeploymentCanarySettings) SetUseStageCache(v bool) *DeploymentCanarySet type DocumentationPart struct { _ struct{} `type:"structure"` - // The DocumentationPart identifier, generated by Amazon API Gateway when the - // DocumentationPart is created. + // The DocumentationPart identifier, generated by API Gateway when the DocumentationPart + // is created. Id *string `locationName:"id" type:"string"` // The location of the API entity to which the documentation applies. Valid @@ -14121,8 +14732,8 @@ func (s *DocumentationVersion) SetVersion(v string) *DocumentationVersion { // Represents a custom domain name as a user-friendly host name of an API (RestApi). // -// When you deploy an API, Amazon API Gateway creates a default host name for -// the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com +// When you deploy an API, API Gateway creates a default host name for the API. +// This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com // format. With the default host name, you can access the API's root resource // with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. // When you set up a custom domain name of apis.example.com for this API, you @@ -14178,7 +14789,7 @@ type DomainName struct { // The domain name associated with the regional endpoint for this custom domain // name. You set up this association by adding a DNS record that points the // custom domain name to this regional domain name. The regional domain name - // is returned by Amazon API Gateway when you create a regional endpoint. + // is returned by API Gateway when you create a regional endpoint. RegionalDomainName *string `locationName:"regionalDomainName" type:"string"` // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. @@ -14358,7 +14969,7 @@ func (s FlushStageAuthorizersCacheOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to flush a stage's cache. +// Requests API Gateway to flush a stage's cache. type FlushStageCacheInput struct { _ struct{} `type:"structure"` @@ -14449,8 +15060,7 @@ func (s *GenerateClientCertificateInput) SetDescription(v string) *GenerateClien return s } -// Requests Amazon API Gateway to get information about the current Account -// resource. +// Requests API Gateway to get information about the current Account resource. type GetAccountInput struct { _ struct{} `type:"structure"` } @@ -15019,7 +15629,7 @@ func (s *GetClientCertificatesOutput) SetPosition(v string) *GetClientCertificat return s } -// Requests Amazon API Gateway to get information about a Deployment resource. +// Requests API Gateway to get information about a Deployment resource. type GetDeploymentInput struct { _ struct{} `type:"structure"` @@ -15087,7 +15697,7 @@ func (s *GetDeploymentInput) SetRestApiId(v string) *GetDeploymentInput { return s } -// Requests Amazon API Gateway to get information about a Deployments collection. +// Requests API Gateway to get information about a Deployments collection. type GetDeploymentsInput struct { _ struct{} `type:"structure"` @@ -15837,8 +16447,8 @@ func (s *GetGatewayResponseInput) SetRestApiId(v string) *GetGatewayResponseInpu // Gets the GatewayResponses collection on the given RestApi. If an API developer // has not added any definitions for gateway responses, the result will be the -// Amazon API Gateway-generated default GatewayResponses collection for the -// supported response types. +// API Gateway-generated default GatewayResponses collection for the supported +// response types. type GetGatewayResponsesInput struct { _ struct{} `type:"structure"` @@ -15902,7 +16512,7 @@ func (s *GetGatewayResponsesInput) SetRestApiId(v string) *GetGatewayResponsesIn // this collection. // // For more information about valid gateway response types, see Gateway Response -// Types Supported by Amazon API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: +// Types Supported by API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: // Get the collection of gateway responses of an API // // Request @@ -17276,7 +17886,7 @@ func (s *GetSdkTypesOutput) SetPosition(v string) *GetSdkTypesOutput { return s } -// Requests Amazon API Gateway to get information about a Stage resource. +// Requests API Gateway to get information about a Stage resource. type GetStageInput struct { _ struct{} `type:"structure"` @@ -17329,7 +17939,7 @@ func (s *GetStageInput) SetStageName(v string) *GetStageInput { return s } -// Requests Amazon API Gateway to get information about one or more Stage resources. +// Requests API Gateway to get information about one or more Stage resources. type GetStagesInput struct { _ struct{} `type:"structure"` @@ -17771,6 +18381,114 @@ func (s *GetUsagePlansOutput) SetPosition(v string) *GetUsagePlansOutput { return s } +// Gets a specified VPC link under the caller's account in a region. +type GetVpcLinkInput struct { + _ struct{} `type:"structure"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput { + s.VpcLinkId = &v + return s +} + +// Gets the VpcLinks collection under the caller's account in a selected region. +type GetVpcLinksInput struct { + _ struct{} `type:"structure"` + + // The maximum number of returned results per page. + Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` + + // The current pagination position in the paged result set. + Position *string `location:"querystring" locationName:"position" type:"string"` +} + +// String returns the string representation +func (s GetVpcLinksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinksInput) GoString() string { + return s.String() +} + +// SetLimit sets the Limit field's value. +func (s *GetVpcLinksInput) SetLimit(v int64) *GetVpcLinksInput { + s.Limit = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetVpcLinksInput) SetPosition(v string) *GetVpcLinksInput { + s.Position = &v + return s +} + +// The collection of VPC links under the caller's account in a region. +// +// Getting Started with Private Integrations (http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-private-integration.html), +// Set up Private Integrations (http://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-private-integration.html) +type GetVpcLinksOutput struct { + _ struct{} `type:"structure"` + + // The current page of elements from this collection. + Items []*UpdateVpcLinkOutput `locationName:"item" type:"list"` + + Position *string `locationName:"position" type:"string"` +} + +// String returns the string representation +func (s GetVpcLinksOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinksOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *GetVpcLinksOutput) SetItems(v []*UpdateVpcLinkOutput) *GetVpcLinksOutput { + s.Items = v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetVpcLinksOutput) SetPosition(v string) *GetVpcLinksOutput { + s.Position = &v + return s +} + // The POST request to import API keys from an external source, such as a CSV-formatted // file. type ImportApiKeysInput struct { @@ -17949,7 +18667,7 @@ func (s *ImportDocumentationPartsInput) SetRestApiId(v string) *ImportDocumentat // A collection of the imported DocumentationPart identifiers. // // This is used to return the result when documentation parts in an external -// (e.g., Swagger) file are imported into Amazon API Gateway +// (e.g., Swagger) file are imported into API Gateway // Documenting an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), // documentationpart:import (http://docs.aws.amazon.com/apigateway/api-reference/link-relation/documentationpart-import/), // DocumentationPart @@ -17985,8 +18703,8 @@ func (s *ImportDocumentationPartsOutput) SetWarnings(v []*string) *ImportDocumen return s } -// A POST request to import an API to Amazon API Gateway using an input of an -// API definition file. +// A POST request to import an API to API Gateway using an input of an API definition +// file. type ImportRestApiInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -18080,6 +18798,17 @@ type Integration struct { // Specifies the integration's cache namespace. CacheNamespace *string `locationName:"cacheNamespace" type:"string"` + // The (id (http://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) + // of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The type of the network connection to the integration endpoint. The valid + // value is INTERNET for connections through the public routable internet or + // VPC_LINK for private connections between API Gateway and an network load + // balancer in a VPC. The default value is INTERNET. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // Specifies how to handle request payload content type conversions. Supported // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: // @@ -18095,11 +18824,10 @@ type Integration struct { ContentHandling *string `locationName:"contentHandling" type:"string" enum:"ContentHandlingStrategy"` // Specifies the credentials required for the integration, if any. For AWS integrations, - // three options are available. To specify an IAM Role for Amazon API Gateway - // to assume, use the role's Amazon Resource Name (ARN). To require that the - // caller's identity be passed through from the request, specify the string - // arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS - // services, specify null. + // three options are available. To specify an IAM Role for API Gateway to assume, + // use the role's Amazon Resource Name (ARN). To require that the caller's identity + // be passed through from the request, specify the string arn:aws:iam::\*:user/\*. + // To use resource-based permissions on supported AWS services, specify null. Credentials *string `locationName:"credentials" type:"string"` // Specifies the integration's HTTP method type. @@ -18133,19 +18861,18 @@ type Integration struct { // passed through the integration request to the back end without transformation. // A content type is unmapped if no mapping template is defined in the integration // or the content type does not match any of the mapped content types, as specified - // in requestTemplates. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, - // and NEVER. + // in requestTemplates. The valid value is one of the following: // - // WHEN_NO_MATCH passes the method request body through the integration request + // WHEN_NO_MATCH: passes the method request body through the integration request // to the back end without transformation when the method request content type // does not match any content type associated with the mapping templates defined // in the integration request. - // WHEN_NO_TEMPLATES passes the method request body through the integration + // WHEN_NO_TEMPLATES: passes the method request body through the integration // request to the back end without transformation when no mapping template is // defined in the integration request. If a template is defined when this option // is selected, the method request of an unmapped content-type will be rejected // with an HTTP 415 Unsupported Media Type response. - // NEVER rejects the method request with an HTTP 415 Unsupported Media Type + // NEVER: rejects the method request with an HTTP 415 Unsupported Media Type // response when either the method request content type does not match any content // type associated with the mapping templates defined in the integration request // or no mapping template is defined in the integration request. @@ -18170,22 +18897,52 @@ type Integration struct { // milliseconds or 29 seconds. TimeoutInMillis *int64 `locationName:"timeoutInMillis" type:"integer"` - // Specifies the integration's type. The valid value is HTTP for integrating - // with an HTTP back end, AWS for any AWS service endpoints, MOCK for testing - // without actually invoking the back end, HTTP_PROXY for integrating with the - // HTTP proxy integration, or AWS_PROXY for integrating with the Lambda proxy - // integration type. + // Specifies an API method integration type. The valid value is one of the following: + // + // * AWS: for integrating the API method request with an AWS service action, + // including the Lambda function-invoking action. With the Lambda function-invoking + // action, this is referred to as the Lambda custom integration. With any + // other AWS service action, this is known as AWS integration. + // * AWS_PROXY: for integrating the API method request with the Lambda function-invoking + // action with the client request passed through as-is. This integration + // is also referred to as the Lambda proxy integration. + // * HTTP: for integrating the API method request with an HTTP endpoint, + // including a private HTTP endpoint within a VPC. This integration is also + // referred to as the HTTP custom integration. + // * HTTP_PROXY: for integrating the API method request with an HTTP endpoint, + // including a private HTTP endpoint within a VPC, with the client request + // passed through as-is. This is also referred to as the HTTP proxy integration. + // + // * MOCK: for integrating the API method request with API Gateway as a "loop-back" + // endpoint without invoking any backend. + // For the HTTP and HTTP proxy integrations, each integration can specify a + // protocol (http/https), port and path. Standard 80 and 443 ports are supported + // as well as custom ports above 1024. An HTTP or HTTP proxy integration with + // a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type *string `locationName:"type" type:"string" enum:"IntegrationType"` - // Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, - // the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 - // specification (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier). - // For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. - // Region, subdomain and service are used to determine the right endpoint. For - // AWS services that use the Action= query string parameter, service_api should - // be a valid action for the desired service. For RESTful AWS service APIs, - // path is used to indicate that the remaining substring in the URI should be - // treated as the path to the resource, including the initial /. + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. + // + // * For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, + // encoded HTTP(S) URL according to the RFC-3986 specification (_blank), + // for either standard integration, where connectionType is not VPC_LINK, + // or private integration, where connectionType is VPC_LINK. For a private + // HTTP integration, the URI is not used for routing. + // + // * For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. + // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} + // is the name of the integrated AWS service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain AWS service for fast host-name + // lookup. action can be used for an AWS service action-based API, using + // an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} + // refers to a supported action {name} plus any required input parameters. + // Alternatively, path can be used for an AWS service path-based API. The + // ensuing service_api refers to the path to an AWS service resource, including + // the region of the integrated AWS service, if applicable. For example, + // for integration with the S3 API of GetObject (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), + // the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} + // or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string `locationName:"uri" type:"string"` } @@ -18211,6 +18968,18 @@ func (s *Integration) SetCacheNamespace(v string) *Integration { return s } +// SetConnectionId sets the ConnectionId field's value. +func (s *Integration) SetConnectionId(v string) *Integration { + s.ConnectionId = &v + return s +} + +// SetConnectionType sets the ConnectionType field's value. +func (s *Integration) SetConnectionType(v string) *Integration { + s.ConnectionType = &v + return s +} + // SetContentHandling sets the ContentHandling field's value. func (s *Integration) SetContentHandling(v string) *Integration { s.ContentHandling = &v @@ -18537,8 +19306,8 @@ type Method struct { RequestModels map[string]*string `locationName:"requestModels" type:"map"` // A key-value map defining required or optional method request parameters that - // can be accepted by Amazon API Gateway. A key is a method request parameter - // name matching the pattern of method.request.{location}.{name}, where location + // can be accepted by API Gateway. A key is a method request parameter name + // matching the pattern of method.request.{location}.{name}, where location // is querystring, path, or header and name is a valid and unique parameter // name. The value associated with the key is a Boolean flag indicating whether // the parameter is required (true) or optional (false). The method request @@ -18654,10 +19423,10 @@ type MethodResponse struct { ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // A key-value map specifying required or optional response parameters that - // Amazon API Gateway can send back to the caller. A key defines a method response + // API Gateway can send back to the caller. A key defines a method response // header and the value specifies whether the associated method response header // is required or not. The expression of the key must match the pattern method.response.header.{name}, - // where name is a valid and unique header name. Amazon API Gateway passes certain + // where name is a valid and unique header name. API Gateway passes certain // integration response data to the method response headers specified here according // to the mapping you prescribe in the API's IntegrationResponse. The integration // response data that can be mapped include an integration response header expressed @@ -19119,6 +19888,17 @@ type PutIntegrationInput struct { // Specifies a put integration input's cache namespace. CacheNamespace *string `locationName:"cacheNamespace" type:"string"` + // The (id (http://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) + // of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The type of the network connection to the integration endpoint. The valid + // value is INTERNET for connections through the public routable internet or + // VPC_LINK for private connections between API Gateway and an network load + // balancer in a VPC. The default value is INTERNET. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // Specifies how to handle request payload content type conversions. Supported // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: // @@ -19195,15 +19975,27 @@ type PutIntegrationInput struct { // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"IntegrationType"` - // Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, - // the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 - // specification (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier). - // For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. - // Region, subdomain and service are used to determine the right endpoint. For - // AWS services that use the Action= query string parameter, service_api should - // be a valid action for the desired service. For RESTful AWS service APIs, - // path is used to indicate that the remaining substring in the URI should be - // treated as the path to the resource, including the initial /. + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. + // + // * For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, + // encoded HTTP(S) URL according to the RFC-3986 specification (_blank), + // for either standard integration, where connectionType is not VPC_LINK, + // or private integration, where connectionType is VPC_LINK. For a private + // HTTP integration, the URI is not used for routing. + // + // * For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. + // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} + // is the name of the integrated AWS service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain AWS service for fast host-name + // lookup. action can be used for an AWS service action-based API, using + // an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} + // refers to a supported action {name} plus any required input parameters. + // Alternatively, path can be used for an AWS service path-based API. The + // ensuing service_api refers to the path to an AWS service resource, including + // the region of the integrated AWS service, if applicable. For example, + // for integration with the S3 API of GetObject (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), + // the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} + // or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string `locationName:"uri" type:"string"` } @@ -19251,6 +20043,18 @@ func (s *PutIntegrationInput) SetCacheNamespace(v string) *PutIntegrationInput { return s } +// SetConnectionId sets the ConnectionId field's value. +func (s *PutIntegrationInput) SetConnectionId(v string) *PutIntegrationInput { + s.ConnectionId = &v + return s +} + +// SetConnectionType sets the ConnectionType field's value. +func (s *PutIntegrationInput) SetConnectionType(v string) *PutIntegrationInput { + s.ConnectionType = &v + return s +} + // SetContentHandling sets the ContentHandling field's value. func (s *PutIntegrationInput) SetContentHandling(v string) *PutIntegrationInput { s.ContentHandling = &v @@ -19494,7 +20298,7 @@ type PutMethodInput struct { RequestModels map[string]*string `locationName:"requestModels" type:"map"` // A key-value map defining required or optional method request parameters that - // can be accepted by Amazon API Gateway. A key defines a method request parameter + // can be accepted by API Gateway. A key defines a method request parameter // name matching the pattern of method.request.{location}.{name}, where location // is querystring, path, or header and name is a valid and unique parameter // name. The value associated with the key is a Boolean flag indicating whether @@ -19629,7 +20433,7 @@ type PutMethodResponseInput struct { ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // A key-value map specifying required or optional response parameters that - // Amazon API Gateway can send back to the caller. A key defines a method response + // API Gateway can send back to the caller. A key defines a method response // header name and the associated value is a Boolean flag indicating whether // the method response parameter is required or not. The method response header // names must match the pattern of method.response.header.{name}, where name @@ -19991,7 +20795,7 @@ type RestApi struct { EndpointConfiguration *EndpointConfiguration `locationName:"endpointConfiguration" type:"structure"` // The API's identifier. This identifier is unique across all of your APIs in - // Amazon API Gateway. + // API Gateway. Id *string `locationName:"id" type:"string"` // The API's name. @@ -20222,7 +21026,7 @@ type Stage struct { MethodSettings map[string]*MethodSetting `locationName:"methodSettings" type:"map"` // The name of the stage is the first path segment in the Uniform Resource Identifier - // (URI) of a call to Amazon API Gateway. + // (URI) of a call to API Gateway. StageName *string `locationName:"stageName" type:"string"` // A map that defines the stage variables for a Stage resource. Variable names @@ -20478,7 +21282,7 @@ type TestInvokeAuthorizerOutput struct { // The execution latency of the test authorizer request. Latency *int64 `locationName:"latency" type:"long"` - // The Amazon API Gateway execution log for the test authorizer request. + // The API Gateway execution log for the test authorizer request. Log *string `locationName:"log" type:"string"` // The JSON policy document returned by the Authorizer @@ -20671,7 +21475,7 @@ type TestInvokeMethodOutput struct { // The execution latency of the test invoke request. Latency *int64 `locationName:"latency" type:"long"` - // The Amazon API Gateway execution log for the test invoke request. + // The API Gateway execution log for the test invoke request. Log *string `locationName:"log" type:"string"` // The HTTP status code. @@ -20753,8 +21557,7 @@ func (s *ThrottleSettings) SetRateLimit(v float64) *ThrottleSettings { return s } -// Requests Amazon API Gateway to change information about the current Account -// resource. +// Requests API Gateway to change information about the current Account resource. type UpdateAccountInput struct { _ struct{} `type:"structure"` @@ -21003,7 +21806,7 @@ func (s *UpdateClientCertificateInput) SetPatchOperations(v []*PatchOperation) * return s } -// Requests Amazon API Gateway to change information about a Deployment resource. +// Requests API Gateway to change information about a Deployment resource. type UpdateDeploymentInput struct { _ struct{} `type:"structure"` @@ -21329,7 +22132,7 @@ func (s *UpdateGatewayResponseInput) SetRestApiId(v string) *UpdateGatewayRespon // response parameters and mapping templates. // // For more information about valid gateway response types, see Gateway Response -// Types Supported by Amazon API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: +// Types Supported by API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: // Get a Gateway Response of a given response type // // Request @@ -21371,7 +22174,7 @@ type UpdateGatewayResponseOutput struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway // response (true) or not (false). A default gateway response is one generated - // by Amazon API Gateway without any customization by an API developer. + // by API Gateway without any customization by an API developer. DefaultResponse *bool `locationName:"defaultResponse" type:"boolean"` // Response parameters (paths, query strings and headers) of the GatewayResponse @@ -22084,7 +22887,7 @@ func (s *UpdateRestApiInput) SetRestApiId(v string) *UpdateRestApiInput { return s } -// Requests Amazon API Gateway to change information about a Stage resource. +// Requests API Gateway to change information about a Stage resource. type UpdateStageInput struct { _ struct{} `type:"structure"` @@ -22261,6 +23064,138 @@ func (s *UpdateUsagePlanInput) SetUsagePlanId(v string) *UpdateUsagePlanInput { return s } +// Updates an existing VpcLink of a specified identifier. +type UpdateVpcLinkInput struct { + _ struct{} `type:"structure"` + + // A list of update operations to be applied to the specified resource and in + // the order specified in this list. + PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPatchOperations sets the PatchOperations field's value. +func (s *UpdateVpcLinkInput) SetPatchOperations(v []*PatchOperation) *UpdateVpcLinkInput { + s.PatchOperations = v + return s +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *UpdateVpcLinkInput) SetVpcLinkId(v string) *UpdateVpcLinkInput { + s.VpcLinkId = &v + return s +} + +// A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual +// Private Cloud (VPC). +// +// To enable access to a resource in an Amazon Virtual Private Cloud through +// Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted +// for one or more network load balancers of the VPC and then integrate an API +// method with a private integration that uses the VpcLink. The private integraiton +// has an integration type of HTTP or HTTP_PROXY and has a connection type of +// VPC_LINK. The integration uses the connectionId property to identify the +// VpcLink used. +type UpdateVpcLinkOutput struct { + _ struct{} `type:"structure"` + + // The description of the VPC link. + Description *string `locationName:"description" type:"string"` + + // The identifier of the VpcLink. It is used in an Integration to reference + // this VpcLink. + Id *string `locationName:"id" type:"string"` + + // The name used to label and identify the VPC link. + Name *string `locationName:"name" type:"string"` + + // The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, + // or FAILED. Deploying an API will wait if the status is PENDING and will fail + // if the status is DELETING. + Status *string `locationName:"status" type:"string" enum:"VpcLinkStatus"` + + // A description about the VPC link status. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The ARNs of network load balancers of the VPC targeted by the VPC link. The + // network load balancers must be owned by the same AWS account of the API owner. + TargetArns []*string `locationName:"targetArns" type:"list"` +} + +// String returns the string representation +func (s UpdateVpcLinkOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateVpcLinkOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *UpdateVpcLinkOutput) SetDescription(v string) *UpdateVpcLinkOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateVpcLinkOutput) SetId(v string) *UpdateVpcLinkOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateVpcLinkOutput) SetName(v string) *UpdateVpcLinkOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateVpcLinkOutput) SetStatus(v string) *UpdateVpcLinkOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *UpdateVpcLinkOutput) SetStatusMessage(v string) *UpdateVpcLinkOutput { + s.StatusMessage = &v + return s +} + +// SetTargetArns sets the TargetArns field's value. +func (s *UpdateVpcLinkOutput) SetTargetArns(v []*string) *UpdateVpcLinkOutput { + s.TargetArns = v + return s +} + // Represents the usage data of a usage plan. // // Create and Use Usage Plans (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html), Manage Usage in a Usage Plan (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage) @@ -22533,6 +23468,14 @@ const ( CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS" ) +const ( + // ConnectionTypeInternet is a ConnectionType enum value + ConnectionTypeInternet = "INTERNET" + + // ConnectionTypeVpcLink is a ConnectionType enum value + ConnectionTypeVpcLink = "VPC_LINK" +) + const ( // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY" @@ -22652,10 +23595,10 @@ const ( GatewayResponseTypeQuotaExceeded = "QUOTA_EXCEEDED" ) -// The integration type. The valid value is HTTP for integrating with an HTTP -// back end, AWS for any AWS service endpoints, MOCK for testing without actually -// invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, -// or AWS_PROXY for integrating with the Lambda proxy integration type. +// The integration type. The valid value is HTTP for integrating an API method +// with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing +// without actually invoking the backend; HTTP_PROXY for integrating with the +// HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration. const ( // IntegrationTypeHttp is a IntegrationType enum value IntegrationTypeHttp = "HTTP" @@ -22730,3 +23673,17 @@ const ( // UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader = "SUCCEED_WITHOUT_RESPONSE_HEADER" ) + +const ( + // VpcLinkStatusAvailable is a VpcLinkStatus enum value + VpcLinkStatusAvailable = "AVAILABLE" + + // VpcLinkStatusPending is a VpcLinkStatus enum value + VpcLinkStatusPending = "PENDING" + + // VpcLinkStatusDeleting is a VpcLinkStatus enum value + VpcLinkStatusDeleting = "DELETING" + + // VpcLinkStatusFailed is a VpcLinkStatus enum value + VpcLinkStatusFailed = "FAILED" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go index a7862f072bd..7a343e30a7e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go @@ -4,10 +4,10 @@ // requests to Amazon API Gateway. // // Amazon API Gateway helps developers deliver robust, secure, and scalable -// mobile and web application back ends. Amazon API Gateway allows developers -// to securely connect mobile and web applications to APIs that run on AWS Lambda, -// Amazon EC2, or other publicly addressable web services that are hosted outside -// of AWS. +// mobile and web application back ends. API Gateway allows developers to securely +// connect mobile and web applications to APIs that run on AWS Lambda, Amazon +// EC2, or other publicly addressable web services that are hosted outside of +// AWS. // // See apigateway package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/ 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 4d1b5c2870a..ec4572b9ea9 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 @@ -212,6 +212,9 @@ func (c *EC2) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectio // of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding // VPC peering connection requests. // +// For an inter-region VPC peering connection request, you must accept the VPC +// peering connection in the region of the accepter VPC. +// // 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. @@ -4172,11 +4175,14 @@ func (c *EC2) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) (req // CreatePlacementGroup API operation for Amazon Elastic Compute Cloud. // -// Creates a placement group that you launch cluster instances into. Give the -// group a name that's unique within the scope of your account. +// Creates a placement group in which to launch instances. The strategy of the +// placement group determines how the instances are organized within the group. +// +// A cluster placement group is a logical grouping of instances within a single +// Availability Zone that benefit from low network latency, high network throughput. +// A spread placement group places instances on distinct hardware. // -// For more information about placement groups and cluster instances, see Cluster -// Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -5417,16 +5423,17 @@ func (c *EC2) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectio // CreateVpcPeeringConnection API operation for Amazon Elastic Compute Cloud. // // Requests a VPC peering connection between two VPCs: a requester VPC that -// you own and a peer VPC with which to create the connection. The peer VPC -// can belong to another AWS account. The requester VPC and peer VPC cannot -// have overlapping CIDR blocks. +// you own and an accepter VPC with which to create the connection. The accepter +// VPC can belong to another AWS account and can be in a different region to +// the requester VPC. The requester VPC and accepter VPC cannot have overlapping +// CIDR blocks. // -// The owner of the peer VPC must accept the peering request to activate the -// peering connection. The VPC peering connection request expires after 7 days, -// after which it cannot be accepted or rejected. +// The owner of the accepter VPC must accept the peering request to activate +// the peering connection. The VPC peering connection request expires after +// 7 days, after which it cannot be accepted or rejected. // -// If you try to create a VPC peering connection between VPCs that have overlapping -// CIDR blocks, the VPC peering connection status goes to failed. +// If you create a VPC peering connection request between VPCs with overlapping +// CIDR blocks, the VPC peering connection has a status of failed. // // 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 @@ -6825,8 +6832,8 @@ func (c *EC2) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) (req // DeletePlacementGroup API operation for Amazon Elastic Compute Cloud. // // Deletes the specified placement group. You must terminate all instances in -// the placement group before you can delete the placement group. For more information -// about placement groups and cluster instances, see Cluster Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// the placement group before you can delete the placement group. For more information, +// see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -7849,8 +7856,8 @@ func (c *EC2) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectio // DeleteVpcPeeringConnection API operation for Amazon Elastic Compute Cloud. // // Deletes a VPC peering connection. Either the owner of the requester VPC or -// the owner of the peer VPC can delete the VPC peering connection if it's in -// the active state. The owner of the requester VPC can delete a VPC peering +// the owner of the accepter VPC can delete the VPC peering connection if it's +// in the active state. The owner of the requester VPC can delete a VPC peering // connection in the pending-acceptance state. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -11398,8 +11405,8 @@ func (c *EC2) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput // DescribePlacementGroups API operation for Amazon Elastic Compute Cloud. // -// Describes one or more of your placement groups. For more information about -// placement groups and cluster instances, see Cluster Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// Describes one or more of your placement groups. For more information, see +// Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -22450,7 +22457,8 @@ type AcceptVpcPeeringConnectionInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The ID of the VPC peering connection. + // The ID of the VPC peering connection. You must specify this parameter in + // the request. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` } @@ -28506,7 +28514,8 @@ type CreatePlacementGroupInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // A name for the placement group. + // A name for the placement group. Must be unique within the scope of your account + // for the region. // // Constraints: Up to 255 ASCII characters // @@ -30128,15 +30137,22 @@ type CreateVpcPeeringConnectionInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The AWS account ID of the owner of the peer VPC. + // The AWS account ID of the owner of the accepter VPC. // // Default: Your AWS account ID PeerOwnerId *string `locationName:"peerOwnerId" type:"string"` + // The region code for the accepter VPC, if the accepter VPC is located in a + // region other than the region in which you make the request. + // + // Default: The region in which you make the request. + PeerRegion *string `type:"string"` + // The ID of the VPC with which you are creating the VPC peering connection. + // You must specify this parameter in the request. PeerVpcId *string `locationName:"peerVpcId" type:"string"` - // The ID of the requester VPC. + // The ID of the requester VPC. You must specify this parameter in the request. VpcId *string `locationName:"vpcId" type:"string"` } @@ -30162,6 +30178,12 @@ func (s *CreateVpcPeeringConnectionInput) SetPeerOwnerId(v string) *CreateVpcPee return s } +// SetPeerRegion sets the PeerRegion field's value. +func (s *CreateVpcPeeringConnectionInput) SetPeerRegion(v string) *CreateVpcPeeringConnectionInput { + s.PeerRegion = &v + return s +} + // SetPeerVpcId sets the PeerVpcId field's value. func (s *CreateVpcPeeringConnectionInput) SetPeerVpcId(v string) *CreateVpcPeeringConnectionInput { s.PeerVpcId = &v @@ -37496,7 +37518,7 @@ type DescribePlacementGroupsInput struct { // * state - The state of the placement group (pending | available | deleting // | deleted). // - // * strategy - The strategy of the placement group (cluster). + // * strategy - The strategy of the placement group (cluster | spread). Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more placement group names. @@ -41873,12 +41895,12 @@ type DescribeVpcPeeringConnectionsInput struct { // One or more filters. // - // * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the peer VPC. + // * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter VPC. // // * accepter-vpc-info.owner-id - The AWS account ID of the owner of the - // peer VPC. + // accepter VPC. // - // * accepter-vpc-info.vpc-id - The ID of the peer VPC. + // * accepter-vpc-info.vpc-id - The ID of the accepter VPC. // // * expiration-time - The expiration date and time for the VPC peering connection. // @@ -41891,7 +41913,7 @@ type DescribeVpcPeeringConnectionsInput struct { // * requester-vpc-info.vpc-id - The ID of the requester VPC. // // * status-code - The status of the VPC peering connection (pending-acceptance - // | failed | expired | provisioning | active | deleted | rejected). + // | failed | expired | provisioning | active | deleting | deleted | rejected). // // * status-message - A message that provides more information about the // status of the VPC peering connection, if applicable. @@ -64239,7 +64261,7 @@ type SpotPlacement struct { // commas; for example, "us-west-2a, us-west-2b". AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The name of the placement group (for cluster instances). + // The name of the placement group. GroupName *string `locationName:"groupName" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance @@ -67530,6 +67552,9 @@ type VpcPeeringConnectionVpcInfo struct { // requester VPC. PeeringOptions *VpcPeeringConnectionOptionsDescription `locationName:"peeringOptions" type:"structure"` + // The region in which the VPC is located. + Region *string `locationName:"region" type:"string"` + // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` } @@ -67574,6 +67599,12 @@ func (s *VpcPeeringConnectionVpcInfo) SetPeeringOptions(v *VpcPeeringConnectionO return s } +// SetRegion sets the Region field's value. +func (s *VpcPeeringConnectionVpcInfo) SetRegion(v string) *VpcPeeringConnectionVpcInfo { + s.Region = &v + return s +} + // SetVpcId sets the VpcId field's value. func (s *VpcPeeringConnectionVpcInfo) SetVpcId(v string) *VpcPeeringConnectionVpcInfo { s.VpcId = &v @@ -69033,6 +69064,9 @@ const ( const ( // PlacementStrategyCluster is a PlacementStrategy enum value PlacementStrategyCluster = "cluster" + + // PlacementStrategySpread is a PlacementStrategy enum value + PlacementStrategySpread = "spread" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go index 538707938ad..edf03753847 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go @@ -94,15 +94,20 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodePolicyLengthExceededException "PolicyLengthExceededException" // Lambda function access policy is limited to 20 KB. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -197,12 +202,17 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error) { @@ -310,15 +320,20 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The resource (for example, a Lambda function or access policy statement) @@ -415,10 +430,7 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The resource (for example, a Lambda function or access policy statement) @@ -428,6 +440,14 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // The resource already exists. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) @@ -519,12 +539,17 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -616,12 +641,17 @@ func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -721,14 +751,19 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. @@ -755,6 +790,106 @@ func (c *Lambda) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctio return out, req.Send() } +const opDeleteFunctionConcurrency = "DeleteFunctionConcurrency" + +// DeleteFunctionConcurrencyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteFunctionConcurrency operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 DeleteFunctionConcurrency for more information on using the DeleteFunctionConcurrency +// 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 DeleteFunctionConcurrencyRequest method. +// req, resp := client.DeleteFunctionConcurrencyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency +func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurrencyInput) (req *request.Request, output *DeleteFunctionConcurrencyOutput) { + op := &request.Operation{ + Name: opDeleteFunctionConcurrency, + HTTPMethod: "DELETE", + HTTPPath: "/2017-10-31/functions/{FunctionName}/concurrency", + } + + if input == nil { + input = &DeleteFunctionConcurrencyInput{} + } + + output = &DeleteFunctionConcurrencyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteFunctionConcurrency API operation for AWS Lambda. +// +// Removes concurrent execution limits from this function. +// +// 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 Lambda's +// API operation DeleteFunctionConcurrency for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// The AWS Lambda service encountered an internal error. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The resource (for example, a Lambda function or access policy statement) +// specified in the request does not exist. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// * ErrCodeInvalidParameterValueException "InvalidParameterValueException" +// One of the parameters in the request is invalid. For example, if you provided +// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration +// API, that AWS Lambda is unable to assume you will get this exception. +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency +func (c *Lambda) DeleteFunctionConcurrency(input *DeleteFunctionConcurrencyInput) (*DeleteFunctionConcurrencyOutput, error) { + req, out := c.DeleteFunctionConcurrencyRequest(input) + return out, req.Send() +} + +// DeleteFunctionConcurrencyWithContext is the same as DeleteFunctionConcurrency with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteFunctionConcurrency 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 *Lambda) DeleteFunctionConcurrencyWithContext(ctx aws.Context, input *DeleteFunctionConcurrencyInput, opts ...request.Option) (*DeleteFunctionConcurrencyOutput, error) { + req, out := c.DeleteFunctionConcurrencyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetAccountSettings = "GetAccountSettings" // GetAccountSettingsRequest generates a "aws/request.Request" representing the @@ -816,6 +951,14 @@ func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req // // Returned Error Codes: // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeServiceException "ServiceException" // The AWS Lambda service encountered an internal error. @@ -910,12 +1053,17 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error) { @@ -1006,12 +1154,17 @@ func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -1109,14 +1262,19 @@ func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Reque // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { @@ -1214,14 +1372,19 @@ func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfiguration // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error) { @@ -1314,14 +1477,19 @@ func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -1428,14 +1596,19 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // The content type of the Invoke request body is not JSON. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeEC2UnexpectedException "EC2UnexpectedException" // AWS Lambda received an unexpected EC2 client exception while setting up for @@ -1674,12 +1847,17 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -1785,12 +1963,17 @@ func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsIn // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error) { @@ -1936,14 +2119,19 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // The AWS Lambda service encountered an internal error. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { @@ -2082,12 +2270,17 @@ func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -2176,12 +2369,17 @@ func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInpu // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error) { @@ -2273,12 +2471,17 @@ func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) @@ -2305,6 +2508,109 @@ func (c *Lambda) PublishVersionWithContext(ctx aws.Context, input *PublishVersio return out, req.Send() } +const opPutFunctionConcurrency = "PutFunctionConcurrency" + +// PutFunctionConcurrencyRequest generates a "aws/request.Request" representing the +// client's request for the PutFunctionConcurrency operation. The "output" return +// value will be populated with the request's response once the request complets +// 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 PutFunctionConcurrency for more information on using the PutFunctionConcurrency +// 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 PutFunctionConcurrencyRequest method. +// req, resp := client.PutFunctionConcurrencyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency +func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInput) (req *request.Request, output *PutFunctionConcurrencyOutput) { + op := &request.Operation{ + Name: opPutFunctionConcurrency, + HTTPMethod: "PUT", + HTTPPath: "/2017-10-31/functions/{FunctionName}/concurrency", + } + + if input == nil { + input = &PutFunctionConcurrencyInput{} + } + + output = &PutFunctionConcurrencyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutFunctionConcurrency API operation for AWS Lambda. +// +// Sets a limit on the number of concurrent executions available to this function. +// It is a subset of your account's total concurrent execution limit per region. +// Note that Lambda automatically reserves a buffer of 100 concurrent executions +// for functions without any reserved concurrency limit. This means if your +// account limit is 1000, you have a total of 900 available to allocate to individual +// functions. +// +// 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 Lambda's +// API operation PutFunctionConcurrency for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// The AWS Lambda service encountered an internal error. +// +// * ErrCodeInvalidParameterValueException "InvalidParameterValueException" +// One of the parameters in the request is invalid. For example, if you provided +// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration +// API, that AWS Lambda is unable to assume you will get this exception. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The resource (for example, a Lambda function or access policy statement) +// specified in the request does not exist. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency +func (c *Lambda) PutFunctionConcurrency(input *PutFunctionConcurrencyInput) (*PutFunctionConcurrencyOutput, error) { + req, out := c.PutFunctionConcurrencyRequest(input) + return out, req.Send() +} + +// PutFunctionConcurrencyWithContext is the same as PutFunctionConcurrency with the addition of +// the ability to pass a context and additional request options. +// +// See PutFunctionConcurrency 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 *Lambda) PutFunctionConcurrencyWithContext(ctx aws.Context, input *PutFunctionConcurrencyInput, opts ...request.Option) (*PutFunctionConcurrencyOutput, error) { + req, out := c.PutFunctionConcurrencyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemovePermission = "RemovePermission" // RemovePermissionRequest generates a "aws/request.Request" representing the @@ -2383,12 +2689,17 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -2480,12 +2791,17 @@ func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2576,12 +2892,17 @@ func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.R // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2673,12 +2994,17 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error) { @@ -2782,12 +3108,17 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. @@ -2886,12 +3217,17 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) @@ -2992,12 +3328,17 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42 or if you point to an additional version when the version -// specified is $LATEST. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. @@ -3048,6 +3389,10 @@ type AccountLimit struct { // Maximum size, in bytes, of a code package you can upload per region. The // default size is 75 GB. TotalCodeSize *int64 `type:"long"` + + // The number of concurrent executions available to functions that do not have + // concurrency limits set. + UnreservedConcurrentExecutions *int64 `type:"integer"` } // String returns the string representation @@ -3084,6 +3429,12 @@ func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit { return s } +// SetUnreservedConcurrentExecutions sets the UnreservedConcurrentExecutions field's value. +func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit { + s.UnreservedConcurrentExecutions = &v + return s +} + // Provides code size usage and function count associated with the current account // and region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountUsage @@ -3705,11 +4056,9 @@ type CreateFunctionInput struct { // // Node v0.10.42 is currently marked as deprecated. You must migrate existing // functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 - // or nodejs6.10) as soon as possible. You can request a one-time extension - // until June 30, 2017 by going to the Lambda console and following the instructions - // provided. Failure to do so will result in an invalid parmaeter error being - // returned. Note that you will have to follow this procedure for each region - // that contains functions written in the Node v0.10.42 runtime. + // or nodejs6.10) as soon as possible. Failure to do so will result in an invalid + // parmaeter error being returned. Note that you will have to follow this procedure + // for each region that contains functions written in the Node v0.10.42 runtime. // // Runtime is a required field Runtime *string `type:"string" required:"true" enum:"Runtime"` @@ -4014,6 +4363,63 @@ func (s *DeleteEventSourceMappingInput) SetUUID(v string) *DeleteEventSourceMapp return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest +type DeleteFunctionConcurrencyInput struct { + _ struct{} `type:"structure"` + + // The name of the function you are removing concurrent execution limits from. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteFunctionConcurrencyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFunctionConcurrencyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteFunctionConcurrencyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteFunctionConcurrencyInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *DeleteFunctionConcurrencyInput) SetFunctionName(v string) *DeleteFunctionConcurrencyInput { + s.FunctionName = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyOutput +type DeleteFunctionConcurrencyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteFunctionConcurrencyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFunctionConcurrencyOutput) GoString() string { + return s.String() +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest type DeleteFunctionInput struct { _ struct{} `type:"structure"` @@ -4893,6 +5299,9 @@ type GetFunctionOutput struct { // The object for the Lambda function location. Code *FunctionCodeLocation `type:"structure"` + // The concurrent execution limit set for this function. + Concurrency *PutFunctionConcurrencyOutput `type:"structure"` + // A complex type that describes function metadata. Configuration *FunctionConfiguration `type:"structure"` @@ -4916,6 +5325,12 @@ func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput return s } +// SetConcurrency sets the Concurrency field's value. +func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput { + s.Concurrency = v + return s +} + // SetConfiguration sets the Configuration field's value. func (s *GetFunctionOutput) SetConfiguration(v *FunctionConfiguration) *GetFunctionOutput { s.Configuration = v @@ -5878,6 +6293,86 @@ func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput { return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest +type PutFunctionConcurrencyInput struct { + _ struct{} `type:"structure"` + + // The name of the function you are setting concurrent execution limits on. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` + + // The concurrent execution limit reserved for this function. + // + // ReservedConcurrentExecutions is a required field + ReservedConcurrentExecutions *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s PutFunctionConcurrencyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFunctionConcurrencyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutFunctionConcurrencyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutFunctionConcurrencyInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + if s.ReservedConcurrentExecutions == nil { + invalidParams.Add(request.NewErrParamRequired("ReservedConcurrentExecutions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *PutFunctionConcurrencyInput) SetFunctionName(v string) *PutFunctionConcurrencyInput { + s.FunctionName = &v + return s +} + +// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. +func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput { + s.ReservedConcurrentExecutions = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency +type PutFunctionConcurrencyOutput struct { + _ struct{} `type:"structure"` + + // The number of concurrent executions reserved for this function. + ReservedConcurrentExecutions *int64 `type:"integer"` +} + +// String returns the string representation +func (s PutFunctionConcurrencyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFunctionConcurrencyOutput) GoString() string { + return s.String() +} + +// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. +func (s *PutFunctionConcurrencyOutput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyOutput { + s.ReservedConcurrentExecutions = &v + return s +} + // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -6528,11 +7023,9 @@ type UpdateFunctionConfigurationInput struct { // // Node v0.10.42 is currently marked as deprecated. You must migrate existing // functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 - // or nodejs6.10) as soon as possible. You can request a one-time extension - // until June 30, 2017 by going to the Lambda console and following the instructions - // provided. Failure to do so will result in an invalid parameter error being - // returned. Note that you will have to follow this procedure for each region - // that contains functions written in the Node v0.10.42 runtime. + // or nodejs6.10) as soon as possible. Failure to do so will result in an invalid + // parameter error being returned. Note that you will have to follow this procedure + // for each region that contains functions written in the Node v0.10.42 runtime. Runtime *string `type:"string" enum:"Runtime"` // The function execution time at which AWS Lambda should terminate the function. @@ -6802,6 +7295,12 @@ const ( // ThrottleReasonFunctionInvocationRateLimitExceeded is a ThrottleReason enum value ThrottleReasonFunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded" + // ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded is a ThrottleReason enum value + ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded = "ReservedFunctionConcurrentInvocationLimitExceeded" + + // ThrottleReasonReservedFunctionInvocationRateLimitExceeded is a ThrottleReason enum value + ThrottleReasonReservedFunctionInvocationRateLimitExceeded = "ReservedFunctionInvocationRateLimitExceeded" + // ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go index 9b6d1088152..31c7bd730e3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go @@ -41,10 +41,7 @@ const ( // // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration - // API, that AWS Lambda is unable to assume you will get this exception. You - // will also get this exception if you have selected a deprecated runtime, such - // as Node v0.10.42 or if you point to an additional version when the version - // specified is $LATEST. + // API, that AWS Lambda is unable to assume you will get this exception. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeInvalidRequestContentException for service response error code @@ -147,6 +144,15 @@ const ( // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". + // + // You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded + // is returned if you have no functions with reserved-concurrency and have exceeded + // your account concurrent limit or if a function without reserved concurrency + // exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded + // is returned when a function with reserved concurrency exceeds its configured + // concurrent limit. CallerRateLimitExceeded is returned when your account limit + // is exceeded and you have not reserved concurrency on any function. For more + // information, see concurrent-executions ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnsupportedMediaTypeException for service response error code diff --git a/vendor/vendor.json b/vendor/vendor.json index 90de611a2d1..7ec9293783e 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -141,796 +141,796 @@ "revisionTime": "2017-07-27T15:54:43Z" }, { - "checksumSHA1": "sApdWt8nEtaTapjFMDHLRo/8zUs=", + "checksumSHA1": "n/GWI9xCa4UZa/TfIQrpJP30U8A=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "DtuTqKH29YnLjrIJkRYX0HQtXY0=", "path": "github.com/aws/aws-sdk-go/aws/arn", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "9nE/FjZ4pYrT883KtV2/aI+Gayo=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "7/8j/q0TWtOgXyvEcv4B2Dhl00o=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Y+cPwQL0dZMyqp3wI+KJWmA9KQ8=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "u3GOAJLmdvbuNUeUEcZSEAOeL/0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "JEYqmF83O5n5bHkupAzA6STm0no=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "ZdtYh3ZHSgP/WEIaqwJHTEhpkbs=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "/EXbk/z2TWjWc1Hvb4QYs3Wmhb8=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "2Rcu4ZCsQkoBFN0NpveADCcES8Q=", "path": "github.com/aws/aws-sdk-go/aws/endpoints", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "9GvAyILJ7g+VUg8Ef5DsT5GuYsg=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "HcGL4e6Uep4/80eCUI5xkcWjpQ0=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "iU00ZjhAml/13g+1YXT21IqoXqg=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "04ypv4x12l4q0TksA1zEVsmgpvw=", "path": "github.com/aws/aws-sdk-go/internal/shareddefaults", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "NStHCXEvYqG72GknZyv1jaKaeH0=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "yHfT5DTbeCLs4NE2Rgnqrhe15ls=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "9V1PvtFQ9MObZTc3sa86WcuOtOU=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "pkeoOfZpHRvFG/AOZeTf0lwtsFg=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "0qYPUga28aQVkxZgBR3Z86AbGUQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "2CNaABTsz1Dl+cRpvKKhSS2Udgk=", "path": "github.com/aws/aws-sdk-go/service/acm", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { - "checksumSHA1": "C4vMftQYHGigucKljPRM6m6iko4=", + "checksumSHA1": "1RJUtQledDNrJ50K4Oqbe/UY6fg=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "s+mt8VBjyMOBCZbr4/uOhUGZdYY=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "1/p8oChMJW38gBTOA8AUCWkHuM8=", "path": "github.com/aws/aws-sdk-go/service/athena", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "dsq+AB+U9PQG+2KGa5wDQNJaqHE=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "DTKp8JsJ4NvsSoeLVp72lPPT2jc=", "path": "github.com/aws/aws-sdk-go/service/batch", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "86Gd/aNE5+OAAibFQg6YWh7YKU0=", "path": "github.com/aws/aws-sdk-go/service/budgets", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "NTUkkfytXTRTbjLiiZrHS0FO9A4=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "vbSfNKXjDDYLLAYafrD37T5xBFk=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "V5UO7ojp8/EuLhPIS4OOOurke3M=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Rx8tIQPEmYZhy1zbRpDmMBmGfvg=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "UlNtqtd2PcKoWqqXmOj4kfu8hyc=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "7SPaq0IXgoe1Cqph7ws9vFYr3zg=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "iOGHSGv16gPEKX+DHoOoXIeGm70=", "path": "github.com/aws/aws-sdk-go/service/codebuild", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "B8CSJW3k+VJ6neD1ddrSJJ/5TF8=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "8T1UkQcbxF08m5xJL16lsWLdT6k=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "EEVCD+xa8rnlVXoFULjc9fWcVzY=", "path": "github.com/aws/aws-sdk-go/service/codepipeline", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "GHaVqY5f85olNwlO5J4f160D+mI=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentity", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "00Mr7fjKuKIzfjNkNA7b7psEseI=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentityprovider", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "YONbbZXdr13qIiKYzqk4cptd2XE=", "path": "github.com/aws/aws-sdk-go/service/configservice", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "3EkRSF6NzJkEuZUvOt3TdpABXYc=", "path": "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "TSYWqKDCe6RaR2kYrExoDIC+7LU=", "path": "github.com/aws/aws-sdk-go/service/devicefarm", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "2139YRKSqXN9N49CFTopzwftCDw=", "path": "github.com/aws/aws-sdk-go/service/directconnect", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "0T4esELn9yJKr3D7b1/apnu1ZOA=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "kxsEfXt3Laq9lcZz0+3BHz7XMW0=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { - "checksumSHA1": "PvOIz7Ar599RTwzaCYAwOYdMwpU=", + "checksumSHA1": "5CSBr2ISv3GBYd56i3H+zjm4GQc=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "tvxhxL5w10Qau4eUabsLK4L60iA=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "4ah7g2O2CGVs/a3UWEAuVNd/f30=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "9I1RdgcMUEYJlyNIqdtSgFTdWKM=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "jmTYmZVr8dw9kPDYlBhe4oG556U=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "xylCApLVAqLTW6uTYCziTDxgRMI=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "RmVY7K2zivKjDe0ad8Grd+81J/M=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "SZ7yLDZ6RvMhpWe0Goyem64kgyA=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "i+zp7see74G8qx251yfQiTvbz4U=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "i9eKrHV2n3LuYoMVnMpNjF34ih8=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "LJrVm902tsUu83HoxW5+twvlMSA=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "cEKm/PVdmVyoRD1wu9jDHIh52G4=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "oDoGvSfmO2Z099ixV2HXn+SDeHE=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "GEw6g6/GwkskwL5bGj/KYJ8BENY=", "path": "github.com/aws/aws-sdk-go/service/glue", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "HBlNyNP2zLI589MIX82zMvANmLY=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "WoIsJOP3M2BAhZ5p46LJNd9FQPk=", "path": "github.com/aws/aws-sdk-go/service/inspector", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "WCQ76H7tI4wkQ9if4HL2qJpGGr4=", "path": "github.com/aws/aws-sdk-go/service/iot", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "yrji9KybkQLQBcP0ti5X6FrEXoc=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "CqvUs/OKC5GYojf8InoQpTWUI30=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { - "checksumSHA1": "bOgniixFKS4I8P0jg6GKOK34iB0=", + "checksumSHA1": "hMCDSOWlIT4Dr+ZG7PCMVM32IOI=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "N7F39+vn1EaZZpfThaFExQcGfhI=", "path": "github.com/aws/aws-sdk-go/service/lightsail", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "gSpDdjt2R3cME3YZWOF4SZ/mrJ8=", "path": "github.com/aws/aws-sdk-go/service/mediaconvert", - "revision": "80bf27afd5602f55c398d43621b9900583df3661", - "revisionTime": "2017-11-29T07:44:19Z", - "version": "v1.12.35", - "versionExact": "v1.12.35" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "42hWUchiIBN8VvWSPzi9QcHoDVk=", "path": "github.com/aws/aws-sdk-go/service/medialive", - "revision": "80bf27afd5602f55c398d43621b9900583df3661", - "revisionTime": "2017-11-29T07:44:19Z", - "version": "v1.12.35", - "versionExact": "v1.12.35" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "tN30knTZ2ALjKm4IDU6jK+kYqtE=", "path": "github.com/aws/aws-sdk-go/service/mediapackage", - "revision": "80bf27afd5602f55c398d43621b9900583df3661", - "revisionTime": "2017-11-29T07:44:19Z", - "version": "v1.12.35", - "versionExact": "v1.12.35" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "4Uq/ZoglG76ZQ16gLnnpO1Ga3Ak=", "path": "github.com/aws/aws-sdk-go/service/mediastore", - "revision": "80bf27afd5602f55c398d43621b9900583df3661", - "revisionTime": "2017-11-29T07:44:19Z", - "version": "v1.12.35", - "versionExact": "v1.12.35" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "n+Jxsi0zhH+TYMTm+JIJfpVrJGQ=", "path": "github.com/aws/aws-sdk-go/service/mediastoredata", - "revision": "80bf27afd5602f55c398d43621b9900583df3661", - "revisionTime": "2017-11-29T07:44:19Z", - "version": "v1.12.35", - "versionExact": "v1.12.35" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "75LM8oENH3zGsQhNKuwIfEjXRDw=", "path": "github.com/aws/aws-sdk-go/service/mq", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "xkNWwN2rw+szg+zXAxCun34zxhs=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "saFo2jqsWU43Lax6lL8PhQKRl8s=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "BwFxr+n+xU7TOQxxONFxdtrWjG4=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "S1md3W8h4/TLxScptLYbD5ukfrM=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "TFFdPTzKEzgc1jNP27gJmEU/cOk=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Tz5NbDa/SGUINmuFD8KQLh1HDOI=", "path": "github.com/aws/aws-sdk-go/service/servicecatalog", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "/ztCHg70ElmJqzKYIRwDB6TiBOc=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "4fkXdvKPVnJvu6yUBc+MHkN4t20=", "path": "github.com/aws/aws-sdk-go/service/sfn", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "rrsHusPbMvyKM0WvbZyYjDgKG00=", "path": "github.com/aws/aws-sdk-go/service/shield", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "B3CgAFSREebpsFoFOo4vrQ6u04w=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "rwSNHPn9iLEaoDx6vX0KbWefcHY=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "aWWSD60GhNwldZ7mxL9Z8Q+fiXo=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "1wkJ4xq3qTqlHTkAADIdBZ6OWvI=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "d9vR1rl8kmJxJBwe00byziVFR/o=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "Uw4pOUxSMbx4xBHUcOUkNhtnywE=", "path": "github.com/aws/aws-sdk-go/service/swf", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "eVLbU/Ep3lSJXgHZvSGb6HsxRUY=", "path": "github.com/aws/aws-sdk-go/service/waf", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "wq/SHXPytoKkPtXDBu/1WbS0L5A=", "path": "github.com/aws/aws-sdk-go/service/wafregional", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "AUwsvYff1GCOYtCgB6wd0doC9kc=", "path": "github.com/aws/aws-sdk-go/service/workspaces", - "revision": "83e491e1ee74c797ee52c228b654601ba6702c31", - "revisionTime": "2017-11-30T02:37:06Z", - "version": "v1.12.37", - "versionExact": "v1.12.37" + "revision": "b00fb575f3373d28ad8b5d259e12f2314f3efa31", + "revisionTime": "2017-11-30T18:49:58Z", + "version": "v1.12.38", + "versionExact": "v1.12.38" }, { "checksumSHA1": "usT4LCSQItkFvFOQT7cBlkCuGaE=",