vendor: update all dependencies

* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
This commit is contained in:
Nick Craig-Wood
2018-05-05 15:52:24 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443412 additions and 227278 deletions
+116 -36
View File
@@ -15,7 +15,7 @@ const opAssociateFleet = "AssociateFleet"
// AssociateFleetRequest generates a "aws/request.Request" representing the
// client's request for the AssociateFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -68,6 +68,10 @@ func (c *AppStream) AssociateFleetRequest(input *AssociateFleetInput) (req *requ
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource was not found.
//
@@ -106,7 +110,7 @@ const opCopyImage = "CopyImage"
// CopyImageRequest generates a "aws/request.Request" representing the
// client's request for the CopyImage operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -169,6 +173,10 @@ func (c *AppStream) CopyImageRequest(input *CopyImageInput) (req *request.Reques
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeIncompatibleImageException "IncompatibleImageException"
// The image does not support storage connectors.
//
@@ -198,7 +206,7 @@ const opCreateDirectoryConfig = "CreateDirectoryConfig"
// CreateDirectoryConfigRequest generates a "aws/request.Request" representing the
// client's request for the CreateDirectoryConfig operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -254,6 +262,10 @@ func (c *AppStream) CreateDirectoryConfigRequest(input *CreateDirectoryConfigInp
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig
func (c *AppStream) CreateDirectoryConfig(input *CreateDirectoryConfigInput) (*CreateDirectoryConfigOutput, error) {
req, out := c.CreateDirectoryConfigRequest(input)
@@ -280,7 +292,7 @@ const opCreateFleet = "CreateFleet"
// CreateFleetRequest generates a "aws/request.Request" representing the
// client's request for the CreateFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -342,6 +354,10 @@ func (c *AppStream) CreateFleetRequest(input *CreateFleetInput) (req *request.Re
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeInvalidRoleException "InvalidRoleException"
// The specified role is invalid.
//
@@ -380,7 +396,7 @@ const opCreateImageBuilder = "CreateImageBuilder"
// CreateImageBuilderRequest generates a "aws/request.Request" representing the
// client's request for the CreateImageBuilder operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -436,6 +452,10 @@ func (c *AppStream) CreateImageBuilderRequest(input *CreateImageBuilderInput) (r
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
@@ -483,7 +503,7 @@ const opCreateImageBuilderStreamingURL = "CreateImageBuilderStreamingURL"
// CreateImageBuilderStreamingURLRequest generates a "aws/request.Request" representing the
// client's request for the CreateImageBuilderStreamingURL operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -565,7 +585,7 @@ const opCreateStack = "CreateStack"
// CreateStackRequest generates a "aws/request.Request" representing the
// client's request for the CreateStack operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -618,6 +638,10 @@ func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Re
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
@@ -659,7 +683,7 @@ const opCreateStreamingURL = "CreateStreamingURL"
// CreateStreamingURLRequest generates a "aws/request.Request" representing the
// client's request for the CreateStreamingURL operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -747,7 +771,7 @@ const opDeleteDirectoryConfig = "DeleteDirectoryConfig"
// DeleteDirectoryConfigRequest generates a "aws/request.Request" representing the
// client's request for the DeleteDirectoryConfig operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -829,7 +853,7 @@ const opDeleteFleet = "DeleteFleet"
// DeleteFleetRequest generates a "aws/request.Request" representing the
// client's request for the DeleteFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -914,7 +938,7 @@ const opDeleteImage = "DeleteImage"
// DeleteImageRequest generates a "aws/request.Request" representing the
// client's request for the DeleteImage operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1004,7 +1028,7 @@ const opDeleteImageBuilder = "DeleteImageBuilder"
// DeleteImageBuilderRequest generates a "aws/request.Request" representing the
// client's request for the DeleteImageBuilder operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1089,7 +1113,7 @@ const opDeleteStack = "DeleteStack"
// DeleteStackRequest generates a "aws/request.Request" representing the
// client's request for the DeleteStack operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1175,7 +1199,7 @@ const opDescribeDirectoryConfigs = "DescribeDirectoryConfigs"
// DescribeDirectoryConfigsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeDirectoryConfigs operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1256,7 +1280,7 @@ const opDescribeFleets = "DescribeFleets"
// DescribeFleetsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeFleets operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1335,7 +1359,7 @@ const opDescribeImageBuilders = "DescribeImageBuilders"
// DescribeImageBuildersRequest generates a "aws/request.Request" representing the
// client's request for the DescribeImageBuilders operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1414,7 +1438,7 @@ const opDescribeImages = "DescribeImages"
// DescribeImagesRequest generates a "aws/request.Request" representing the
// client's request for the DescribeImages operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1493,7 +1517,7 @@ const opDescribeSessions = "DescribeSessions"
// DescribeSessionsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeSessions operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1575,7 +1599,7 @@ const opDescribeStacks = "DescribeStacks"
// DescribeStacksRequest generates a "aws/request.Request" representing the
// client's request for the DescribeStacks operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1654,7 +1678,7 @@ const opDisassociateFleet = "DisassociateFleet"
// DisassociateFleetRequest generates a "aws/request.Request" representing the
// client's request for the DisassociateFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1739,7 +1763,7 @@ const opExpireSession = "ExpireSession"
// ExpireSessionRequest generates a "aws/request.Request" representing the
// client's request for the ExpireSession operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1813,7 +1837,7 @@ const opListAssociatedFleets = "ListAssociatedFleets"
// ListAssociatedFleetsRequest generates a "aws/request.Request" representing the
// client's request for the ListAssociatedFleets operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1887,7 +1911,7 @@ const opListAssociatedStacks = "ListAssociatedStacks"
// ListAssociatedStacksRequest generates a "aws/request.Request" representing the
// client's request for the ListAssociatedStacks operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -1961,7 +1985,7 @@ const opListTagsForResource = "ListTagsForResource"
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
// client's request for the ListTagsForResource operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2044,7 +2068,7 @@ const opStartFleet = "StartFleet"
// StartFleetRequest generates a "aws/request.Request" representing the
// client's request for the StartFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2103,6 +2127,10 @@ func (c *AppStream) StartFleetRequest(input *StartFleetInput) (req *request.Requ
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// An API error occurred. Wait a few minutes and try again.
//
@@ -2132,7 +2160,7 @@ const opStartImageBuilder = "StartImageBuilder"
// StartImageBuilderRequest generates a "aws/request.Request" representing the
// client's request for the StartImageBuilder operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2191,6 +2219,10 @@ func (c *AppStream) StartImageBuilderRequest(input *StartImageBuilderInput) (req
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// An API error occurred. Wait a few minutes and try again.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeIncompatibleImageException "IncompatibleImageException"
// The image does not support storage connectors.
//
@@ -2220,7 +2252,7 @@ const opStopFleet = "StopFleet"
// StopFleetRequest generates a "aws/request.Request" representing the
// client's request for the StopFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2302,7 +2334,7 @@ const opStopImageBuilder = "StopImageBuilder"
// StopImageBuilderRequest generates a "aws/request.Request" representing the
// client's request for the StopImageBuilder operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2387,7 +2419,7 @@ const opTagResource = "TagResource"
// TagResourceRequest generates a "aws/request.Request" representing the
// client's request for the TagResource operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2450,6 +2482,10 @@ func (c *AppStream) TagResourceRequest(input *TagResourceInput) (req *request.Re
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource was not found.
//
@@ -2479,7 +2515,7 @@ const opUntagResource = "UntagResource"
// UntagResourceRequest generates a "aws/request.Request" representing the
// client's request for the UntagResource operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2563,7 +2599,7 @@ const opUpdateDirectoryConfig = "UpdateDirectoryConfig"
// UpdateDirectoryConfigRequest generates a "aws/request.Request" representing the
// client's request for the UpdateDirectoryConfig operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2648,7 +2684,7 @@ const opUpdateFleet = "UpdateFleet"
// UpdateFleetRequest generates a "aws/request.Request" representing the
// client's request for the UpdateFleet operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2709,6 +2745,10 @@ func (c *AppStream) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Re
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeInvalidRoleException "InvalidRoleException"
// The specified role is invalid.
//
@@ -2756,7 +2796,7 @@ const opUpdateStack = "UpdateStack"
// UpdateStackRequest generates a "aws/request.Request" representing the
// client's request for the UpdateStack operation. The "output" return
// value will be populated with the request's response once the request complets
// value will be populated with the request's response once the request completes
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
@@ -2821,6 +2861,10 @@ func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Re
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested limit exceeds the permitted limit for an account.
//
// * ErrCodeInvalidAccountStatusException "InvalidAccountStatusException"
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
//
// * ErrCodeIncompatibleImageException "IncompatibleImageException"
// The image does not support storage connectors.
//
@@ -3769,12 +3813,16 @@ type CreateStackInput struct {
// The stack name for display.
DisplayName *string `type:"string"`
// The URL that users are redirected to after they click the Send Feedback link.
// If no URL is specified, no Send Feedback link is displayed.
FeedbackURL *string `type:"string"`
// The name of the stack.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The URL the user is redirected to after the streaming session ends.
// The URL that users are redirected to after their streaming session ends.
RedirectURL *string `type:"string"`
// The storage connectors to enable.
@@ -3829,6 +3877,12 @@ func (s *CreateStackInput) SetDisplayName(v string) *CreateStackInput {
return s
}
// SetFeedbackURL sets the FeedbackURL field's value.
func (s *CreateStackInput) SetFeedbackURL(v string) *CreateStackInput {
s.FeedbackURL = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateStackInput) SetName(v string) *CreateStackInput {
s.Name = &v
@@ -6047,12 +6101,16 @@ type Stack struct {
// The stack name for display.
DisplayName *string `min:"1" type:"string"`
// The URL that users are redirected to after they click the Send Feedback link.
// If no URL is specified, no Send Feedback link is displayed.
FeedbackURL *string `type:"string"`
// The name of the stack.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The URL the user is redirected to after the streaming session ends.
// The URL that users are redirected to after their streaming session ends.
RedirectURL *string `type:"string"`
// The errors for the stack.
@@ -6096,6 +6154,12 @@ func (s *Stack) SetDisplayName(v string) *Stack {
return s
}
// SetFeedbackURL sets the FeedbackURL field's value.
func (s *Stack) SetFeedbackURL(v string) *Stack {
s.FeedbackURL = &v
return s
}
// SetName sets the Name field's value.
func (s *Stack) SetName(v string) *Stack {
s.Name = &v
@@ -6924,12 +6988,16 @@ type UpdateStackInput struct {
// The stack name for display.
DisplayName *string `type:"string"`
// The URL that users are redirected to after they click the Send Feedback link.
// If no URL is specified, no Send Feedback link is displayed.
FeedbackURL *string `type:"string"`
// The name of the stack.
//
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
// The URL the user is redirected to after the streaming session ends.
// The URL that users are redirected to after their streaming session ends.
RedirectURL *string `type:"string"`
// The storage connectors to enable.
@@ -6996,6 +7064,12 @@ func (s *UpdateStackInput) SetDisplayName(v string) *UpdateStackInput {
return s
}
// SetFeedbackURL sets the FeedbackURL field's value.
func (s *UpdateStackInput) SetFeedbackURL(v string) *UpdateStackInput {
s.FeedbackURL = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateStackInput) SetName(v string) *UpdateStackInput {
s.Name = &v
@@ -7283,6 +7357,12 @@ const (
// StackAttributeRedirectUrl is a StackAttribute enum value
StackAttributeRedirectUrl = "REDIRECT_URL"
// StackAttributeFeedbackUrl is a StackAttribute enum value
StackAttributeFeedbackUrl = "FEEDBACK_URL"
// StackAttributeThemeName is a StackAttribute enum value
StackAttributeThemeName = "THEME_NAME"
)
const (
+7
View File
@@ -16,6 +16,13 @@ const (
// The image does not support storage connectors.
ErrCodeIncompatibleImageException = "IncompatibleImageException"
// ErrCodeInvalidAccountStatusException for service response error code
// "InvalidAccountStatusException".
//
// The resource cannot be created because your AWS account is suspended. For
// assistance, contact AWS Support.
ErrCodeInvalidAccountStatusException = "InvalidAccountStatusException"
// ErrCodeInvalidParameterCombinationException for service response error code
// "InvalidParameterCombinationException".
//
+3 -3
View File
@@ -45,14 +45,14 @@ const (
// svc := appstream.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppStream {
c := p.ClientConfig(EndpointsID, cfgs...)
if c.SigningNameDerived || len(c.SigningName) == 0 {
c.SigningName = "appstream"
}
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
}
// newClient creates, initializes and returns a new service client instance.
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *AppStream {
if len(signingName) == 0 {
signingName = "appstream"
}
svc := &AppStream{
Client: client.New(
cfg,