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 74b51a1e18bf..f00bfe1651dc 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.10.8" +const SDKVersion = "1.10.10" 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 e12ed7058b97..06f3abf5bc92 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 @@ -1876,6 +1876,93 @@ func (c *APIGateway) DeleteDomainNameWithContext(ctx aws.Context, input *DeleteD return out, req.Send() } +const opDeleteGatewayResponse = "DeleteGatewayResponse" + +// DeleteGatewayResponseRequest generates a "aws/request.Request" representing the +// client's request for the DeleteGatewayResponse operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DeleteGatewayResponse for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DeleteGatewayResponse method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DeleteGatewayResponseRequest method. +// req, resp := client.DeleteGatewayResponseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) DeleteGatewayResponseRequest(input *DeleteGatewayResponseInput) (req *request.Request, output *DeleteGatewayResponseOutput) { + op := &request.Operation{ + Name: opDeleteGatewayResponse, + HTTPMethod: "DELETE", + HTTPPath: "/restapis/{restapi_id}/gatewayresponses/{response_type}", + } + + if input == nil { + input = &DeleteGatewayResponseInput{} + } + + output = &DeleteGatewayResponseOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteGatewayResponse API operation for Amazon API Gateway. +// +// Clears any customization of a GatewayResponse of a specified response type +// on the given RestApi and resets it with the default settings. +// +// 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 DeleteGatewayResponse for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeConflictException "ConflictException" +// +func (c *APIGateway) DeleteGatewayResponse(input *DeleteGatewayResponseInput) (*DeleteGatewayResponseOutput, error) { + req, out := c.DeleteGatewayResponseRequest(input) + return out, req.Send() +} + +// DeleteGatewayResponseWithContext is the same as DeleteGatewayResponse with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteGatewayResponse 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) DeleteGatewayResponseWithContext(ctx aws.Context, input *DeleteGatewayResponseInput, opts ...request.Option) (*DeleteGatewayResponseOutput, error) { + req, out := c.DeleteGatewayResponseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteIntegration = "DeleteIntegration" // DeleteIntegrationRequest generates a "aws/request.Request" representing the @@ -4769,6 +4856,8 @@ func (c *APIGateway) GetExportRequest(input *GetExportInput) (req *request.Reque // // * ErrCodeBadRequestException "BadRequestException" // +// * ErrCodeConflictException "ConflictException" +// // * ErrCodeTooManyRequestsException "TooManyRequestsException" // func (c *APIGateway) GetExport(input *GetExportInput) (*GetExportOutput, error) { @@ -4792,6 +4881,171 @@ func (c *APIGateway) GetExportWithContext(ctx aws.Context, input *GetExportInput return out, req.Send() } +const opGetGatewayResponse = "GetGatewayResponse" + +// GetGatewayResponseRequest generates a "aws/request.Request" representing the +// client's request for the GetGatewayResponse operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See GetGatewayResponse for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the GetGatewayResponse method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the GetGatewayResponseRequest method. +// req, resp := client.GetGatewayResponseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) GetGatewayResponseRequest(input *GetGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { + op := &request.Operation{ + Name: opGetGatewayResponse, + HTTPMethod: "GET", + HTTPPath: "/restapis/{restapi_id}/gatewayresponses/{response_type}", + } + + if input == nil { + input = &GetGatewayResponseInput{} + } + + output = &UpdateGatewayResponseOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetGatewayResponse API operation for Amazon API Gateway. +// +// Gets a GatewayResponse of a specified response type on the given RestApi. +// +// 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 GetGatewayResponse for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +func (c *APIGateway) GetGatewayResponse(input *GetGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { + req, out := c.GetGatewayResponseRequest(input) + return out, req.Send() +} + +// GetGatewayResponseWithContext is the same as GetGatewayResponse with the addition of +// the ability to pass a context and additional request options. +// +// See GetGatewayResponse 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) GetGatewayResponseWithContext(ctx aws.Context, input *GetGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error) { + req, out := c.GetGatewayResponseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetGatewayResponses = "GetGatewayResponses" + +// GetGatewayResponsesRequest generates a "aws/request.Request" representing the +// client's request for the GetGatewayResponses operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See GetGatewayResponses for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the GetGatewayResponses method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the GetGatewayResponsesRequest method. +// req, resp := client.GetGatewayResponsesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) (req *request.Request, output *GetGatewayResponsesOutput) { + op := &request.Operation{ + Name: opGetGatewayResponses, + HTTPMethod: "GET", + HTTPPath: "/restapis/{restapi_id}/gatewayresponses", + } + + if input == nil { + input = &GetGatewayResponsesInput{} + } + + output = &GetGatewayResponsesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetGatewayResponses API operation for Amazon API Gateway. +// +// 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. +// +// 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 GetGatewayResponses for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +func (c *APIGateway) GetGatewayResponses(input *GetGatewayResponsesInput) (*GetGatewayResponsesOutput, error) { + req, out := c.GetGatewayResponsesRequest(input) + return out, req.Send() +} + +// GetGatewayResponsesWithContext is the same as GetGatewayResponses with the addition of +// the ability to pass a context and additional request options. +// +// See GetGatewayResponses 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) GetGatewayResponsesWithContext(ctx aws.Context, input *GetGatewayResponsesInput, opts ...request.Option) (*GetGatewayResponsesOutput, error) { + req, out := c.GetGatewayResponsesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetIntegration = "GetIntegration" // GetIntegrationRequest generates a "aws/request.Request" representing the @@ -6068,6 +6322,8 @@ func (c *APIGateway) GetSdkRequest(input *GetSdkInput) (req *request.Request, ou // // * ErrCodeBadRequestException "BadRequestException" // +// * ErrCodeConflictException "ConflictException" +// // * ErrCodeTooManyRequestsException "TooManyRequestsException" // func (c *APIGateway) GetSdk(input *GetSdkInput) (*GetSdkOutput, error) { @@ -7239,6 +7495,91 @@ func (c *APIGateway) ImportRestApiWithContext(ctx aws.Context, input *ImportRest return out, req.Send() } +const opPutGatewayResponse = "PutGatewayResponse" + +// PutGatewayResponseRequest generates a "aws/request.Request" representing the +// client's request for the PutGatewayResponse operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See PutGatewayResponse for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the PutGatewayResponse method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the PutGatewayResponseRequest method. +// req, resp := client.PutGatewayResponseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) PutGatewayResponseRequest(input *PutGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { + op := &request.Operation{ + Name: opPutGatewayResponse, + HTTPMethod: "PUT", + HTTPPath: "/restapis/{restapi_id}/gatewayresponses/{response_type}", + } + + if input == nil { + input = &PutGatewayResponseInput{} + } + + output = &UpdateGatewayResponseOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutGatewayResponse API operation for Amazon API Gateway. +// +// Creates a customization of a GatewayResponse of a specified response type +// and status code on the given RestApi. +// +// 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 PutGatewayResponse for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeLimitExceededException "LimitExceededException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +func (c *APIGateway) PutGatewayResponse(input *PutGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { + req, out := c.PutGatewayResponseRequest(input) + return out, req.Send() +} + +// PutGatewayResponseWithContext is the same as PutGatewayResponse with the addition of +// the ability to pass a context and additional request options. +// +// See PutGatewayResponse 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) PutGatewayResponseWithContext(ctx aws.Context, input *PutGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error) { + req, out := c.PutGatewayResponseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPutIntegration = "PutIntegration" // PutIntegrationRequest generates a "aws/request.Request" representing the @@ -7282,7 +7623,7 @@ func (c *APIGateway) PutIntegrationRequest(input *PutIntegrationInput) (req *req // PutIntegration API operation for Amazon API Gateway. // -// Represents a put integration. +// Sets up a method's integration. // // 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 @@ -8588,10 +8929,92 @@ func (c *APIGateway) UpdateDomainNameWithContext(ctx aws.Context, input *UpdateD return out, req.Send() } -const opUpdateIntegration = "UpdateIntegration" +const opUpdateGatewayResponse = "UpdateGatewayResponse" -// UpdateIntegrationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateIntegration operation. The "output" return +// UpdateGatewayResponseRequest generates a "aws/request.Request" representing the +// client's request for the UpdateGatewayResponse operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See UpdateGatewayResponse for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the UpdateGatewayResponse method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the UpdateGatewayResponseRequest method. +// req, resp := client.UpdateGatewayResponseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) UpdateGatewayResponseRequest(input *UpdateGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { + op := &request.Operation{ + Name: opUpdateGatewayResponse, + HTTPMethod: "PATCH", + HTTPPath: "/restapis/{restapi_id}/gatewayresponses/{response_type}", + } + + if input == nil { + input = &UpdateGatewayResponseInput{} + } + + output = &UpdateGatewayResponseOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateGatewayResponse API operation for Amazon API Gateway. +// +// Updates a GatewayResponse of a specified response type on the given RestApi. +// +// 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 UpdateGatewayResponse for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +func (c *APIGateway) UpdateGatewayResponse(input *UpdateGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { + req, out := c.UpdateGatewayResponseRequest(input) + return out, req.Send() +} + +// UpdateGatewayResponseWithContext is the same as UpdateGatewayResponse with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateGatewayResponse 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) UpdateGatewayResponseWithContext(ctx aws.Context, input *UpdateGatewayResponseInput, opts ...request.Option) (*UpdateGatewayResponseOutput, error) { + req, out := c.UpdateGatewayResponseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIntegration = "UpdateIntegration" + +// UpdateIntegrationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIntegration operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // @@ -9387,7 +9810,7 @@ func (c *APIGateway) UpdateUsageRequest(input *UpdateUsageInput) (req *request.R // UpdateUsage API operation for Amazon API Gateway. // -// Grants a temporary extension to the reamining quota of a usage plan associated +// Grants a temporary extension to the remaining quota of a usage plan associated // with a specified API key. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -9878,10 +10301,10 @@ type BasePathMapping struct { // after the domain name. BasePath *string `locationName:"basePath" type:"string"` - // The name of the API. + // The string identifier of the associated RestApi. RestApiId *string `locationName:"restApiId" type:"string"` - // The name of the API's stage. + // The name of the associated stage. Stage *string `locationName:"stage" type:"string"` } @@ -10092,7 +10515,7 @@ type CreateAuthorizerInput struct { // A list of the Cognito Your User Pool authorizer's provider ARNs. ProviderARNs []*string `locationName:"providerARNs" type:"list"` - // The RestApi identifier under which the Authorizer will be created. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10210,7 +10633,7 @@ type CreateBasePathMappingInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` - // The name of the API that you want to apply this mapping to. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `locationName:"restApiId" type:"string" required:"true"` @@ -10285,7 +10708,7 @@ type CreateDeploymentInput struct { // The description for the Deployment resource to create. Description *string `locationName:"description" type:"string"` - // The RestApi resource identifier for the Deployment resource to create. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10384,7 +10807,7 @@ type CreateDocumentationPartInput struct { // Properties is a required field Properties *string `locationName:"properties" type:"string" required:"true"` - // [Required] The identifier of an API of the to-be-created documentation part. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10454,8 +10877,7 @@ type CreateDocumentationVersionInput struct { // DocumentationVersion is a required field DocumentationVersion *string `locationName:"documentationVersion" type:"string" required:"true"` - // [Required] Specifies the API identifier of the to-be-created documentation - // version. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10698,8 +11120,7 @@ type CreateRequestValidatorInput struct { // The name of the to-be-created RequestValidator. Name *string `locationName:"name" type:"string"` - // [Required] The identifier of the RestApi for which the RequestValidator is - // created. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10774,7 +11195,7 @@ type CreateResourceInput struct { // PathPart is a required field PathPart *string `locationName:"pathPart" type:"string" required:"true"` - // The identifier of the RestApi for the resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -10924,7 +11345,7 @@ type CreateStageInput struct { // The version of the associated API documentation. DocumentationVersion *string `locationName:"documentationVersion" type:"string"` - // The identifier of the RestApi resource for the Stage resource to create. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11225,7 +11646,7 @@ type DeleteAuthorizerInput struct { // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` - // The RestApi identifier for the Authorizer resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11412,7 +11833,7 @@ type DeleteDeploymentInput struct { // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deployment_id" type:"string" required:"true"` - // The identifier of the RestApi resource for the Deployment resource to delete. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11479,8 +11900,7 @@ type DeleteDocumentationPartInput struct { // DocumentationPartId is a required field DocumentationPartId *string `location:"uri" locationName:"part_id" type:"string" required:"true"` - // [Required] Specifies the identifier of an API of the to-be-deleted documentation - // part. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11547,7 +11967,7 @@ type DeleteDocumentationVersionInput struct { // DocumentationVersion is a required field DocumentationVersion *string `location:"uri" locationName:"doc_version" type:"string" required:"true"` - // [Required] The identifier of an API of a to-be-deleted documentation snapshot. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11658,6 +12078,94 @@ func (s DeleteDomainNameOutput) GoString() string { return s.String() } +// Clears any customization of a GatewayResponse of a specified response type +// on the given RestApi and resets it with the default settings. +type DeleteGatewayResponseInput struct { + _ struct{} `type:"structure"` + + // The response type of the associated GatewayResponse. Valid values are ACCESS_DENIED + // + // API_CONFIGURATION_ERROR + // AUTHORIZER_FAILURE + // AUTHORIZER_CONFIGURATION_ERROR + // BAD_REQUEST_PARAMETERS + // BAD_REQUEST_BODY + // DEFAULT_4XX + // DEFAULT_5XX + // EXPIRED_TOKEN + // INVALID_SIGNATURE + // INTEGRATION_FAILURE + // INTEGRATION_TIMEOUT + // INVALID_API_KEY + // MISSING_AUTHENTICATION_TOKEN + // QUOTA_EXCEEDED + // REQUEST_TOO_LARGE + // RESOURCE_NOT_FOUND + // THROTTLED + // UNAUTHORIZED + // UNSUPPORTED_MEDIA_TYPES + // + // ResponseType is a required field + ResponseType *string `location:"uri" locationName:"response_type" type:"string" required:"true" enum:"GatewayResponseType"` + + // The string identifier of the associated RestApi. + // + // RestApiId is a required field + RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteGatewayResponseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteGatewayResponseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteGatewayResponseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteGatewayResponseInput"} + if s.ResponseType == nil { + invalidParams.Add(request.NewErrParamRequired("ResponseType")) + } + if s.RestApiId == nil { + invalidParams.Add(request.NewErrParamRequired("RestApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResponseType sets the ResponseType field's value. +func (s *DeleteGatewayResponseInput) SetResponseType(v string) *DeleteGatewayResponseInput { + s.ResponseType = &v + return s +} + +// SetRestApiId sets the RestApiId field's value. +func (s *DeleteGatewayResponseInput) SetRestApiId(v string) *DeleteGatewayResponseInput { + s.RestApiId = &v + return s +} + +type DeleteGatewayResponseOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteGatewayResponseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteGatewayResponseOutput) GoString() string { + return s.String() +} + // Represents a delete integration request. type DeleteIntegrationInput struct { _ struct{} `type:"structure"` @@ -11672,7 +12180,7 @@ type DeleteIntegrationInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a delete integration request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11753,7 +12261,7 @@ type DeleteIntegrationResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a delete integration response request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11848,7 +12356,7 @@ type DeleteMethodInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the Method resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -11929,7 +12437,7 @@ type DeleteMethodResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the MethodResponse resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12019,7 +12527,7 @@ type DeleteModelInput struct { // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` - // The RestApi under which the model will be deleted. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12086,8 +12594,7 @@ type DeleteRequestValidatorInput struct { // RequestValidatorId is a required field RequestValidatorId *string `location:"uri" locationName:"requestvalidator_id" type:"string" required:"true"` - // [Required] The identifier of the RestApi from which the given RequestValidator - // is deleted. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12154,7 +12661,7 @@ type DeleteResourceInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the Resource resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12216,7 +12723,7 @@ func (s DeleteResourceOutput) GoString() string { type DeleteRestApiInput struct { _ struct{} `type:"structure"` - // The ID of the RestApi you want to delete. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12269,7 +12776,7 @@ func (s DeleteRestApiOutput) GoString() string { type DeleteStageInput struct { _ struct{} `type:"structure"` - // The identifier of the RestApi resource for the Stage resource to delete. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12332,7 +12839,7 @@ func (s DeleteStageOutput) GoString() string { return s.String() } -// The DELETE request to delete a uasge plan of a given plan Id. +// The DELETE request to delete a usage plan of a given plan Id. type DeleteUsagePlanInput struct { _ struct{} `type:"structure"` @@ -12800,7 +13307,7 @@ func (s *DomainName) SetDomainName(v string) *DomainName { type FlushStageAuthorizersCacheInput struct { _ struct{} `type:"structure"` - // The API identifier of the stage to flush. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -12867,7 +13374,7 @@ func (s FlushStageAuthorizersCacheOutput) GoString() string { type FlushStageCacheInput struct { _ struct{} `type:"structure"` - // The API identifier of the stage to flush its cache. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13031,7 +13538,7 @@ type GetApiKeysInput struct { // key values. IncludeValues *bool `location:"querystring" locationName:"includeValues" type:"boolean"` - // The maximum number of ApiKeys to get information about. + // The maximum number of returned results per page. Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` // The name of queried API keys. @@ -13087,7 +13594,7 @@ func (s *GetApiKeysInput) SetPosition(v string) *GetApiKeysInput { type GetApiKeysOutput struct { _ struct{} `type:"structure"` - // The current page of any ApiKey resources in the collection of ApiKey resources. + // The current page of elements from this collection. Items []*ApiKey `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13134,7 +13641,7 @@ type GetAuthorizerInput struct { // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` - // The RestApi identifier for the Authorizer resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13188,7 +13695,7 @@ type GetAuthorizersInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // The RestApi identifier for the Authorizers resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13241,7 +13748,7 @@ func (s *GetAuthorizersInput) SetRestApiId(v string) *GetAuthorizersInput { type GetAuthorizersOutput struct { _ struct{} `type:"structure"` - // Gets the current list of Authorizer resources in the collection. + // The current page of elements from this collection. Items []*Authorizer `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13389,8 +13896,7 @@ func (s *GetBasePathMappingsInput) SetPosition(v string) *GetBasePathMappingsInp type GetBasePathMappingsOutput struct { _ struct{} `type:"structure"` - // The current page of any BasePathMapping resources in the collection of base - // path mapping resources. + // The current page of elements from this collection. Items []*BasePathMapping `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13497,8 +14003,7 @@ func (s *GetClientCertificatesInput) SetPosition(v string) *GetClientCertificate type GetClientCertificatesOutput struct { _ struct{} `type:"structure"` - // The current page of any ClientCertificate resources in the collection of - // ClientCertificate resources. + // The current page of elements from this collection. Items []*ClientCertificate `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13544,8 +14049,7 @@ type GetDeploymentInput struct { // list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary. Embed []*string `location:"querystring" locationName:"embed" type:"list"` - // The identifier of the RestApi resource for the Deployment resource to get - // information about. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13606,8 +14110,7 @@ type GetDeploymentsInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // The identifier of the RestApi resource for the collection of Deployment resources - // to get information about. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13669,8 +14172,7 @@ func (s *GetDeploymentsInput) SetRestApiId(v string) *GetDeploymentsInput { type GetDeploymentsOutput struct { _ struct{} `type:"structure"` - // The current page of any Deployment resources in the collection of deployment - // resources. + // The current page of elements from this collection. Items []*Deployment `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13702,13 +14204,12 @@ func (s *GetDeploymentsOutput) SetPosition(v string) *GetDeploymentsOutput { type GetDocumentationPartInput struct { _ struct{} `type:"structure"` - // [Required] The identifier of the to-be-retrieved documentation part. + // [Required] The string identifier of the associated RestApi. // // DocumentationPartId is a required field DocumentationPartId *string `location:"uri" locationName:"part_id" type:"string" required:"true"` - // [Required] The identifier of an API of the to-be-retrieved documentation - // part. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13769,8 +14270,7 @@ type GetDocumentationPartsInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // [Required] The identifier of the API of the to-be-retrieved documentation - // parts. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13844,8 +14344,7 @@ func (s *GetDocumentationPartsInput) SetType(v string) *GetDocumentationPartsInp type GetDocumentationPartsOutput struct { _ struct{} `type:"structure"` - // The current page of DocumentationPart resources in the DocumentationParts - // collection. + // The current page of elements from this collection. Items []*DocumentationPart `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -13882,8 +14381,7 @@ type GetDocumentationVersionInput struct { // DocumentationVersion is a required field DocumentationVersion *string `location:"uri" locationName:"doc_version" type:"string" required:"true"` - // [Required] The identifier of the API of the to-be-retrieved documentation - // snapshot. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13937,8 +14435,7 @@ type GetDocumentationVersionsInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // [Required] The identifier of an API of the to-be-retrieved documentation - // versions. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -13995,8 +14492,7 @@ func (s *GetDocumentationVersionsInput) SetRestApiId(v string) *GetDocumentation type GetDocumentationVersionsOutput struct { _ struct{} `type:"structure"` - // The current page of DocumentationVersion items from the DocumentationVersions - // collection of an API. + // The current page of elements from this collection. Items []*DocumentationVersion `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -14103,8 +14599,7 @@ func (s *GetDomainNamesInput) SetPosition(v string) *GetDomainNamesInput { type GetDomainNamesOutput struct { _ struct{} `type:"structure"` - // The current page of any DomainName resources in the collection of DomainName - // resources. + // The current page of elements from this collection. Items []*DomainName `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -14155,7 +14650,7 @@ type GetExportInput struct { // tool Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` - // The identifier of the RestApi to be exported. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14268,6 +14763,332 @@ func (s *GetExportOutput) SetContentType(v string) *GetExportOutput { return s } +// Gets a GatewayResponse of a specified response type on the given RestApi. +type GetGatewayResponseInput struct { + _ struct{} `type:"structure"` + + // The response type of the associated GatewayResponse. Valid values are ACCESS_DENIED + // + // API_CONFIGURATION_ERROR + // AUTHORIZER_FAILURE + // AUTHORIZER_CONFIGURATION_ERROR + // BAD_REQUEST_PARAMETERS + // BAD_REQUEST_BODY + // DEFAULT_4XX + // DEFAULT_5XX + // EXPIRED_TOKEN + // INVALID_SIGNATURE + // INTEGRATION_FAILURE + // INTEGRATION_TIMEOUT + // INVALID_API_KEY + // MISSING_AUTHENTICATION_TOKEN + // QUOTA_EXCEEDED + // REQUEST_TOO_LARGE + // RESOURCE_NOT_FOUND + // THROTTLED + // UNAUTHORIZED + // UNSUPPORTED_MEDIA_TYPES + // + // ResponseType is a required field + ResponseType *string `location:"uri" locationName:"response_type" type:"string" required:"true" enum:"GatewayResponseType"` + + // The string identifier of the associated RestApi. + // + // RestApiId is a required field + RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetGatewayResponseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetGatewayResponseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetGatewayResponseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetGatewayResponseInput"} + if s.ResponseType == nil { + invalidParams.Add(request.NewErrParamRequired("ResponseType")) + } + if s.RestApiId == nil { + invalidParams.Add(request.NewErrParamRequired("RestApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResponseType sets the ResponseType field's value. +func (s *GetGatewayResponseInput) SetResponseType(v string) *GetGatewayResponseInput { + s.ResponseType = &v + return s +} + +// SetRestApiId sets the RestApiId field's value. +func (s *GetGatewayResponseInput) SetRestApiId(v string) *GetGatewayResponseInput { + s.RestApiId = &v + return s +} + +// 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. +type GetGatewayResponsesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of returned results per page. The GatewayResponses collection + // does not support pagination and the limit does not apply here. + Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` + + // The current pagination position in the paged result set. The GatewayResponse + // collection does not support pagination and the position does not apply here. + Position *string `location:"querystring" locationName:"position" type:"string"` + + // The string identifier of the associated RestApi. + // + // RestApiId is a required field + RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetGatewayResponsesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetGatewayResponsesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetGatewayResponsesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetGatewayResponsesInput"} + if s.RestApiId == nil { + invalidParams.Add(request.NewErrParamRequired("RestApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *GetGatewayResponsesInput) SetLimit(v int64) *GetGatewayResponsesInput { + s.Limit = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetGatewayResponsesInput) SetPosition(v string) *GetGatewayResponsesInput { + s.Position = &v + return s +} + +// SetRestApiId sets the RestApiId field's value. +func (s *GetGatewayResponsesInput) SetRestApiId(v string) *GetGatewayResponsesInput { + s.RestApiId = &v + return s +} + +// The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse +// object map of key-value pairs. As such, pagination is not supported for querying +// 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: +// Get the collection of gateway responses of an API +// +// Request +// +// This example request shows how to retrieve the GatewayResponses collection +// from an API. +// +// GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com +// Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: +// AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, +// SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a +// Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515 +// +// Response +// +// The successful operation returns the 200 OK status code and a payload similar +// to the following: +// +// { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", +// "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses" +// }, "first": { "href": "/restapis/o81lxisefl/gatewayresponses" }, "gatewayresponse:by-type": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "item": [ { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, +// { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, { +// "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, { "href": +// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, +// { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, { "href": +// "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, { "href": +// "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" }, { "href": +// "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" +// }, { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, +// { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" } ] +// }, "_embedded": { "item": [ { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "INTEGRATION_FAILURE", "statusCode": "504" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "RESOURCE_NOT_FOUND", "statusCode": "404" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "REQUEST_TOO_LARGE", "statusCode": "413" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "THROTTLED", "statusCode": "429" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "UNSUPPORTED_MEDIA_TYPE", "statusCode": "415" }, { "_links": { "self": { +// "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "AUTHORIZER_CONFIGURATION_ERROR", "statusCode": "500" }, { "_links": { "self": +// { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "DEFAULT_5XX" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "DEFAULT_4XX" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "BAD_REQUEST_PARAMETERS", "statusCode": "400" }, { "_links": { "self": { +// "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "BAD_REQUEST_BODY", "statusCode": "400" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "EXPIRED_TOKEN", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "ACCESS_DENIED", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "INVALID_API_KEY", "statusCode": "403" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "UNAUTHORIZED", "statusCode": "401" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "API_CONFIGURATION_ERROR", "statusCode": "500" }, { "_links": { "self": { +// "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "QUOTA_EXCEEDED", "statusCode": "429" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "INTEGRATION_TIMEOUT", "statusCode": "504" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "MISSING_AUTHENTICATION_TOKEN", "statusCode": "403" }, { "_links": { "self": +// { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "INVALID_SIGNATURE", "statusCode": "403" }, { "_links": { "self": { "href": +// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" }, "gatewayresponse:put": +// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": +// true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" +// } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": +// { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": +// "AUTHORIZER_FAILURE", "statusCode": "500" } ] } } +// +// Customize Gateway Responses (http://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +type GetGatewayResponsesOutput struct { + _ struct{} `type:"structure"` + + // Returns the entire collection, because of no pagination support. + Items []*UpdateGatewayResponseOutput `locationName:"item" type:"list"` + + Position *string `locationName:"position" type:"string"` +} + +// String returns the string representation +func (s GetGatewayResponsesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetGatewayResponsesOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *GetGatewayResponsesOutput) SetItems(v []*UpdateGatewayResponseOutput) *GetGatewayResponsesOutput { + s.Items = v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetGatewayResponsesOutput) SetPosition(v string) *GetGatewayResponsesOutput { + s.Position = &v + return s +} + // Represents a get integration request. type GetIntegrationInput struct { _ struct{} `type:"structure"` @@ -14282,7 +15103,7 @@ type GetIntegrationInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a get integration request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14349,7 +15170,7 @@ type GetIntegrationResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a get integration response request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14430,7 +15251,7 @@ type GetMethodInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the Method resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14497,7 +15318,7 @@ type GetMethodResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the MethodResponse resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14637,7 +15458,7 @@ type GetModelTemplateInput struct { // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` - // The ID of the RestApi under which the model exists. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14719,7 +15540,7 @@ type GetModelsInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // The RestApi identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14772,7 +15593,7 @@ func (s *GetModelsInput) SetRestApiId(v string) *GetModelsInput { type GetModelsOutput struct { _ struct{} `type:"structure"` - // Gets the current Model resource in the collection. + // The current page of elements from this collection. Items []*Model `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -14809,8 +15630,7 @@ type GetRequestValidatorInput struct { // RequestValidatorId is a required field RequestValidatorId *string `location:"uri" locationName:"requestvalidator_id" type:"string" required:"true"` - // [Required] The identifier of the RestApi to which the specified RequestValidator - // belongs. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14864,8 +15684,7 @@ type GetRequestValidatorsInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // [Required] The identifier of a RestApi to which the RequestValidators collection - // belongs. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -14922,7 +15741,7 @@ func (s *GetRequestValidatorsInput) SetRestApiId(v string) *GetRequestValidators type GetRequestValidatorsOutput struct { _ struct{} `type:"structure"` - // The current page of RequestValidator resources in the RequestValidators collection. + // The current page of elements from this collection. Items []*UpdateRequestValidatorOutput `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -14967,7 +15786,7 @@ type GetResourceInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -15036,7 +15855,7 @@ type GetResourcesInput struct { // The current pagination position in the paged result set. Position *string `location:"querystring" locationName:"position" type:"string"` - // The RestApi identifier for the Resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -15095,7 +15914,7 @@ func (s *GetResourcesInput) SetRestApiId(v string) *GetResourcesInput { type GetResourcesOutput struct { _ struct{} `type:"structure"` - // Gets the current Resource resource in the collection. + // The current page of elements from this collection. Items []*Resource `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -15203,7 +16022,7 @@ func (s *GetRestApisInput) SetPosition(v string) *GetRestApisInput { type GetRestApisOutput struct { _ struct{} `type:"structure"` - // An array of links to the current page of RestApi resources. + // The current page of elements from this collection. Items []*RestApi `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -15241,7 +16060,7 @@ type GetSdkInput struct { // artifactId, artifactVersion, and invokerPackage are required. Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` - // The identifier of the RestApi that the SDK will use. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -15429,7 +16248,7 @@ func (s *GetSdkTypesInput) SetPosition(v string) *GetSdkTypesInput { type GetSdkTypesOutput struct { _ struct{} `type:"structure"` - // The set of SdkType items that comprise this view of the SdkTypes collection. + // The current page of elements from this collection. Items []*SdkType `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -15461,8 +16280,7 @@ func (s *GetSdkTypesOutput) SetPosition(v string) *GetSdkTypesOutput { type GetStageInput struct { _ struct{} `type:"structure"` - // The identifier of the RestApi resource for the Stage resource to get information - // about. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -15518,7 +16336,7 @@ type GetStagesInput struct { // The stages' deployment identifiers. DeploymentId *string `location:"querystring" locationName:"deploymentId" type:"string"` - // The stages' API identifiers. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -15565,7 +16383,7 @@ func (s *GetStagesInput) SetRestApiId(v string) *GetStagesInput { type GetStagesOutput struct { _ struct{} `type:"structure"` - // An individual Stage resource. + // The current page of elements from this collection. Item []*Stage `locationName:"item" type:"list"` } @@ -15849,7 +16667,7 @@ func (s *GetUsagePlanKeysInput) SetUsagePlanId(v string) *GetUsagePlanKeysInput type GetUsagePlanKeysOutput struct { _ struct{} `type:"structure"` - // Gets the current item of the usage plan keys collection. + // The current page of elements from this collection. Items []*UsagePlanKey `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -15925,7 +16743,7 @@ func (s *GetUsagePlansInput) SetPosition(v string) *GetUsagePlansInput { type GetUsagePlansOutput struct { _ struct{} `type:"structure"` - // Gets the current item when enumerating the collection of UsagePlan. + // The current page of elements from this collection. Items []*UsagePlan `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` @@ -16072,7 +16890,7 @@ type ImportDocumentationPartsInput struct { // the existing one. The default value is MERGE. Mode *string `location:"querystring" locationName:"mode" type:"string" enum:"PutMode"` - // [Required] The identifier of an API of the to-be-imported documentation parts. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -16173,7 +16991,8 @@ type ImportRestApiInput struct { _ struct{} `type:"structure" payload:"Body"` // The POST request body containing external API definitions. Currently, only - // Swagger definition JSON files are supported. + // Swagger definition JSON files are supported. The maximum size of the API + // definition file is 2MB. // // Body is a required field Body []byte `locationName:"body" type:"blob" required:"true"` @@ -16182,7 +17001,10 @@ type ImportRestApiInput struct { // or not (false) when a warning is encountered. The default value is false. FailOnWarnings *bool `location:"querystring" locationName:"failonwarnings" type:"boolean"` - // Custom header parameters as part of the request. + // Custom header parameters as part of the request. For example, to exclude + // DocumentationParts from an imported API, set ignore=documentation as a parameters + // value, as in the AWS CLI command of aws apigateway import-rest-api --parameters + // ignore=documentation --body 'file:///path/to/imported-api-body.json. Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` } @@ -17153,7 +17975,110 @@ func (s *PatchOperation) SetValue(v string) *PatchOperation { return s } -// Represents a put integration request. +// Creates a customization of a GatewayResponse of a specified response type +// and status code on the given RestApi. +type PutGatewayResponseInput struct { + _ struct{} `type:"structure"` + + // Response parameters (paths, query strings and headers) of the GatewayResponse + // as a string-to-string map of key-value pairs. + ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"` + + // Response templates of the GatewayResponse as a string-to-string map of key-value + // pairs. + ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` + + // The response type of the associated GatewayResponse. Valid values are ACCESS_DENIED + // + // API_CONFIGURATION_ERROR + // AUTHORIZER_FAILURE + // AUTHORIZER_CONFIGURATION_ERROR + // BAD_REQUEST_PARAMETERS + // BAD_REQUEST_BODY + // DEFAULT_4XX + // DEFAULT_5XX + // EXPIRED_TOKEN + // INVALID_SIGNATURE + // INTEGRATION_FAILURE + // INTEGRATION_TIMEOUT + // INVALID_API_KEY + // MISSING_AUTHENTICATION_TOKEN + // QUOTA_EXCEEDED + // REQUEST_TOO_LARGE + // RESOURCE_NOT_FOUND + // THROTTLED + // UNAUTHORIZED + // UNSUPPORTED_MEDIA_TYPES + // + // ResponseType is a required field + ResponseType *string `location:"uri" locationName:"response_type" type:"string" required:"true" enum:"GatewayResponseType"` + + // The string identifier of the associated RestApi. + // + // RestApiId is a required field + RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` + + // The HTTP status code of the GatewayResponse + StatusCode *string `locationName:"statusCode" type:"string"` +} + +// String returns the string representation +func (s PutGatewayResponseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutGatewayResponseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutGatewayResponseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutGatewayResponseInput"} + if s.ResponseType == nil { + invalidParams.Add(request.NewErrParamRequired("ResponseType")) + } + if s.RestApiId == nil { + invalidParams.Add(request.NewErrParamRequired("RestApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResponseParameters sets the ResponseParameters field's value. +func (s *PutGatewayResponseInput) SetResponseParameters(v map[string]*string) *PutGatewayResponseInput { + s.ResponseParameters = v + return s +} + +// SetResponseTemplates sets the ResponseTemplates field's value. +func (s *PutGatewayResponseInput) SetResponseTemplates(v map[string]*string) *PutGatewayResponseInput { + s.ResponseTemplates = v + return s +} + +// SetResponseType sets the ResponseType field's value. +func (s *PutGatewayResponseInput) SetResponseType(v string) *PutGatewayResponseInput { + s.ResponseType = &v + return s +} + +// SetRestApiId sets the RestApiId field's value. +func (s *PutGatewayResponseInput) SetRestApiId(v string) *PutGatewayResponseInput { + s.RestApiId = &v + return s +} + +// SetStatusCode sets the StatusCode field's value. +func (s *PutGatewayResponseInput) SetStatusCode(v string) *PutGatewayResponseInput { + s.StatusCode = &v + return s +} + +// Sets up a method's integration. type PutIntegrationInput struct { _ struct{} `type:"structure"` @@ -17225,7 +18150,7 @@ type PutIntegrationInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a put integration request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -17235,10 +18160,15 @@ type PutIntegrationInput struct { // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"IntegrationType"` - // Specifies a put integration input's Uniform Resource Identifier (URI). When - // the integration type is HTTP or AWS, this field is required. For integration - // with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway::lambda:path/2015-03-31/functions//invocations' - // format. + // 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 /. Uri *string `locationName:"uri" type:"string"` } @@ -17394,7 +18324,7 @@ type PutIntegrationResponseInput struct { // Specifies a put integration response's templates. ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` - // Specifies a put integration response request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -17540,7 +18470,7 @@ type PutMethodInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the new Method resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -17670,7 +18600,7 @@ type PutMethodResponseInput struct { // where JSON-expression is a valid JSON expression without the $ prefix.) ResponseParameters map[string]*bool `locationName:"responseParameters" type:"map"` - // The RestApi identifier for the Method resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -17755,7 +18685,8 @@ type PutRestApiInput struct { _ struct{} `type:"structure" payload:"Body"` // The PUT request body containing external API definitions. Currently, only - // Swagger definition JSON files are supported. + // Swagger definition JSON files are supported. The maximum size of the API + // definition file is 2MB. // // Body is a required field Body []byte `locationName:"body" type:"blob" required:"true"` @@ -17768,10 +18699,13 @@ type PutRestApiInput struct { // and "overwrite". By default, the update mode is "merge". Mode *string `location:"querystring" locationName:"mode" type:"string" enum:"PutMode"` - // Custom headers supplied as part of the request. + // Custom header parameters as part of the request. For example, to exclude + // DocumentationParts from an imported API, set ignore=documentation as a parameters + // value, as in the AWS CLI command of aws apigateway import-rest-api --parameters + // ignore=documentation --body 'file:///path/to/imported-api-body.json. Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` - // The identifier of the RestApi to be updated. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -18326,10 +19260,10 @@ func (s *Stage) SetVariables(v map[string]*string) *Stage { type StageKey struct { _ struct{} `type:"structure"` - // A list of Stage resources that are associated with the ApiKey resource. + // The string identifier of the associated RestApi. RestApiId *string `locationName:"restApiId" type:"string"` - // The stage name in the RestApi that the stage key references. + // The stage name associated with the stage key. StageName *string `locationName:"stageName" type:"string"` } @@ -18379,7 +19313,7 @@ type TestInvokeAuthorizerInput struct { // request. Use this to specify path parameters and query string parameters. PathWithQueryString *string `locationName:"pathWithQueryString" type:"string"` - // Specifies a test invoke authorizer request's RestApi identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -18566,7 +19500,7 @@ type TestInvokeMethodInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies a test invoke method request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -18838,7 +19772,7 @@ type UpdateAuthorizerInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // The RestApi identifier for the Authorizer resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19014,8 +19948,7 @@ type UpdateDeploymentInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // The replacement identifier of the RestApi resource for the Deployment resource - // to change information about. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19078,7 +20011,7 @@ type UpdateDocumentationPartInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // [Required] The identifier of an API of the to-be-updated documentation part. + // [Required] The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19141,7 +20074,7 @@ type UpdateDocumentationVersionInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // [Required] The identifier of an API of the to-be-updated documentation version. + // [Required] The string identifier of the associated RestApi.. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19240,6 +20173,213 @@ func (s *UpdateDomainNameInput) SetPatchOperations(v []*PatchOperation) *UpdateD return s } +// Updates a GatewayResponse of a specified response type on the given RestApi. +type UpdateGatewayResponseInput 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"` + + // The response type of the associated GatewayResponse. Valid values are ACCESS_DENIED + // + // API_CONFIGURATION_ERROR + // AUTHORIZER_FAILURE + // AUTHORIZER_CONFIGURATION_ERROR + // BAD_REQUEST_PARAMETERS + // BAD_REQUEST_BODY + // DEFAULT_4XX + // DEFAULT_5XX + // EXPIRED_TOKEN + // INVALID_SIGNATURE + // INTEGRATION_FAILURE + // INTEGRATION_TIMEOUT + // INVALID_API_KEY + // MISSING_AUTHENTICATION_TOKEN + // QUOTA_EXCEEDED + // REQUEST_TOO_LARGE + // RESOURCE_NOT_FOUND + // THROTTLED + // UNAUTHORIZED + // UNSUPPORTED_MEDIA_TYPES + // + // ResponseType is a required field + ResponseType *string `location:"uri" locationName:"response_type" type:"string" required:"true" enum:"GatewayResponseType"` + + // The string identifier of the associated RestApi. + // + // RestApiId is a required field + RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateGatewayResponseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGatewayResponseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateGatewayResponseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateGatewayResponseInput"} + if s.ResponseType == nil { + invalidParams.Add(request.NewErrParamRequired("ResponseType")) + } + if s.RestApiId == nil { + invalidParams.Add(request.NewErrParamRequired("RestApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPatchOperations sets the PatchOperations field's value. +func (s *UpdateGatewayResponseInput) SetPatchOperations(v []*PatchOperation) *UpdateGatewayResponseInput { + s.PatchOperations = v + return s +} + +// SetResponseType sets the ResponseType field's value. +func (s *UpdateGatewayResponseInput) SetResponseType(v string) *UpdateGatewayResponseInput { + s.ResponseType = &v + return s +} + +// SetRestApiId sets the RestApiId field's value. +func (s *UpdateGatewayResponseInput) SetRestApiId(v string) *UpdateGatewayResponseInput { + s.RestApiId = &v + return s +} + +// A gateway response of a given response type and status code, with optional +// 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: +// Get a Gateway Response of a given response type +// +// Request +// +// This example shows how to get a gateway response of the MISSING_AUTHNETICATION_TOKEN +// type. +// +// GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 +// Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json +// X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, +// SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a +// Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 +// +// The response type is specified as a URL path. +// +// Response +// +// The successful operation returns the 200 OK status code and a payload similar +// to the following: +// +// { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", +// "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" +// }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" +// }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", +// "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" +// } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": +// "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": +// "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", +// "gatewayresponse.header.x-request-header": "method.request.header.Accept" +// }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n +// \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n +// \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n +// \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", +// "statusCode": "404" } +// +// Customize Gateway Responses (http://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +type UpdateGatewayResponseOutput struct { + _ struct{} `type:"structure"` + + // 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. + DefaultResponse *bool `locationName:"defaultResponse" type:"boolean"` + + // Response parameters (paths, query strings and headers) of the GatewayResponse + // as a string-to-string map of key-value pairs. + ResponseParameters map[string]*string `locationName:"responseParameters" type:"map"` + + // Response templates of the GatewayResponse as a string-to-string map of key-value + // pairs. + ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` + + // The response type of the associated GatewayResponse. Valid values are ACCESS_DENIED + // + // API_CONFIGURATION_ERROR + // AUTHORIZER_FAILURE + // AUTHORIZER_CONFIGURATION_ERROR + // BAD_REQUEST_PARAMETERS + // BAD_REQUEST_BODY + // DEFAULT_4XX + // DEFAULT_5XX + // EXPIRED_TOKEN + // INVALID_SIGNATURE + // INTEGRATION_FAILURE + // INTEGRATION_TIMEOUT + // INVALID_API_KEY + // MISSING_AUTHENTICATION_TOKEN + // QUOTA_EXCEEDED + // REQUEST_TOO_LARGE + // RESOURCE_NOT_FOUND + // THROTTLED + // UNAUTHORIZED + // UNSUPPORTED_MEDIA_TYPES + ResponseType *string `locationName:"responseType" type:"string" enum:"GatewayResponseType"` + + // The HTTP status code for this GatewayResponse. + StatusCode *string `locationName:"statusCode" type:"string"` +} + +// String returns the string representation +func (s UpdateGatewayResponseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGatewayResponseOutput) GoString() string { + return s.String() +} + +// SetDefaultResponse sets the DefaultResponse field's value. +func (s *UpdateGatewayResponseOutput) SetDefaultResponse(v bool) *UpdateGatewayResponseOutput { + s.DefaultResponse = &v + return s +} + +// SetResponseParameters sets the ResponseParameters field's value. +func (s *UpdateGatewayResponseOutput) SetResponseParameters(v map[string]*string) *UpdateGatewayResponseOutput { + s.ResponseParameters = v + return s +} + +// SetResponseTemplates sets the ResponseTemplates field's value. +func (s *UpdateGatewayResponseOutput) SetResponseTemplates(v map[string]*string) *UpdateGatewayResponseOutput { + s.ResponseTemplates = v + return s +} + +// SetResponseType sets the ResponseType field's value. +func (s *UpdateGatewayResponseOutput) SetResponseType(v string) *UpdateGatewayResponseOutput { + s.ResponseType = &v + return s +} + +// SetStatusCode sets the StatusCode field's value. +func (s *UpdateGatewayResponseOutput) SetStatusCode(v string) *UpdateGatewayResponseOutput { + s.StatusCode = &v + return s +} + // Represents an update integration request. type UpdateIntegrationInput struct { _ struct{} `type:"structure"` @@ -19258,7 +20398,7 @@ type UpdateIntegrationInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Represents an update integration request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19335,7 +20475,7 @@ type UpdateIntegrationResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // Specifies an update integration response request's API identifier. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19426,7 +20566,7 @@ type UpdateMethodInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the Method resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19503,7 +20643,7 @@ type UpdateMethodResponseInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the MethodResponse resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19589,7 +20729,7 @@ type UpdateModelInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // The RestApi identifier under which the model exists. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19652,8 +20792,7 @@ type UpdateRequestValidatorInput struct { // RequestValidatorId is a required field RequestValidatorId *string `location:"uri" locationName:"requestvalidator_id" type:"string" required:"true"` - // [Required] The identifier of the RestApi for which the given RequestValidator - // is updated. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19777,7 +20916,7 @@ type UpdateResourceInput struct { // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` - // The RestApi identifier for the Resource resource. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19835,7 +20974,7 @@ type UpdateRestApiInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // The ID of the RestApi you want to update. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19884,8 +21023,7 @@ type UpdateStageInput struct { // the order specified in this list. PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` - // The identifier of the RestApi resource for the Stage resource to change information - // about. + // The string identifier of the associated RestApi. // // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` @@ -19940,7 +21078,7 @@ func (s *UpdateStageInput) SetStageName(v string) *UpdateStageInput { return s } -// The PATCH request to grant a temporary extension to the reamining quota of +// The PATCH request to grant a temporary extension to the remaining quota of // a usage plan associated with a specified API key. type UpdateUsageInput struct { _ struct{} `type:"structure"` @@ -20367,6 +21505,68 @@ const ( DocumentationPartTypeResponseBody = "RESPONSE_BODY" ) +const ( + // GatewayResponseTypeDefault4xx is a GatewayResponseType enum value + GatewayResponseTypeDefault4xx = "DEFAULT_4XX" + + // GatewayResponseTypeDefault5xx is a GatewayResponseType enum value + GatewayResponseTypeDefault5xx = "DEFAULT_5XX" + + // GatewayResponseTypeResourceNotFound is a GatewayResponseType enum value + GatewayResponseTypeResourceNotFound = "RESOURCE_NOT_FOUND" + + // GatewayResponseTypeUnauthorized is a GatewayResponseType enum value + GatewayResponseTypeUnauthorized = "UNAUTHORIZED" + + // GatewayResponseTypeInvalidApiKey is a GatewayResponseType enum value + GatewayResponseTypeInvalidApiKey = "INVALID_API_KEY" + + // GatewayResponseTypeAccessDenied is a GatewayResponseType enum value + GatewayResponseTypeAccessDenied = "ACCESS_DENIED" + + // GatewayResponseTypeAuthorizerFailure is a GatewayResponseType enum value + GatewayResponseTypeAuthorizerFailure = "AUTHORIZER_FAILURE" + + // GatewayResponseTypeAuthorizerConfigurationError is a GatewayResponseType enum value + GatewayResponseTypeAuthorizerConfigurationError = "AUTHORIZER_CONFIGURATION_ERROR" + + // GatewayResponseTypeInvalidSignature is a GatewayResponseType enum value + GatewayResponseTypeInvalidSignature = "INVALID_SIGNATURE" + + // GatewayResponseTypeExpiredToken is a GatewayResponseType enum value + GatewayResponseTypeExpiredToken = "EXPIRED_TOKEN" + + // GatewayResponseTypeMissingAuthenticationToken is a GatewayResponseType enum value + GatewayResponseTypeMissingAuthenticationToken = "MISSING_AUTHENTICATION_TOKEN" + + // GatewayResponseTypeIntegrationFailure is a GatewayResponseType enum value + GatewayResponseTypeIntegrationFailure = "INTEGRATION_FAILURE" + + // GatewayResponseTypeIntegrationTimeout is a GatewayResponseType enum value + GatewayResponseTypeIntegrationTimeout = "INTEGRATION_TIMEOUT" + + // GatewayResponseTypeApiConfigurationError is a GatewayResponseType enum value + GatewayResponseTypeApiConfigurationError = "API_CONFIGURATION_ERROR" + + // GatewayResponseTypeUnsupportedMediaType is a GatewayResponseType enum value + GatewayResponseTypeUnsupportedMediaType = "UNSUPPORTED_MEDIA_TYPE" + + // GatewayResponseTypeBadRequestParameters is a GatewayResponseType enum value + GatewayResponseTypeBadRequestParameters = "BAD_REQUEST_PARAMETERS" + + // GatewayResponseTypeBadRequestBody is a GatewayResponseType enum value + GatewayResponseTypeBadRequestBody = "BAD_REQUEST_BODY" + + // GatewayResponseTypeRequestTooLarge is a GatewayResponseType enum value + GatewayResponseTypeRequestTooLarge = "REQUEST_TOO_LARGE" + + // GatewayResponseTypeThrottled is a GatewayResponseType enum value + GatewayResponseTypeThrottled = "THROTTLED" + + // GatewayResponseTypeQuotaExceeded is a GatewayResponseType enum value + 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, diff --git a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go index d20cf3c04940..ecdd7eab079b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go @@ -666,6 +666,9 @@ func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput) // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // +// * ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. +// // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags func (c *AutoScaling) CreateOrUpdateTags(input *CreateOrUpdateTagsInput) (*CreateOrUpdateTagsOutput, error) { req, out := c.CreateOrUpdateTagsRequest(input) @@ -1279,6 +1282,9 @@ func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Re // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // +// * ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. +// // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags func (c *AutoScaling) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) @@ -3299,8 +3305,8 @@ func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req * // // Removes one or more instances from the specified Auto Scaling group. // -// After the instances are detached, you can manage them independent of the -// Auto Scaling group. +// After the instances are detached, you can manage them independently from +// the rest of the Auto Scaling group. // // If you do not specify the option to decrement the desired capacity, Auto // Scaling launches instances to replace the ones that are detached. @@ -3732,10 +3738,9 @@ func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *reques // EnterStandby API operation for Auto Scaling. // -// Moves the specified instances into the standby state. +// Moves the specified instances into Standby mode. // -// For more information, see Temporarily Removing Instances from Your Auto Scaling -// Group (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html) +// For more information, see Auto Scaling Lifecycle (http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html) // in the Auto Scaling User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3904,10 +3909,9 @@ func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request. // ExitStandby API operation for Auto Scaling. // -// Moves the specified instances out of the standby state. +// Moves the specified instances out of Standby mode. // -// For more information, see Temporarily Removing Instances from Your Auto Scaling -// Group (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html) +// For more information, see Auto Scaling Lifecycle (http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html) // in the Auto Scaling User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -5041,14 +5045,15 @@ func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGrou // // Updates the configuration for the specified Auto Scaling group. // -// The new settings take effect on any scaling activities after this call returns. -// Scaling activities that are currently in progress aren't affected. -// // To update an Auto Scaling group with a launch configuration with InstanceMonitoring -// set to false, you must first disable the collection of group metrics. Otherwise, +// set to False, you must first disable the collection of group metrics. Otherwise, // you will get an error. If you have previously enabled the collection of group // metrics, you can disable it using DisableMetricsCollection. // +// The new settings are registered upon the completion of this call. Any launch +// configuration settings take effect on any triggers after this call returns. +// Scaling activities that are currently in progress aren't affected. +// // Note the following: // // * If you specify a new value for MinSize without specifying a value for @@ -5282,6 +5287,7 @@ func (s *Alarm) SetAlarmName(v string) *Alarm { return s } +// Contains the parameters for AttachInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesQuery type AttachInstancesInput struct { _ struct{} `type:"structure"` @@ -5348,6 +5354,7 @@ func (s AttachInstancesOutput) GoString() string { return s.String() } +// Contains the parameters for AttachLoadBalancerTargetGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType type AttachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -5419,6 +5426,7 @@ func (s AttachLoadBalancerTargetGroupsOutput) GoString() string { return s.String() } +// Contains the parameters for AttachLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersType type AttachLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -5475,6 +5483,7 @@ func (s *AttachLoadBalancersInput) SetLoadBalancerNames(v []*string) *AttachLoad return s } +// Contains the output of AttachLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType type AttachLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -5572,6 +5581,7 @@ func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { return s } +// Contains the parameters for CompleteLifecycleAction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionType type CompleteLifecycleActionInput struct { _ struct{} `type:"structure"` @@ -5672,6 +5682,7 @@ func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteL return s } +// Contains the output of CompleteLifecycleAction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer type CompleteLifecycleActionOutput struct { _ struct{} `type:"structure"` @@ -5687,6 +5698,7 @@ func (s CompleteLifecycleActionOutput) GoString() string { return s.String() } +// Contains the parameters for CreateAutoScalingGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType type CreateAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -5710,8 +5722,7 @@ type CreateAutoScalingGroupInput struct { // The number of EC2 instances that should be running in the group. This number // must be greater than or equal to the minimum size of the group and less than - // or equal to the maximum size of the group. If you do not specify a desired - // capacity, the default is the minimum size of the group. + // or equal to the maximum size of the group. DesiredCapacity *int64 `type:"integer"` // The amount of time, in seconds, that Auto Scaling waits before checking the @@ -5981,6 +5992,7 @@ func (s CreateAutoScalingGroupOutput) GoString() string { return s.String() } +// Contains the parameters for CreateLaunchConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType type CreateLaunchConfigurationInput struct { _ struct{} `type:"structure"` @@ -6037,18 +6049,14 @@ type CreateLaunchConfigurationInput struct { IamInstanceProfile *string `min:"1" type:"string"` // The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. - // - // If you do not specify InstanceId, you must specify ImageId. - // // For more information, see Finding an AMI (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) // in the Amazon Elastic Compute Cloud User Guide. ImageId *string `min:"1" type:"string"` - // The ID of the instance to use to create the launch configuration. The new - // launch configuration derives attributes from the instance, with the exception - // of the block device mapping. + // The ID of the instance to use to create the launch configuration. // - // If you do not specify InstanceId, you must specify both ImageId and InstanceType. + // The new launch configuration derives attributes from the instance, with the + // exception of the block device mapping. // // To create a launch configuration with a block device mapping or override // any other instance attributes, specify them as part of the same request. @@ -6059,15 +6067,11 @@ type CreateLaunchConfigurationInput struct { InstanceId *string `min:"1" type:"string"` // Enables detailed monitoring (true) or basic monitoring (false) for the Auto - // Scaling instances. The default is true. + // Scaling instances. InstanceMonitoring *InstanceMonitoring `type:"structure"` - // The instance type of the EC2 instance. - // - // If you do not specify InstanceId, you must specify InstanceType. - // - // For information about available instance types, see Available Instance Types - // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) + // The instance type of the EC2 instance. For information about available instance + // types, see Available Instance Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) // in the Amazon Elastic Compute Cloud User Guide. InstanceType *string `min:"1" type:"string"` @@ -6318,6 +6322,7 @@ func (s CreateLaunchConfigurationOutput) GoString() string { return s.String() } +// Contains the parameters for CreateOrUpdateTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsType type CreateOrUpdateTagsInput struct { _ struct{} `type:"structure"` @@ -6382,6 +6387,103 @@ func (s CreateOrUpdateTagsOutput) GoString() string { return s.String() } +// Configures a customized metric for a target tracking policy. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification +type CustomizedMetricSpecification struct { + _ struct{} `type:"structure"` + + // The dimensions of the metric. + Dimensions []*MetricDimension `type:"list"` + + // The name of the metric. + // + // MetricName is a required field + MetricName *string `type:"string" required:"true"` + + // The namespace of the metric. + // + // Namespace is a required field + Namespace *string `type:"string" required:"true"` + + // The statistic of the metric. + // + // Statistic is a required field + Statistic *string `type:"string" required:"true" enum:"MetricStatistic"` + + // The unit of the metric. + Unit *string `type:"string"` +} + +// String returns the string representation +func (s CustomizedMetricSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CustomizedMetricSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomizedMetricSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomizedMetricSpecification"} + if s.MetricName == nil { + invalidParams.Add(request.NewErrParamRequired("MetricName")) + } + if s.Namespace == nil { + invalidParams.Add(request.NewErrParamRequired("Namespace")) + } + if s.Statistic == nil { + invalidParams.Add(request.NewErrParamRequired("Statistic")) + } + if s.Dimensions != nil { + for i, v := range s.Dimensions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Dimensions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDimensions sets the Dimensions field's value. +func (s *CustomizedMetricSpecification) SetDimensions(v []*MetricDimension) *CustomizedMetricSpecification { + s.Dimensions = v + return s +} + +// SetMetricName sets the MetricName field's value. +func (s *CustomizedMetricSpecification) SetMetricName(v string) *CustomizedMetricSpecification { + s.MetricName = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CustomizedMetricSpecification) SetNamespace(v string) *CustomizedMetricSpecification { + s.Namespace = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *CustomizedMetricSpecification) SetStatistic(v string) *CustomizedMetricSpecification { + s.Statistic = &v + return s +} + +// SetUnit sets the Unit field's value. +func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpecification { + s.Unit = &v + return s +} + +// Contains the parameters for DeleteAutoScalingGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupType type DeleteAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -6450,6 +6552,7 @@ func (s DeleteAutoScalingGroupOutput) GoString() string { return s.String() } +// Contains the parameters for DeleteLaunchConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNameType type DeleteLaunchConfigurationInput struct { _ struct{} `type:"structure"` @@ -6507,6 +6610,7 @@ func (s DeleteLaunchConfigurationOutput) GoString() string { return s.String() } +// Contains the parameters for DeleteLifecycleHook. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookType type DeleteLifecycleHookInput struct { _ struct{} `type:"structure"` @@ -6566,6 +6670,7 @@ func (s *DeleteLifecycleHookInput) SetLifecycleHookName(v string) *DeleteLifecyc return s } +// Contains the output of DeleteLifecycleHook. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer type DeleteLifecycleHookOutput struct { _ struct{} `type:"structure"` @@ -6581,6 +6686,7 @@ func (s DeleteLifecycleHookOutput) GoString() string { return s.String() } +// Contains the parameters for DeleteNotificationConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationType type DeleteNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -6656,6 +6762,7 @@ func (s DeleteNotificationConfigurationOutput) GoString() string { return s.String() } +// Contains the parameters for DeletePolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyType type DeletePolicyInput struct { _ struct{} `type:"structure"` @@ -6725,6 +6832,7 @@ func (s DeletePolicyOutput) GoString() string { return s.String() } +// Contains the parameters for DeleteScheduledAction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionType type DeleteScheduledActionInput struct { _ struct{} `type:"structure"` @@ -6799,6 +6907,7 @@ func (s DeleteScheduledActionOutput) GoString() string { return s.String() } +// Contains the parameters for DeleteTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsType type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -6878,6 +6987,7 @@ func (s DescribeAccountLimitsInput) GoString() string { return s.String() } +// Contains the parameters for DescribeAccountLimits. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -6946,6 +7056,7 @@ func (s DescribeAdjustmentTypesInput) GoString() string { return s.String() } +// Contains the parameters for DescribeAdjustmentTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesAnswer type DescribeAdjustmentTypesOutput struct { _ struct{} `type:"structure"` @@ -6970,6 +7081,7 @@ func (s *DescribeAdjustmentTypesOutput) SetAdjustmentTypes(v []*AdjustmentType) return s } +// Contains the parameters for DescribeAutoScalingGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupNamesType type DescribeAutoScalingGroupsInput struct { _ struct{} `type:"structure"` @@ -7015,6 +7127,7 @@ func (s *DescribeAutoScalingGroupsInput) SetNextToken(v string) *DescribeAutoSca return s } +// Contains the output for DescribeAutoScalingGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupsType type DescribeAutoScalingGroupsOutput struct { _ struct{} `type:"structure"` @@ -7051,6 +7164,7 @@ func (s *DescribeAutoScalingGroupsOutput) SetNextToken(v string) *DescribeAutoSc return s } +// Contains the parameters for DescribeAutoScalingInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstancesType type DescribeAutoScalingInstancesInput struct { _ struct{} `type:"structure"` @@ -7097,6 +7211,7 @@ func (s *DescribeAutoScalingInstancesInput) SetNextToken(v string) *DescribeAuto return s } +// Contains the output of DescribeAutoScalingInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesType type DescribeAutoScalingInstancesOutput struct { _ struct{} `type:"structure"` @@ -7146,6 +7261,7 @@ func (s DescribeAutoScalingNotificationTypesInput) GoString() string { return s.String() } +// Contains the output of DescribeAutoScalingNotificationTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesAnswer type DescribeAutoScalingNotificationTypesOutput struct { _ struct{} `type:"structure"` @@ -7170,6 +7286,7 @@ func (s *DescribeAutoScalingNotificationTypesOutput) SetAutoScalingNotificationT return s } +// Contains the parameters for DescribeLaunchConfigurations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType type DescribeLaunchConfigurationsInput struct { _ struct{} `type:"structure"` @@ -7215,6 +7332,7 @@ func (s *DescribeLaunchConfigurationsInput) SetNextToken(v string) *DescribeLaun return s } +// Contains the output of DescribeLaunchConfigurations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationsType type DescribeLaunchConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7266,6 +7384,7 @@ func (s DescribeLifecycleHookTypesInput) GoString() string { return s.String() } +// Contains the output of DescribeLifecycleHookTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesAnswer type DescribeLifecycleHookTypesOutput struct { _ struct{} `type:"structure"` @@ -7290,6 +7409,7 @@ func (s *DescribeLifecycleHookTypesOutput) SetLifecycleHookTypes(v []*string) *D return s } +// Contains the parameters for DescribeLifecycleHooks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksType type DescribeLifecycleHooksInput struct { _ struct{} `type:"structure"` @@ -7342,6 +7462,7 @@ func (s *DescribeLifecycleHooksInput) SetLifecycleHookNames(v []*string) *Descri return s } +// Contains the output of DescribeLifecycleHooks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksAnswer type DescribeLifecycleHooksOutput struct { _ struct{} `type:"structure"` @@ -7366,6 +7487,7 @@ func (s *DescribeLifecycleHooksOutput) SetLifecycleHooks(v []*LifecycleHook) *De return s } +// Contains the parameters for DescribeLoadBalancerTargetGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest type DescribeLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -7428,6 +7550,7 @@ func (s *DescribeLoadBalancerTargetGroupsInput) SetNextToken(v string) *Describe return s } +// Contains the output of DescribeLoadBalancerTargetGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsResponse type DescribeLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -7462,6 +7585,7 @@ func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *Describ return s } +// Contains the parameters for DescribeLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -7524,6 +7648,7 @@ func (s *DescribeLoadBalancersInput) SetNextToken(v string) *DescribeLoadBalance return s } +// Contains the output of DescribeLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersResponse type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -7573,6 +7698,7 @@ func (s DescribeMetricCollectionTypesInput) GoString() string { return s.String() } +// Contains the output of DescribeMetricsCollectionTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesAnswer type DescribeMetricCollectionTypesOutput struct { _ struct{} `type:"structure"` @@ -7606,6 +7732,7 @@ func (s *DescribeMetricCollectionTypesOutput) SetMetrics(v []*MetricCollectionTy return s } +// Contains the parameters for DescribeNotificationConfigurations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType type DescribeNotificationConfigurationsInput struct { _ struct{} `type:"structure"` @@ -7650,6 +7777,7 @@ func (s *DescribeNotificationConfigurationsInput) SetNextToken(v string) *Descri return s } +// Contains the output from DescribeNotificationConfigurations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsAnswer type DescribeNotificationConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7686,6 +7814,7 @@ func (s *DescribeNotificationConfigurationsOutput) SetNotificationConfigurations return s } +// Contains the parameters for DescribePolicies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType type DescribePoliciesInput struct { _ struct{} `type:"structure"` @@ -7764,6 +7893,7 @@ func (s *DescribePoliciesInput) SetPolicyTypes(v []*string) *DescribePoliciesInp return s } +// Contains the output of DescribePolicies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType type DescribePoliciesOutput struct { _ struct{} `type:"structure"` @@ -7798,6 +7928,7 @@ func (s *DescribePoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *Describ return s } +// Contains the parameters for DescribeScalingActivities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType type DescribeScalingActivitiesInput struct { _ struct{} `type:"structure"` @@ -7868,6 +7999,7 @@ func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScaling return s } +// Contains the output of DescribeScalingActivities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivitiesType type DescribeScalingActivitiesOutput struct { _ struct{} `type:"structure"` @@ -7920,6 +8052,7 @@ func (s DescribeScalingProcessTypesInput) GoString() string { return s.String() } +// Contains the output of DescribeScalingProcessTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessesType type DescribeScalingProcessTypesOutput struct { _ struct{} `type:"structure"` @@ -7944,6 +8077,7 @@ func (s *DescribeScalingProcessTypesOutput) SetProcesses(v []*ProcessType) *Desc return s } +// Contains the parameters for DescribeScheduledActions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType type DescribeScheduledActionsInput struct { _ struct{} `type:"structure"` @@ -8036,6 +8170,7 @@ func (s *DescribeScheduledActionsInput) SetStartTime(v time.Time) *DescribeSched return s } +// Contains the output of DescribeScheduledActions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledActionsType type DescribeScheduledActionsOutput struct { _ struct{} `type:"structure"` @@ -8070,6 +8205,7 @@ func (s *DescribeScheduledActionsOutput) SetScheduledUpdateGroupActions(v []*Sch return s } +// Contains the parameters for DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -8114,6 +8250,7 @@ func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { return s } +// Contains the output of DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagsType type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -8163,6 +8300,7 @@ func (s DescribeTerminationPolicyTypesInput) GoString() string { return s.String() } +// Contains the output of DescribeTerminationPolicyTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesAnswer type DescribeTerminationPolicyTypesOutput struct { _ struct{} `type:"structure"` @@ -8188,6 +8326,7 @@ func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []*st return s } +// Contains the parameters for DetachInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery type DetachInstancesInput struct { _ struct{} `type:"structure"` @@ -8254,6 +8393,7 @@ func (s *DetachInstancesInput) SetShouldDecrementDesiredCapacity(v bool) *Detach return s } +// Contains the output of DetachInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesAnswer type DetachInstancesOutput struct { _ struct{} `type:"structure"` @@ -8349,6 +8489,7 @@ func (s DetachLoadBalancerTargetGroupsOutput) GoString() string { return s.String() } +// Contains the parameters for DetachLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersType type DetachLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -8405,6 +8546,7 @@ func (s *DetachLoadBalancersInput) SetLoadBalancerNames(v []*string) *DetachLoad return s } +// Contains the output for DetachLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType type DetachLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -8420,6 +8562,7 @@ func (s DetachLoadBalancersOutput) GoString() string { return s.String() } +// Contains the parameters for DisableMetricsCollection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery type DisableMetricsCollectionInput struct { _ struct{} `type:"structure"` @@ -8616,6 +8759,7 @@ func (s *Ebs) SetVolumeType(v string) *Ebs { return s } +// Contains the parameters for EnableMetricsCollection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery type EnableMetricsCollectionInput struct { _ struct{} `type:"structure"` @@ -8767,6 +8911,7 @@ func (s *EnabledMetric) SetMetric(v string) *EnabledMetric { return s } +// Contains the parameters for EnteStandby. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery type EnterStandbyInput struct { _ struct{} `type:"structure"` @@ -8836,6 +8981,7 @@ func (s *EnterStandbyInput) SetShouldDecrementDesiredCapacity(v bool) *EnterStan return s } +// Contains the output of EnterStandby. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyAnswer type EnterStandbyOutput struct { _ struct{} `type:"structure"` @@ -8860,6 +9006,7 @@ func (s *EnterStandbyOutput) SetActivities(v []*Activity) *EnterStandbyOutput { return s } +// Contains the parameters for ExecutePolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType type ExecutePolicyInput struct { _ struct{} `type:"structure"` @@ -8976,6 +9123,7 @@ func (s ExecutePolicyOutput) GoString() string { return s.String() } +// Contains the parameters for ExitStandby. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyQuery type ExitStandbyInput struct { _ struct{} `type:"structure"` @@ -9027,6 +9175,7 @@ func (s *ExitStandbyInput) SetInstanceIds(v []*string) *ExitStandbyInput { return s } +// Contains the parameters for ExitStandby. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyAnswer type ExitStandbyOutput struct { _ struct{} `type:"structure"` @@ -9509,12 +9658,12 @@ func (s *InstanceDetails) SetProtectedFromScaleIn(v bool) *InstanceDetails { return s } -// Describes whether detailed monitoring is enabled for the Auto Scaling instances. +// Describes whether instance monitoring is enabled. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring type InstanceMonitoring struct { _ struct{} `type:"structure"` - // If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled. + // If True, instance monitoring is enabled. Enabled *bool `type:"boolean"` } @@ -10028,6 +10177,60 @@ func (s *MetricCollectionType) SetMetric(v string) *MetricCollectionType { return s } +// Describes the dimension of a metric. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension +type MetricDimension struct { + _ struct{} `type:"structure"` + + // The name of the dimension. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The value of the dimension. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s MetricDimension) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MetricDimension) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MetricDimension) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MetricDimension"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *MetricDimension) SetName(v string) *MetricDimension { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *MetricDimension) SetValue(v string) *MetricDimension { + s.Value = &v + return s +} + // Describes a granularity of a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricGranularityType type MetricGranularityType struct { @@ -10107,6 +10310,79 @@ func (s *NotificationConfiguration) SetTopicARN(v string) *NotificationConfigura return s } +// Configures a predefined metric for a target tracking policy. The following +// predefined metrics are available: +// +// * ASGAverageCPUUtilization - average CPU utilization of the Auto Scaling +// group +// +// * ASGAverageNetworkIn - average number of bytes received on all network +// interfaces by the Auto Scaling group +// +// * ASGAverageNetworkOut - average number of bytes sent out on all network +// interfaces by the Auto Scaling group +// +// * ALBRequestCountPerTarget - number of requests completed per target in +// an Application Load Balancer target group +// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification +type PredefinedMetricSpecification struct { + _ struct{} `type:"structure"` + + // The metric type. + // + // PredefinedMetricType is a required field + PredefinedMetricType *string `type:"string" required:"true" enum:"MetricType"` + + // Identifies the resource associated with the metric type. For predefined metric + // types ASGAverageCPUUtilization, ASGAverageNetworkIn and ASGAverageNetworkOut, + // the parameter must not be specified as the resource associated with the metric + // type is the Auto Scaling group. For predefined metric type ALBRequestCountPerTarget, + // the parameter must be specified in the format app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id, + // where app/load-balancer-name/load-balancer-id is the final portion of the + // load balancer ARN, and targetgroup/target-group-name/target-group-id is the + // final portion of the target group ARN. The target group must be attached + // to the Auto Scaling group. + ResourceLabel *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s PredefinedMetricSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PredefinedMetricSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PredefinedMetricSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PredefinedMetricSpecification"} + if s.PredefinedMetricType == nil { + invalidParams.Add(request.NewErrParamRequired("PredefinedMetricType")) + } + if s.ResourceLabel != nil && len(*s.ResourceLabel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceLabel", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPredefinedMetricType sets the PredefinedMetricType field's value. +func (s *PredefinedMetricSpecification) SetPredefinedMetricType(v string) *PredefinedMetricSpecification { + s.PredefinedMetricType = &v + return s +} + +// SetResourceLabel sets the ResourceLabel field's value. +func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMetricSpecification { + s.ResourceLabel = &v + return s +} + // Describes a process type. // // For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types) @@ -10153,6 +10429,7 @@ func (s *ProcessType) SetProcessName(v string) *ProcessType { return s } +// Contains the parameters for PutLifecycleHook. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookType type PutLifecycleHookInput struct { _ struct{} `type:"structure"` @@ -10298,6 +10575,7 @@ func (s *PutLifecycleHookInput) SetRoleARN(v string) *PutLifecycleHookInput { return s } +// Contains the output of PutLifecycleHook. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer type PutLifecycleHookOutput struct { _ struct{} `type:"structure"` @@ -10313,6 +10591,7 @@ func (s PutLifecycleHookOutput) GoString() string { return s.String() } +// Contains the parameters for PutNotificationConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType type PutNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -10403,18 +10682,19 @@ func (s PutNotificationConfigurationOutput) GoString() string { return s.String() } +// Contains the parameters for PutScalingPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType type PutScalingPolicyInput struct { _ struct{} `type:"structure"` - // The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and - // PercentChangeInCapacity. + // The adjustment type. The valid values are ChangeInCapacity, ExactCapacity, + // and PercentChangeInCapacity. + // + // This parameter is supported if the policy type is SimpleScaling or StepScaling. // // For more information, see Dynamic Scaling (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-scale-based-on-demand.html) // in the Auto Scaling User Guide. - // - // AdjustmentType is a required field - AdjustmentType *string `min:"1" type:"string" required:"true"` + AdjustmentType *string `min:"1" type:"string"` // The name or ARN of the group. // @@ -10425,7 +10705,7 @@ type PutScalingPolicyInput struct { // the next scaling activity can start. If this parameter is not specified, // the default cooldown period for the group applies. // - // This parameter is not supported unless the policy type is SimpleScaling. + // This parameter is supported if the policy type is SimpleScaling. // // For more information, see Auto Scaling Cooldowns (http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html) // in the Auto Scaling User Guide. @@ -10435,20 +10715,22 @@ type PutScalingPolicyInput struct { // to the CloudWatch metrics. The default is to use the value specified for // the default cooldown period for the group. // - // This parameter is not supported if the policy type is SimpleScaling. + // This parameter is supported if the policy type is StepScaling or TargetTrackingScaling. EstimatedInstanceWarmup *int64 `type:"integer"` - // The aggregation type for the CloudWatch metrics. Valid values are Minimum, + // The aggregation type for the CloudWatch metrics. The valid values are Minimum, // Maximum, and Average. If the aggregation type is null, the value is treated // as Average. // - // This parameter is not supported if the policy type is SimpleScaling. + // This parameter is supported if the policy type is StepScaling. MetricAggregationType *string `min:"1" type:"string"` // The minimum number of instances to scale. If the value of AdjustmentType // is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity // of the Auto Scaling group by at least this many instances. Otherwise, the // error is ValidationError. + // + // This parameter is supported if the policy type is SimpleScaling or StepScaling. MinAdjustmentMagnitude *int64 `type:"integer"` // Available for backward compatibility. Use MinAdjustmentMagnitude instead. @@ -10459,8 +10741,8 @@ type PutScalingPolicyInput struct { // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` - // The policy type. Valid values are SimpleScaling and StepScaling. If the policy - // type is null, the value is treated as SimpleScaling. + // The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. + // If the policy type is null, the value is treated as SimpleScaling. PolicyType *string `min:"1" type:"string"` // The amount by which to scale, based on the specified adjustment type. A positive @@ -10477,6 +10759,12 @@ type PutScalingPolicyInput struct { // This parameter is required if the policy type is StepScaling and not supported // otherwise. StepAdjustments []*StepAdjustment `type:"list"` + + // The configuration of a target tracking policy. + // + // This parameter is required if the policy type is TargetTrackingScaling and + // not supported otherwise. + TargetTrackingConfiguration *TargetTrackingConfiguration `type:"structure"` } // String returns the string representation @@ -10492,9 +10780,6 @@ func (s PutScalingPolicyInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *PutScalingPolicyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "PutScalingPolicyInput"} - if s.AdjustmentType == nil { - invalidParams.Add(request.NewErrParamRequired("AdjustmentType")) - } if s.AdjustmentType != nil && len(*s.AdjustmentType) < 1 { invalidParams.Add(request.NewErrParamMinLen("AdjustmentType", 1)) } @@ -10526,6 +10811,11 @@ func (s *PutScalingPolicyInput) Validate() error { } } } + if s.TargetTrackingConfiguration != nil { + if err := s.TargetTrackingConfiguration.Validate(); err != nil { + invalidParams.AddNested("TargetTrackingConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -10599,10 +10889,21 @@ func (s *PutScalingPolicyInput) SetStepAdjustments(v []*StepAdjustment) *PutScal return s } +// SetTargetTrackingConfiguration sets the TargetTrackingConfiguration field's value. +func (s *PutScalingPolicyInput) SetTargetTrackingConfiguration(v *TargetTrackingConfiguration) *PutScalingPolicyInput { + s.TargetTrackingConfiguration = v + return s +} + +// Contains the output of PutScalingPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType type PutScalingPolicyOutput struct { _ struct{} `type:"structure"` + // The CloudWatch alarms created for the target tracking policy. This parameter + // will be empty if the policy type is anything other than TargetTrackingScaling. + Alarms []*Alarm `type:"list"` + // The Amazon Resource Name (ARN) of the policy. PolicyARN *string `min:"1" type:"string"` } @@ -10617,12 +10918,19 @@ func (s PutScalingPolicyOutput) GoString() string { return s.String() } +// SetAlarms sets the Alarms field's value. +func (s *PutScalingPolicyOutput) SetAlarms(v []*Alarm) *PutScalingPolicyOutput { + s.Alarms = v + return s +} + // SetPolicyARN sets the PolicyARN field's value. func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput { s.PolicyARN = &v return s } +// Contains the parameters for PutScheduledUpdateGroupAction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType type PutScheduledUpdateGroupActionInput struct { _ struct{} `type:"structure"` @@ -10772,6 +11080,7 @@ func (s PutScheduledUpdateGroupActionOutput) GoString() string { return s.String() } +// Contains the parameters for RecordLifecycleActionHeartbeat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatType type RecordLifecycleActionHeartbeatInput struct { _ struct{} `type:"structure"` @@ -10857,6 +11166,7 @@ func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleHookName(v string) *Re return s } +// Contains the output of RecordLifecycleActionHeartBeat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer type RecordLifecycleActionHeartbeatOutput struct { _ struct{} `type:"structure"` @@ -10903,7 +11213,7 @@ type ScalingPolicy struct { AutoScalingGroupName *string `min:"1" type:"string"` // The amount of time, in seconds, after a scaling activity completes before - // any further dynamic scaling activities can start. + // any further trigger-related scaling activities can start. Cooldown *int64 `type:"integer"` // The estimated time, in seconds, until a newly launched instance can contribute @@ -10940,6 +11250,9 @@ type ScalingPolicy struct { // A set of adjustments that enable you to scale based on the size of the alarm // breach. StepAdjustments []*StepAdjustment `type:"list"` + + // A target tracking policy. + TargetTrackingConfiguration *TargetTrackingConfiguration `type:"structure"` } // String returns the string representation @@ -11030,6 +11343,13 @@ func (s *ScalingPolicy) SetStepAdjustments(v []*StepAdjustment) *ScalingPolicy { return s } +// SetTargetTrackingConfiguration sets the TargetTrackingConfiguration field's value. +func (s *ScalingPolicy) SetTargetTrackingConfiguration(v *TargetTrackingConfiguration) *ScalingPolicy { + s.TargetTrackingConfiguration = v + return s +} + +// Contains the parameters for SuspendProcesses and ResumeProcesses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery type ScalingProcessQuery struct { _ struct{} `type:"structure"` @@ -11209,6 +11529,7 @@ func (s *ScheduledUpdateGroupAction) SetTime(v time.Time) *ScheduledUpdateGroupA return s } +// Contains the parameters for SetDesiredCapacity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType type SetDesiredCapacityInput struct { _ struct{} `type:"structure"` @@ -11292,6 +11613,7 @@ func (s SetDesiredCapacityOutput) GoString() string { return s.String() } +// Contains the parameters for SetInstanceHealth. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery type SetInstanceHealthInput struct { _ struct{} `type:"structure"` @@ -11383,6 +11705,7 @@ func (s SetInstanceHealthOutput) GoString() string { return s.String() } +// Contains the parameters for SetInstanceProtection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionQuery type SetInstanceProtectionInput struct { _ struct{} `type:"structure"` @@ -11454,6 +11777,7 @@ func (s *SetInstanceProtectionInput) SetProtectedFromScaleIn(v bool) *SetInstanc return s } +// Contains the output of SetInstanceProtection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer type SetInstanceProtectionOutput struct { _ struct{} `type:"structure"` @@ -11759,6 +12083,87 @@ func (s *TagDescription) SetValue(v string) *TagDescription { return s } +// Represents a target tracking policy configuration. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration +type TargetTrackingConfiguration struct { + _ struct{} `type:"structure"` + + // A customized metric. + CustomizedMetricSpecification *CustomizedMetricSpecification `type:"structure"` + + // If the parameter is true, then scale-in will be disabled for the target tracking + // policy, i.e. the target tracking policy will not scale in the Auto Scaling + // group. The default value is false. + DisableScaleIn *bool `type:"boolean"` + + // A predefined metric. You can specify either a predefined metric or a customized + // metric. + PredefinedMetricSpecification *PredefinedMetricSpecification `type:"structure"` + + // The target value for the metric. + // + // TargetValue is a required field + TargetValue *float64 `type:"double" required:"true"` +} + +// String returns the string representation +func (s TargetTrackingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TargetTrackingConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TargetTrackingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TargetTrackingConfiguration"} + if s.TargetValue == nil { + invalidParams.Add(request.NewErrParamRequired("TargetValue")) + } + if s.CustomizedMetricSpecification != nil { + if err := s.CustomizedMetricSpecification.Validate(); err != nil { + invalidParams.AddNested("CustomizedMetricSpecification", err.(request.ErrInvalidParams)) + } + } + if s.PredefinedMetricSpecification != nil { + if err := s.PredefinedMetricSpecification.Validate(); err != nil { + invalidParams.AddNested("PredefinedMetricSpecification", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomizedMetricSpecification sets the CustomizedMetricSpecification field's value. +func (s *TargetTrackingConfiguration) SetCustomizedMetricSpecification(v *CustomizedMetricSpecification) *TargetTrackingConfiguration { + s.CustomizedMetricSpecification = v + return s +} + +// SetDisableScaleIn sets the DisableScaleIn field's value. +func (s *TargetTrackingConfiguration) SetDisableScaleIn(v bool) *TargetTrackingConfiguration { + s.DisableScaleIn = &v + return s +} + +// SetPredefinedMetricSpecification sets the PredefinedMetricSpecification field's value. +func (s *TargetTrackingConfiguration) SetPredefinedMetricSpecification(v *PredefinedMetricSpecification) *TargetTrackingConfiguration { + s.PredefinedMetricSpecification = v + return s +} + +// SetTargetValue sets the TargetValue field's value. +func (s *TargetTrackingConfiguration) SetTargetValue(v float64) *TargetTrackingConfiguration { + s.TargetValue = &v + return s +} + +// Contains the parameters for TerminateInstanceInAutoScalingGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType type TerminateInstanceInAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -11816,6 +12221,7 @@ func (s *TerminateInstanceInAutoScalingGroupInput) SetShouldDecrementDesiredCapa return s } +// Contains the output of TerminateInstancesInAutoScalingGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivityType type TerminateInstanceInAutoScalingGroupOutput struct { _ struct{} `type:"structure"` @@ -11840,6 +12246,7 @@ func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *Te return s } +// Contains the parameters for UpdateAutoScalingGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType type UpdateAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -12088,6 +12495,37 @@ const ( LifecycleStateStandby = "Standby" ) +const ( + // MetricStatisticAverage is a MetricStatistic enum value + MetricStatisticAverage = "Average" + + // MetricStatisticMinimum is a MetricStatistic enum value + MetricStatisticMinimum = "Minimum" + + // MetricStatisticMaximum is a MetricStatistic enum value + MetricStatisticMaximum = "Maximum" + + // MetricStatisticSampleCount is a MetricStatistic enum value + MetricStatisticSampleCount = "SampleCount" + + // MetricStatisticSum is a MetricStatistic enum value + MetricStatisticSum = "Sum" +) + +const ( + // MetricTypeAsgaverageCpuutilization is a MetricType enum value + MetricTypeAsgaverageCpuutilization = "ASGAverageCPUUtilization" + + // MetricTypeAsgaverageNetworkIn is a MetricType enum value + MetricTypeAsgaverageNetworkIn = "ASGAverageNetworkIn" + + // MetricTypeAsgaverageNetworkOut is a MetricType enum value + MetricTypeAsgaverageNetworkOut = "ASGAverageNetworkOut" + + // MetricTypeAlbrequestCountPerTarget is a MetricType enum value + MetricTypeAlbrequestCountPerTarget = "ALBRequestCountPerTarget" +) + const ( // ScalingActivityStatusCodePendingSpotBidPlacement is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePendingSpotBidPlacement = "PendingSpotBidPlacement" 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 afbe5bb58492..3559739d35b3 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 @@ -3610,6 +3610,85 @@ func (c *EC2) CreateNetworkInterfaceWithContext(ctx aws.Context, input *CreateNe return out, req.Send() } +const opCreateNetworkInterfacePermission = "CreateNetworkInterfacePermission" + +// CreateNetworkInterfacePermissionRequest generates a "aws/request.Request" representing the +// client's request for the CreateNetworkInterfacePermission operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See CreateNetworkInterfacePermission for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the CreateNetworkInterfacePermission method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the CreateNetworkInterfacePermissionRequest method. +// req, resp := client.CreateNetworkInterfacePermissionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission +func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterfacePermissionInput) (req *request.Request, output *CreateNetworkInterfacePermissionOutput) { + op := &request.Operation{ + Name: opCreateNetworkInterfacePermission, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateNetworkInterfacePermissionInput{} + } + + output = &CreateNetworkInterfacePermissionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateNetworkInterfacePermission API operation for Amazon Elastic Compute Cloud. +// +// Grants an AWS authorized partner account permission to attach the specified +// network interface to an instance in their account. +// +// You can grant permission to a single AWS account only, and only one account +// at a time. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateNetworkInterfacePermission for usage and error information. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission +func (c *EC2) CreateNetworkInterfacePermission(input *CreateNetworkInterfacePermissionInput) (*CreateNetworkInterfacePermissionOutput, error) { + req, out := c.CreateNetworkInterfacePermissionRequest(input) + return out, req.Send() +} + +// CreateNetworkInterfacePermissionWithContext is the same as CreateNetworkInterfacePermission with the addition of +// the ability to pass a context and additional request options. +// +// See CreateNetworkInterfacePermission for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateNetworkInterfacePermissionWithContext(ctx aws.Context, input *CreateNetworkInterfacePermissionInput, opts ...request.Option) (*CreateNetworkInterfacePermissionOutput, error) { + req, out := c.CreateNetworkInterfacePermissionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreatePlacementGroup = "CreatePlacementGroup" // CreatePlacementGroupRequest generates a "aws/request.Request" representing the @@ -5816,6 +5895,84 @@ func (c *EC2) DeleteNetworkInterfaceWithContext(ctx aws.Context, input *DeleteNe return out, req.Send() } +const opDeleteNetworkInterfacePermission = "DeleteNetworkInterfacePermission" + +// DeleteNetworkInterfacePermissionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteNetworkInterfacePermission operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DeleteNetworkInterfacePermission for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DeleteNetworkInterfacePermission method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DeleteNetworkInterfacePermissionRequest method. +// req, resp := client.DeleteNetworkInterfacePermissionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission +func (c *EC2) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterfacePermissionInput) (req *request.Request, output *DeleteNetworkInterfacePermissionOutput) { + op := &request.Operation{ + Name: opDeleteNetworkInterfacePermission, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteNetworkInterfacePermissionInput{} + } + + output = &DeleteNetworkInterfacePermissionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteNetworkInterfacePermission API operation for Amazon Elastic Compute Cloud. +// +// Deletes a permission for a network interface. By default, you cannot delete +// the permission if the account for which you're removing the permission has +// attached the network interface to an instance. However, you can force delete +// the permission, regardless of any attachment. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteNetworkInterfacePermission for usage and error information. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission +func (c *EC2) DeleteNetworkInterfacePermission(input *DeleteNetworkInterfacePermissionInput) (*DeleteNetworkInterfacePermissionOutput, error) { + req, out := c.DeleteNetworkInterfacePermissionRequest(input) + return out, req.Send() +} + +// DeleteNetworkInterfacePermissionWithContext is the same as DeleteNetworkInterfacePermission with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteNetworkInterfacePermission for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteNetworkInterfacePermissionWithContext(ctx aws.Context, input *DeleteNetworkInterfacePermissionInput, opts ...request.Option) (*DeleteNetworkInterfacePermissionOutput, error) { + req, out := c.DeleteNetworkInterfacePermissionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeletePlacementGroup = "DeletePlacementGroup" // DeletePlacementGroupRequest generates a "aws/request.Request" representing the @@ -8982,7 +9139,8 @@ func (c *EC2) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) // DescribeInstanceStatus API operation for Amazon Elastic Compute Cloud. // // Describes the status of one or more instances. By default, only running instances -// are described, unless specified otherwise. +// are described, unless you specifically indicate to return the status of all +// instances. // // Instance status includes the following components: // @@ -9742,6 +9900,81 @@ func (c *EC2) DescribeNetworkInterfaceAttributeWithContext(ctx aws.Context, inpu return out, req.Send() } +const opDescribeNetworkInterfacePermissions = "DescribeNetworkInterfacePermissions" + +// DescribeNetworkInterfacePermissionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeNetworkInterfacePermissions operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// See DescribeNetworkInterfacePermissions for usage and error information. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeNetworkInterfacePermissions method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeNetworkInterfacePermissionsRequest method. +// req, resp := client.DescribeNetworkInterfacePermissionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions +func (c *EC2) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkInterfacePermissionsInput) (req *request.Request, output *DescribeNetworkInterfacePermissionsOutput) { + op := &request.Operation{ + Name: opDescribeNetworkInterfacePermissions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeNetworkInterfacePermissionsInput{} + } + + output = &DescribeNetworkInterfacePermissionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeNetworkInterfacePermissions API operation for Amazon Elastic Compute Cloud. +// +// Describes the permissions for your network interfaces. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeNetworkInterfacePermissions for usage and error information. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions +func (c *EC2) DescribeNetworkInterfacePermissions(input *DescribeNetworkInterfacePermissionsInput) (*DescribeNetworkInterfacePermissionsOutput, error) { + req, out := c.DescribeNetworkInterfacePermissionsRequest(input) + return out, req.Send() +} + +// DescribeNetworkInterfacePermissionsWithContext is the same as DescribeNetworkInterfacePermissions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeNetworkInterfacePermissions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeNetworkInterfacePermissionsWithContext(ctx aws.Context, input *DescribeNetworkInterfacePermissionsInput, opts ...request.Option) (*DescribeNetworkInterfacePermissionsOutput, error) { + req, out := c.DescribeNetworkInterfacePermissionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeNetworkInterfaces = "DescribeNetworkInterfaces" // DescribeNetworkInterfacesRequest generates a "aws/request.Request" representing the @@ -24861,6 +25094,113 @@ func (s *CreateNetworkInterfaceOutput) SetNetworkInterface(v *NetworkInterface) return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionRequest +type CreateNetworkInterfacePermissionInput struct { + _ struct{} `type:"structure"` + + // The AWS account ID. + AwsAccountId *string `type:"string"` + + // The AWS service. Currently not supported. + AwsService *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the network interface. + // + // NetworkInterfaceId is a required field + NetworkInterfaceId *string `type:"string" required:"true"` + + // The type of permission to grant. + // + // Permission is a required field + Permission *string `type:"string" required:"true" enum:"InterfacePermissionType"` +} + +// String returns the string representation +func (s CreateNetworkInterfacePermissionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNetworkInterfacePermissionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateNetworkInterfacePermissionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateNetworkInterfacePermissionInput"} + if s.NetworkInterfaceId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInterfaceId")) + } + if s.Permission == nil { + invalidParams.Add(request.NewErrParamRequired("Permission")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateNetworkInterfacePermissionInput) SetAwsAccountId(v string) *CreateNetworkInterfacePermissionInput { + s.AwsAccountId = &v + return s +} + +// SetAwsService sets the AwsService field's value. +func (s *CreateNetworkInterfacePermissionInput) SetAwsService(v string) *CreateNetworkInterfacePermissionInput { + s.AwsService = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateNetworkInterfacePermissionInput) SetDryRun(v bool) *CreateNetworkInterfacePermissionInput { + s.DryRun = &v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *CreateNetworkInterfacePermissionInput) SetNetworkInterfaceId(v string) *CreateNetworkInterfacePermissionInput { + s.NetworkInterfaceId = &v + return s +} + +// SetPermission sets the Permission field's value. +func (s *CreateNetworkInterfacePermissionInput) SetPermission(v string) *CreateNetworkInterfacePermissionInput { + s.Permission = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionResult +type CreateNetworkInterfacePermissionOutput struct { + _ struct{} `type:"structure"` + + // Information about the permission for the network interface. + InterfacePermission *NetworkInterfacePermission `locationName:"interfacePermission" type:"structure"` +} + +// String returns the string representation +func (s CreateNetworkInterfacePermissionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNetworkInterfacePermissionOutput) GoString() string { + return s.String() +} + +// SetInterfacePermission sets the InterfacePermission field's value. +func (s *CreateNetworkInterfacePermissionOutput) SetInterfacePermission(v *NetworkInterfacePermission) *CreateNetworkInterfacePermissionOutput { + s.InterfacePermission = v + return s +} + // Contains the parameters for CreatePlacementGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest type CreatePlacementGroupInput struct { @@ -27325,6 +27665,91 @@ func (s DeleteNetworkInterfaceOutput) GoString() string { return s.String() } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionRequest +type DeleteNetworkInterfacePermissionInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Specify true to remove the permission even if the network interface is attached + // to an instance. + Force *bool `type:"boolean"` + + // The ID of the network interface permission. + // + // NetworkInterfacePermissionId is a required field + NetworkInterfacePermissionId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteNetworkInterfacePermissionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInterfacePermissionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteNetworkInterfacePermissionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInterfacePermissionInput"} + if s.NetworkInterfacePermissionId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInterfacePermissionId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteNetworkInterfacePermissionInput) SetDryRun(v bool) *DeleteNetworkInterfacePermissionInput { + s.DryRun = &v + return s +} + +// SetForce sets the Force field's value. +func (s *DeleteNetworkInterfacePermissionInput) SetForce(v bool) *DeleteNetworkInterfacePermissionInput { + s.Force = &v + return s +} + +// SetNetworkInterfacePermissionId sets the NetworkInterfacePermissionId field's value. +func (s *DeleteNetworkInterfacePermissionInput) SetNetworkInterfacePermissionId(v string) *DeleteNetworkInterfacePermissionInput { + s.NetworkInterfacePermissionId = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult +type DeleteNetworkInterfacePermissionOutput struct { + _ struct{} `type:"structure"` + + // Returns true if the request succeeds, otherwise returns an error. + Return *bool `locationName:"return" type:"boolean"` +} + +// String returns the string representation +func (s DeleteNetworkInterfacePermissionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInterfacePermissionOutput) GoString() string { + return s.String() +} + +// SetReturn sets the Return field's value. +func (s *DeleteNetworkInterfacePermissionOutput) SetReturn(v bool) *DeleteNetworkInterfacePermissionOutput { + s.Return = &v + return s +} + // Contains the parameters for DeletePlacementGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupRequest type DeletePlacementGroupInput struct { @@ -31986,6 +32411,105 @@ func (s *DescribeNetworkInterfaceAttributeOutput) SetSourceDestCheck(v *Attribut return s } +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsRequest +type DescribeNetworkInterfacePermissionsInput struct { + _ struct{} `type:"structure"` + + // One or more filters. + // + // * network-interface-permission.network-interface-permission-id - The ID + // of the permission. + // + // * network-interface-permission.network-interface-id - The ID of the network + // interface. + // + // * network-interface-permission.aws-account-id - The AWS account ID. + // + // * network-interface-permission.aws-service - The AWS service. + // + // * network-interface-permission.permission - The type of permission (INSTANCE-ATTACH + // | EIP-ASSOCIATE). + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned NextToken value. If + // this parameter is not specified, up to 50 results are returned by default. + MaxResults *int64 `type:"integer"` + + // One or more network interface permission IDs. + NetworkInterfacePermissionIds []*string `locationName:"NetworkInterfacePermissionId" type:"list"` + + // The token to request the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInterfacePermissionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInterfacePermissionsInput) GoString() string { + return s.String() +} + +// SetFilters sets the Filters field's value. +func (s *DescribeNetworkInterfacePermissionsInput) SetFilters(v []*Filter) *DescribeNetworkInterfacePermissionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeNetworkInterfacePermissionsInput) SetMaxResults(v int64) *DescribeNetworkInterfacePermissionsInput { + s.MaxResults = &v + return s +} + +// SetNetworkInterfacePermissionIds sets the NetworkInterfacePermissionIds field's value. +func (s *DescribeNetworkInterfacePermissionsInput) SetNetworkInterfacePermissionIds(v []*string) *DescribeNetworkInterfacePermissionsInput { + s.NetworkInterfacePermissionIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInterfacePermissionsInput) SetNextToken(v string) *DescribeNetworkInterfacePermissionsInput { + s.NextToken = &v + return s +} + +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsResult +type DescribeNetworkInterfacePermissionsOutput struct { + _ struct{} `type:"structure"` + + // The network interface permissions. + NetworkInterfacePermissions []*NetworkInterfacePermission `locationName:"networkInterfacePermissions" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInterfacePermissionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInterfacePermissionsOutput) GoString() string { + return s.String() +} + +// SetNetworkInterfacePermissions sets the NetworkInterfacePermissions field's value. +func (s *DescribeNetworkInterfacePermissionsOutput) SetNetworkInterfacePermissions(v []*NetworkInterfacePermission) *DescribeNetworkInterfacePermissionsOutput { + s.NetworkInterfacePermissions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInterfacePermissionsOutput) SetNextToken(v string) *DescribeNetworkInterfacePermissionsOutput { + s.NextToken = &v + return s +} + // Contains the parameters for DescribeNetworkInterfaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesRequest type DescribeNetworkInterfacesInput struct { @@ -33764,7 +34288,7 @@ type DescribeSnapshotsInput struct { // // * owner-alias - Value from an Amazon-maintained list (amazon | aws-marketplace // | microsoft) of snapshot owners. Not to be confused with the user-configured - // AWS account alias, which is set from the IAM consolew. + // AWS account alias, which is set from the IAM console. // // * owner-id - The ID of the AWS account that owns the snapshot. // @@ -43905,7 +44429,7 @@ type ModifyInstanceAttributeInput struct { BlockDeviceMappings []*InstanceBlockDeviceMappingSpecification `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` // If the value is true, you can't terminate the instance using the Amazon EC2 - // console, CLI, or API; otherwise, you can. You cannot use this paramater for + // console, CLI, or API; otherwise, you can. You cannot use this parameter for // Spot Instances. DisableApiTermination *AttributeBooleanValue `locationName:"disableApiTermination" type:"structure"` @@ -46208,6 +46732,110 @@ func (s *NetworkInterfaceIpv6Address) SetIpv6Address(v string) *NetworkInterface return s } +// Describes a permission for a network interface. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermission +type NetworkInterfacePermission struct { + _ struct{} `type:"structure"` + + // The AWS account ID. + AwsAccountId *string `locationName:"awsAccountId" type:"string"` + + // The AWS service. + AwsService *string `locationName:"awsService" type:"string"` + + // The ID of the network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + + // The ID of the network interface permission. + NetworkInterfacePermissionId *string `locationName:"networkInterfacePermissionId" type:"string"` + + // The type of permission. + Permission *string `locationName:"permission" type:"string" enum:"InterfacePermissionType"` + + // Information about the state of the permission. + PermissionState *NetworkInterfacePermissionState `locationName:"permissionState" type:"structure"` +} + +// String returns the string representation +func (s NetworkInterfacePermission) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInterfacePermission) GoString() string { + return s.String() +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *NetworkInterfacePermission) SetAwsAccountId(v string) *NetworkInterfacePermission { + s.AwsAccountId = &v + return s +} + +// SetAwsService sets the AwsService field's value. +func (s *NetworkInterfacePermission) SetAwsService(v string) *NetworkInterfacePermission { + s.AwsService = &v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *NetworkInterfacePermission) SetNetworkInterfaceId(v string) *NetworkInterfacePermission { + s.NetworkInterfaceId = &v + return s +} + +// SetNetworkInterfacePermissionId sets the NetworkInterfacePermissionId field's value. +func (s *NetworkInterfacePermission) SetNetworkInterfacePermissionId(v string) *NetworkInterfacePermission { + s.NetworkInterfacePermissionId = &v + return s +} + +// SetPermission sets the Permission field's value. +func (s *NetworkInterfacePermission) SetPermission(v string) *NetworkInterfacePermission { + s.Permission = &v + return s +} + +// SetPermissionState sets the PermissionState field's value. +func (s *NetworkInterfacePermission) SetPermissionState(v *NetworkInterfacePermissionState) *NetworkInterfacePermission { + s.PermissionState = v + return s +} + +// Describes the state of a network interface permission. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermissionState +type NetworkInterfacePermissionState struct { + _ struct{} `type:"structure"` + + // The state of the permission. + State *string `locationName:"state" type:"string" enum:"NetworkInterfacePermissionStateCode"` + + // A status message, if applicable. + StatusMessage *string `locationName:"statusMessage" type:"string"` +} + +// String returns the string representation +func (s NetworkInterfacePermissionState) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInterfacePermissionState) GoString() string { + return s.String() +} + +// SetState sets the State field's value. +func (s *NetworkInterfacePermissionState) SetState(v string) *NetworkInterfacePermissionState { + s.State = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *NetworkInterfacePermissionState) SetStatusMessage(v string) *NetworkInterfacePermissionState { + s.StatusMessage = &v + return s +} + // Describes the private IPv4 address of a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePrivateIpAddress type NetworkInterfacePrivateIpAddress struct { @@ -57907,6 +58535,14 @@ const ( InstanceTypeF116xlarge = "f1.16xlarge" ) +const ( + // InterfacePermissionTypeInstanceAttach is a InterfacePermissionType enum value + InterfacePermissionTypeInstanceAttach = "INSTANCE-ATTACH" + + // InterfacePermissionTypeEipAssociate is a InterfacePermissionType enum value + InterfacePermissionTypeEipAssociate = "EIP-ASSOCIATE" +) + const ( // ListingStateAvailable is a ListingState enum value ListingStateAvailable = "available" @@ -57988,6 +58624,20 @@ const ( NetworkInterfaceAttributeAttachment = "attachment" ) +const ( + // NetworkInterfacePermissionStateCodePending is a NetworkInterfacePermissionStateCode enum value + NetworkInterfacePermissionStateCodePending = "pending" + + // NetworkInterfacePermissionStateCodeGranted is a NetworkInterfacePermissionStateCode enum value + NetworkInterfacePermissionStateCodeGranted = "granted" + + // NetworkInterfacePermissionStateCodeRevoking is a NetworkInterfacePermissionStateCode enum value + NetworkInterfacePermissionStateCodeRevoking = "revoking" + + // NetworkInterfacePermissionStateCodeRevoked is a NetworkInterfacePermissionStateCode enum value + NetworkInterfacePermissionStateCodeRevoked = "revoked" +) + const ( // NetworkInterfaceStatusAvailable is a NetworkInterfaceStatus enum value NetworkInterfaceStatusAvailable = "available" diff --git a/vendor/vendor.json b/vendor/vendor.json index cc0a719a9d34..b9e871636e61 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -27,652 +27,652 @@ "revisionTime": "2016-08-26T14:30:32Z" }, { - "checksumSHA1": "nDW4/vdHc9LNbui2yq4TJpHJoc8=", + "checksumSHA1": "2sLnrB/GleHS+NvxoUeTuORTPik=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "n98FANpNeRT5kf6pizdpI7nm6Sw=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "7/8j/q0TWtOgXyvEcv4B2Dhl00o=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Y+cPwQL0dZMyqp3wI+KJWmA9KQ8=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "u3GOAJLmdvbuNUeUEcZSEAOeL/0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "JEYqmF83O5n5bHkupAzA6STm0no=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ZdtYh3ZHSgP/WEIaqwJHTEhpkbs=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "/EXbk/z2TWjWc1Hvb4QYs3Wmhb8=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "vUT1+nhQHFsMQ9AQtF+3jbEOmjM=", "path": "github.com/aws/aws-sdk-go/aws/endpoints", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "NdSLt5tUXPmkmb9hWpIY/tqu10o=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Y20DEtMtbfE9qTtmoi2NYV1x7aA=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "M11PbBLBimxBByeaakhFkhp7t7s=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "04ypv4x12l4q0TksA1zEVsmgpvw=", "path": "github.com/aws/aws-sdk-go/internal/shareddefaults", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "O6hcK24yI6w7FA+g4Pbr+eQ7pys=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Drt1JfLMa0DQEZLWrnMlTWaIcC8=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "VCTh+dEaqqhog5ncy/WTt9+/gFM=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "0qYPUga28aQVkxZgBR3Z86AbGUQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ByXfXvSQCvkb9iJ44fDWUP6h+Nk=", "path": "github.com/aws/aws-sdk-go/service/acm", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { - "checksumSHA1": "Vty8Iim26/C2eW4v5ID75vXoQj0=", + "checksumSHA1": "o7DFuLMYVW38NPjLwXSupBQ7xSc=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "RfpJ39QCYQP6Xg6+We6t87Tf7bQ=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { - "checksumSHA1": "y1rEAHCCFNKFXtzGeNTuSkxdxnw=", + "checksumSHA1": "r+U015cgMS59w+JulNUMVw/JXW4=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "H36nvtC7Uxl6I3NlRbgSYHqIhyQ=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "V8S9dF7EzPggFLYKQ86z5rTZhHg=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "hj0mJrjPfyAc8kHGDcXnMuMVozg=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "ifO/mJ8Qk8Qi09qwH9LLymqVfwo=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "WdK6FSMhKcaMItavlHcjv3qpUV0=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "eJJjXlK7MLOlZhu8741//GZj0ZQ=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "9HEcT7rmgDmH6cz/w70mUyu62jQ=", "path": "github.com/aws/aws-sdk-go/service/codebuild", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "BsfbsSZlJdNvYlM/ykGHTZVoLY0=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "tK1JfJ1vPlusBWvmnhi/IEOS1BQ=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "P/ekvVIveEa9RGkojrCvXbROA/8=", "path": "github.com/aws/aws-sdk-go/service/codepipeline", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "W+yGe3hYhzKMlRE/0jR4B6FpDJY=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentity", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "8e/a7xOBlUIwwitOO92ivARo5FY=", "path": "github.com/aws/aws-sdk-go/service/configservice", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "lcO5JYpyiuW4JunEOomXHNZ3Ng4=", "path": "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "JsCuHtHM4ql9lVjpCJ869L7irZk=", "path": "github.com/aws/aws-sdk-go/service/devicefarm", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "JojT4LrKr1HbmdQaokxyWae2P1Q=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "dcUwKQHxD9+ap+/MP9gZ6kT/lXI=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { - "checksumSHA1": "ODsC4L0zByTCs3G+P5yRPjNZTps=", + "checksumSHA1": "5LJf/vui7G4xHVf4Ldkh9c6CZOU=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Lwqoi9aWc+j6dzkgt06LLR7i1XA=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Tu51GVM0Y0bxV5R/PFAGOwmz2oE=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "WJ0qqKev5awu3aOPmYEmLz2B7Tw=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "aO69igvJSXy8Hw3zCP2g9d/icv4=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "bnl0q1BLkaBD6rD7n1tWemceVzI=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "omf+Wesp5JG8FrhzLXJgItIYAHk=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "VWn6yZTaOgD0daNMBAQWnc5tOp4=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "zO981nwQtyThaU7UCG2bAYWjSXA=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "P0SzxhcZ8vFMDys3qIWQW7MhD8k=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "TJDUTql/Ls5Ds86pLO1F2b/DqdA=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "FCPGPaaFgN9iWup3dVCDVt0Yqp0=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "g/B0cturzQMWZN+VJwm9izYoQ5Q=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "sUTXkrAohDlfGKgkLEYh9UawmL0=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "oYVrMzwK3o8fi9ejIhN9R5h4KRc=", "path": "github.com/aws/aws-sdk-go/service/inspector", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Yhbh4XxAWvT1et0e5Oa6J33BoNM=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "iOLp70dVG6oHa0SOlXq09xWbjpc=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "nsfUS9lTxnvxpUoT4X0DilnAlas=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "viVQNFeOJVfRhWbUtargtu8rprQ=", "path": "github.com/aws/aws-sdk-go/service/lightsail", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "y16WbkNBVJcuU5NcBJIMYAdJjdE=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "gCTZVPwRzFgt+Ve9KKtp7SAgzx4=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "Q8CPmpN6L73bkhA7rEy1ciy6izo=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "+3OJQeTt+pNZG7stx6UxWV8h3gM=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "pcu4JmexXezf+DJwTfB+TW53K1k=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "wCql3QDkXRHDY6Cm6GSUijoeDcg=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "EPVYa41c+FwHj5as9Px5zCZmxlQ=", "path": "github.com/aws/aws-sdk-go/service/sfn", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "qbJgxyoq6VmwEtQR5uT9KVYqV6I=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "vP/0ADSA7kkW5CCadIpV3Q6s+DQ=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "/2BKYAF4iJKOIiOixgXWb0tVclE=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "21ock5nsBaaxYDSg/qOGnuRmsEk=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "VH5y62f+SDyEIqnTibiPtQ687i8=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "VrGWZDRPBV7ZY45FL7pXe7xdn2w=", "path": "github.com/aws/aws-sdk-go/service/waf", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "8qBprJFpt2LkAohfOcmwQEcX5pE=", "path": "github.com/aws/aws-sdk-go/service/wafregional", - "revision": "b1a7b51924b90a6ecdbaeb17e96418740ff07a1e", - "revisionTime": "2017-07-06T22:38:36Z", - "version": "v1.10.8", - "versionExact": "v1.10.8" + "revision": "1fd5dd46e2bf3e0be156701a559098dc823053d5", + "revisionTime": "2017-07-13T17:42:44Z", + "version": "v1.10.10", + "versionExact": "v1.10.10" }, { "checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",