vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -3827,6 +3827,10 @@ type CreateStackInput struct {
// The storage connectors to enable.
StorageConnectors []*StorageConnector `type:"list"`
// The actions that are enabled or disabled for users during their streaming
// sessions. By default, these actions are enabled.
UserSettings []*UserSetting `min:"1" type:"list"`
}
// String returns the string representation
@ -3848,6 +3852,9 @@ func (s *CreateStackInput) Validate() error {
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if s.UserSettings != nil && len(s.UserSettings) < 1 {
invalidParams.Add(request.NewErrParamMinLen("UserSettings", 1))
}
if s.StorageConnectors != nil {
for i, v := range s.StorageConnectors {
if v == nil {
@ -3858,6 +3865,16 @@ func (s *CreateStackInput) Validate() error {
}
}
}
if s.UserSettings != nil {
for i, v := range s.UserSettings {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserSettings", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
@ -3901,6 +3918,12 @@ func (s *CreateStackInput) SetStorageConnectors(v []*StorageConnector) *CreateSt
return s
}
// SetUserSettings sets the UserSettings field's value.
func (s *CreateStackInput) SetUserSettings(v []*UserSetting) *CreateStackInput {
s.UserSettings = v
return s
}
type CreateStackOutput struct {
_ struct{} `type:"structure"`
@ -6118,6 +6141,10 @@ type Stack struct {
// The storage connectors to enable.
StorageConnectors []*StorageConnector `type:"list"`
// The actions that are enabled or disabled for users during their streaming
// sessions. By default these actions are enabled.
UserSettings []*UserSetting `min:"1" type:"list"`
}
// String returns the string representation
@ -6184,6 +6211,12 @@ func (s *Stack) SetStorageConnectors(v []*StorageConnector) *Stack {
return s
}
// SetUserSettings sets the UserSettings field's value.
func (s *Stack) SetUserSettings(v []*UserSetting) *Stack {
s.UserSettings = v
return s
}
// Describes a stack error.
type StackError struct {
_ struct{} `type:"structure"`
@ -6468,7 +6501,7 @@ func (s *StopImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *StopImageBuil
return s
}
// Describes a storage connector.
// Describes a connector to enable persistent storage for users.
type StorageConnector struct {
_ struct{} `type:"structure"`
@ -6477,6 +6510,9 @@ type StorageConnector struct {
// ConnectorType is a required field
ConnectorType *string `type:"string" required:"true" enum:"StorageConnectorType"`
// The names of the domains for the G Suite account.
Domains []*string `type:"list"`
// The ARN of the storage connector.
ResourceIdentifier *string `min:"1" type:"string"`
}
@ -6513,6 +6549,12 @@ func (s *StorageConnector) SetConnectorType(v string) *StorageConnector {
return s
}
// SetDomains sets the Domains field's value.
func (s *StorageConnector) SetDomains(v []*string) *StorageConnector {
s.Domains = v
return s
}
// SetResourceIdentifier sets the ResourceIdentifier field's value.
func (s *StorageConnector) SetResourceIdentifier(v string) *StorageConnector {
s.ResourceIdentifier = &v
@ -7002,6 +7044,10 @@ type UpdateStackInput struct {
// The storage connectors to enable.
StorageConnectors []*StorageConnector `type:"list"`
// The actions that are enabled or disabled for users during their streaming
// sessions. By default, these actions are enabled.
UserSettings []*UserSetting `min:"1" type:"list"`
}
// String returns the string representation
@ -7023,6 +7069,9 @@ func (s *UpdateStackInput) Validate() error {
if s.Name != nil && len(*s.Name) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Name", 1))
}
if s.UserSettings != nil && len(s.UserSettings) < 1 {
invalidParams.Add(request.NewErrParamMinLen("UserSettings", 1))
}
if s.StorageConnectors != nil {
for i, v := range s.StorageConnectors {
if v == nil {
@ -7033,6 +7082,16 @@ func (s *UpdateStackInput) Validate() error {
}
}
}
if s.UserSettings != nil {
for i, v := range s.UserSettings {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserSettings", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
@ -7088,6 +7147,12 @@ func (s *UpdateStackInput) SetStorageConnectors(v []*StorageConnector) *UpdateSt
return s
}
// SetUserSettings sets the UserSettings field's value.
func (s *UpdateStackInput) SetUserSettings(v []*UserSetting) *UpdateStackInput {
s.UserSettings = v
return s
}
type UpdateStackOutput struct {
_ struct{} `type:"structure"`
@ -7111,6 +7176,60 @@ func (s *UpdateStackOutput) SetStack(v *Stack) *UpdateStackOutput {
return s
}
// Describes an action and whether the action is enabled or disabled for users
// during their streaming sessions.
type UserSetting struct {
_ struct{} `type:"structure"`
// The action that is enabled or disabled.
//
// Action is a required field
Action *string `type:"string" required:"true" enum:"Action"`
// Indicates whether the action is enabled or disabled.
//
// Permission is a required field
Permission *string `type:"string" required:"true" enum:"Permission"`
}
// String returns the string representation
func (s UserSetting) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UserSetting) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UserSetting) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UserSetting"}
if s.Action == nil {
invalidParams.Add(request.NewErrParamRequired("Action"))
}
if s.Permission == nil {
invalidParams.Add(request.NewErrParamRequired("Permission"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAction sets the Action field's value.
func (s *UserSetting) SetAction(v string) *UserSetting {
s.Action = &v
return s
}
// SetPermission sets the Permission field's value.
func (s *UserSetting) SetPermission(v string) *UserSetting {
s.Permission = &v
return s
}
// Describes VPC configuration information.
type VpcConfig struct {
_ struct{} `type:"structure"`
@ -7144,6 +7263,23 @@ func (s *VpcConfig) SetSubnetIds(v []*string) *VpcConfig {
return s
}
const (
// ActionClipboardCopyFromLocalDevice is a Action enum value
ActionClipboardCopyFromLocalDevice = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"
// ActionClipboardCopyToLocalDevice is a Action enum value
ActionClipboardCopyToLocalDevice = "CLIPBOARD_COPY_TO_LOCAL_DEVICE"
// ActionFileUpload is a Action enum value
ActionFileUpload = "FILE_UPLOAD"
// ActionFileDownload is a Action enum value
ActionFileDownload = "FILE_DOWNLOAD"
// ActionPrintingToLocalDevice is a Action enum value
ActionPrintingToLocalDevice = "PRINTING_TO_LOCAL_DEVICE"
)
const (
// AuthenticationTypeApi is a AuthenticationType enum value
AuthenticationTypeApi = "API"
@ -7334,6 +7470,14 @@ const (
ImageStateChangeReasonCodeImageCopyFailure = "IMAGE_COPY_FAILURE"
)
const (
// PermissionEnabled is a Permission enum value
PermissionEnabled = "ENABLED"
// PermissionDisabled is a Permission enum value
PermissionDisabled = "DISABLED"
)
const (
// PlatformTypeWindows is a PlatformType enum value
PlatformTypeWindows = "WINDOWS"
@ -7355,6 +7499,12 @@ const (
// StackAttributeStorageConnectors is a StackAttribute enum value
StackAttributeStorageConnectors = "STORAGE_CONNECTORS"
// StackAttributeStorageConnectorHomefolders is a StackAttribute enum value
StackAttributeStorageConnectorHomefolders = "STORAGE_CONNECTOR_HOMEFOLDERS"
// StackAttributeStorageConnectorGoogleDrive is a StackAttribute enum value
StackAttributeStorageConnectorGoogleDrive = "STORAGE_CONNECTOR_GOOGLE_DRIVE"
// StackAttributeRedirectUrl is a StackAttribute enum value
StackAttributeRedirectUrl = "REDIRECT_URL"
@ -7363,6 +7513,9 @@ const (
// StackAttributeThemeName is a StackAttribute enum value
StackAttributeThemeName = "THEME_NAME"
// StackAttributeUserSettings is a StackAttribute enum value
StackAttributeUserSettings = "USER_SETTINGS"
)
const (
@ -7377,6 +7530,9 @@ const (
const (
// StorageConnectorTypeHomefolders is a StorageConnectorType enum value
StorageConnectorTypeHomefolders = "HOMEFOLDERS"
// StorageConnectorTypeGoogleDrive is a StorageConnectorType enum value
StorageConnectorTypeGoogleDrive = "GOOGLE_DRIVE"
)
const (