diff --git a/Makefile b/Makefile index 2f3d0cf00ec..a36e4a0e2f9 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,6 @@ generate-test: generate-protocol-test generate-integration-test generate: go generate ./aws go generate ./service + +test: generate-test + go test ./... -tags=integration diff --git a/aws/config.go b/aws/config.go index b46337bc664..63dc81fc0d5 100644 --- a/aws/config.go +++ b/aws/config.go @@ -8,25 +8,27 @@ import ( const DEFAULT_RETRIES = -1 var DefaultConfig = &Config{ - Credentials: DefaultCreds(), - Endpoint: "", - Region: os.Getenv("AWS_REGION"), - DisableSSL: false, - ManualSend: false, - HTTPClient: http.DefaultClient, - LogLevel: 0, - MaxRetries: DEFAULT_RETRIES, + Credentials: DefaultCreds(), + Endpoint: "", + Region: os.Getenv("AWS_REGION"), + DisableSSL: false, + ManualSend: false, + HTTPClient: http.DefaultClient, + LogLevel: 0, + MaxRetries: DEFAULT_RETRIES, + DisableParamValidation: false, } type Config struct { - Credentials CredentialsProvider - Endpoint string - Region string - DisableSSL bool - ManualSend bool - HTTPClient *http.Client - LogLevel uint - MaxRetries int + Credentials CredentialsProvider + Endpoint string + Region string + DisableSSL bool + ManualSend bool + HTTPClient *http.Client + LogLevel uint + MaxRetries int + DisableParamValidation bool } func (c Config) Merge(newcfg *Config) *Config { @@ -80,5 +82,11 @@ func (c Config) Merge(newcfg *Config) *Config { cfg.MaxRetries = c.MaxRetries } + if newcfg != nil && newcfg.DisableParamValidation { + cfg.DisableParamValidation = newcfg.DisableParamValidation + } else { + cfg.DisableParamValidation = c.DisableParamValidation + } + return &cfg } diff --git a/aws/handlers.go b/aws/handlers.go index 346bb0e5ef7..f7c135fed98 100644 --- a/aws/handlers.go +++ b/aws/handlers.go @@ -3,6 +3,7 @@ package aws import "container/list" type Handlers struct { + Validate HandlerList Build HandlerList Sign HandlerList Send HandlerList @@ -16,6 +17,7 @@ type Handlers struct { func (h *Handlers) copy() Handlers { return Handlers{ + Validate: h.Validate.copy(), Build: h.Build.copy(), Sign: h.Sign.copy(), Send: h.Send.copy(), @@ -30,6 +32,7 @@ func (h *Handlers) copy() Handlers { // Clear removes callback functions for all handlers func (h *Handlers) Clear() { + h.Validate.Init() h.Build.Init() h.Send.Init() h.Sign.Init() diff --git a/aws/param_validator.go b/aws/param_validator.go new file mode 100644 index 00000000000..e1cb5cea541 --- /dev/null +++ b/aws/param_validator.go @@ -0,0 +1,80 @@ +package aws + +import ( + "fmt" + "reflect" + "strings" +) + +func ValidateParameters(r *Request) { + if r.ParamsFilled() { + v := validator{errors: []string{}} + v.validateAny(reflect.ValueOf(r.Params), "") + + if count := len(v.errors); count > 0 { + format := "%d validation errors:\n- %s" + msg := fmt.Sprintf(format, count, strings.Join(v.errors, "\n- ")) + r.Error = APIError{Code: "InvalidParameter", Message: msg} + } + } +} + +type validator struct { + errors []string +} + +func (v *validator) validateAny(value reflect.Value, path string) { + value = reflect.Indirect(value) + if !value.IsValid() { + return + } + + switch value.Kind() { + case reflect.Struct: + v.validateStruct(value, path) + case reflect.Slice: + for i := 0; i < value.Len(); i++ { + v.validateAny(value.Index(i), path+fmt.Sprintf("[%d]", i)) + } + case reflect.Map: + for _, n := range value.MapKeys() { + v.validateAny(value.MapIndex(n), path+fmt.Sprintf("[%q]", n.String())) + } + } +} + +func (v *validator) validateStruct(value reflect.Value, path string) { + prefix := "." + if path == "" { + prefix = "" + } + + for i := 0; i < value.Type().NumField(); i++ { + f := value.Type().Field(i) + if strings.ToLower(f.Name[0:1]) == f.Name[0:1] { + continue + } + fvalue := value.FieldByName(f.Name) + + notset := false + if f.Tag.Get("required") != "" { + switch fvalue.Kind() { + case reflect.Ptr, reflect.Slice: + if fvalue.IsNil() { + notset = true + } + default: + if !fvalue.IsValid() { + notset = true + } + } + } + + if notset { + msg := "missing required parameter: " + path + prefix + f.Name + v.errors = append(v.errors, msg) + } else { + v.validateAny(fvalue, path+prefix+f.Name) + } + } +} diff --git a/aws/param_validator_test.go b/aws/param_validator_test.go new file mode 100644 index 00000000000..08deca15a18 --- /dev/null +++ b/aws/param_validator_test.go @@ -0,0 +1,85 @@ +package aws_test + +import ( + "testing" + + "github.com/awslabs/aws-sdk-go/aws" + "github.com/stretchr/testify/assert" +) + +var service = func() *aws.Service { + s := &aws.Service{ + Config: &aws.Config{}, + ServiceName: "mock-service", + APIVersion: "2015-01-01", + } + return s +}() + +type StructShape struct { + RequiredList []*ConditionalStructShape `required:"true"` + RequiredMap *map[string]*ConditionalStructShape `required:"true"` + RequiredBool *bool `required:"true"` + OptionalStruct *ConditionalStructShape + + hiddenParameter *string + + metadataStructureShape +} + +type metadataStructureShape struct { + SDKShapeTraits bool +} + +type ConditionalStructShape struct { + Name *string `required:"true"` + SDKShapeTraits bool +} + +func TestNoErrors(t *testing.T) { + input := &StructShape{ + RequiredList: []*ConditionalStructShape{}, + RequiredMap: &map[string]*ConditionalStructShape{ + "key1": &ConditionalStructShape{Name: aws.String("Name")}, + "key2": &ConditionalStructShape{Name: aws.String("Name")}, + }, + RequiredBool: aws.Boolean(true), + OptionalStruct: &ConditionalStructShape{Name: aws.String("Name")}, + } + + req := aws.NewRequest(service, &aws.Operation{}, input, nil) + aws.ValidateParameters(req) + assert.NoError(t, req.Error) +} + +func TestMissingRequiredParameters(t *testing.T) { + input := &StructShape{} + req := aws.NewRequest(service, &aws.Operation{}, input, nil) + aws.ValidateParameters(req) + err := aws.Error(req.Error) + + assert.Error(t, err) + assert.Equal(t, "InvalidParameter", err.Code) + assert.Equal(t, "3 validation errors:\n- missing required parameter: RequiredList\n- missing required parameter: RequiredMap\n- missing required parameter: RequiredBool", err.Message) +} + +func TestNestedMissingRequiredParameters(t *testing.T) { + input := &StructShape{ + RequiredList: []*ConditionalStructShape{&ConditionalStructShape{}}, + RequiredMap: &map[string]*ConditionalStructShape{ + "key1": &ConditionalStructShape{Name: aws.String("Name")}, + "key2": &ConditionalStructShape{}, + }, + RequiredBool: aws.Boolean(true), + OptionalStruct: &ConditionalStructShape{}, + } + + req := aws.NewRequest(service, &aws.Operation{}, input, nil) + aws.ValidateParameters(req) + err := aws.Error(req.Error) + + assert.Error(t, err) + assert.Equal(t, "InvalidParameter", err.Code) + assert.Equal(t, "3 validation errors:\n- missing required parameter: RequiredList[0].Name\n- missing required parameter: RequiredMap[\"key2\"].Name\n- missing required parameter: OptionalStruct.Name", err.Message) + +} diff --git a/aws/request.go b/aws/request.go index 1292d400d89..1c442b1cd4c 100644 --- a/aws/request.go +++ b/aws/request.go @@ -94,6 +94,10 @@ func (r *Request) Presign(expireTime time.Duration) (string, error) { func (r *Request) Build() error { if !r.built { r.Error = nil + r.Handlers.Validate.Run(r) + if r.Error != nil { + return r.Error + } r.Handlers.Build.Run(r) r.built = true } diff --git a/aws/service.go b/aws/service.go index 915cbef3176..f616b124888 100644 --- a/aws/service.go +++ b/aws/service.go @@ -57,6 +57,10 @@ func (s *Service) Initialize() { s.Handlers.ValidateResponse.PushBack(ValidateResponseHandler) s.AddDebugHandlers() s.buildEndpoint() + + if !s.Config.DisableParamValidation { + s.Handlers.Validate.PushBack(ValidateParameters) + } } func (s *Service) buildEndpoint() { diff --git a/internal/model/api/passes.go b/internal/model/api/passes.go index c9acd02dbab..0e94f16ddbf 100644 --- a/internal/model/api/passes.go +++ b/internal/model/api/passes.go @@ -146,6 +146,11 @@ func (a *API) renameExportable() { } s.Payload = a.ExportableName(s.Payload) + + // fix required trait names + for i, n := range s.Required { + s.Required[i] = a.ExportableName(n) + } } } diff --git a/internal/model/api/shape.go b/internal/model/api/shape.go index ae6cd4a83b2..83be0076911 100644 --- a/internal/model/api/shape.go +++ b/internal/model/api/shape.go @@ -124,7 +124,7 @@ func (ref *ShapeRef) GoType() string { return ref.Shape.GoType() } -func (ref *ShapeRef) GoTags(toplevel bool) string { +func (ref *ShapeRef) GoTags(toplevel bool, isRequired bool) string { code := "`" if ref.Location != "" { code += `location:"` + ref.Location + `" ` @@ -174,13 +174,14 @@ func (ref *ShapeRef) GoTags(toplevel bool) string { code += `xmlAttribute:"true" ` } + if isRequired { + code += `required:"true"` + } + if toplevel { if ref.Shape.Payload != "" { code += `payload:"` + ref.Shape.Payload + `" ` } - if len(ref.Shape.Required) > 0 { - code += `required:"` + strings.Join(ref.Shape.Required, ",") + `" ` - } if ref.XMLNamespace.Prefix != "" { code += `xmlPrefix:"` + ref.XMLNamespace.Prefix + `" ` } else if ref.Shape.XMLNamespace.Prefix != "" { @@ -212,9 +213,9 @@ func (s *Shape) GoCode() string { m := s.MemberRefs[n] if (m.Streaming || s.Streaming) && s.Payload == n { s.API.imports["io"] = true - code += n + " io.ReadSeeker " + m.GoTags(false) + "\n" + code += n + " io.ReadSeeker " + m.GoTags(false, s.IsRequired(n)) + "\n" } else { - code += n + " " + m.GoType() + " " + m.GoTags(false) + "\n" + code += n + " " + m.GoType() + " " + m.GoTags(false, s.IsRequired(n)) + "\n" } } metaStruct := "metadata" + s.ShapeName @@ -222,7 +223,7 @@ func (s *Shape) GoCode() string { code += "\n" + metaStruct + " `json:\"-\", xml:\"-\"`\n" code += "}\n\n" code += "type " + metaStruct + " struct {\n" - code += "SDKShapeTraits bool " + ref.GoTags(true) + code += "SDKShapeTraits bool " + ref.GoTags(true, false) code += "}" default: panic("Cannot generate toplevel shape for " + s.Type) @@ -230,3 +231,12 @@ func (s *Shape) GoCode() string { return util.GoFmt(code) } + +func (s *Shape) IsRequired(member string) bool { + for _, n := range s.Required { + if n == member { + return true + } + } + return false +} diff --git a/internal/protocol/jsonrpc/unmarshal_test.go b/internal/protocol/jsonrpc/unmarshal_test.go index cf2979889e4..7813f097699 100644 --- a/internal/protocol/jsonrpc/unmarshal_test.go +++ b/internal/protocol/jsonrpc/unmarshal_test.go @@ -61,7 +61,7 @@ func NewOutputService1ProtocolTest(config *OutputService1ProtocolTestConfig) *Ou } // OutputService1TestCaseOperation1Request generates a request for the OutputService1TestCaseOperation1 operation. -func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *aws.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { +func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *aws.Request, output *OutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output) { if opOutputService1TestCaseOperation1 == nil { opOutputService1TestCaseOperation1 = &aws.Operation{ Name: "OperationName", @@ -69,12 +69,12 @@ func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(inp } req = aws.NewRequest(c.Service, opOutputService1TestCaseOperation1, input, output) - output = &OutputService1TestShapeOutputService1TestCaseOperation1Output{} + output = &OutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output{} req.Data = output return } -func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (output *OutputService1TestShapeOutputService1TestCaseOperation1Output, err error) { +func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (output *OutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output, err error) { req, out := c.OutputService1TestCaseOperation1Request(input) output = out err = req.Send() @@ -91,7 +91,7 @@ type metadataOutputService1TestShapeOutputService1TestCaseOperation1Input struct SDKShapeTraits bool `type:"structure" json:",omitempty"` } -type OutputService1TestShapeOutputService1TestCaseOperation1Output struct { +type OutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output struct { Char *string `type:"character" json:",omitempty"` Double *float64 `type:"double" json:",omitempty"` FalseBool *bool `type:"boolean" json:",omitempty"` @@ -101,10 +101,10 @@ type OutputService1TestShapeOutputService1TestCaseOperation1Output struct { Str *string `type:"string" json:",omitempty"` TrueBool *bool `type:"boolean" json:",omitempty"` - metadataOutputService1TestShapeOutputService1TestCaseOperation1Output `json:"-", xml:"-"` + metadataOutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output `json:"-", xml:"-"` } -type metadataOutputService1TestShapeOutputService1TestCaseOperation1Output struct { +type metadataOutputService1TestShapeOutputService1TestShapeOutputService1TestCaseOperation1Output struct { SDKShapeTraits bool `type:"structure" json:",omitempty"` } diff --git a/internal/protocol/restjson/build_test.go b/internal/protocol/restjson/build_test.go index 6e3d6222645..9dd9fde81f1 100644 --- a/internal/protocol/restjson/build_test.go +++ b/internal/protocol/restjson/build_test.go @@ -492,13 +492,13 @@ var opInputService6TestCaseOperation1 *aws.Operation type InputService6TestShapeInputService6TestCaseOperation1Input struct { Body []byte `locationName:"body" type:"blob" json:"body,omitempty"` Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string" json:"-" xml:"-"` - VaultName *string `location:"uri" locationName:"vaultName" type:"string" json:"-" xml:"-"` + VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"json:"-" xml:"-"` metadataInputService6TestShapeInputService6TestCaseOperation1Input `json:"-", xml:"-"` } type metadataInputService6TestShapeInputService6TestCaseOperation1Input struct { - SDKShapeTraits bool `type:"structure" payload:"Body" required:"vaultName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" payload:"Body" json:",omitempty"` } type InputService6TestShapeInputService6TestCaseOperation1Output struct { diff --git a/service/autoscaling/api.go b/service/autoscaling/api.go index 581375db294..5531592bab0 100644 --- a/service/autoscaling/api.go +++ b/service/autoscaling/api.go @@ -1134,22 +1134,22 @@ func (c *AutoScaling) UpdateAutoScalingGroup(input *UpdateAutoScalingGroupInput) var opUpdateAutoScalingGroup *aws.Operation type Activity struct { - ActivityID *string `locationName:"ActivityId" type:"string"` - AutoScalingGroupName *string `type:"string"` - Cause *string `type:"string"` + ActivityID *string `locationName:"ActivityId" type:"string" required:"true"` + AutoScalingGroupName *string `type:"string" required:"true"` + Cause *string `type:"string" required:"true"` Description *string `type:"string"` Details *string `type:"string"` EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` Progress *int `type:"integer"` - StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - StatusCode *string `type:"string"` + StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + StatusCode *string `type:"string" required:"true"` StatusMessage *string `type:"string"` metadataActivity `json:"-", xml:"-"` } type metadataActivity struct { - SDKShapeTraits bool `type:"structure" required:"ActivityId,AutoScalingGroupName,Cause,StartTime,StatusCode"` + SDKShapeTraits bool `type:"structure"` } type AdjustmentType struct { @@ -1174,14 +1174,14 @@ type metadataAlarm struct { } type AttachInstancesInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` InstanceIDs []*string `locationName:"InstanceIds" type:"list"` metadataAttachInstancesInput `json:"-", xml:"-"` } type metadataAttachInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type AttachInstancesOutput struct { @@ -1194,19 +1194,19 @@ type metadataAttachInstancesOutput struct { type AutoScalingGroup struct { AutoScalingGroupARN *string `type:"string"` - AutoScalingGroupName *string `type:"string"` - AvailabilityZones []*string `type:"list"` - CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - DefaultCooldown *int `type:"integer"` - DesiredCapacity *int `type:"integer"` + AutoScalingGroupName *string `type:"string" required:"true"` + AvailabilityZones []*string `type:"list" required:"true"` + CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + DefaultCooldown *int `type:"integer" required:"true"` + DesiredCapacity *int `type:"integer" required:"true"` EnabledMetrics []*EnabledMetric `type:"list"` HealthCheckGracePeriod *int `type:"integer"` - HealthCheckType *string `type:"string"` + HealthCheckType *string `type:"string" required:"true"` Instances []*Instance `type:"list"` - LaunchConfigurationName *string `type:"string"` + LaunchConfigurationName *string `type:"string" required:"true"` LoadBalancerNames []*string `type:"list"` - MaxSize *int `type:"integer"` - MinSize *int `type:"integer"` + MaxSize *int `type:"integer" required:"true"` + MinSize *int `type:"integer" required:"true"` PlacementGroup *string `type:"string"` Status *string `type:"string"` SuspendedProcesses []*SuspendedProcess `type:"list"` @@ -1218,26 +1218,26 @@ type AutoScalingGroup struct { } type metadataAutoScalingGroup struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,LaunchConfigurationName,MinSize,MaxSize,DesiredCapacity,DefaultCooldown,AvailabilityZones,HealthCheckType,CreatedTime"` + SDKShapeTraits bool `type:"structure"` } type AutoScalingInstanceDetails struct { - AutoScalingGroupName *string `type:"string"` - AvailabilityZone *string `type:"string"` - HealthStatus *string `type:"string"` - InstanceID *string `locationName:"InstanceId" type:"string"` - LaunchConfigurationName *string `type:"string"` - LifecycleState *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + AvailabilityZone *string `type:"string" required:"true"` + HealthStatus *string `type:"string" required:"true"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + LaunchConfigurationName *string `type:"string" required:"true"` + LifecycleState *string `type:"string" required:"true"` metadataAutoScalingInstanceDetails `json:"-", xml:"-"` } type metadataAutoScalingInstanceDetails struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,AutoScalingGroupName,AvailabilityZone,LifecycleState,HealthStatus,LaunchConfigurationName"` + SDKShapeTraits bool `type:"structure"` } type BlockDeviceMapping struct { - DeviceName *string `type:"string"` + DeviceName *string `type:"string" required:"true"` EBS *EBS `locationName:"Ebs" type:"structure"` NoDevice *bool `type:"boolean"` VirtualName *string `type:"string"` @@ -1246,20 +1246,20 @@ type BlockDeviceMapping struct { } type metadataBlockDeviceMapping struct { - SDKShapeTraits bool `type:"structure" required:"DeviceName"` + SDKShapeTraits bool `type:"structure"` } type CompleteLifecycleActionInput struct { - AutoScalingGroupName *string `type:"string"` - LifecycleActionResult *string `type:"string"` - LifecycleActionToken *string `type:"string"` - LifecycleHookName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + LifecycleActionResult *string `type:"string" required:"true"` + LifecycleActionToken *string `type:"string" required:"true"` + LifecycleHookName *string `type:"string" required:"true"` metadataCompleteLifecycleActionInput `json:"-", xml:"-"` } type metadataCompleteLifecycleActionInput struct { - SDKShapeTraits bool `type:"structure" required:"LifecycleHookName,AutoScalingGroupName,LifecycleActionToken,LifecycleActionResult"` + SDKShapeTraits bool `type:"structure"` } type CompleteLifecycleActionOutput struct { @@ -1271,7 +1271,7 @@ type metadataCompleteLifecycleActionOutput struct { } type CreateAutoScalingGroupInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` AvailabilityZones []*string `type:"list"` DefaultCooldown *int `type:"integer"` DesiredCapacity *int `type:"integer"` @@ -1280,8 +1280,8 @@ type CreateAutoScalingGroupInput struct { InstanceID *string `locationName:"InstanceId" type:"string"` LaunchConfigurationName *string `type:"string"` LoadBalancerNames []*string `type:"list"` - MaxSize *int `type:"integer"` - MinSize *int `type:"integer"` + MaxSize *int `type:"integer" required:"true"` + MinSize *int `type:"integer" required:"true"` PlacementGroup *string `type:"string"` Tags []*Tag `type:"list"` TerminationPolicies []*string `type:"list"` @@ -1291,7 +1291,7 @@ type CreateAutoScalingGroupInput struct { } type metadataCreateAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,MinSize,MaxSize"` + SDKShapeTraits bool `type:"structure"` } type CreateAutoScalingGroupOutput struct { @@ -1315,7 +1315,7 @@ type CreateLaunchConfigurationInput struct { InstanceType *string `type:"string"` KernelID *string `locationName:"KernelId" type:"string"` KeyName *string `type:"string"` - LaunchConfigurationName *string `type:"string"` + LaunchConfigurationName *string `type:"string" required:"true"` PlacementTenancy *string `type:"string"` RAMDiskID *string `locationName:"RamdiskId" type:"string"` SecurityGroups []*string `type:"list"` @@ -1326,7 +1326,7 @@ type CreateLaunchConfigurationInput struct { } type metadataCreateLaunchConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"LaunchConfigurationName"` + SDKShapeTraits bool `type:"structure"` } type CreateLaunchConfigurationOutput struct { @@ -1338,13 +1338,13 @@ type metadataCreateLaunchConfigurationOutput struct { } type CreateOrUpdateTagsInput struct { - Tags []*Tag `type:"list"` + Tags []*Tag `type:"list" required:"true"` metadataCreateOrUpdateTagsInput `json:"-", xml:"-"` } type metadataCreateOrUpdateTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"Tags"` + SDKShapeTraits bool `type:"structure"` } type CreateOrUpdateTagsOutput struct { @@ -1356,14 +1356,14 @@ type metadataCreateOrUpdateTagsOutput struct { } type DeleteAutoScalingGroupInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` ForceDelete *bool `type:"boolean"` metadataDeleteAutoScalingGroupInput `json:"-", xml:"-"` } type metadataDeleteAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteAutoScalingGroupOutput struct { @@ -1375,13 +1375,13 @@ type metadataDeleteAutoScalingGroupOutput struct { } type DeleteLaunchConfigurationInput struct { - LaunchConfigurationName *string `type:"string"` + LaunchConfigurationName *string `type:"string" required:"true"` metadataDeleteLaunchConfigurationInput `json:"-", xml:"-"` } type metadataDeleteLaunchConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"LaunchConfigurationName"` + SDKShapeTraits bool `type:"structure"` } type DeleteLaunchConfigurationOutput struct { @@ -1393,14 +1393,14 @@ type metadataDeleteLaunchConfigurationOutput struct { } type DeleteLifecycleHookInput struct { - AutoScalingGroupName *string `type:"string"` - LifecycleHookName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + LifecycleHookName *string `type:"string" required:"true"` metadataDeleteLifecycleHookInput `json:"-", xml:"-"` } type metadataDeleteLifecycleHookInput struct { - SDKShapeTraits bool `type:"structure" required:"LifecycleHookName,AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteLifecycleHookOutput struct { @@ -1412,14 +1412,14 @@ type metadataDeleteLifecycleHookOutput struct { } type DeleteNotificationConfigurationInput struct { - AutoScalingGroupName *string `type:"string"` - TopicARN *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + TopicARN *string `type:"string" required:"true"` metadataDeleteNotificationConfigurationInput `json:"-", xml:"-"` } type metadataDeleteNotificationConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,TopicARN"` + SDKShapeTraits bool `type:"structure"` } type DeleteNotificationConfigurationOutput struct { @@ -1432,13 +1432,13 @@ type metadataDeleteNotificationConfigurationOutput struct { type DeletePolicyInput struct { AutoScalingGroupName *string `type:"string"` - PolicyName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` metadataDeletePolicyInput `json:"-", xml:"-"` } type metadataDeletePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyName"` + SDKShapeTraits bool `type:"structure"` } type DeletePolicyOutput struct { @@ -1451,13 +1451,13 @@ type metadataDeletePolicyOutput struct { type DeleteScheduledActionInput struct { AutoScalingGroupName *string `type:"string"` - ScheduledActionName *string `type:"string"` + ScheduledActionName *string `type:"string" required:"true"` metadataDeleteScheduledActionInput `json:"-", xml:"-"` } type metadataDeleteScheduledActionInput struct { - SDKShapeTraits bool `type:"structure" required:"ScheduledActionName"` + SDKShapeTraits bool `type:"structure"` } type DeleteScheduledActionOutput struct { @@ -1469,13 +1469,13 @@ type metadataDeleteScheduledActionOutput struct { } type DeleteTagsInput struct { - Tags []*Tag `type:"list"` + Tags []*Tag `type:"list" required:"true"` metadataDeleteTagsInput `json:"-", xml:"-"` } type metadataDeleteTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"Tags"` + SDKShapeTraits bool `type:"structure"` } type DeleteTagsOutput struct { @@ -1536,14 +1536,14 @@ type metadataDescribeAutoScalingGroupsInput struct { } type DescribeAutoScalingGroupsOutput struct { - AutoScalingGroups []*AutoScalingGroup `type:"list"` + AutoScalingGroups []*AutoScalingGroup `type:"list" required:"true"` NextToken *string `type:"string"` metadataDescribeAutoScalingGroupsOutput `json:"-", xml:"-"` } type metadataDescribeAutoScalingGroupsOutput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroups"` + SDKShapeTraits bool `type:"structure"` } type DescribeAutoScalingInstancesInput struct { @@ -1600,14 +1600,14 @@ type metadataDescribeLaunchConfigurationsInput struct { } type DescribeLaunchConfigurationsOutput struct { - LaunchConfigurations []*LaunchConfiguration `type:"list"` + LaunchConfigurations []*LaunchConfiguration `type:"list" required:"true"` NextToken *string `type:"string"` metadataDescribeLaunchConfigurationsOutput `json:"-", xml:"-"` } type metadataDescribeLaunchConfigurationsOutput struct { - SDKShapeTraits bool `type:"structure" required:"LaunchConfigurations"` + SDKShapeTraits bool `type:"structure"` } type DescribeLifecycleHookTypesInput struct { @@ -1629,14 +1629,14 @@ type metadataDescribeLifecycleHookTypesOutput struct { } type DescribeLifecycleHooksInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` LifecycleHookNames []*string `type:"list"` metadataDescribeLifecycleHooksInput `json:"-", xml:"-"` } type metadataDescribeLifecycleHooksInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type DescribeLifecycleHooksOutput struct { @@ -1682,13 +1682,13 @@ type metadataDescribeNotificationConfigurationsInput struct { type DescribeNotificationConfigurationsOutput struct { NextToken *string `type:"string"` - NotificationConfigurations []*NotificationConfiguration `type:"list"` + NotificationConfigurations []*NotificationConfiguration `type:"list" required:"true"` metadataDescribeNotificationConfigurationsOutput `json:"-", xml:"-"` } type metadataDescribeNotificationConfigurationsOutput struct { - SDKShapeTraits bool `type:"structure" required:"NotificationConfigurations"` + SDKShapeTraits bool `type:"structure"` } type DescribePoliciesInput struct { @@ -1729,14 +1729,14 @@ type metadataDescribeScalingActivitiesInput struct { } type DescribeScalingActivitiesOutput struct { - Activities []*Activity `type:"list"` + Activities []*Activity `type:"list" required:"true"` NextToken *string `type:"string"` metadataDescribeScalingActivitiesOutput `json:"-", xml:"-"` } type metadataDescribeScalingActivitiesOutput struct { - SDKShapeTraits bool `type:"structure" required:"Activities"` + SDKShapeTraits bool `type:"structure"` } type DescribeScalingProcessTypesInput struct { @@ -1825,15 +1825,15 @@ type metadataDescribeTerminationPolicyTypesOutput struct { } type DetachInstancesInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` InstanceIDs []*string `locationName:"InstanceIds" type:"list"` - ShouldDecrementDesiredCapacity *bool `type:"boolean"` + ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` metadataDetachInstancesInput `json:"-", xml:"-"` } type metadataDetachInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,ShouldDecrementDesiredCapacity"` + SDKShapeTraits bool `type:"structure"` } type DetachInstancesOutput struct { @@ -1847,14 +1847,14 @@ type metadataDetachInstancesOutput struct { } type DisableMetricsCollectionInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` Metrics []*string `type:"list"` metadataDisableMetricsCollectionInput `json:"-", xml:"-"` } type metadataDisableMetricsCollectionInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type DisableMetricsCollectionOutput struct { @@ -1880,15 +1880,15 @@ type metadataEBS struct { } type EnableMetricsCollectionInput struct { - AutoScalingGroupName *string `type:"string"` - Granularity *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + Granularity *string `type:"string" required:"true"` Metrics []*string `type:"list"` metadataEnableMetricsCollectionInput `json:"-", xml:"-"` } type metadataEnableMetricsCollectionInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,Granularity"` + SDKShapeTraits bool `type:"structure"` } type EnableMetricsCollectionOutput struct { @@ -1911,15 +1911,15 @@ type metadataEnabledMetric struct { } type EnterStandbyInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` InstanceIDs []*string `locationName:"InstanceIds" type:"list"` - ShouldDecrementDesiredCapacity *bool `type:"boolean"` + ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` metadataEnterStandbyInput `json:"-", xml:"-"` } type metadataEnterStandbyInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,ShouldDecrementDesiredCapacity"` + SDKShapeTraits bool `type:"structure"` } type EnterStandbyOutput struct { @@ -1935,13 +1935,13 @@ type metadataEnterStandbyOutput struct { type ExecutePolicyInput struct { AutoScalingGroupName *string `type:"string"` HonorCooldown *bool `type:"boolean"` - PolicyName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` metadataExecutePolicyInput `json:"-", xml:"-"` } type metadataExecutePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyName"` + SDKShapeTraits bool `type:"structure"` } type ExecutePolicyOutput struct { @@ -1953,14 +1953,14 @@ type metadataExecutePolicyOutput struct { } type ExitStandbyInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` InstanceIDs []*string `locationName:"InstanceIds" type:"list"` metadataExitStandbyInput `json:"-", xml:"-"` } type metadataExitStandbyInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type ExitStandbyOutput struct { @@ -1985,17 +1985,17 @@ type metadataFilter struct { } type Instance struct { - AvailabilityZone *string `type:"string"` - HealthStatus *string `type:"string"` - InstanceID *string `locationName:"InstanceId" type:"string"` - LaunchConfigurationName *string `type:"string"` - LifecycleState *string `type:"string"` + AvailabilityZone *string `type:"string" required:"true"` + HealthStatus *string `type:"string" required:"true"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + LaunchConfigurationName *string `type:"string" required:"true"` + LifecycleState *string `type:"string" required:"true"` metadataInstance `json:"-", xml:"-"` } type metadataInstance struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,AvailabilityZone,LifecycleState,HealthStatus,LaunchConfigurationName"` + SDKShapeTraits bool `type:"structure"` } type InstanceMonitoring struct { @@ -2013,16 +2013,16 @@ type LaunchConfiguration struct { BlockDeviceMappings []*BlockDeviceMapping `type:"list"` ClassicLinkVPCID *string `locationName:"ClassicLinkVPCId" type:"string"` ClassicLinkVPCSecurityGroups []*string `type:"list"` - CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` + CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` EBSOptimized *bool `locationName:"EbsOptimized" type:"boolean"` IAMInstanceProfile *string `locationName:"IamInstanceProfile" type:"string"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` InstanceMonitoring *InstanceMonitoring `type:"structure"` - InstanceType *string `type:"string"` + InstanceType *string `type:"string" required:"true"` KernelID *string `locationName:"KernelId" type:"string"` KeyName *string `type:"string"` LaunchConfigurationARN *string `type:"string"` - LaunchConfigurationName *string `type:"string"` + LaunchConfigurationName *string `type:"string" required:"true"` PlacementTenancy *string `type:"string"` RAMDiskID *string `locationName:"RamdiskId" type:"string"` SecurityGroups []*string `type:"list"` @@ -2033,7 +2033,7 @@ type LaunchConfiguration struct { } type metadataLaunchConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"LaunchConfigurationName,ImageId,InstanceType,CreatedTime"` + SDKShapeTraits bool `type:"structure"` } type LifecycleHook struct { @@ -2087,20 +2087,20 @@ type metadataNotificationConfiguration struct { } type ProcessType struct { - ProcessName *string `type:"string"` + ProcessName *string `type:"string" required:"true"` metadataProcessType `json:"-", xml:"-"` } type metadataProcessType struct { - SDKShapeTraits bool `type:"structure" required:"ProcessName"` + SDKShapeTraits bool `type:"structure"` } type PutLifecycleHookInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` DefaultResult *string `type:"string"` HeartbeatTimeout *int `type:"integer"` - LifecycleHookName *string `type:"string"` + LifecycleHookName *string `type:"string" required:"true"` LifecycleTransition *string `type:"string"` NotificationMetadata *string `type:"string"` NotificationTargetARN *string `type:"string"` @@ -2110,7 +2110,7 @@ type PutLifecycleHookInput struct { } type metadataPutLifecycleHookInput struct { - SDKShapeTraits bool `type:"structure" required:"LifecycleHookName,AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type PutLifecycleHookOutput struct { @@ -2122,15 +2122,15 @@ type metadataPutLifecycleHookOutput struct { } type PutNotificationConfigurationInput struct { - AutoScalingGroupName *string `type:"string"` - NotificationTypes []*string `type:"list"` - TopicARN *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + NotificationTypes []*string `type:"list" required:"true"` + TopicARN *string `type:"string" required:"true"` metadataPutNotificationConfigurationInput `json:"-", xml:"-"` } type metadataPutNotificationConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,TopicARN,NotificationTypes"` + SDKShapeTraits bool `type:"structure"` } type PutNotificationConfigurationOutput struct { @@ -2142,18 +2142,18 @@ type metadataPutNotificationConfigurationOutput struct { } type PutScalingPolicyInput struct { - AdjustmentType *string `type:"string"` - AutoScalingGroupName *string `type:"string"` + AdjustmentType *string `type:"string" required:"true"` + AutoScalingGroupName *string `type:"string" required:"true"` Cooldown *int `type:"integer"` MinAdjustmentStep *int `type:"integer"` - PolicyName *string `type:"string"` - ScalingAdjustment *int `type:"integer"` + PolicyName *string `type:"string" required:"true"` + ScalingAdjustment *int `type:"integer" required:"true"` metadataPutScalingPolicyInput `json:"-", xml:"-"` } type metadataPutScalingPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,PolicyName,ScalingAdjustment,AdjustmentType"` + SDKShapeTraits bool `type:"structure"` } type PutScalingPolicyOutput struct { @@ -2167,13 +2167,13 @@ type metadataPutScalingPolicyOutput struct { } type PutScheduledUpdateGroupActionInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` DesiredCapacity *int `type:"integer"` EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` MaxSize *int `type:"integer"` MinSize *int `type:"integer"` Recurrence *string `type:"string"` - ScheduledActionName *string `type:"string"` + ScheduledActionName *string `type:"string" required:"true"` StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` Time *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -2181,7 +2181,7 @@ type PutScheduledUpdateGroupActionInput struct { } type metadataPutScheduledUpdateGroupActionInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,ScheduledActionName"` + SDKShapeTraits bool `type:"structure"` } type PutScheduledUpdateGroupActionOutput struct { @@ -2193,15 +2193,15 @@ type metadataPutScheduledUpdateGroupActionOutput struct { } type RecordLifecycleActionHeartbeatInput struct { - AutoScalingGroupName *string `type:"string"` - LifecycleActionToken *string `type:"string"` - LifecycleHookName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` + LifecycleActionToken *string `type:"string" required:"true"` + LifecycleHookName *string `type:"string" required:"true"` metadataRecordLifecycleActionHeartbeatInput `json:"-", xml:"-"` } type metadataRecordLifecycleActionHeartbeatInput struct { - SDKShapeTraits bool `type:"structure" required:"LifecycleHookName,AutoScalingGroupName,LifecycleActionToken"` + SDKShapeTraits bool `type:"structure"` } type RecordLifecycleActionHeartbeatOutput struct { @@ -2238,14 +2238,14 @@ type metadataScalingPolicy struct { } type ScalingProcessQuery struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` ScalingProcesses []*string `type:"list"` metadataScalingProcessQuery `json:"-", xml:"-"` } type metadataScalingProcessQuery struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type ScheduledUpdateGroupAction struct { @@ -2268,15 +2268,15 @@ type metadataScheduledUpdateGroupAction struct { } type SetDesiredCapacityInput struct { - AutoScalingGroupName *string `type:"string"` - DesiredCapacity *int `type:"integer"` + AutoScalingGroupName *string `type:"string" required:"true"` + DesiredCapacity *int `type:"integer" required:"true"` HonorCooldown *bool `type:"boolean"` metadataSetDesiredCapacityInput `json:"-", xml:"-"` } type metadataSetDesiredCapacityInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName,DesiredCapacity"` + SDKShapeTraits bool `type:"structure"` } type SetDesiredCapacityOutput struct { @@ -2288,15 +2288,15 @@ type metadataSetDesiredCapacityOutput struct { } type SetInstanceHealthInput struct { - HealthStatus *string `type:"string"` - InstanceID *string `locationName:"InstanceId" type:"string"` + HealthStatus *string `type:"string" required:"true"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` ShouldRespectGracePeriod *bool `type:"boolean"` metadataSetInstanceHealthInput `json:"-", xml:"-"` } type metadataSetInstanceHealthInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,HealthStatus"` + SDKShapeTraits bool `type:"structure"` } type SetInstanceHealthOutput struct { @@ -2327,7 +2327,7 @@ type metadataSuspendedProcess struct { } type Tag struct { - Key *string `type:"string"` + Key *string `type:"string" required:"true"` PropagateAtLaunch *bool `type:"boolean"` ResourceID *string `locationName:"ResourceId" type:"string"` ResourceType *string `type:"string"` @@ -2337,7 +2337,7 @@ type Tag struct { } type metadataTag struct { - SDKShapeTraits bool `type:"structure" required:"Key"` + SDKShapeTraits bool `type:"structure"` } type TagDescription struct { @@ -2355,14 +2355,14 @@ type metadataTagDescription struct { } type TerminateInstanceInAutoScalingGroupInput struct { - InstanceID *string `locationName:"InstanceId" type:"string"` - ShouldDecrementDesiredCapacity *bool `type:"boolean"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` metadataTerminateInstanceInAutoScalingGroupInput `json:"-", xml:"-"` } type metadataTerminateInstanceInAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,ShouldDecrementDesiredCapacity"` + SDKShapeTraits bool `type:"structure"` } type TerminateInstanceInAutoScalingGroupOutput struct { @@ -2376,7 +2376,7 @@ type metadataTerminateInstanceInAutoScalingGroupOutput struct { } type UpdateAutoScalingGroupInput struct { - AutoScalingGroupName *string `type:"string"` + AutoScalingGroupName *string `type:"string" required:"true"` AvailabilityZones []*string `type:"list"` DefaultCooldown *int `type:"integer"` DesiredCapacity *int `type:"integer"` @@ -2393,7 +2393,7 @@ type UpdateAutoScalingGroupInput struct { } type metadataUpdateAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"AutoScalingGroupName"` + SDKShapeTraits bool `type:"structure"` } type UpdateAutoScalingGroupOutput struct { diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index e6057f7702a..102f22067b2 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -434,13 +434,13 @@ func (c *CloudFormation) ValidateTemplate(input *ValidateTemplateInput) (output var opValidateTemplate *aws.Operation type CancelUpdateStackInput struct { - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` metadataCancelUpdateStackInput `json:"-", xml:"-"` } type metadataCancelUpdateStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type CancelUpdateStackOutput struct { @@ -457,7 +457,7 @@ type CreateStackInput struct { NotificationARNs []*string `type:"list"` OnFailure *string `type:"string"` Parameters []*Parameter `type:"list"` - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` StackPolicyBody *string `type:"string"` StackPolicyURL *string `type:"string"` Tags []*Tag `type:"list"` @@ -469,7 +469,7 @@ type CreateStackInput struct { } type metadataCreateStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type CreateStackOutput struct { @@ -483,13 +483,13 @@ type metadataCreateStackOutput struct { } type DeleteStackInput struct { - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` metadataDeleteStackInput `json:"-", xml:"-"` } type metadataDeleteStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type DeleteStackOutput struct { @@ -523,14 +523,14 @@ type metadataDescribeStackEventsOutput struct { } type DescribeStackResourceInput struct { - LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` - StackName *string `type:"string"` + LogicalResourceID *string `locationName:"LogicalResourceId" type:"string" required:"true"` + StackName *string `type:"string" required:"true"` metadataDescribeStackResourceInput `json:"-", xml:"-"` } type metadataDescribeStackResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName,LogicalResourceId"` + SDKShapeTraits bool `type:"structure"` } type DescribeStackResourceOutput struct { @@ -610,13 +610,13 @@ type metadataEstimateTemplateCostOutput struct { } type GetStackPolicyInput struct { - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` metadataGetStackPolicyInput `json:"-", xml:"-"` } type metadataGetStackPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type GetStackPolicyOutput struct { @@ -630,13 +630,13 @@ type metadataGetStackPolicyOutput struct { } type GetTemplateInput struct { - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` metadataGetTemplateInput `json:"-", xml:"-"` } type metadataGetTemplateInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type GetTemplateOutput struct { @@ -677,13 +677,13 @@ type metadataGetTemplateSummaryOutput struct { type ListStackResourcesInput struct { NextToken *string `type:"string"` - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` metadataListStackResourcesInput `json:"-", xml:"-"` } type metadataListStackResourcesInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type ListStackResourcesOutput struct { @@ -758,7 +758,7 @@ type metadataParameterDeclaration struct { } type SetStackPolicyInput struct { - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` StackPolicyBody *string `type:"string"` StackPolicyURL *string `type:"string"` @@ -766,7 +766,7 @@ type SetStackPolicyInput struct { } type metadataSetStackPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type SetStackPolicyOutput struct { @@ -778,16 +778,16 @@ type metadataSetStackPolicyOutput struct { } type SignalResourceInput struct { - LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` - StackName *string `type:"string"` - Status *string `type:"string"` - UniqueID *string `locationName:"UniqueId" type:"string"` + LogicalResourceID *string `locationName:"LogicalResourceId" type:"string" required:"true"` + StackName *string `type:"string" required:"true"` + Status *string `type:"string" required:"true"` + UniqueID *string `locationName:"UniqueId" type:"string" required:"true"` metadataSignalResourceInput `json:"-", xml:"-"` } type metadataSignalResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName,LogicalResourceId,UniqueId,Status"` + SDKShapeTraits bool `type:"structure"` } type SignalResourceOutput struct { @@ -800,7 +800,7 @@ type metadataSignalResourceOutput struct { type Stack struct { Capabilities []*string `type:"list"` - CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` + CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` Description *string `type:"string"` DisableRollback *bool `type:"boolean"` LastUpdatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -808,8 +808,8 @@ type Stack struct { Outputs []*Output `type:"list"` Parameters []*Parameter `type:"list"` StackID *string `locationName:"StackId" type:"string"` - StackName *string `type:"string"` - StackStatus *string `type:"string"` + StackName *string `type:"string" required:"true"` + StackStatus *string `type:"string" required:"true"` StackStatusReason *string `type:"string"` Tags []*Tag `type:"list"` TimeoutInMinutes *int `type:"integer"` @@ -818,55 +818,55 @@ type Stack struct { } type metadataStack struct { - SDKShapeTraits bool `type:"structure" required:"StackName,CreationTime,StackStatus"` + SDKShapeTraits bool `type:"structure"` } type StackEvent struct { - EventID *string `locationName:"EventId" type:"string"` + EventID *string `locationName:"EventId" type:"string" required:"true"` LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` PhysicalResourceID *string `locationName:"PhysicalResourceId" type:"string"` ResourceProperties *string `type:"string"` ResourceStatus *string `type:"string"` ResourceStatusReason *string `type:"string"` ResourceType *string `type:"string"` - StackID *string `locationName:"StackId" type:"string"` - StackName *string `type:"string"` - Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` + StackID *string `locationName:"StackId" type:"string" required:"true"` + StackName *string `type:"string" required:"true"` + Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` metadataStackEvent `json:"-", xml:"-"` } type metadataStackEvent struct { - SDKShapeTraits bool `type:"structure" required:"StackId,EventId,StackName,Timestamp"` + SDKShapeTraits bool `type:"structure"` } type StackResource struct { Description *string `type:"string"` - LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` + LogicalResourceID *string `locationName:"LogicalResourceId" type:"string" required:"true"` PhysicalResourceID *string `locationName:"PhysicalResourceId" type:"string"` - ResourceStatus *string `type:"string"` + ResourceStatus *string `type:"string" required:"true"` ResourceStatusReason *string `type:"string"` - ResourceType *string `type:"string"` + ResourceType *string `type:"string" required:"true"` StackID *string `locationName:"StackId" type:"string"` StackName *string `type:"string"` - Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` + Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` metadataStackResource `json:"-", xml:"-"` } type metadataStackResource struct { - SDKShapeTraits bool `type:"structure" required:"LogicalResourceId,ResourceType,Timestamp,ResourceStatus"` + SDKShapeTraits bool `type:"structure"` } type StackResourceDetail struct { Description *string `type:"string"` - LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` - LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` + LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + LogicalResourceID *string `locationName:"LogicalResourceId" type:"string" required:"true"` Metadata *string `type:"string"` PhysicalResourceID *string `locationName:"PhysicalResourceId" type:"string"` - ResourceStatus *string `type:"string"` + ResourceStatus *string `type:"string" required:"true"` ResourceStatusReason *string `type:"string"` - ResourceType *string `type:"string"` + ResourceType *string `type:"string" required:"true"` StackID *string `locationName:"StackId" type:"string"` StackName *string `type:"string"` @@ -874,31 +874,31 @@ type StackResourceDetail struct { } type metadataStackResourceDetail struct { - SDKShapeTraits bool `type:"structure" required:"LogicalResourceId,ResourceType,LastUpdatedTimestamp,ResourceStatus"` + SDKShapeTraits bool `type:"structure"` } type StackResourceSummary struct { - LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` - LogicalResourceID *string `locationName:"LogicalResourceId" type:"string"` + LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + LogicalResourceID *string `locationName:"LogicalResourceId" type:"string" required:"true"` PhysicalResourceID *string `locationName:"PhysicalResourceId" type:"string"` - ResourceStatus *string `type:"string"` + ResourceStatus *string `type:"string" required:"true"` ResourceStatusReason *string `type:"string"` - ResourceType *string `type:"string"` + ResourceType *string `type:"string" required:"true"` metadataStackResourceSummary `json:"-", xml:"-"` } type metadataStackResourceSummary struct { - SDKShapeTraits bool `type:"structure" required:"LogicalResourceId,ResourceType,LastUpdatedTimestamp,ResourceStatus"` + SDKShapeTraits bool `type:"structure"` } type StackSummary struct { - CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` + CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` DeletionTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` LastUpdatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` StackID *string `locationName:"StackId" type:"string"` - StackName *string `type:"string"` - StackStatus *string `type:"string"` + StackName *string `type:"string" required:"true"` + StackStatus *string `type:"string" required:"true"` StackStatusReason *string `type:"string"` TemplateDescription *string `type:"string"` @@ -906,7 +906,7 @@ type StackSummary struct { } type metadataStackSummary struct { - SDKShapeTraits bool `type:"structure" required:"StackName,CreationTime,StackStatus"` + SDKShapeTraits bool `type:"structure"` } type Tag struct { @@ -937,7 +937,7 @@ type UpdateStackInput struct { Capabilities []*string `type:"list"` NotificationARNs []*string `type:"list"` Parameters []*Parameter `type:"list"` - StackName *string `type:"string"` + StackName *string `type:"string" required:"true"` StackPolicyBody *string `type:"string"` StackPolicyDuringUpdateBody *string `type:"string"` StackPolicyDuringUpdateURL *string `type:"string"` @@ -950,7 +950,7 @@ type UpdateStackInput struct { } type metadataUpdateStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackName"` + SDKShapeTraits bool `type:"structure"` } type UpdateStackOutput struct { diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index 15bbe599aba..a7239b3bb25 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -534,159 +534,159 @@ func (c *CloudFront) UpdateStreamingDistribution(input *UpdateStreamingDistribut var opUpdateStreamingDistribution *aws.Operation type ActiveTrustedSigners struct { - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` Items []*Signer `locationNameList:"Signer" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataActiveTrustedSigners `json:"-", xml:"-"` } type metadataActiveTrustedSigners struct { - SDKShapeTraits bool `type:"structure" required:"Enabled,Quantity"` + SDKShapeTraits bool `type:"structure"` } type Aliases struct { Items []*string `locationNameList:"CNAME" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataAliases `json:"-", xml:"-"` } type metadataAliases struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type AllowedMethods struct { CachedMethods *CachedMethods `type:"structure"` - Items []*string `locationNameList:"Method" type:"list"` - Quantity *int `type:"integer"` + Items []*string `locationNameList:"Method" type:"list" required:"true"` + Quantity *int `type:"integer" required:"true"` metadataAllowedMethods `json:"-", xml:"-"` } type metadataAllowedMethods struct { - SDKShapeTraits bool `type:"structure" required:"Quantity,Items"` + SDKShapeTraits bool `type:"structure"` } type CacheBehavior struct { AllowedMethods *AllowedMethods `type:"structure"` - ForwardedValues *ForwardedValues `type:"structure"` - MinTTL *int64 `type:"long"` - PathPattern *string `type:"string"` + ForwardedValues *ForwardedValues `type:"structure" required:"true"` + MinTTL *int64 `type:"long" required:"true"` + PathPattern *string `type:"string" required:"true"` SmoothStreaming *bool `type:"boolean"` - TargetOriginID *string `locationName:"TargetOriginId" type:"string"` - TrustedSigners *TrustedSigners `type:"structure"` - ViewerProtocolPolicy *string `type:"string"` + TargetOriginID *string `locationName:"TargetOriginId" type:"string" required:"true"` + TrustedSigners *TrustedSigners `type:"structure" required:"true"` + ViewerProtocolPolicy *string `type:"string" required:"true"` metadataCacheBehavior `json:"-", xml:"-"` } type metadataCacheBehavior struct { - SDKShapeTraits bool `type:"structure" required:"PathPattern,TargetOriginId,ForwardedValues,TrustedSigners,ViewerProtocolPolicy,MinTTL"` + SDKShapeTraits bool `type:"structure"` } type CacheBehaviors struct { Items []*CacheBehavior `locationNameList:"CacheBehavior" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataCacheBehaviors `json:"-", xml:"-"` } type metadataCacheBehaviors struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type CachedMethods struct { - Items []*string `locationNameList:"Method" type:"list"` - Quantity *int `type:"integer"` + Items []*string `locationNameList:"Method" type:"list" required:"true"` + Quantity *int `type:"integer" required:"true"` metadataCachedMethods `json:"-", xml:"-"` } type metadataCachedMethods struct { - SDKShapeTraits bool `type:"structure" required:"Quantity,Items"` + SDKShapeTraits bool `type:"structure"` } type CloudFrontOriginAccessIdentity struct { CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentityConfig `type:"structure"` - ID *string `locationName:"Id" type:"string"` - S3CanonicalUserID *string `locationName:"S3CanonicalUserId" type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` + S3CanonicalUserID *string `locationName:"S3CanonicalUserId" type:"string" required:"true"` metadataCloudFrontOriginAccessIdentity `json:"-", xml:"-"` } type metadataCloudFrontOriginAccessIdentity struct { - SDKShapeTraits bool `type:"structure" required:"Id,S3CanonicalUserId"` + SDKShapeTraits bool `type:"structure"` } type CloudFrontOriginAccessIdentityConfig struct { - CallerReference *string `type:"string"` - Comment *string `type:"string"` + CallerReference *string `type:"string" required:"true"` + Comment *string `type:"string" required:"true"` metadataCloudFrontOriginAccessIdentityConfig `json:"-", xml:"-"` } type metadataCloudFrontOriginAccessIdentityConfig struct { - SDKShapeTraits bool `type:"structure" required:"CallerReference,Comment"` + SDKShapeTraits bool `type:"structure"` } type CloudFrontOriginAccessIdentityList struct { - IsTruncated *bool `type:"boolean"` + IsTruncated *bool `type:"boolean" required:"true"` Items []*CloudFrontOriginAccessIdentitySummary `locationNameList:"CloudFrontOriginAccessIdentitySummary" type:"list"` - Marker *string `type:"string"` - MaxItems *int `type:"integer"` + Marker *string `type:"string" required:"true"` + MaxItems *int `type:"integer" required:"true"` NextMarker *string `type:"string"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataCloudFrontOriginAccessIdentityList `json:"-", xml:"-"` } type metadataCloudFrontOriginAccessIdentityList struct { - SDKShapeTraits bool `type:"structure" required:"Marker,MaxItems,IsTruncated,Quantity"` + SDKShapeTraits bool `type:"structure"` } type CloudFrontOriginAccessIdentitySummary struct { - Comment *string `type:"string"` - ID *string `locationName:"Id" type:"string"` - S3CanonicalUserID *string `locationName:"S3CanonicalUserId" type:"string"` + Comment *string `type:"string" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + S3CanonicalUserID *string `locationName:"S3CanonicalUserId" type:"string" required:"true"` metadataCloudFrontOriginAccessIdentitySummary `json:"-", xml:"-"` } type metadataCloudFrontOriginAccessIdentitySummary struct { - SDKShapeTraits bool `type:"structure" required:"Id,S3CanonicalUserId,Comment"` + SDKShapeTraits bool `type:"structure"` } type CookieNames struct { Items []*string `locationNameList:"Name" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataCookieNames `json:"-", xml:"-"` } type metadataCookieNames struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type CookiePreference struct { - Forward *string `type:"string"` + Forward *string `type:"string" required:"true"` WhitelistedNames *CookieNames `type:"structure"` metadataCookiePreference `json:"-", xml:"-"` } type metadataCookiePreference struct { - SDKShapeTraits bool `type:"structure" required:"Forward"` + SDKShapeTraits bool `type:"structure"` } type CreateCloudFrontOriginAccessIdentityInput struct { - CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure"` + CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure" required:"true"` metadataCreateCloudFrontOriginAccessIdentityInput `json:"-", xml:"-"` } type metadataCreateCloudFrontOriginAccessIdentityInput struct { - SDKShapeTraits bool `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig" required:"CloudFrontOriginAccessIdentityConfig"` + SDKShapeTraits bool `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` } type CreateCloudFrontOriginAccessIdentityOutput struct { @@ -702,13 +702,13 @@ type metadataCreateCloudFrontOriginAccessIdentityOutput struct { } type CreateDistributionInput struct { - DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure"` + DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure" required:"true"` metadataCreateDistributionInput `json:"-", xml:"-"` } type metadataCreateDistributionInput struct { - SDKShapeTraits bool `type:"structure" payload:"DistributionConfig" required:"DistributionConfig"` + SDKShapeTraits bool `type:"structure" payload:"DistributionConfig"` } type CreateDistributionOutput struct { @@ -724,14 +724,14 @@ type metadataCreateDistributionOutput struct { } type CreateInvalidationInput struct { - DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" json:"-" xml:"-"` - InvalidationBatch *InvalidationBatch `locationName:"InvalidationBatch" type:"structure"` + DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"json:"-" xml:"-"` + InvalidationBatch *InvalidationBatch `locationName:"InvalidationBatch" type:"structure" required:"true"` metadataCreateInvalidationInput `json:"-", xml:"-"` } type metadataCreateInvalidationInput struct { - SDKShapeTraits bool `type:"structure" payload:"InvalidationBatch" required:"DistributionId,InvalidationBatch"` + SDKShapeTraits bool `type:"structure" payload:"InvalidationBatch"` } type CreateInvalidationOutput struct { @@ -746,13 +746,13 @@ type metadataCreateInvalidationOutput struct { } type CreateStreamingDistributionInput struct { - StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure"` + StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure" required:"true"` metadataCreateStreamingDistributionInput `json:"-", xml:"-"` } type metadataCreateStreamingDistributionInput struct { - SDKShapeTraits bool `type:"structure" payload:"StreamingDistributionConfig" required:"StreamingDistributionConfig"` + SDKShapeTraits bool `type:"structure" payload:"StreamingDistributionConfig"` } type CreateStreamingDistributionOutput struct { @@ -769,7 +769,7 @@ type metadataCreateStreamingDistributionOutput struct { type CustomErrorResponse struct { ErrorCachingMinTTL *int64 `type:"long"` - ErrorCode *int `type:"integer"` + ErrorCode *int `type:"integer" required:"true"` ResponseCode *string `type:"string"` ResponsePagePath *string `type:"string"` @@ -777,57 +777,57 @@ type CustomErrorResponse struct { } type metadataCustomErrorResponse struct { - SDKShapeTraits bool `type:"structure" required:"ErrorCode"` + SDKShapeTraits bool `type:"structure"` } type CustomErrorResponses struct { Items []*CustomErrorResponse `locationNameList:"CustomErrorResponse" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataCustomErrorResponses `json:"-", xml:"-"` } type metadataCustomErrorResponses struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type CustomOriginConfig struct { - HTTPPort *int `type:"integer"` - HTTPSPort *int `type:"integer"` - OriginProtocolPolicy *string `type:"string"` + HTTPPort *int `type:"integer" required:"true"` + HTTPSPort *int `type:"integer" required:"true"` + OriginProtocolPolicy *string `type:"string" required:"true"` metadataCustomOriginConfig `json:"-", xml:"-"` } type metadataCustomOriginConfig struct { - SDKShapeTraits bool `type:"structure" required:"HTTPPort,HTTPSPort,OriginProtocolPolicy"` + SDKShapeTraits bool `type:"structure"` } type DefaultCacheBehavior struct { AllowedMethods *AllowedMethods `type:"structure"` - ForwardedValues *ForwardedValues `type:"structure"` - MinTTL *int64 `type:"long"` + ForwardedValues *ForwardedValues `type:"structure" required:"true"` + MinTTL *int64 `type:"long" required:"true"` SmoothStreaming *bool `type:"boolean"` - TargetOriginID *string `locationName:"TargetOriginId" type:"string"` - TrustedSigners *TrustedSigners `type:"structure"` - ViewerProtocolPolicy *string `type:"string"` + TargetOriginID *string `locationName:"TargetOriginId" type:"string" required:"true"` + TrustedSigners *TrustedSigners `type:"structure" required:"true"` + ViewerProtocolPolicy *string `type:"string" required:"true"` metadataDefaultCacheBehavior `json:"-", xml:"-"` } type metadataDefaultCacheBehavior struct { - SDKShapeTraits bool `type:"structure" required:"TargetOriginId,ForwardedValues,TrustedSigners,ViewerProtocolPolicy,MinTTL"` + SDKShapeTraits bool `type:"structure"` } type DeleteCloudFrontOriginAccessIdentityInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` metadataDeleteCloudFrontOriginAccessIdentityInput `json:"-", xml:"-"` } type metadataDeleteCloudFrontOriginAccessIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteCloudFrontOriginAccessIdentityOutput struct { @@ -839,14 +839,14 @@ type metadataDeleteCloudFrontOriginAccessIdentityOutput struct { } type DeleteDistributionInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` metadataDeleteDistributionInput `json:"-", xml:"-"` } type metadataDeleteDistributionInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteDistributionOutput struct { @@ -858,14 +858,14 @@ type metadataDeleteDistributionOutput struct { } type DeleteStreamingDistributionInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` metadataDeleteStreamingDistributionInput `json:"-", xml:"-"` } type metadataDeleteStreamingDistributionInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteStreamingDistributionOutput struct { @@ -877,32 +877,32 @@ type metadataDeleteStreamingDistributionOutput struct { } type Distribution struct { - ActiveTrustedSigners *ActiveTrustedSigners `type:"structure"` - DistributionConfig *DistributionConfig `type:"structure"` - DomainName *string `type:"string"` - ID *string `locationName:"Id" type:"string"` - InProgressInvalidationBatches *int `type:"integer"` - LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Status *string `type:"string"` + ActiveTrustedSigners *ActiveTrustedSigners `type:"structure" required:"true"` + DistributionConfig *DistributionConfig `type:"structure" required:"true"` + DomainName *string `type:"string" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + InProgressInvalidationBatches *int `type:"integer" required:"true"` + LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + Status *string `type:"string" required:"true"` metadataDistribution `json:"-", xml:"-"` } type metadataDistribution struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,LastModifiedTime,InProgressInvalidationBatches,DomainName,ActiveTrustedSigners,DistributionConfig"` + SDKShapeTraits bool `type:"structure"` } type DistributionConfig struct { Aliases *Aliases `type:"structure"` CacheBehaviors *CacheBehaviors `type:"structure"` - CallerReference *string `type:"string"` - Comment *string `type:"string"` + CallerReference *string `type:"string" required:"true"` + Comment *string `type:"string" required:"true"` CustomErrorResponses *CustomErrorResponses `type:"structure"` - DefaultCacheBehavior *DefaultCacheBehavior `type:"structure"` + DefaultCacheBehavior *DefaultCacheBehavior `type:"structure" required:"true"` DefaultRootObject *string `type:"string"` - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` Logging *LoggingConfig `type:"structure"` - Origins *Origins `type:"structure"` + Origins *Origins `type:"structure" required:"true"` PriceClass *string `type:"string"` Restrictions *Restrictions `type:"structure"` ViewerCertificate *ViewerCertificate `type:"structure"` @@ -911,79 +911,79 @@ type DistributionConfig struct { } type metadataDistributionConfig struct { - SDKShapeTraits bool `type:"structure" required:"CallerReference,Origins,DefaultCacheBehavior,Comment,Enabled"` + SDKShapeTraits bool `type:"structure"` } type DistributionList struct { - IsTruncated *bool `type:"boolean"` + IsTruncated *bool `type:"boolean" required:"true"` Items []*DistributionSummary `locationNameList:"DistributionSummary" type:"list"` - Marker *string `type:"string"` - MaxItems *int `type:"integer"` + Marker *string `type:"string" required:"true"` + MaxItems *int `type:"integer" required:"true"` NextMarker *string `type:"string"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataDistributionList `json:"-", xml:"-"` } type metadataDistributionList struct { - SDKShapeTraits bool `type:"structure" required:"Marker,MaxItems,IsTruncated,Quantity"` + SDKShapeTraits bool `type:"structure"` } type DistributionSummary struct { - Aliases *Aliases `type:"structure"` - CacheBehaviors *CacheBehaviors `type:"structure"` - Comment *string `type:"string"` - CustomErrorResponses *CustomErrorResponses `type:"structure"` - DefaultCacheBehavior *DefaultCacheBehavior `type:"structure"` - DomainName *string `type:"string"` - Enabled *bool `type:"boolean"` - ID *string `locationName:"Id" type:"string"` - LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Origins *Origins `type:"structure"` - PriceClass *string `type:"string"` - Restrictions *Restrictions `type:"structure"` - Status *string `type:"string"` - ViewerCertificate *ViewerCertificate `type:"structure"` + Aliases *Aliases `type:"structure" required:"true"` + CacheBehaviors *CacheBehaviors `type:"structure" required:"true"` + Comment *string `type:"string" required:"true"` + CustomErrorResponses *CustomErrorResponses `type:"structure" required:"true"` + DefaultCacheBehavior *DefaultCacheBehavior `type:"structure" required:"true"` + DomainName *string `type:"string" required:"true"` + Enabled *bool `type:"boolean" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + Origins *Origins `type:"structure" required:"true"` + PriceClass *string `type:"string" required:"true"` + Restrictions *Restrictions `type:"structure" required:"true"` + Status *string `type:"string" required:"true"` + ViewerCertificate *ViewerCertificate `type:"structure" required:"true"` metadataDistributionSummary `json:"-", xml:"-"` } type metadataDistributionSummary struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,LastModifiedTime,DomainName,Aliases,Origins,DefaultCacheBehavior,CacheBehaviors,CustomErrorResponses,Comment,PriceClass,Enabled,ViewerCertificate,Restrictions"` + SDKShapeTraits bool `type:"structure"` } type ForwardedValues struct { - Cookies *CookiePreference `type:"structure"` + Cookies *CookiePreference `type:"structure" required:"true"` Headers *Headers `type:"structure"` - QueryString *bool `type:"boolean"` + QueryString *bool `type:"boolean" required:"true"` metadataForwardedValues `json:"-", xml:"-"` } type metadataForwardedValues struct { - SDKShapeTraits bool `type:"structure" required:"QueryString,Cookies"` + SDKShapeTraits bool `type:"structure"` } type GeoRestriction struct { Items []*string `locationNameList:"Location" type:"list"` - Quantity *int `type:"integer"` - RestrictionType *string `type:"string"` + Quantity *int `type:"integer" required:"true"` + RestrictionType *string `type:"string" required:"true"` metadataGeoRestriction `json:"-", xml:"-"` } type metadataGeoRestriction struct { - SDKShapeTraits bool `type:"structure" required:"RestrictionType,Quantity"` + SDKShapeTraits bool `type:"structure"` } type GetCloudFrontOriginAccessIdentityConfigInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetCloudFrontOriginAccessIdentityConfigInput `json:"-", xml:"-"` } type metadataGetCloudFrontOriginAccessIdentityConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetCloudFrontOriginAccessIdentityConfigOutput struct { @@ -998,13 +998,13 @@ type metadataGetCloudFrontOriginAccessIdentityConfigOutput struct { } type GetCloudFrontOriginAccessIdentityInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetCloudFrontOriginAccessIdentityInput `json:"-", xml:"-"` } type metadataGetCloudFrontOriginAccessIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetCloudFrontOriginAccessIdentityOutput struct { @@ -1019,13 +1019,13 @@ type metadataGetCloudFrontOriginAccessIdentityOutput struct { } type GetDistributionConfigInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetDistributionConfigInput `json:"-", xml:"-"` } type metadataGetDistributionConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetDistributionConfigOutput struct { @@ -1040,13 +1040,13 @@ type metadataGetDistributionConfigOutput struct { } type GetDistributionInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetDistributionInput `json:"-", xml:"-"` } type metadataGetDistributionInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetDistributionOutput struct { @@ -1061,14 +1061,14 @@ type metadataGetDistributionOutput struct { } type GetInvalidationInput struct { - DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" json:"-" xml:"-"` - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetInvalidationInput `json:"-", xml:"-"` } type metadataGetInvalidationInput struct { - SDKShapeTraits bool `type:"structure" required:"DistributionId,Id"` + SDKShapeTraits bool `type:"structure"` } type GetInvalidationOutput struct { @@ -1082,13 +1082,13 @@ type metadataGetInvalidationOutput struct { } type GetStreamingDistributionConfigInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetStreamingDistributionConfigInput `json:"-", xml:"-"` } type metadataGetStreamingDistributionConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetStreamingDistributionConfigOutput struct { @@ -1103,13 +1103,13 @@ type metadataGetStreamingDistributionConfigOutput struct { } type GetStreamingDistributionInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetStreamingDistributionInput `json:"-", xml:"-"` } type metadataGetStreamingDistributionInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetStreamingDistributionOutput struct { @@ -1125,75 +1125,75 @@ type metadataGetStreamingDistributionOutput struct { type Headers struct { Items []*string `locationNameList:"Name" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataHeaders `json:"-", xml:"-"` } type metadataHeaders struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type Invalidation struct { - CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - ID *string `locationName:"Id" type:"string"` - InvalidationBatch *InvalidationBatch `type:"structure"` - Status *string `type:"string"` + CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + InvalidationBatch *InvalidationBatch `type:"structure" required:"true"` + Status *string `type:"string" required:"true"` metadataInvalidation `json:"-", xml:"-"` } type metadataInvalidation struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,CreateTime,InvalidationBatch"` + SDKShapeTraits bool `type:"structure"` } type InvalidationBatch struct { - CallerReference *string `type:"string"` - Paths *Paths `type:"structure"` + CallerReference *string `type:"string" required:"true"` + Paths *Paths `type:"structure" required:"true"` metadataInvalidationBatch `json:"-", xml:"-"` } type metadataInvalidationBatch struct { - SDKShapeTraits bool `type:"structure" required:"Paths,CallerReference"` + SDKShapeTraits bool `type:"structure"` } type InvalidationList struct { - IsTruncated *bool `type:"boolean"` + IsTruncated *bool `type:"boolean" required:"true"` Items []*InvalidationSummary `locationNameList:"InvalidationSummary" type:"list"` - Marker *string `type:"string"` - MaxItems *int `type:"integer"` + Marker *string `type:"string" required:"true"` + MaxItems *int `type:"integer" required:"true"` NextMarker *string `type:"string"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataInvalidationList `json:"-", xml:"-"` } type metadataInvalidationList struct { - SDKShapeTraits bool `type:"structure" required:"Marker,MaxItems,IsTruncated,Quantity"` + SDKShapeTraits bool `type:"structure"` } type InvalidationSummary struct { - CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - ID *string `locationName:"Id" type:"string"` - Status *string `type:"string"` + CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + Status *string `type:"string" required:"true"` metadataInvalidationSummary `json:"-", xml:"-"` } type metadataInvalidationSummary struct { - SDKShapeTraits bool `type:"structure" required:"Id,CreateTime,Status"` + SDKShapeTraits bool `type:"structure"` } type KeyPairIDs struct { Items []*string `locationNameList:"KeyPairId" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataKeyPairIDs `json:"-", xml:"-"` } type metadataKeyPairIDs struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type ListCloudFrontOriginAccessIdentitiesInput struct { @@ -1239,7 +1239,7 @@ type metadataListDistributionsOutput struct { } type ListInvalidationsInput struct { - DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" json:"-" xml:"-"` + DistributionID *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"json:"-" xml:"-"` Marker *string `location:"querystring" locationName:"Marker" type:"string" json:"-" xml:"-"` MaxItems *string `location:"querystring" locationName:"MaxItems" type:"string" json:"-" xml:"-"` @@ -1247,7 +1247,7 @@ type ListInvalidationsInput struct { } type metadataListInvalidationsInput struct { - SDKShapeTraits bool `type:"structure" required:"DistributionId"` + SDKShapeTraits bool `type:"structure"` } type ListInvalidationsOutput struct { @@ -1282,22 +1282,22 @@ type metadataListStreamingDistributionsOutput struct { } type LoggingConfig struct { - Bucket *string `type:"string"` - Enabled *bool `type:"boolean"` - IncludeCookies *bool `type:"boolean"` - Prefix *string `type:"string"` + Bucket *string `type:"string" required:"true"` + Enabled *bool `type:"boolean" required:"true"` + IncludeCookies *bool `type:"boolean" required:"true"` + Prefix *string `type:"string" required:"true"` metadataLoggingConfig `json:"-", xml:"-"` } type metadataLoggingConfig struct { - SDKShapeTraits bool `type:"structure" required:"Enabled,IncludeCookies,Bucket,Prefix"` + SDKShapeTraits bool `type:"structure"` } type Origin struct { CustomOriginConfig *CustomOriginConfig `type:"structure"` - DomainName *string `type:"string"` - ID *string `locationName:"Id" type:"string"` + DomainName *string `type:"string" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` OriginPath *string `type:"string"` S3OriginConfig *S3OriginConfig `type:"structure"` @@ -1305,60 +1305,60 @@ type Origin struct { } type metadataOrigin struct { - SDKShapeTraits bool `type:"structure" required:"Id,DomainName"` + SDKShapeTraits bool `type:"structure"` } type Origins struct { Items []*Origin `locationNameList:"Origin" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataOrigins `json:"-", xml:"-"` } type metadataOrigins struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type Paths struct { Items []*string `locationNameList:"Path" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataPaths `json:"-", xml:"-"` } type metadataPaths struct { - SDKShapeTraits bool `type:"structure" required:"Quantity"` + SDKShapeTraits bool `type:"structure"` } type Restrictions struct { - GeoRestriction *GeoRestriction `type:"structure"` + GeoRestriction *GeoRestriction `type:"structure" required:"true"` metadataRestrictions `json:"-", xml:"-"` } type metadataRestrictions struct { - SDKShapeTraits bool `type:"structure" required:"GeoRestriction"` + SDKShapeTraits bool `type:"structure"` } type S3Origin struct { - DomainName *string `type:"string"` - OriginAccessIdentity *string `type:"string"` + DomainName *string `type:"string" required:"true"` + OriginAccessIdentity *string `type:"string" required:"true"` metadataS3Origin `json:"-", xml:"-"` } type metadataS3Origin struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,OriginAccessIdentity"` + SDKShapeTraits bool `type:"structure"` } type S3OriginConfig struct { - OriginAccessIdentity *string `type:"string"` + OriginAccessIdentity *string `type:"string" required:"true"` metadataS3OriginConfig `json:"-", xml:"-"` } type metadataS3OriginConfig struct { - SDKShapeTraits bool `type:"structure" required:"OriginAccessIdentity"` + SDKShapeTraits bool `type:"structure"` } type Signer struct { @@ -1373,105 +1373,105 @@ type metadataSigner struct { } type StreamingDistribution struct { - ActiveTrustedSigners *ActiveTrustedSigners `type:"structure"` - DomainName *string `type:"string"` - ID *string `locationName:"Id" type:"string"` + ActiveTrustedSigners *ActiveTrustedSigners `type:"structure" required:"true"` + DomainName *string `type:"string" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Status *string `type:"string"` - StreamingDistributionConfig *StreamingDistributionConfig `type:"structure"` + Status *string `type:"string" required:"true"` + StreamingDistributionConfig *StreamingDistributionConfig `type:"structure" required:"true"` metadataStreamingDistribution `json:"-", xml:"-"` } type metadataStreamingDistribution struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,DomainName,ActiveTrustedSigners,StreamingDistributionConfig"` + SDKShapeTraits bool `type:"structure"` } type StreamingDistributionConfig struct { Aliases *Aliases `type:"structure"` - CallerReference *string `type:"string"` - Comment *string `type:"string"` - Enabled *bool `type:"boolean"` + CallerReference *string `type:"string" required:"true"` + Comment *string `type:"string" required:"true"` + Enabled *bool `type:"boolean" required:"true"` Logging *StreamingLoggingConfig `type:"structure"` PriceClass *string `type:"string"` - S3Origin *S3Origin `type:"structure"` - TrustedSigners *TrustedSigners `type:"structure"` + S3Origin *S3Origin `type:"structure" required:"true"` + TrustedSigners *TrustedSigners `type:"structure" required:"true"` metadataStreamingDistributionConfig `json:"-", xml:"-"` } type metadataStreamingDistributionConfig struct { - SDKShapeTraits bool `type:"structure" required:"CallerReference,S3Origin,Comment,TrustedSigners,Enabled"` + SDKShapeTraits bool `type:"structure"` } type StreamingDistributionList struct { - IsTruncated *bool `type:"boolean"` + IsTruncated *bool `type:"boolean" required:"true"` Items []*StreamingDistributionSummary `locationNameList:"StreamingDistributionSummary" type:"list"` - Marker *string `type:"string"` - MaxItems *int `type:"integer"` + Marker *string `type:"string" required:"true"` + MaxItems *int `type:"integer" required:"true"` NextMarker *string `type:"string"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataStreamingDistributionList `json:"-", xml:"-"` } type metadataStreamingDistributionList struct { - SDKShapeTraits bool `type:"structure" required:"Marker,MaxItems,IsTruncated,Quantity"` + SDKShapeTraits bool `type:"structure"` } type StreamingDistributionSummary struct { - Aliases *Aliases `type:"structure"` - Comment *string `type:"string"` - DomainName *string `type:"string"` - Enabled *bool `type:"boolean"` - ID *string `locationName:"Id" type:"string"` - LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - PriceClass *string `type:"string"` - S3Origin *S3Origin `type:"structure"` - Status *string `type:"string"` - TrustedSigners *TrustedSigners `type:"structure"` + Aliases *Aliases `type:"structure" required:"true"` + Comment *string `type:"string" required:"true"` + DomainName *string `type:"string" required:"true"` + Enabled *bool `type:"boolean" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` + LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + PriceClass *string `type:"string" required:"true"` + S3Origin *S3Origin `type:"structure" required:"true"` + Status *string `type:"string" required:"true"` + TrustedSigners *TrustedSigners `type:"structure" required:"true"` metadataStreamingDistributionSummary `json:"-", xml:"-"` } type metadataStreamingDistributionSummary struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,LastModifiedTime,DomainName,S3Origin,Aliases,TrustedSigners,Comment,PriceClass,Enabled"` + SDKShapeTraits bool `type:"structure"` } type StreamingLoggingConfig struct { - Bucket *string `type:"string"` - Enabled *bool `type:"boolean"` - Prefix *string `type:"string"` + Bucket *string `type:"string" required:"true"` + Enabled *bool `type:"boolean" required:"true"` + Prefix *string `type:"string" required:"true"` metadataStreamingLoggingConfig `json:"-", xml:"-"` } type metadataStreamingLoggingConfig struct { - SDKShapeTraits bool `type:"structure" required:"Enabled,Bucket,Prefix"` + SDKShapeTraits bool `type:"structure"` } type TrustedSigners struct { - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` Items []*string `locationNameList:"AwsAccountNumber" type:"list"` - Quantity *int `type:"integer"` + Quantity *int `type:"integer" required:"true"` metadataTrustedSigners `json:"-", xml:"-"` } type metadataTrustedSigners struct { - SDKShapeTraits bool `type:"structure" required:"Enabled,Quantity"` + SDKShapeTraits bool `type:"structure"` } type UpdateCloudFrontOriginAccessIdentityInput struct { - CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure"` - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure" required:"true"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` metadataUpdateCloudFrontOriginAccessIdentityInput `json:"-", xml:"-"` } type metadataUpdateCloudFrontOriginAccessIdentityInput struct { - SDKShapeTraits bool `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig" required:"CloudFrontOriginAccessIdentityConfig,Id"` + SDKShapeTraits bool `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` } type UpdateCloudFrontOriginAccessIdentityOutput struct { @@ -1486,15 +1486,15 @@ type metadataUpdateCloudFrontOriginAccessIdentityOutput struct { } type UpdateDistributionInput struct { - DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure"` - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure" required:"true"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` metadataUpdateDistributionInput `json:"-", xml:"-"` } type metadataUpdateDistributionInput struct { - SDKShapeTraits bool `type:"structure" payload:"DistributionConfig" required:"DistributionConfig,Id"` + SDKShapeTraits bool `type:"structure" payload:"DistributionConfig"` } type UpdateDistributionOutput struct { @@ -1509,15 +1509,15 @@ type metadataUpdateDistributionOutput struct { } type UpdateStreamingDistributionInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` - StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure"` + StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure" required:"true"` metadataUpdateStreamingDistributionInput `json:"-", xml:"-"` } type metadataUpdateStreamingDistributionInput struct { - SDKShapeTraits bool `type:"structure" payload:"StreamingDistributionConfig" required:"StreamingDistributionConfig,Id"` + SDKShapeTraits bool `type:"structure" payload:"StreamingDistributionConfig"` } type UpdateStreamingDistributionOutput struct { diff --git a/service/cloudfront/integration_test.go b/service/cloudfront/integration_test.go index 554311f6b18..69bb6377448 100644 --- a/service/cloudfront/integration_test.go +++ b/service/cloudfront/integration_test.go @@ -33,11 +33,24 @@ func TestCreateDistribution(t *testing.T) { Enabled: aws.True(), Comment: aws.String("A comment"), Origins: &cloudfront.Origins{Quantity: aws.Integer(0)}, + DefaultCacheBehavior: &cloudfront.DefaultCacheBehavior{ + ForwardedValues: &cloudfront.ForwardedValues{ + Cookies: &cloudfront.CookiePreference{Forward: aws.String("cookie")}, + QueryString: aws.Boolean(true), + }, + TargetOriginID: aws.String("origin"), + TrustedSigners: &cloudfront.TrustedSigners{ + Enabled: aws.Boolean(true), + Quantity: aws.Integer(0), + }, + ViewerProtocolPolicy: aws.String("policy"), + MinTTL: aws.Long(0), + }, }, }) err := aws.Error(serr) assert.NotNil(t, err) assert.Equal(t, "MalformedXML", err.Code) - assertMatches(t, "2 validation errors detected", err.Message) + assertMatches(t, "3 validation errors detected", err.Message) } diff --git a/service/cloudhsm/api.go b/service/cloudhsm/api.go index abda06f53a1..fecfe7f4b2b 100644 --- a/service/cloudhsm/api.go +++ b/service/cloudhsm/api.go @@ -432,13 +432,13 @@ func (c *CloudHSM) ModifyLunaClient(input *ModifyLunaClientInput) (output *Modif var opModifyLunaClient *aws.Operation type CreateHAPGInput struct { - Label *string `type:"string" json:",omitempty"` + Label *string `type:"string" required:"true"json:",omitempty"` metadataCreateHAPGInput `json:"-", xml:"-"` } type metadataCreateHAPGInput struct { - SDKShapeTraits bool `type:"structure" required:"Label" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateHAPGOutput struct { @@ -455,17 +455,17 @@ type CreateHSMInput struct { ClientToken *string `locationName:"ClientToken" type:"string" json:"ClientToken,omitempty"` ENIIP *string `locationName:"EniIp" type:"string" json:"EniIp,omitempty"` ExternalID *string `locationName:"ExternalId" type:"string" json:"ExternalId,omitempty"` - IAMRoleARN *string `locationName:"IamRoleArn" type:"string" json:"IamRoleArn,omitempty"` - SSHKey *string `locationName:"SshKey" type:"string" json:"SshKey,omitempty"` - SubnetID *string `locationName:"SubnetId" type:"string" json:"SubnetId,omitempty"` - SubscriptionType *string `locationName:"SubscriptionType" type:"string" json:"SubscriptionType,omitempty"` + IAMRoleARN *string `locationName:"IamRoleArn" type:"string" required:"true"json:"IamRoleArn,omitempty"` + SSHKey *string `locationName:"SshKey" type:"string" required:"true"json:"SshKey,omitempty"` + SubnetID *string `locationName:"SubnetId" type:"string" required:"true"json:"SubnetId,omitempty"` + SubscriptionType *string `locationName:"SubscriptionType" type:"string" required:"true"json:"SubscriptionType,omitempty"` SyslogIP *string `locationName:"SyslogIp" type:"string" json:"SyslogIp,omitempty"` metadataCreateHSMInput `json:"-", xml:"-"` } type metadataCreateHSMInput struct { - SDKShapeTraits bool `locationName:"CreateHsmRequest" type:"structure" required:"SubnetId,SshKey,IamRoleArn,SubscriptionType" json:",omitempty"` + SDKShapeTraits bool `locationName:"CreateHsmRequest" type:"structure" json:",omitempty"` } type CreateHSMOutput struct { @@ -479,14 +479,14 @@ type metadataCreateHSMOutput struct { } type CreateLunaClientInput struct { - Certificate *string `type:"string" json:",omitempty"` + Certificate *string `type:"string" required:"true"json:",omitempty"` Label *string `type:"string" json:",omitempty"` metadataCreateLunaClientInput `json:"-", xml:"-"` } type metadataCreateLunaClientInput struct { - SDKShapeTraits bool `type:"structure" required:"Certificate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateLunaClientOutput struct { @@ -500,73 +500,73 @@ type metadataCreateLunaClientOutput struct { } type DeleteHAPGInput struct { - HAPGARN *string `locationName:"HapgArn" type:"string" json:"HapgArn,omitempty"` + HAPGARN *string `locationName:"HapgArn" type:"string" required:"true"json:"HapgArn,omitempty"` metadataDeleteHAPGInput `json:"-", xml:"-"` } type metadataDeleteHAPGInput struct { - SDKShapeTraits bool `type:"structure" required:"HapgArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteHAPGOutput struct { - Status *string `type:"string" json:",omitempty"` + Status *string `type:"string" required:"true"json:",omitempty"` metadataDeleteHAPGOutput `json:"-", xml:"-"` } type metadataDeleteHAPGOutput struct { - SDKShapeTraits bool `type:"structure" required:"Status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteHSMInput struct { - HSMARN *string `locationName:"HsmArn" type:"string" json:"HsmArn,omitempty"` + HSMARN *string `locationName:"HsmArn" type:"string" required:"true"json:"HsmArn,omitempty"` metadataDeleteHSMInput `json:"-", xml:"-"` } type metadataDeleteHSMInput struct { - SDKShapeTraits bool `locationName:"DeleteHsmRequest" type:"structure" required:"HsmArn" json:",omitempty"` + SDKShapeTraits bool `locationName:"DeleteHsmRequest" type:"structure" json:",omitempty"` } type DeleteHSMOutput struct { - Status *string `type:"string" json:",omitempty"` + Status *string `type:"string" required:"true"json:",omitempty"` metadataDeleteHSMOutput `json:"-", xml:"-"` } type metadataDeleteHSMOutput struct { - SDKShapeTraits bool `type:"structure" required:"Status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteLunaClientInput struct { - ClientARN *string `locationName:"ClientArn" type:"string" json:"ClientArn,omitempty"` + ClientARN *string `locationName:"ClientArn" type:"string" required:"true"json:"ClientArn,omitempty"` metadataDeleteLunaClientInput `json:"-", xml:"-"` } type metadataDeleteLunaClientInput struct { - SDKShapeTraits bool `type:"structure" required:"ClientArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteLunaClientOutput struct { - Status *string `type:"string" json:",omitempty"` + Status *string `type:"string" required:"true"json:",omitempty"` metadataDeleteLunaClientOutput `json:"-", xml:"-"` } type metadataDeleteLunaClientOutput struct { - SDKShapeTraits bool `type:"structure" required:"Status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeHAPGInput struct { - HAPGARN *string `locationName:"HapgArn" type:"string" json:"HapgArn,omitempty"` + HAPGARN *string `locationName:"HapgArn" type:"string" required:"true"json:"HapgArn,omitempty"` metadataDescribeHAPGInput `json:"-", xml:"-"` } type metadataDescribeHAPGInput struct { - SDKShapeTraits bool `type:"structure" required:"HapgArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeHAPGOutput struct { @@ -654,15 +654,15 @@ type metadataDescribeLunaClientOutput struct { } type GetConfigInput struct { - ClientARN *string `locationName:"ClientArn" type:"string" json:"ClientArn,omitempty"` - ClientVersion *string `type:"string" json:",omitempty"` - HAPGList []*string `locationName:"HapgList" type:"list" json:"HapgList,omitempty"` + ClientARN *string `locationName:"ClientArn" type:"string" required:"true"json:"ClientArn,omitempty"` + ClientVersion *string `type:"string" required:"true"json:",omitempty"` + HAPGList []*string `locationName:"HapgList" type:"list" required:"true"json:"HapgList,omitempty"` metadataGetConfigInput `json:"-", xml:"-"` } type metadataGetConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"ClientArn,ClientVersion,HapgList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetConfigOutput struct { @@ -727,14 +727,14 @@ type metadataListHapgsInput struct { } type ListHapgsOutput struct { - HAPGList []*string `locationName:"HapgList" type:"list" json:"HapgList,omitempty"` + HAPGList []*string `locationName:"HapgList" type:"list" required:"true"json:"HapgList,omitempty"` NextToken *string `type:"string" json:",omitempty"` metadataListHapgsOutput `json:"-", xml:"-"` } type metadataListHapgsOutput struct { - SDKShapeTraits bool `type:"structure" required:"HapgList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListLunaClientsInput struct { @@ -748,18 +748,18 @@ type metadataListLunaClientsInput struct { } type ListLunaClientsOutput struct { - ClientList []*string `type:"list" json:",omitempty"` + ClientList []*string `type:"list" required:"true"json:",omitempty"` NextToken *string `type:"string" json:",omitempty"` metadataListLunaClientsOutput `json:"-", xml:"-"` } type metadataListLunaClientsOutput struct { - SDKShapeTraits bool `type:"structure" required:"ClientList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ModifyHAPGInput struct { - HAPGARN *string `locationName:"HapgArn" type:"string" json:"HapgArn,omitempty"` + HAPGARN *string `locationName:"HapgArn" type:"string" required:"true"json:"HapgArn,omitempty"` Label *string `type:"string" json:",omitempty"` PartitionSerialList []*string `type:"list" json:",omitempty"` @@ -767,7 +767,7 @@ type ModifyHAPGInput struct { } type metadataModifyHAPGInput struct { - SDKShapeTraits bool `type:"structure" required:"HapgArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ModifyHAPGOutput struct { @@ -783,7 +783,7 @@ type metadataModifyHAPGOutput struct { type ModifyHSMInput struct { ENIIP *string `locationName:"EniIp" type:"string" json:"EniIp,omitempty"` ExternalID *string `locationName:"ExternalId" type:"string" json:"ExternalId,omitempty"` - HSMARN *string `locationName:"HsmArn" type:"string" json:"HsmArn,omitempty"` + HSMARN *string `locationName:"HsmArn" type:"string" required:"true"json:"HsmArn,omitempty"` IAMRoleARN *string `locationName:"IamRoleArn" type:"string" json:"IamRoleArn,omitempty"` SubnetID *string `locationName:"SubnetId" type:"string" json:"SubnetId,omitempty"` SyslogIP *string `locationName:"SyslogIp" type:"string" json:"SyslogIp,omitempty"` @@ -792,7 +792,7 @@ type ModifyHSMInput struct { } type metadataModifyHSMInput struct { - SDKShapeTraits bool `locationName:"ModifyHsmRequest" type:"structure" required:"HsmArn" json:",omitempty"` + SDKShapeTraits bool `locationName:"ModifyHsmRequest" type:"structure" json:",omitempty"` } type ModifyHSMOutput struct { @@ -806,14 +806,14 @@ type metadataModifyHSMOutput struct { } type ModifyLunaClientInput struct { - Certificate *string `type:"string" json:",omitempty"` - ClientARN *string `locationName:"ClientArn" type:"string" json:"ClientArn,omitempty"` + Certificate *string `type:"string" required:"true"json:",omitempty"` + ClientARN *string `locationName:"ClientArn" type:"string" required:"true"json:"ClientArn,omitempty"` metadataModifyLunaClientInput `json:"-", xml:"-"` } type metadataModifyLunaClientInput struct { - SDKShapeTraits bool `type:"structure" required:"ClientArn,Certificate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ModifyLunaClientOutput struct { diff --git a/service/cloudsearch/api.go b/service/cloudsearch/api.go index b28114a12bc..5cb1727003c 100644 --- a/service/cloudsearch/api.go +++ b/service/cloudsearch/api.go @@ -609,14 +609,14 @@ func (c *CloudSearch) UpdateServiceAccessPolicies(input *UpdateServiceAccessPoli var opUpdateServiceAccessPolicies *aws.Operation type AccessPoliciesStatus struct { - Options *string `type:"string"` - Status *OptionStatus `type:"structure"` + Options *string `type:"string" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataAccessPoliciesStatus `json:"-", xml:"-"` } type metadataAccessPoliciesStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type AnalysisOptions struct { @@ -635,46 +635,46 @@ type metadataAnalysisOptions struct { type AnalysisScheme struct { AnalysisOptions *AnalysisOptions `type:"structure"` - AnalysisSchemeLanguage *string `type:"string"` - AnalysisSchemeName *string `type:"string"` + AnalysisSchemeLanguage *string `type:"string" required:"true"` + AnalysisSchemeName *string `type:"string" required:"true"` metadataAnalysisScheme `json:"-", xml:"-"` } type metadataAnalysisScheme struct { - SDKShapeTraits bool `type:"structure" required:"AnalysisSchemeName,AnalysisSchemeLanguage"` + SDKShapeTraits bool `type:"structure"` } type AnalysisSchemeStatus struct { - Options *AnalysisScheme `type:"structure"` - Status *OptionStatus `type:"structure"` + Options *AnalysisScheme `type:"structure" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataAnalysisSchemeStatus `json:"-", xml:"-"` } type metadataAnalysisSchemeStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type AvailabilityOptionsStatus struct { - Options *bool `type:"boolean"` - Status *OptionStatus `type:"structure"` + Options *bool `type:"boolean" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataAvailabilityOptionsStatus `json:"-", xml:"-"` } type metadataAvailabilityOptionsStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type BuildSuggestersInput struct { - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataBuildSuggestersInput `json:"-", xml:"-"` } type metadataBuildSuggestersInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type BuildSuggestersOutput struct { @@ -688,13 +688,13 @@ type metadataBuildSuggestersOutput struct { } type CreateDomainInput struct { - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataCreateDomainInput `json:"-", xml:"-"` } type metadataCreateDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type CreateDomainOutput struct { @@ -737,118 +737,118 @@ type metadataDateOptions struct { } type DefineAnalysisSchemeInput struct { - AnalysisScheme *AnalysisScheme `type:"structure"` - DomainName *string `type:"string"` + AnalysisScheme *AnalysisScheme `type:"structure" required:"true"` + DomainName *string `type:"string" required:"true"` metadataDefineAnalysisSchemeInput `json:"-", xml:"-"` } type metadataDefineAnalysisSchemeInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,AnalysisScheme"` + SDKShapeTraits bool `type:"structure"` } type DefineAnalysisSchemeOutput struct { - AnalysisScheme *AnalysisSchemeStatus `type:"structure"` + AnalysisScheme *AnalysisSchemeStatus `type:"structure" required:"true"` metadataDefineAnalysisSchemeOutput `json:"-", xml:"-"` } type metadataDefineAnalysisSchemeOutput struct { - SDKShapeTraits bool `type:"structure" required:"AnalysisScheme"` + SDKShapeTraits bool `type:"structure"` } type DefineExpressionInput struct { - DomainName *string `type:"string"` - Expression *Expression `type:"structure"` + DomainName *string `type:"string" required:"true"` + Expression *Expression `type:"structure" required:"true"` metadataDefineExpressionInput `json:"-", xml:"-"` } type metadataDefineExpressionInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,Expression"` + SDKShapeTraits bool `type:"structure"` } type DefineExpressionOutput struct { - Expression *ExpressionStatus `type:"structure"` + Expression *ExpressionStatus `type:"structure" required:"true"` metadataDefineExpressionOutput `json:"-", xml:"-"` } type metadataDefineExpressionOutput struct { - SDKShapeTraits bool `type:"structure" required:"Expression"` + SDKShapeTraits bool `type:"structure"` } type DefineIndexFieldInput struct { - DomainName *string `type:"string"` - IndexField *IndexField `type:"structure"` + DomainName *string `type:"string" required:"true"` + IndexField *IndexField `type:"structure" required:"true"` metadataDefineIndexFieldInput `json:"-", xml:"-"` } type metadataDefineIndexFieldInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,IndexField"` + SDKShapeTraits bool `type:"structure"` } type DefineIndexFieldOutput struct { - IndexField *IndexFieldStatus `type:"structure"` + IndexField *IndexFieldStatus `type:"structure" required:"true"` metadataDefineIndexFieldOutput `json:"-", xml:"-"` } type metadataDefineIndexFieldOutput struct { - SDKShapeTraits bool `type:"structure" required:"IndexField"` + SDKShapeTraits bool `type:"structure"` } type DefineSuggesterInput struct { - DomainName *string `type:"string"` - Suggester *Suggester `type:"structure"` + DomainName *string `type:"string" required:"true"` + Suggester *Suggester `type:"structure" required:"true"` metadataDefineSuggesterInput `json:"-", xml:"-"` } type metadataDefineSuggesterInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,Suggester"` + SDKShapeTraits bool `type:"structure"` } type DefineSuggesterOutput struct { - Suggester *SuggesterStatus `type:"structure"` + Suggester *SuggesterStatus `type:"structure" required:"true"` metadataDefineSuggesterOutput `json:"-", xml:"-"` } type metadataDefineSuggesterOutput struct { - SDKShapeTraits bool `type:"structure" required:"Suggester"` + SDKShapeTraits bool `type:"structure"` } type DeleteAnalysisSchemeInput struct { - AnalysisSchemeName *string `type:"string"` - DomainName *string `type:"string"` + AnalysisSchemeName *string `type:"string" required:"true"` + DomainName *string `type:"string" required:"true"` metadataDeleteAnalysisSchemeInput `json:"-", xml:"-"` } type metadataDeleteAnalysisSchemeInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,AnalysisSchemeName"` + SDKShapeTraits bool `type:"structure"` } type DeleteAnalysisSchemeOutput struct { - AnalysisScheme *AnalysisSchemeStatus `type:"structure"` + AnalysisScheme *AnalysisSchemeStatus `type:"structure" required:"true"` metadataDeleteAnalysisSchemeOutput `json:"-", xml:"-"` } type metadataDeleteAnalysisSchemeOutput struct { - SDKShapeTraits bool `type:"structure" required:"AnalysisScheme"` + SDKShapeTraits bool `type:"structure"` } type DeleteDomainInput struct { - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataDeleteDomainInput `json:"-", xml:"-"` } type metadataDeleteDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DeleteDomainOutput struct { @@ -862,99 +862,99 @@ type metadataDeleteDomainOutput struct { } type DeleteExpressionInput struct { - DomainName *string `type:"string"` - ExpressionName *string `type:"string"` + DomainName *string `type:"string" required:"true"` + ExpressionName *string `type:"string" required:"true"` metadataDeleteExpressionInput `json:"-", xml:"-"` } type metadataDeleteExpressionInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,ExpressionName"` + SDKShapeTraits bool `type:"structure"` } type DeleteExpressionOutput struct { - Expression *ExpressionStatus `type:"structure"` + Expression *ExpressionStatus `type:"structure" required:"true"` metadataDeleteExpressionOutput `json:"-", xml:"-"` } type metadataDeleteExpressionOutput struct { - SDKShapeTraits bool `type:"structure" required:"Expression"` + SDKShapeTraits bool `type:"structure"` } type DeleteIndexFieldInput struct { - DomainName *string `type:"string"` - IndexFieldName *string `type:"string"` + DomainName *string `type:"string" required:"true"` + IndexFieldName *string `type:"string" required:"true"` metadataDeleteIndexFieldInput `json:"-", xml:"-"` } type metadataDeleteIndexFieldInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,IndexFieldName"` + SDKShapeTraits bool `type:"structure"` } type DeleteIndexFieldOutput struct { - IndexField *IndexFieldStatus `type:"structure"` + IndexField *IndexFieldStatus `type:"structure" required:"true"` metadataDeleteIndexFieldOutput `json:"-", xml:"-"` } type metadataDeleteIndexFieldOutput struct { - SDKShapeTraits bool `type:"structure" required:"IndexField"` + SDKShapeTraits bool `type:"structure"` } type DeleteSuggesterInput struct { - DomainName *string `type:"string"` - SuggesterName *string `type:"string"` + DomainName *string `type:"string" required:"true"` + SuggesterName *string `type:"string" required:"true"` metadataDeleteSuggesterInput `json:"-", xml:"-"` } type metadataDeleteSuggesterInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,SuggesterName"` + SDKShapeTraits bool `type:"structure"` } type DeleteSuggesterOutput struct { - Suggester *SuggesterStatus `type:"structure"` + Suggester *SuggesterStatus `type:"structure" required:"true"` metadataDeleteSuggesterOutput `json:"-", xml:"-"` } type metadataDeleteSuggesterOutput struct { - SDKShapeTraits bool `type:"structure" required:"Suggester"` + SDKShapeTraits bool `type:"structure"` } type DescribeAnalysisSchemesInput struct { AnalysisSchemeNames []*string `type:"list"` Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataDescribeAnalysisSchemesInput `json:"-", xml:"-"` } type metadataDescribeAnalysisSchemesInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeAnalysisSchemesOutput struct { - AnalysisSchemes []*AnalysisSchemeStatus `type:"list"` + AnalysisSchemes []*AnalysisSchemeStatus `type:"list" required:"true"` metadataDescribeAnalysisSchemesOutput `json:"-", xml:"-"` } type metadataDescribeAnalysisSchemesOutput struct { - SDKShapeTraits bool `type:"structure" required:"AnalysisSchemes"` + SDKShapeTraits bool `type:"structure"` } type DescribeAvailabilityOptionsInput struct { Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataDescribeAvailabilityOptionsInput `json:"-", xml:"-"` } type metadataDescribeAvailabilityOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeAvailabilityOptionsOutput struct { @@ -978,132 +978,132 @@ type metadataDescribeDomainsInput struct { } type DescribeDomainsOutput struct { - DomainStatusList []*DomainStatus `type:"list"` + DomainStatusList []*DomainStatus `type:"list" required:"true"` metadataDescribeDomainsOutput `json:"-", xml:"-"` } type metadataDescribeDomainsOutput struct { - SDKShapeTraits bool `type:"structure" required:"DomainStatusList"` + SDKShapeTraits bool `type:"structure"` } type DescribeExpressionsInput struct { Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` ExpressionNames []*string `type:"list"` metadataDescribeExpressionsInput `json:"-", xml:"-"` } type metadataDescribeExpressionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeExpressionsOutput struct { - Expressions []*ExpressionStatus `type:"list"` + Expressions []*ExpressionStatus `type:"list" required:"true"` metadataDescribeExpressionsOutput `json:"-", xml:"-"` } type metadataDescribeExpressionsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Expressions"` + SDKShapeTraits bool `type:"structure"` } type DescribeIndexFieldsInput struct { Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` FieldNames []*string `type:"list"` metadataDescribeIndexFieldsInput `json:"-", xml:"-"` } type metadataDescribeIndexFieldsInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeIndexFieldsOutput struct { - IndexFields []*IndexFieldStatus `type:"list"` + IndexFields []*IndexFieldStatus `type:"list" required:"true"` metadataDescribeIndexFieldsOutput `json:"-", xml:"-"` } type metadataDescribeIndexFieldsOutput struct { - SDKShapeTraits bool `type:"structure" required:"IndexFields"` + SDKShapeTraits bool `type:"structure"` } type DescribeScalingParametersInput struct { - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataDescribeScalingParametersInput `json:"-", xml:"-"` } type metadataDescribeScalingParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeScalingParametersOutput struct { - ScalingParameters *ScalingParametersStatus `type:"structure"` + ScalingParameters *ScalingParametersStatus `type:"structure" required:"true"` metadataDescribeScalingParametersOutput `json:"-", xml:"-"` } type metadataDescribeScalingParametersOutput struct { - SDKShapeTraits bool `type:"structure" required:"ScalingParameters"` + SDKShapeTraits bool `type:"structure"` } type DescribeServiceAccessPoliciesInput struct { Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataDescribeServiceAccessPoliciesInput `json:"-", xml:"-"` } type metadataDescribeServiceAccessPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeServiceAccessPoliciesOutput struct { - AccessPolicies *AccessPoliciesStatus `type:"structure"` + AccessPolicies *AccessPoliciesStatus `type:"structure" required:"true"` metadataDescribeServiceAccessPoliciesOutput `json:"-", xml:"-"` } type metadataDescribeServiceAccessPoliciesOutput struct { - SDKShapeTraits bool `type:"structure" required:"AccessPolicies"` + SDKShapeTraits bool `type:"structure"` } type DescribeSuggestersInput struct { Deployed *bool `type:"boolean"` - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` SuggesterNames []*string `type:"list"` metadataDescribeSuggestersInput `json:"-", xml:"-"` } type metadataDescribeSuggestersInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type DescribeSuggestersOutput struct { - Suggesters []*SuggesterStatus `type:"list"` + Suggesters []*SuggesterStatus `type:"list" required:"true"` metadataDescribeSuggestersOutput `json:"-", xml:"-"` } type metadataDescribeSuggestersOutput struct { - SDKShapeTraits bool `type:"structure" required:"Suggesters"` + SDKShapeTraits bool `type:"structure"` } type DocumentSuggesterOptions struct { FuzzyMatching *string `type:"string"` SortExpression *string `type:"string"` - SourceField *string `type:"string"` + SourceField *string `type:"string" required:"true"` metadataDocumentSuggesterOptions `json:"-", xml:"-"` } type metadataDocumentSuggesterOptions struct { - SDKShapeTraits bool `type:"structure" required:"SourceField"` + SDKShapeTraits bool `type:"structure"` } type DomainStatus struct { @@ -1111,11 +1111,11 @@ type DomainStatus struct { Created *bool `type:"boolean"` Deleted *bool `type:"boolean"` DocService *ServiceEndpoint `type:"structure"` - DomainID *string `locationName:"DomainId" type:"string"` - DomainName *string `type:"string"` + DomainID *string `locationName:"DomainId" type:"string" required:"true"` + DomainName *string `type:"string" required:"true"` Limits *Limits `type:"structure"` Processing *bool `type:"boolean"` - RequiresIndexDocuments *bool `type:"boolean"` + RequiresIndexDocuments *bool `type:"boolean" required:"true"` SearchInstanceCount *int `type:"integer"` SearchInstanceType *string `type:"string"` SearchPartitionCount *int `type:"integer"` @@ -1125,7 +1125,7 @@ type DomainStatus struct { } type metadataDomainStatus struct { - SDKShapeTraits bool `type:"structure" required:"DomainId,DomainName,RequiresIndexDocuments"` + SDKShapeTraits bool `type:"structure"` } type DoubleArrayOptions struct { @@ -1158,35 +1158,35 @@ type metadataDoubleOptions struct { } type Expression struct { - ExpressionName *string `type:"string"` - ExpressionValue *string `type:"string"` + ExpressionName *string `type:"string" required:"true"` + ExpressionValue *string `type:"string" required:"true"` metadataExpression `json:"-", xml:"-"` } type metadataExpression struct { - SDKShapeTraits bool `type:"structure" required:"ExpressionName,ExpressionValue"` + SDKShapeTraits bool `type:"structure"` } type ExpressionStatus struct { - Options *Expression `type:"structure"` - Status *OptionStatus `type:"structure"` + Options *Expression `type:"structure" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataExpressionStatus `json:"-", xml:"-"` } type metadataExpressionStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type IndexDocumentsInput struct { - DomainName *string `type:"string"` + DomainName *string `type:"string" required:"true"` metadataIndexDocumentsInput `json:"-", xml:"-"` } type metadataIndexDocumentsInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName"` + SDKShapeTraits bool `type:"structure"` } type IndexDocumentsOutput struct { @@ -1204,8 +1204,8 @@ type IndexField struct { DateOptions *DateOptions `type:"structure"` DoubleArrayOptions *DoubleArrayOptions `type:"structure"` DoubleOptions *DoubleOptions `type:"structure"` - IndexFieldName *string `type:"string"` - IndexFieldType *string `type:"string"` + IndexFieldName *string `type:"string" required:"true"` + IndexFieldType *string `type:"string" required:"true"` IntArrayOptions *IntArrayOptions `type:"structure"` IntOptions *IntOptions `type:"structure"` LatLonOptions *LatLonOptions `type:"structure"` @@ -1218,18 +1218,18 @@ type IndexField struct { } type metadataIndexField struct { - SDKShapeTraits bool `type:"structure" required:"IndexFieldName,IndexFieldType"` + SDKShapeTraits bool `type:"structure"` } type IndexFieldStatus struct { - Options *IndexField `type:"structure"` - Status *OptionStatus `type:"structure"` + Options *IndexField `type:"structure" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataIndexFieldStatus `json:"-", xml:"-"` } type metadataIndexFieldStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type IntArrayOptions struct { @@ -1277,14 +1277,14 @@ type metadataLatLonOptions struct { } type Limits struct { - MaximumPartitionCount *int `type:"integer"` - MaximumReplicationCount *int `type:"integer"` + MaximumPartitionCount *int `type:"integer" required:"true"` + MaximumReplicationCount *int `type:"integer" required:"true"` metadataLimits `json:"-", xml:"-"` } type metadataLimits struct { - SDKShapeTraits bool `type:"structure" required:"MaximumReplicationCount,MaximumPartitionCount"` + SDKShapeTraits bool `type:"structure"` } type ListDomainNamesInput struct { @@ -1335,17 +1335,17 @@ type metadataLiteralOptions struct { } type OptionStatus struct { - CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` + CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` PendingDeletion *bool `type:"boolean"` - State *string `type:"string"` - UpdateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` + State *string `type:"string" required:"true"` + UpdateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` UpdateVersion *int `type:"integer"` metadataOptionStatus `json:"-", xml:"-"` } type metadataOptionStatus struct { - SDKShapeTraits bool `type:"structure" required:"CreationDate,UpdateDate,State"` + SDKShapeTraits bool `type:"structure"` } type ScalingParameters struct { @@ -1361,14 +1361,14 @@ type metadataScalingParameters struct { } type ScalingParametersStatus struct { - Options *ScalingParameters `type:"structure"` - Status *OptionStatus `type:"structure"` + Options *ScalingParameters `type:"structure" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataScalingParametersStatus `json:"-", xml:"-"` } type metadataScalingParametersStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type ServiceEndpoint struct { @@ -1382,25 +1382,25 @@ type metadataServiceEndpoint struct { } type Suggester struct { - DocumentSuggesterOptions *DocumentSuggesterOptions `type:"structure"` - SuggesterName *string `type:"string"` + DocumentSuggesterOptions *DocumentSuggesterOptions `type:"structure" required:"true"` + SuggesterName *string `type:"string" required:"true"` metadataSuggester `json:"-", xml:"-"` } type metadataSuggester struct { - SDKShapeTraits bool `type:"structure" required:"SuggesterName,DocumentSuggesterOptions"` + SDKShapeTraits bool `type:"structure"` } type SuggesterStatus struct { - Options *Suggester `type:"structure"` - Status *OptionStatus `type:"structure"` + Options *Suggester `type:"structure" required:"true"` + Status *OptionStatus `type:"structure" required:"true"` metadataSuggesterStatus `json:"-", xml:"-"` } type metadataSuggesterStatus struct { - SDKShapeTraits bool `type:"structure" required:"Options,Status"` + SDKShapeTraits bool `type:"structure"` } type TextArrayOptions struct { @@ -1433,14 +1433,14 @@ type metadataTextOptions struct { } type UpdateAvailabilityOptionsInput struct { - DomainName *string `type:"string"` - MultiAZ *bool `type:"boolean"` + DomainName *string `type:"string" required:"true"` + MultiAZ *bool `type:"boolean" required:"true"` metadataUpdateAvailabilityOptionsInput `json:"-", xml:"-"` } type metadataUpdateAvailabilityOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,MultiAZ"` + SDKShapeTraits bool `type:"structure"` } type UpdateAvailabilityOptionsOutput struct { @@ -1454,43 +1454,43 @@ type metadataUpdateAvailabilityOptionsOutput struct { } type UpdateScalingParametersInput struct { - DomainName *string `type:"string"` - ScalingParameters *ScalingParameters `type:"structure"` + DomainName *string `type:"string" required:"true"` + ScalingParameters *ScalingParameters `type:"structure" required:"true"` metadataUpdateScalingParametersInput `json:"-", xml:"-"` } type metadataUpdateScalingParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,ScalingParameters"` + SDKShapeTraits bool `type:"structure"` } type UpdateScalingParametersOutput struct { - ScalingParameters *ScalingParametersStatus `type:"structure"` + ScalingParameters *ScalingParametersStatus `type:"structure" required:"true"` metadataUpdateScalingParametersOutput `json:"-", xml:"-"` } type metadataUpdateScalingParametersOutput struct { - SDKShapeTraits bool `type:"structure" required:"ScalingParameters"` + SDKShapeTraits bool `type:"structure"` } type UpdateServiceAccessPoliciesInput struct { - AccessPolicies *string `type:"string"` - DomainName *string `type:"string"` + AccessPolicies *string `type:"string" required:"true"` + DomainName *string `type:"string" required:"true"` metadataUpdateServiceAccessPoliciesInput `json:"-", xml:"-"` } type metadataUpdateServiceAccessPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,AccessPolicies"` + SDKShapeTraits bool `type:"structure"` } type UpdateServiceAccessPoliciesOutput struct { - AccessPolicies *AccessPoliciesStatus `type:"structure"` + AccessPolicies *AccessPoliciesStatus `type:"structure" required:"true"` metadataUpdateServiceAccessPoliciesOutput `json:"-", xml:"-"` } type metadataUpdateServiceAccessPoliciesOutput struct { - SDKShapeTraits bool `type:"structure" required:"AccessPolicies"` + SDKShapeTraits bool `type:"structure"` } \ No newline at end of file diff --git a/service/cloudtrail/api.go b/service/cloudtrail/api.go index 2b664c5b7c2..7407c7b8755 100644 --- a/service/cloudtrail/api.go +++ b/service/cloudtrail/api.go @@ -187,8 +187,8 @@ type CreateTrailInput struct { CloudWatchLogsLogGroupARN *string `locationName:"CloudWatchLogsLogGroupArn" type:"string" json:"CloudWatchLogsLogGroupArn,omitempty"` CloudWatchLogsRoleARN *string `locationName:"CloudWatchLogsRoleArn" type:"string" json:"CloudWatchLogsRoleArn,omitempty"` IncludeGlobalServiceEvents *bool `type:"boolean" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` - S3BucketName *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` + S3BucketName *string `type:"string" required:"true"json:",omitempty"` S3KeyPrefix *string `type:"string" json:",omitempty"` SNSTopicName *string `locationName:"SnsTopicName" type:"string" json:"SnsTopicName,omitempty"` @@ -196,7 +196,7 @@ type CreateTrailInput struct { } type metadataCreateTrailInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,S3BucketName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateTrailOutput struct { @@ -216,13 +216,13 @@ type metadataCreateTrailOutput struct { } type DeleteTrailInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDeleteTrailInput `json:"-", xml:"-"` } type metadataDeleteTrailInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTrailOutput struct { @@ -254,13 +254,13 @@ type metadataDescribeTrailsOutput struct { } type GetTrailStatusInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataGetTrailStatusInput `json:"-", xml:"-"` } type metadataGetTrailStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetTrailStatusOutput struct { @@ -282,13 +282,13 @@ type metadataGetTrailStatusOutput struct { } type StartLoggingInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataStartLoggingInput `json:"-", xml:"-"` } type metadataStartLoggingInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartLoggingOutput struct { @@ -300,13 +300,13 @@ type metadataStartLoggingOutput struct { } type StopLoggingInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataStopLoggingInput `json:"-", xml:"-"` } type metadataStopLoggingInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopLoggingOutput struct { @@ -337,7 +337,7 @@ type UpdateTrailInput struct { CloudWatchLogsLogGroupARN *string `locationName:"CloudWatchLogsLogGroupArn" type:"string" json:"CloudWatchLogsLogGroupArn,omitempty"` CloudWatchLogsRoleARN *string `locationName:"CloudWatchLogsRoleArn" type:"string" json:"CloudWatchLogsRoleArn,omitempty"` IncludeGlobalServiceEvents *bool `type:"boolean" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` S3BucketName *string `type:"string" json:",omitempty"` S3KeyPrefix *string `type:"string" json:",omitempty"` SNSTopicName *string `locationName:"SnsTopicName" type:"string" json:"SnsTopicName,omitempty"` @@ -346,7 +346,7 @@ type UpdateTrailInput struct { } type metadataUpdateTrailInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateTrailOutput struct { diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index 0be65511987..0fd975ef304 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -314,13 +314,13 @@ type metadataDatapoint struct { } type DeleteAlarmsInput struct { - AlarmNames []*string `type:"list"` + AlarmNames []*string `type:"list" required:"true"` metadataDeleteAlarmsInput `json:"-", xml:"-"` } type metadataDeleteAlarmsInput struct { - SDKShapeTraits bool `type:"structure" required:"AlarmNames"` + SDKShapeTraits bool `type:"structure"` } type DeleteAlarmsOutput struct { @@ -359,8 +359,8 @@ type metadataDescribeAlarmHistoryOutput struct { type DescribeAlarmsForMetricInput struct { Dimensions []*Dimension `type:"list"` - MetricName *string `type:"string"` - Namespace *string `type:"string"` + MetricName *string `type:"string" required:"true"` + Namespace *string `type:"string" required:"true"` Period *int `type:"integer"` Statistic *string `type:"string"` Unit *string `type:"string"` @@ -369,7 +369,7 @@ type DescribeAlarmsForMetricInput struct { } type metadataDescribeAlarmsForMetricInput struct { - SDKShapeTraits bool `type:"structure" required:"MetricName,Namespace"` + SDKShapeTraits bool `type:"structure"` } type DescribeAlarmsForMetricOutput struct { @@ -409,35 +409,35 @@ type metadataDescribeAlarmsOutput struct { } type Dimension struct { - Name *string `type:"string"` - Value *string `type:"string"` + Name *string `type:"string" required:"true"` + Value *string `type:"string" required:"true"` metadataDimension `json:"-", xml:"-"` } type metadataDimension struct { - SDKShapeTraits bool `type:"structure" required:"Name,Value"` + SDKShapeTraits bool `type:"structure"` } type DimensionFilter struct { - Name *string `type:"string"` + Name *string `type:"string" required:"true"` Value *string `type:"string"` metadataDimensionFilter `json:"-", xml:"-"` } type metadataDimensionFilter struct { - SDKShapeTraits bool `type:"structure" required:"Name"` + SDKShapeTraits bool `type:"structure"` } type DisableAlarmActionsInput struct { - AlarmNames []*string `type:"list"` + AlarmNames []*string `type:"list" required:"true"` metadataDisableAlarmActionsInput `json:"-", xml:"-"` } type metadataDisableAlarmActionsInput struct { - SDKShapeTraits bool `type:"structure" required:"AlarmNames"` + SDKShapeTraits bool `type:"structure"` } type DisableAlarmActionsOutput struct { @@ -449,13 +449,13 @@ type metadataDisableAlarmActionsOutput struct { } type EnableAlarmActionsInput struct { - AlarmNames []*string `type:"list"` + AlarmNames []*string `type:"list" required:"true"` metadataEnableAlarmActionsInput `json:"-", xml:"-"` } type metadataEnableAlarmActionsInput struct { - SDKShapeTraits bool `type:"structure" required:"AlarmNames"` + SDKShapeTraits bool `type:"structure"` } type EnableAlarmActionsOutput struct { @@ -468,19 +468,19 @@ type metadataEnableAlarmActionsOutput struct { type GetMetricStatisticsInput struct { Dimensions []*Dimension `type:"list"` - EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - MetricName *string `type:"string"` - Namespace *string `type:"string"` - Period *int `type:"integer"` - StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Statistics []*string `type:"list"` + EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + MetricName *string `type:"string" required:"true"` + Namespace *string `type:"string" required:"true"` + Period *int `type:"integer" required:"true"` + StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + Statistics []*string `type:"list" required:"true"` Unit *string `type:"string"` metadataGetMetricStatisticsInput `json:"-", xml:"-"` } type metadataGetMetricStatisticsInput struct { - SDKShapeTraits bool `type:"structure" required:"Namespace,MetricName,StartTime,EndTime,Period,Statistics"` + SDKShapeTraits bool `type:"structure"` } type GetMetricStatisticsOutput struct { @@ -562,7 +562,7 @@ type metadataMetricAlarm struct { type MetricDatum struct { Dimensions []*Dimension `type:"list"` - MetricName *string `type:"string"` + MetricName *string `type:"string" required:"true"` StatisticValues *StatisticSet `type:"structure"` Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` Unit *string `type:"string"` @@ -572,31 +572,31 @@ type MetricDatum struct { } type metadataMetricDatum struct { - SDKShapeTraits bool `type:"structure" required:"MetricName"` + SDKShapeTraits bool `type:"structure"` } type PutMetricAlarmInput struct { ActionsEnabled *bool `type:"boolean"` AlarmActions []*string `type:"list"` AlarmDescription *string `type:"string"` - AlarmName *string `type:"string"` - ComparisonOperator *string `type:"string"` + AlarmName *string `type:"string" required:"true"` + ComparisonOperator *string `type:"string" required:"true"` Dimensions []*Dimension `type:"list"` - EvaluationPeriods *int `type:"integer"` + EvaluationPeriods *int `type:"integer" required:"true"` InsufficientDataActions []*string `type:"list"` - MetricName *string `type:"string"` - Namespace *string `type:"string"` + MetricName *string `type:"string" required:"true"` + Namespace *string `type:"string" required:"true"` OKActions []*string `type:"list"` - Period *int `type:"integer"` - Statistic *string `type:"string"` - Threshold *float64 `type:"double"` + Period *int `type:"integer" required:"true"` + Statistic *string `type:"string" required:"true"` + Threshold *float64 `type:"double" required:"true"` Unit *string `type:"string"` metadataPutMetricAlarmInput `json:"-", xml:"-"` } type metadataPutMetricAlarmInput struct { - SDKShapeTraits bool `type:"structure" required:"AlarmName,MetricName,Namespace,Statistic,Period,EvaluationPeriods,Threshold,ComparisonOperator"` + SDKShapeTraits bool `type:"structure"` } type PutMetricAlarmOutput struct { @@ -608,14 +608,14 @@ type metadataPutMetricAlarmOutput struct { } type PutMetricDataInput struct { - MetricData []*MetricDatum `type:"list"` - Namespace *string `type:"string"` + MetricData []*MetricDatum `type:"list" required:"true"` + Namespace *string `type:"string" required:"true"` metadataPutMetricDataInput `json:"-", xml:"-"` } type metadataPutMetricDataInput struct { - SDKShapeTraits bool `type:"structure" required:"Namespace,MetricData"` + SDKShapeTraits bool `type:"structure"` } type PutMetricDataOutput struct { @@ -627,16 +627,16 @@ type metadataPutMetricDataOutput struct { } type SetAlarmStateInput struct { - AlarmName *string `type:"string"` - StateReason *string `type:"string"` + AlarmName *string `type:"string" required:"true"` + StateReason *string `type:"string" required:"true"` StateReasonData *string `type:"string"` - StateValue *string `type:"string"` + StateValue *string `type:"string" required:"true"` metadataSetAlarmStateInput `json:"-", xml:"-"` } type metadataSetAlarmStateInput struct { - SDKShapeTraits bool `type:"structure" required:"AlarmName,StateValue,StateReason"` + SDKShapeTraits bool `type:"structure"` } type SetAlarmStateOutput struct { @@ -648,14 +648,14 @@ type metadataSetAlarmStateOutput struct { } type StatisticSet struct { - Maximum *float64 `type:"double"` - Minimum *float64 `type:"double"` - SampleCount *float64 `type:"double"` - Sum *float64 `type:"double"` + Maximum *float64 `type:"double" required:"true"` + Minimum *float64 `type:"double" required:"true"` + SampleCount *float64 `type:"double" required:"true"` + Sum *float64 `type:"double" required:"true"` metadataStatisticSet `json:"-", xml:"-"` } type metadataStatisticSet struct { - SDKShapeTraits bool `type:"structure" required:"SampleCount,Sum,Minimum,Maximum"` + SDKShapeTraits bool `type:"structure"` } \ No newline at end of file diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index d5502df84b8..b2ecf8097fd 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -357,13 +357,13 @@ func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (output var opTestMetricFilter *aws.Operation type CreateLogGroupInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` metadataCreateLogGroupInput `json:"-", xml:"-"` } type metadataCreateLogGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateLogGroupOutput struct { @@ -375,14 +375,14 @@ type metadataCreateLogGroupOutput struct { } type CreateLogStreamInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - LogStreamName *string `locationName:"logStreamName" type:"string" json:"logStreamName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"json:"logStreamName,omitempty"` metadataCreateLogStreamInput `json:"-", xml:"-"` } type metadataCreateLogStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,logStreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateLogStreamOutput struct { @@ -394,13 +394,13 @@ type metadataCreateLogStreamOutput struct { } type DeleteLogGroupInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` metadataDeleteLogGroupInput `json:"-", xml:"-"` } type metadataDeleteLogGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteLogGroupOutput struct { @@ -412,14 +412,14 @@ type metadataDeleteLogGroupOutput struct { } type DeleteLogStreamInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - LogStreamName *string `locationName:"logStreamName" type:"string" json:"logStreamName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"json:"logStreamName,omitempty"` metadataDeleteLogStreamInput `json:"-", xml:"-"` } type metadataDeleteLogStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,logStreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteLogStreamOutput struct { @@ -431,14 +431,14 @@ type metadataDeleteLogStreamOutput struct { } type DeleteMetricFilterInput struct { - FilterName *string `locationName:"filterName" type:"string" json:"filterName,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + FilterName *string `locationName:"filterName" type:"string" required:"true"json:"filterName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` metadataDeleteMetricFilterInput `json:"-", xml:"-"` } type metadataDeleteMetricFilterInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,filterName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteMetricFilterOutput struct { @@ -450,13 +450,13 @@ type metadataDeleteMetricFilterOutput struct { } type DeleteRetentionPolicyInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` metadataDeleteRetentionPolicyInput `json:"-", xml:"-"` } type metadataDeleteRetentionPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteRetentionPolicyOutput struct { @@ -492,7 +492,7 @@ type metadataDescribeLogGroupsOutput struct { type DescribeLogStreamsInput struct { Limit *int `locationName:"limit" type:"integer" json:"limit,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` LogStreamNamePrefix *string `locationName:"logStreamNamePrefix" type:"string" json:"logStreamNamePrefix,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` @@ -500,7 +500,7 @@ type DescribeLogStreamsInput struct { } type metadataDescribeLogStreamsInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeLogStreamsOutput struct { @@ -517,14 +517,14 @@ type metadataDescribeLogStreamsOutput struct { type DescribeMetricFiltersInput struct { FilterNamePrefix *string `locationName:"filterNamePrefix" type:"string" json:"filterNamePrefix,omitempty"` Limit *int `locationName:"limit" type:"integer" json:"limit,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` metadataDescribeMetricFiltersInput `json:"-", xml:"-"` } type metadataDescribeMetricFiltersInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeMetricFiltersOutput struct { @@ -541,8 +541,8 @@ type metadataDescribeMetricFiltersOutput struct { type GetLogEventsInput struct { EndTime *int64 `locationName:"endTime" type:"long" json:"endTime,omitempty"` Limit *int `locationName:"limit" type:"integer" json:"limit,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - LogStreamName *string `locationName:"logStreamName" type:"string" json:"logStreamName,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"json:"logStreamName,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` StartFromHead *bool `locationName:"startFromHead" type:"boolean" json:"startFromHead,omitempty"` StartTime *int64 `locationName:"startTime" type:"long" json:"startTime,omitempty"` @@ -551,7 +551,7 @@ type GetLogEventsInput struct { } type metadataGetLogEventsInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,logStreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetLogEventsOutput struct { @@ -567,14 +567,14 @@ type metadataGetLogEventsOutput struct { } type InputLogEvent struct { - Message *string `locationName:"message" type:"string" json:"message,omitempty"` - Timestamp *int64 `locationName:"timestamp" type:"long" json:"timestamp,omitempty"` + Message *string `locationName:"message" type:"string" required:"true"json:"message,omitempty"` + Timestamp *int64 `locationName:"timestamp" type:"long" required:"true"json:"timestamp,omitempty"` metadataInputLogEvent `json:"-", xml:"-"` } type metadataInputLogEvent struct { - SDKShapeTraits bool `type:"structure" required:"timestamp,message" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type LogGroup struct { @@ -635,15 +635,15 @@ type metadataMetricFilterMatchRecord struct { } type MetricTransformation struct { - MetricName *string `locationName:"metricName" type:"string" json:"metricName,omitempty"` - MetricNamespace *string `locationName:"metricNamespace" type:"string" json:"metricNamespace,omitempty"` - MetricValue *string `locationName:"metricValue" type:"string" json:"metricValue,omitempty"` + MetricName *string `locationName:"metricName" type:"string" required:"true"json:"metricName,omitempty"` + MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"json:"metricNamespace,omitempty"` + MetricValue *string `locationName:"metricValue" type:"string" required:"true"json:"metricValue,omitempty"` metadataMetricTransformation `json:"-", xml:"-"` } type metadataMetricTransformation struct { - SDKShapeTraits bool `type:"structure" required:"metricName,metricNamespace,metricValue" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type OutputLogEvent struct { @@ -659,16 +659,16 @@ type metadataOutputLogEvent struct { } type PutLogEventsInput struct { - LogEvents []*InputLogEvent `locationName:"logEvents" type:"list" json:"logEvents,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - LogStreamName *string `locationName:"logStreamName" type:"string" json:"logStreamName,omitempty"` + LogEvents []*InputLogEvent `locationName:"logEvents" type:"list" required:"true"json:"logEvents,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"json:"logStreamName,omitempty"` SequenceToken *string `locationName:"sequenceToken" type:"string" json:"sequenceToken,omitempty"` metadataPutLogEventsInput `json:"-", xml:"-"` } type metadataPutLogEventsInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,logStreamName,logEvents" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutLogEventsOutput struct { @@ -682,16 +682,16 @@ type metadataPutLogEventsOutput struct { } type PutMetricFilterInput struct { - FilterName *string `locationName:"filterName" type:"string" json:"filterName,omitempty"` - FilterPattern *string `locationName:"filterPattern" type:"string" json:"filterPattern,omitempty"` - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - MetricTransformations []*MetricTransformation `locationName:"metricTransformations" type:"list" json:"metricTransformations,omitempty"` + FilterName *string `locationName:"filterName" type:"string" required:"true"json:"filterName,omitempty"` + FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"json:"filterPattern,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + MetricTransformations []*MetricTransformation `locationName:"metricTransformations" type:"list" required:"true"json:"metricTransformations,omitempty"` metadataPutMetricFilterInput `json:"-", xml:"-"` } type metadataPutMetricFilterInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,filterName,filterPattern,metricTransformations" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutMetricFilterOutput struct { @@ -703,14 +703,14 @@ type metadataPutMetricFilterOutput struct { } type PutRetentionPolicyInput struct { - LogGroupName *string `locationName:"logGroupName" type:"string" json:"logGroupName,omitempty"` - RetentionInDays *int `locationName:"retentionInDays" type:"integer" json:"retentionInDays,omitempty"` + LogGroupName *string `locationName:"logGroupName" type:"string" required:"true"json:"logGroupName,omitempty"` + RetentionInDays *int `locationName:"retentionInDays" type:"integer" required:"true"json:"retentionInDays,omitempty"` metadataPutRetentionPolicyInput `json:"-", xml:"-"` } type metadataPutRetentionPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"logGroupName,retentionInDays" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRetentionPolicyOutput struct { @@ -722,14 +722,14 @@ type metadataPutRetentionPolicyOutput struct { } type TestMetricFilterInput struct { - FilterPattern *string `locationName:"filterPattern" type:"string" json:"filterPattern,omitempty"` - LogEventMessages []*string `locationName:"logEventMessages" type:"list" json:"logEventMessages,omitempty"` + FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"json:"filterPattern,omitempty"` + LogEventMessages []*string `locationName:"logEventMessages" type:"list" required:"true"json:"logEventMessages,omitempty"` metadataTestMetricFilterInput `json:"-", xml:"-"` } type metadataTestMetricFilterInput struct { - SDKShapeTraits bool `type:"structure" required:"filterPattern,logEventMessages" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TestMetricFilterOutput struct { diff --git a/service/codedeploy/api.go b/service/codedeploy/api.go index d6329e5ed3c..cb79aba84a7 100644 --- a/service/codedeploy/api.go +++ b/service/codedeploy/api.go @@ -698,13 +698,13 @@ type metadataBatchGetDeploymentsOutput struct { } type CreateApplicationInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` metadataCreateApplicationInput `json:"-", xml:"-"` } type metadataCreateApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateApplicationOutput struct { @@ -718,14 +718,14 @@ type metadataCreateApplicationOutput struct { } type CreateDeploymentConfigInput struct { - DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` + DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"json:"deploymentConfigName,omitempty"` MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure" json:"minimumHealthyHosts,omitempty"` metadataCreateDeploymentConfigInput `json:"-", xml:"-"` } type metadataCreateDeploymentConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentConfigName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateDeploymentConfigOutput struct { @@ -739,10 +739,10 @@ type metadataCreateDeploymentConfigOutput struct { } type CreateDeploymentGroupInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list" json:"autoScalingGroups,omitempty"` DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` - DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" json:"deploymentGroupName,omitempty"` + DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"json:"deploymentGroupName,omitempty"` EC2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list" json:"ec2TagFilters,omitempty"` ServiceRoleARN *string `locationName:"serviceRoleArn" type:"string" json:"serviceRoleArn,omitempty"` @@ -750,7 +750,7 @@ type CreateDeploymentGroupInput struct { } type metadataCreateDeploymentGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,deploymentGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateDeploymentGroupOutput struct { @@ -764,7 +764,7 @@ type metadataCreateDeploymentGroupOutput struct { } type CreateDeploymentInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" json:"deploymentGroupName,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` @@ -775,7 +775,7 @@ type CreateDeploymentInput struct { } type metadataCreateDeploymentInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateDeploymentOutput struct { @@ -789,13 +789,13 @@ type metadataCreateDeploymentOutput struct { } type DeleteApplicationInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` metadataDeleteApplicationInput `json:"-", xml:"-"` } type metadataDeleteApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteApplicationOutput struct { @@ -807,13 +807,13 @@ type metadataDeleteApplicationOutput struct { } type DeleteDeploymentConfigInput struct { - DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` + DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"json:"deploymentConfigName,omitempty"` metadataDeleteDeploymentConfigInput `json:"-", xml:"-"` } type metadataDeleteDeploymentConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentConfigName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteDeploymentConfigOutput struct { @@ -825,14 +825,14 @@ type metadataDeleteDeploymentConfigOutput struct { } type DeleteDeploymentGroupInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` - DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" json:"deploymentGroupName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` + DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"json:"deploymentGroupName,omitempty"` metadataDeleteDeploymentGroupInput `json:"-", xml:"-"` } type metadataDeleteDeploymentGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,deploymentGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteDeploymentGroupOutput struct { @@ -963,13 +963,13 @@ type metadataGenericRevisionInfo struct { } type GetApplicationInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` metadataGetApplicationInput `json:"-", xml:"-"` } type metadataGetApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetApplicationOutput struct { @@ -983,14 +983,14 @@ type metadataGetApplicationOutput struct { } type GetApplicationRevisionInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` - Revision *RevisionLocation `locationName:"revision" type:"structure" json:"revision,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` + Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"json:"revision,omitempty"` metadataGetApplicationRevisionInput `json:"-", xml:"-"` } type metadataGetApplicationRevisionInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,revision" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetApplicationRevisionOutput struct { @@ -1006,13 +1006,13 @@ type metadataGetApplicationRevisionOutput struct { } type GetDeploymentConfigInput struct { - DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` + DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"json:"deploymentConfigName,omitempty"` metadataGetDeploymentConfigInput `json:"-", xml:"-"` } type metadataGetDeploymentConfigInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentConfigName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDeploymentConfigOutput struct { @@ -1026,14 +1026,14 @@ type metadataGetDeploymentConfigOutput struct { } type GetDeploymentGroupInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` - DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" json:"deploymentGroupName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` + DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"json:"deploymentGroupName,omitempty"` metadataGetDeploymentGroupInput `json:"-", xml:"-"` } type metadataGetDeploymentGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,deploymentGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDeploymentGroupOutput struct { @@ -1047,24 +1047,24 @@ type metadataGetDeploymentGroupOutput struct { } type GetDeploymentInput struct { - DeploymentID *string `locationName:"deploymentId" type:"string" json:"deploymentId,omitempty"` + DeploymentID *string `locationName:"deploymentId" type:"string" required:"true"json:"deploymentId,omitempty"` metadataGetDeploymentInput `json:"-", xml:"-"` } type metadataGetDeploymentInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDeploymentInstanceInput struct { - DeploymentID *string `locationName:"deploymentId" type:"string" json:"deploymentId,omitempty"` - InstanceID *string `locationName:"instanceId" type:"string" json:"instanceId,omitempty"` + DeploymentID *string `locationName:"deploymentId" type:"string" required:"true"json:"deploymentId,omitempty"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"json:"instanceId,omitempty"` metadataGetDeploymentInstanceInput `json:"-", xml:"-"` } type metadataGetDeploymentInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentId,instanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDeploymentInstanceOutput struct { @@ -1127,7 +1127,7 @@ type metadataLifecycleEvent struct { } type ListApplicationRevisionsInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` Deployed *string `locationName:"deployed" type:"string" json:"deployed,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` S3Bucket *string `locationName:"s3Bucket" type:"string" json:"s3Bucket,omitempty"` @@ -1139,7 +1139,7 @@ type ListApplicationRevisionsInput struct { } type metadataListApplicationRevisionsInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListApplicationRevisionsOutput struct { @@ -1196,14 +1196,14 @@ type metadataListDeploymentConfigsOutput struct { } type ListDeploymentGroupsInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` metadataListDeploymentGroupsInput `json:"-", xml:"-"` } type metadataListDeploymentGroupsInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListDeploymentGroupsOutput struct { @@ -1219,7 +1219,7 @@ type metadataListDeploymentGroupsOutput struct { } type ListDeploymentInstancesInput struct { - DeploymentID *string `locationName:"deploymentId" type:"string" json:"deploymentId,omitempty"` + DeploymentID *string `locationName:"deploymentId" type:"string" required:"true"json:"deploymentId,omitempty"` InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list" json:"instanceStatusFilter,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` @@ -1227,7 +1227,7 @@ type ListDeploymentInstancesInput struct { } type metadataListDeploymentInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListDeploymentInstancesOutput struct { @@ -1278,15 +1278,15 @@ type metadataMinimumHealthyHosts struct { } type RegisterApplicationRevisionInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Revision *RevisionLocation `locationName:"revision" type:"structure" json:"revision,omitempty"` + Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"json:"revision,omitempty"` metadataRegisterApplicationRevisionInput `json:"-", xml:"-"` } type metadataRegisterApplicationRevisionInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,revision" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterApplicationRevisionOutput struct { @@ -1324,13 +1324,13 @@ type metadataS3Location struct { } type StopDeploymentInput struct { - DeploymentID *string `locationName:"deploymentId" type:"string" json:"deploymentId,omitempty"` + DeploymentID *string `locationName:"deploymentId" type:"string" required:"true"json:"deploymentId,omitempty"` metadataStopDeploymentInput `json:"-", xml:"-"` } type metadataStopDeploymentInput struct { - SDKShapeTraits bool `type:"structure" required:"deploymentId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopDeploymentOutput struct { @@ -1375,9 +1375,9 @@ type metadataUpdateApplicationOutput struct { } type UpdateDeploymentGroupInput struct { - ApplicationName *string `locationName:"applicationName" type:"string" json:"applicationName,omitempty"` + ApplicationName *string `locationName:"applicationName" type:"string" required:"true"json:"applicationName,omitempty"` AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list" json:"autoScalingGroups,omitempty"` - CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" type:"string" json:"currentDeploymentGroupName,omitempty"` + CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" type:"string" required:"true"json:"currentDeploymentGroupName,omitempty"` DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" json:"deploymentConfigName,omitempty"` EC2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list" json:"ec2TagFilters,omitempty"` NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" type:"string" json:"newDeploymentGroupName,omitempty"` @@ -1387,7 +1387,7 @@ type UpdateDeploymentGroupInput struct { } type metadataUpdateDeploymentGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"applicationName,currentDeploymentGroupName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDeploymentGroupOutput struct { diff --git a/service/cognitoidentity/api.go b/service/cognitoidentity/api.go index 6fe3def09f0..07b9be3e863 100644 --- a/service/cognitoidentity/api.go +++ b/service/cognitoidentity/api.go @@ -434,9 +434,9 @@ func (c *CognitoIdentity) UpdateIdentityPool(input *IdentityPool) (output *Ident var opUpdateIdentityPool *aws.Operation type CreateIdentityPoolInput struct { - AllowUnauthenticatedIdentities *bool `type:"boolean" json:",omitempty"` + AllowUnauthenticatedIdentities *bool `type:"boolean" required:"true"json:",omitempty"` DeveloperProviderName *string `type:"string" json:",omitempty"` - IdentityPoolName *string `type:"string" json:",omitempty"` + IdentityPoolName *string `type:"string" required:"true"json:",omitempty"` OpenIDConnectProviderARNs []*string `locationName:"OpenIdConnectProviderARNs" type:"list" json:"OpenIdConnectProviderARNs,omitempty"` SupportedLoginProviders *map[string]*string `type:"map" json:",omitempty"` @@ -444,7 +444,7 @@ type CreateIdentityPoolInput struct { } type metadataCreateIdentityPoolInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolName,AllowUnauthenticatedIdentities" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Credentials struct { @@ -461,13 +461,13 @@ type metadataCredentials struct { } type DeleteIdentityPoolInput struct { - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` metadataDeleteIdentityPoolInput `json:"-", xml:"-"` } type metadataDeleteIdentityPoolInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteIdentityPoolOutput struct { @@ -479,34 +479,34 @@ type metadataDeleteIdentityPoolOutput struct { } type DescribeIdentityInput struct { - IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` + IdentityID *string `locationName:"IdentityId" type:"string" required:"true"json:"IdentityId,omitempty"` metadataDescribeIdentityInput `json:"-", xml:"-"` } type metadataDescribeIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeIdentityPoolInput struct { - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` metadataDescribeIdentityPoolInput `json:"-", xml:"-"` } type metadataDescribeIdentityPoolInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetCredentialsForIdentityInput struct { - IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` + IdentityID *string `locationName:"IdentityId" type:"string" required:"true"json:"IdentityId,omitempty"` Logins *map[string]*string `type:"map" json:",omitempty"` metadataGetCredentialsForIdentityInput `json:"-", xml:"-"` } type metadataGetCredentialsForIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetCredentialsForIdentityOutput struct { @@ -522,14 +522,14 @@ type metadataGetCredentialsForIdentityOutput struct { type GetIDInput struct { AccountID *string `locationName:"AccountId" type:"string" json:"AccountId,omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` Logins *map[string]*string `type:"map" json:",omitempty"` metadataGetIDInput `json:"-", xml:"-"` } type metadataGetIDInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetIDOutput struct { @@ -565,15 +565,15 @@ type metadataGetIdentityPoolRolesOutput struct { type GetOpenIDTokenForDeveloperIdentityInput struct { IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` - Logins *map[string]*string `type:"map" json:",omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` + Logins *map[string]*string `type:"map" required:"true"json:",omitempty"` TokenDuration *int64 `type:"long" json:",omitempty"` metadataGetOpenIDTokenForDeveloperIdentityInput `json:"-", xml:"-"` } type metadataGetOpenIDTokenForDeveloperIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,Logins" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetOpenIDTokenForDeveloperIdentityOutput struct { @@ -588,14 +588,14 @@ type metadataGetOpenIDTokenForDeveloperIdentityOutput struct { } type GetOpenIDTokenInput struct { - IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` + IdentityID *string `locationName:"IdentityId" type:"string" required:"true"json:"IdentityId,omitempty"` Logins *map[string]*string `type:"map" json:",omitempty"` metadataGetOpenIDTokenInput `json:"-", xml:"-"` } type metadataGetOpenIDTokenInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetOpenIDTokenOutput struct { @@ -623,10 +623,10 @@ type metadataIdentityDescription struct { } type IdentityPool struct { - AllowUnauthenticatedIdentities *bool `type:"boolean" json:",omitempty"` + AllowUnauthenticatedIdentities *bool `type:"boolean" required:"true"json:",omitempty"` DeveloperProviderName *string `type:"string" json:",omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` - IdentityPoolName *string `type:"string" json:",omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` + IdentityPoolName *string `type:"string" required:"true"json:",omitempty"` OpenIDConnectProviderARNs []*string `locationName:"OpenIdConnectProviderARNs" type:"list" json:"OpenIdConnectProviderARNs,omitempty"` SupportedLoginProviders *map[string]*string `type:"map" json:",omitempty"` @@ -634,7 +634,7 @@ type IdentityPool struct { } type metadataIdentityPool struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityPoolName,AllowUnauthenticatedIdentities" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type IdentityPoolShortDescription struct { @@ -649,15 +649,15 @@ type metadataIdentityPoolShortDescription struct { } type ListIdentitiesInput struct { - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` - MaxResults *int `type:"integer" json:",omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` + MaxResults *int `type:"integer" required:"true"json:",omitempty"` NextToken *string `type:"string" json:",omitempty"` metadataListIdentitiesInput `json:"-", xml:"-"` } type metadataListIdentitiesInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,MaxResults" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListIdentitiesOutput struct { @@ -673,14 +673,14 @@ type metadataListIdentitiesOutput struct { } type ListIdentityPoolsInput struct { - MaxResults *int `type:"integer" json:",omitempty"` + MaxResults *int `type:"integer" required:"true"json:",omitempty"` NextToken *string `type:"string" json:",omitempty"` metadataListIdentityPoolsInput `json:"-", xml:"-"` } type metadataListIdentityPoolsInput struct { - SDKShapeTraits bool `type:"structure" required:"MaxResults" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListIdentityPoolsOutput struct { @@ -697,7 +697,7 @@ type metadataListIdentityPoolsOutput struct { type LookupDeveloperIdentityInput struct { DeveloperUserIdentifier *string `type:"string" json:",omitempty"` IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` MaxResults *int `type:"integer" json:",omitempty"` NextToken *string `type:"string" json:",omitempty"` @@ -705,7 +705,7 @@ type LookupDeveloperIdentityInput struct { } type metadataLookupDeveloperIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type LookupDeveloperIdentityOutput struct { @@ -721,16 +721,16 @@ type metadataLookupDeveloperIdentityOutput struct { } type MergeDeveloperIdentitiesInput struct { - DestinationUserIdentifier *string `type:"string" json:",omitempty"` - DeveloperProviderName *string `type:"string" json:",omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` - SourceUserIdentifier *string `type:"string" json:",omitempty"` + DestinationUserIdentifier *string `type:"string" required:"true"json:",omitempty"` + DeveloperProviderName *string `type:"string" required:"true"json:",omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` + SourceUserIdentifier *string `type:"string" required:"true"json:",omitempty"` metadataMergeDeveloperIdentitiesInput `json:"-", xml:"-"` } type metadataMergeDeveloperIdentitiesInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceUserIdentifier,DestinationUserIdentifier,DeveloperProviderName,IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type MergeDeveloperIdentitiesOutput struct { @@ -744,14 +744,14 @@ type metadataMergeDeveloperIdentitiesOutput struct { } type SetIdentityPoolRolesInput struct { - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` - Roles *map[string]*string `type:"map" json:",omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` + Roles *map[string]*string `type:"map" required:"true"json:",omitempty"` metadataSetIdentityPoolRolesInput `json:"-", xml:"-"` } type metadataSetIdentityPoolRolesInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,Roles" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetIdentityPoolRolesOutput struct { @@ -763,16 +763,16 @@ type metadataSetIdentityPoolRolesOutput struct { } type UnlinkDeveloperIdentityInput struct { - DeveloperProviderName *string `type:"string" json:",omitempty"` - DeveloperUserIdentifier *string `type:"string" json:",omitempty"` - IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` - IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" json:"IdentityPoolId,omitempty"` + DeveloperProviderName *string `type:"string" required:"true"json:",omitempty"` + DeveloperUserIdentifier *string `type:"string" required:"true"json:",omitempty"` + IdentityID *string `locationName:"IdentityId" type:"string" required:"true"json:"IdentityId,omitempty"` + IdentityPoolID *string `locationName:"IdentityPoolId" type:"string" required:"true"json:"IdentityPoolId,omitempty"` metadataUnlinkDeveloperIdentityInput `json:"-", xml:"-"` } type metadataUnlinkDeveloperIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId,IdentityPoolId,DeveloperProviderName,DeveloperUserIdentifier" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UnlinkDeveloperIdentityOutput struct { @@ -784,15 +784,15 @@ type metadataUnlinkDeveloperIdentityOutput struct { } type UnlinkIdentityInput struct { - IdentityID *string `locationName:"IdentityId" type:"string" json:"IdentityId,omitempty"` - Logins *map[string]*string `type:"map" json:",omitempty"` - LoginsToRemove []*string `type:"list" json:",omitempty"` + IdentityID *string `locationName:"IdentityId" type:"string" required:"true"json:"IdentityId,omitempty"` + Logins *map[string]*string `type:"map" required:"true"json:",omitempty"` + LoginsToRemove []*string `type:"list" required:"true"json:",omitempty"` metadataUnlinkIdentityInput `json:"-", xml:"-"` } type metadataUnlinkIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId,Logins,LoginsToRemove" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UnlinkIdentityOutput struct { diff --git a/service/cognitosync/api.go b/service/cognitosync/api.go index b91e9ead548..c941ada5e75 100644 --- a/service/cognitosync/api.go +++ b/service/cognitosync/api.go @@ -350,15 +350,15 @@ type metadataDataset struct { } type DeleteDatasetInput struct { - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteDatasetInput `json:"-", xml:"-"` } type metadataDeleteDatasetInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteDatasetOutput struct { @@ -372,15 +372,15 @@ type metadataDeleteDatasetOutput struct { } type DescribeDatasetInput struct { - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataDescribeDatasetInput `json:"-", xml:"-"` } type metadataDescribeDatasetInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeDatasetOutput struct { @@ -394,13 +394,13 @@ type metadataDescribeDatasetOutput struct { } type DescribeIdentityPoolUsageInput struct { - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataDescribeIdentityPoolUsageInput `json:"-", xml:"-"` } type metadataDescribeIdentityPoolUsageInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeIdentityPoolUsageOutput struct { @@ -414,14 +414,14 @@ type metadataDescribeIdentityPoolUsageOutput struct { } type DescribeIdentityUsageInput struct { - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataDescribeIdentityUsageInput `json:"-", xml:"-"` } type metadataDescribeIdentityUsageInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeIdentityUsageOutput struct { @@ -435,13 +435,13 @@ type metadataDescribeIdentityUsageOutput struct { } type GetIdentityPoolConfigurationInput struct { - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataGetIdentityPoolConfigurationInput `json:"-", xml:"-"` } type metadataGetIdentityPoolConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetIdentityPoolConfigurationOutput struct { @@ -483,8 +483,8 @@ type metadataIdentityUsage struct { } type ListDatasetsInput struct { - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` MaxResults *int `location:"querystring" locationName:"maxResults" type:"integer" json:"-" xml:"-"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string" json:"-" xml:"-"` @@ -492,7 +492,7 @@ type ListDatasetsInput struct { } type metadataListDatasetsInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityId,IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListDatasetsOutput struct { @@ -532,9 +532,9 @@ type metadataListIdentityPoolUsageOutput struct { } type ListRecordsInput struct { - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` LastSyncCount *int64 `location:"querystring" locationName:"lastSyncCount" type:"long" json:"-" xml:"-"` MaxResults *int `location:"querystring" locationName:"maxResults" type:"integer" json:"-" xml:"-"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string" json:"-" xml:"-"` @@ -544,7 +544,7 @@ type ListRecordsInput struct { } type metadataListRecordsInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListRecordsOutput struct { @@ -593,29 +593,29 @@ type metadataRecord struct { type RecordPatch struct { DeviceLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - Key *string `type:"string" json:",omitempty"` - Op *string `type:"string" json:",omitempty"` - SyncCount *int64 `type:"long" json:",omitempty"` + Key *string `type:"string" required:"true"json:",omitempty"` + Op *string `type:"string" required:"true"json:",omitempty"` + SyncCount *int64 `type:"long" required:"true"json:",omitempty"` Value *string `type:"string" json:",omitempty"` metadataRecordPatch `json:"-", xml:"-"` } type metadataRecordPatch struct { - SDKShapeTraits bool `type:"structure" required:"Op,Key,SyncCount" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterDeviceInput struct { - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` - Platform *string `type:"string" json:",omitempty"` - Token *string `type:"string" json:",omitempty"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` + Platform *string `type:"string" required:"true"json:",omitempty"` + Token *string `type:"string" required:"true"json:",omitempty"` metadataRegisterDeviceInput `json:"-", xml:"-"` } type metadataRegisterDeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,Platform,Token" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterDeviceOutput struct { @@ -629,14 +629,14 @@ type metadataRegisterDeviceOutput struct { } type SetIdentityPoolConfigurationInput struct { - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` PushSync *PushSync `type:"structure" json:",omitempty"` metadataSetIdentityPoolConfigurationInput `json:"-", xml:"-"` } type metadataSetIdentityPoolConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetIdentityPoolConfigurationOutput struct { @@ -651,16 +651,16 @@ type metadataSetIdentityPoolConfigurationOutput struct { } type SubscribeToDatasetInput struct { - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` - DeviceID *string `location:"uri" locationName:"DeviceId" type:"string" json:"-" xml:"-"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` + DeviceID *string `location:"uri" locationName:"DeviceId" type:"string" required:"true"json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataSubscribeToDatasetInput `json:"-", xml:"-"` } type metadataSubscribeToDatasetInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName,DeviceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SubscribeToDatasetOutput struct { @@ -672,16 +672,16 @@ type metadataSubscribeToDatasetOutput struct { } type UnsubscribeFromDatasetInput struct { - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` - DeviceID *string `location:"uri" locationName:"DeviceId" type:"string" json:"-" xml:"-"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` + DeviceID *string `location:"uri" locationName:"DeviceId" type:"string" required:"true"json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` metadataUnsubscribeFromDatasetInput `json:"-", xml:"-"` } type metadataUnsubscribeFromDatasetInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName,DeviceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UnsubscribeFromDatasetOutput struct { @@ -694,18 +694,18 @@ type metadataUnsubscribeFromDatasetOutput struct { type UpdateRecordsInput struct { ClientContext *string `location:"header" locationName:"x-amz-Client-Context" type:"string" json:"-" xml:"-"` - DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" json:"-" xml:"-"` + DatasetName *string `location:"uri" locationName:"DatasetName" type:"string" required:"true"json:"-" xml:"-"` DeviceID *string `locationName:"DeviceId" type:"string" json:"DeviceId,omitempty"` - IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" json:"-" xml:"-"` - IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" json:"-" xml:"-"` + IdentityID *string `location:"uri" locationName:"IdentityId" type:"string" required:"true"json:"-" xml:"-"` + IdentityPoolID *string `location:"uri" locationName:"IdentityPoolId" type:"string" required:"true"json:"-" xml:"-"` RecordPatches []*RecordPatch `type:"list" json:",omitempty"` - SyncSessionToken *string `type:"string" json:",omitempty"` + SyncSessionToken *string `type:"string" required:"true"json:",omitempty"` metadataUpdateRecordsInput `json:"-", xml:"-"` } type metadataUpdateRecordsInput struct { - SDKShapeTraits bool `type:"structure" required:"IdentityPoolId,IdentityId,DatasetName,SyncSessionToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateRecordsOutput struct { diff --git a/service/configservice/api.go b/service/configservice/api.go index 1766905fca7..1297ccf61f9 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -363,13 +363,13 @@ type metadataConfigurationRecorderStatus struct { } type DeleteDeliveryChannelInput struct { - DeliveryChannelName *string `type:"string" json:",omitempty"` + DeliveryChannelName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteDeliveryChannelInput `json:"-", xml:"-"` } type metadataDeleteDeliveryChannelInput struct { - SDKShapeTraits bool `type:"structure" required:"DeliveryChannelName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteDeliveryChannelOutput struct { @@ -381,13 +381,13 @@ type metadataDeleteDeliveryChannelOutput struct { } type DeliverConfigSnapshotInput struct { - DeliveryChannelName *string `locationName:"deliveryChannelName" type:"string" json:"deliveryChannelName,omitempty"` + DeliveryChannelName *string `locationName:"deliveryChannelName" type:"string" required:"true"json:"deliveryChannelName,omitempty"` metadataDeliverConfigSnapshotInput `json:"-", xml:"-"` } type metadataDeliverConfigSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"deliveryChannelName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeliverConfigSnapshotOutput struct { @@ -512,14 +512,14 @@ type GetResourceConfigHistoryInput struct { LaterTime *time.Time `locationName:"laterTime" type:"timestamp" timestampFormat:"unix" json:"laterTime,omitempty"` Limit *int `locationName:"limit" type:"integer" json:"limit,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` - ResourceID *string `locationName:"resourceId" type:"string" json:"resourceId,omitempty"` - ResourceType *string `locationName:"resourceType" type:"string" json:"resourceType,omitempty"` + ResourceID *string `locationName:"resourceId" type:"string" required:"true"json:"resourceId,omitempty"` + ResourceType *string `locationName:"resourceType" type:"string" required:"true"json:"resourceType,omitempty"` metadataGetResourceConfigHistoryInput `json:"-", xml:"-"` } type metadataGetResourceConfigHistoryInput struct { - SDKShapeTraits bool `type:"structure" required:"resourceType,resourceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetResourceConfigHistoryOutput struct { @@ -534,13 +534,13 @@ type metadataGetResourceConfigHistoryOutput struct { } type PutConfigurationRecorderInput struct { - ConfigurationRecorder *ConfigurationRecorder `type:"structure" json:",omitempty"` + ConfigurationRecorder *ConfigurationRecorder `type:"structure" required:"true"json:",omitempty"` metadataPutConfigurationRecorderInput `json:"-", xml:"-"` } type metadataPutConfigurationRecorderInput struct { - SDKShapeTraits bool `type:"structure" required:"ConfigurationRecorder" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutConfigurationRecorderOutput struct { @@ -552,13 +552,13 @@ type metadataPutConfigurationRecorderOutput struct { } type PutDeliveryChannelInput struct { - DeliveryChannel *DeliveryChannel `type:"structure" json:",omitempty"` + DeliveryChannel *DeliveryChannel `type:"structure" required:"true"json:",omitempty"` metadataPutDeliveryChannelInput `json:"-", xml:"-"` } type metadataPutDeliveryChannelInput struct { - SDKShapeTraits bool `type:"structure" required:"DeliveryChannel" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutDeliveryChannelOutput struct { @@ -582,13 +582,13 @@ type metadataRelationship struct { } type StartConfigurationRecorderInput struct { - ConfigurationRecorderName *string `type:"string" json:",omitempty"` + ConfigurationRecorderName *string `type:"string" required:"true"json:",omitempty"` metadataStartConfigurationRecorderInput `json:"-", xml:"-"` } type metadataStartConfigurationRecorderInput struct { - SDKShapeTraits bool `type:"structure" required:"ConfigurationRecorderName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartConfigurationRecorderOutput struct { @@ -600,13 +600,13 @@ type metadataStartConfigurationRecorderOutput struct { } type StopConfigurationRecorderInput struct { - ConfigurationRecorderName *string `type:"string" json:",omitempty"` + ConfigurationRecorderName *string `type:"string" required:"true"json:",omitempty"` metadataStopConfigurationRecorderInput `json:"-", xml:"-"` } type metadataStopConfigurationRecorderInput struct { - SDKShapeTraits bool `type:"structure" required:"ConfigurationRecorderName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopConfigurationRecorderOutput struct { diff --git a/service/datapipeline/api.go b/service/datapipeline/api.go index f9b1309531e..9e76434ef57 100644 --- a/service/datapipeline/api.go +++ b/service/datapipeline/api.go @@ -408,13 +408,13 @@ var opValidatePipelineDefinition *aws.Operation type ActivatePipelineInput struct { ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list" json:"parameterValues,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataActivatePipelineInput `json:"-", xml:"-"` } type metadataActivatePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivatePipelineOutput struct { @@ -427,34 +427,34 @@ type metadataActivatePipelineOutput struct { type CreatePipelineInput struct { Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - UniqueID *string `locationName:"uniqueId" type:"string" json:"uniqueId,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + UniqueID *string `locationName:"uniqueId" type:"string" required:"true"json:"uniqueId,omitempty"` metadataCreatePipelineInput `json:"-", xml:"-"` } type metadataCreatePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"name,uniqueId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreatePipelineOutput struct { - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataCreatePipelineOutput `json:"-", xml:"-"` } type metadataCreatePipelineOutput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeletePipelineInput struct { - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataDeletePipelineInput `json:"-", xml:"-"` } type metadataDeletePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeletePipelineOutput struct { @@ -468,72 +468,72 @@ type metadataDeletePipelineOutput struct { type DescribeObjectsInput struct { EvaluateExpressions *bool `locationName:"evaluateExpressions" type:"boolean" json:"evaluateExpressions,omitempty"` Marker *string `locationName:"marker" type:"string" json:"marker,omitempty"` - ObjectIDs []*string `locationName:"objectIds" type:"list" json:"objectIds,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + ObjectIDs []*string `locationName:"objectIds" type:"list" required:"true"json:"objectIds,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataDescribeObjectsInput `json:"-", xml:"-"` } type metadataDescribeObjectsInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,objectIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeObjectsOutput struct { HasMoreResults *bool `locationName:"hasMoreResults" type:"boolean" json:"hasMoreResults,omitempty"` Marker *string `locationName:"marker" type:"string" json:"marker,omitempty"` - PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" json:"pipelineObjects,omitempty"` + PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"json:"pipelineObjects,omitempty"` metadataDescribeObjectsOutput `json:"-", xml:"-"` } type metadataDescribeObjectsOutput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineObjects" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribePipelinesInput struct { - PipelineIDs []*string `locationName:"pipelineIds" type:"list" json:"pipelineIds,omitempty"` + PipelineIDs []*string `locationName:"pipelineIds" type:"list" required:"true"json:"pipelineIds,omitempty"` metadataDescribePipelinesInput `json:"-", xml:"-"` } type metadataDescribePipelinesInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribePipelinesOutput struct { - PipelineDescriptionList []*PipelineDescription `locationName:"pipelineDescriptionList" type:"list" json:"pipelineDescriptionList,omitempty"` + PipelineDescriptionList []*PipelineDescription `locationName:"pipelineDescriptionList" type:"list" required:"true"json:"pipelineDescriptionList,omitempty"` metadataDescribePipelinesOutput `json:"-", xml:"-"` } type metadataDescribePipelinesOutput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineDescriptionList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EvaluateExpressionInput struct { - Expression *string `locationName:"expression" type:"string" json:"expression,omitempty"` - ObjectID *string `locationName:"objectId" type:"string" json:"objectId,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + Expression *string `locationName:"expression" type:"string" required:"true"json:"expression,omitempty"` + ObjectID *string `locationName:"objectId" type:"string" required:"true"json:"objectId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataEvaluateExpressionInput `json:"-", xml:"-"` } type metadataEvaluateExpressionInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,objectId,expression" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EvaluateExpressionOutput struct { - EvaluatedExpression *string `locationName:"evaluatedExpression" type:"string" json:"evaluatedExpression,omitempty"` + EvaluatedExpression *string `locationName:"evaluatedExpression" type:"string" required:"true"json:"evaluatedExpression,omitempty"` metadataEvaluateExpressionOutput `json:"-", xml:"-"` } type metadataEvaluateExpressionOutput struct { - SDKShapeTraits bool `type:"structure" required:"evaluatedExpression" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Field struct { - Key *string `locationName:"key" type:"string" json:"key,omitempty"` + Key *string `locationName:"key" type:"string" required:"true"json:"key,omitempty"` RefValue *string `locationName:"refValue" type:"string" json:"refValue,omitempty"` StringValue *string `locationName:"stringValue" type:"string" json:"stringValue,omitempty"` @@ -541,18 +541,18 @@ type Field struct { } type metadataField struct { - SDKShapeTraits bool `type:"structure" required:"key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetPipelineDefinitionInput struct { - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` Version *string `locationName:"version" type:"string" json:"version,omitempty"` metadataGetPipelineDefinitionInput `json:"-", xml:"-"` } type metadataGetPipelineDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetPipelineDefinitionOutput struct { @@ -591,13 +591,13 @@ type metadataListPipelinesInput struct { type ListPipelinesOutput struct { HasMoreResults *bool `locationName:"hasMoreResults" type:"boolean" json:"hasMoreResults,omitempty"` Marker *string `locationName:"marker" type:"string" json:"marker,omitempty"` - PipelineIDList []*PipelineIDName `locationName:"pipelineIdList" type:"list" json:"pipelineIdList,omitempty"` + PipelineIDList []*PipelineIDName `locationName:"pipelineIdList" type:"list" required:"true"json:"pipelineIdList,omitempty"` metadataListPipelinesOutput `json:"-", xml:"-"` } type metadataListPipelinesOutput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineIdList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Operator struct { @@ -612,49 +612,49 @@ type metadataOperator struct { } type ParameterAttribute struct { - Key *string `locationName:"key" type:"string" json:"key,omitempty"` - StringValue *string `locationName:"stringValue" type:"string" json:"stringValue,omitempty"` + Key *string `locationName:"key" type:"string" required:"true"json:"key,omitempty"` + StringValue *string `locationName:"stringValue" type:"string" required:"true"json:"stringValue,omitempty"` metadataParameterAttribute `json:"-", xml:"-"` } type metadataParameterAttribute struct { - SDKShapeTraits bool `type:"structure" required:"key,stringValue" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ParameterObject struct { - Attributes []*ParameterAttribute `locationName:"attributes" type:"list" json:"attributes,omitempty"` - ID *string `locationName:"id" type:"string" json:"id,omitempty"` + Attributes []*ParameterAttribute `locationName:"attributes" type:"list" required:"true"json:"attributes,omitempty"` + ID *string `locationName:"id" type:"string" required:"true"json:"id,omitempty"` metadataParameterObject `json:"-", xml:"-"` } type metadataParameterObject struct { - SDKShapeTraits bool `type:"structure" required:"id,attributes" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ParameterValue struct { - ID *string `locationName:"id" type:"string" json:"id,omitempty"` - StringValue *string `locationName:"stringValue" type:"string" json:"stringValue,omitempty"` + ID *string `locationName:"id" type:"string" required:"true"json:"id,omitempty"` + StringValue *string `locationName:"stringValue" type:"string" required:"true"json:"stringValue,omitempty"` metadataParameterValue `json:"-", xml:"-"` } type metadataParameterValue struct { - SDKShapeTraits bool `type:"structure" required:"id,stringValue" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PipelineDescription struct { Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Fields []*Field `locationName:"fields" type:"list" json:"fields,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + Fields []*Field `locationName:"fields" type:"list" required:"true"json:"fields,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` metadataPipelineDescription `json:"-", xml:"-"` } type metadataPipelineDescription struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,name,fields" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PipelineIDName struct { @@ -669,27 +669,27 @@ type metadataPipelineIDName struct { } type PipelineObject struct { - Fields []*Field `locationName:"fields" type:"list" json:"fields,omitempty"` - ID *string `locationName:"id" type:"string" json:"id,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Fields []*Field `locationName:"fields" type:"list" required:"true"json:"fields,omitempty"` + ID *string `locationName:"id" type:"string" required:"true"json:"id,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` metadataPipelineObject `json:"-", xml:"-"` } type metadataPipelineObject struct { - SDKShapeTraits bool `type:"structure" required:"id,name,fields" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForTaskInput struct { Hostname *string `locationName:"hostname" type:"string" json:"hostname,omitempty"` InstanceIdentity *InstanceIdentity `locationName:"instanceIdentity" type:"structure" json:"instanceIdentity,omitempty"` - WorkerGroup *string `locationName:"workerGroup" type:"string" json:"workerGroup,omitempty"` + WorkerGroup *string `locationName:"workerGroup" type:"string" required:"true"json:"workerGroup,omitempty"` metadataPollForTaskInput `json:"-", xml:"-"` } type metadataPollForTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"workerGroup" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForTaskOutput struct { @@ -705,18 +705,18 @@ type metadataPollForTaskOutput struct { type PutPipelineDefinitionInput struct { ParameterObjects []*ParameterObject `locationName:"parameterObjects" type:"list" json:"parameterObjects,omitempty"` ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list" json:"parameterValues,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` - PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" json:"pipelineObjects,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` + PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"json:"pipelineObjects,omitempty"` metadataPutPipelineDefinitionInput `json:"-", xml:"-"` } type metadataPutPipelineDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,pipelineObjects" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutPipelineDefinitionOutput struct { - Errored *bool `locationName:"errored" type:"boolean" json:"errored,omitempty"` + Errored *bool `locationName:"errored" type:"boolean" required:"true"json:"errored,omitempty"` ValidationErrors []*ValidationError `locationName:"validationErrors" type:"list" json:"validationErrors,omitempty"` ValidationWarnings []*ValidationWarning `locationName:"validationWarnings" type:"list" json:"validationWarnings,omitempty"` @@ -724,7 +724,7 @@ type PutPipelineDefinitionOutput struct { } type metadataPutPipelineDefinitionOutput struct { - SDKShapeTraits bool `type:"structure" required:"errored" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Query struct { @@ -740,15 +740,15 @@ type metadataQuery struct { type QueryObjectsInput struct { Limit *int `locationName:"limit" type:"integer" json:"limit,omitempty"` Marker *string `locationName:"marker" type:"string" json:"marker,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` Query *Query `locationName:"query" type:"structure" json:"query,omitempty"` - Sphere *string `locationName:"sphere" type:"string" json:"sphere,omitempty"` + Sphere *string `locationName:"sphere" type:"string" required:"true"json:"sphere,omitempty"` metadataQueryObjectsInput `json:"-", xml:"-"` } type metadataQueryObjectsInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,sphere" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type QueryObjectsOutput struct { @@ -765,45 +765,45 @@ type metadataQueryObjectsOutput struct { type ReportTaskProgressInput struct { Fields []*Field `locationName:"fields" type:"list" json:"fields,omitempty"` - TaskID *string `locationName:"taskId" type:"string" json:"taskId,omitempty"` + TaskID *string `locationName:"taskId" type:"string" required:"true"json:"taskId,omitempty"` metadataReportTaskProgressInput `json:"-", xml:"-"` } type metadataReportTaskProgressInput struct { - SDKShapeTraits bool `type:"structure" required:"taskId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReportTaskProgressOutput struct { - Canceled *bool `locationName:"canceled" type:"boolean" json:"canceled,omitempty"` + Canceled *bool `locationName:"canceled" type:"boolean" required:"true"json:"canceled,omitempty"` metadataReportTaskProgressOutput `json:"-", xml:"-"` } type metadataReportTaskProgressOutput struct { - SDKShapeTraits bool `type:"structure" required:"canceled" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReportTaskRunnerHeartbeatInput struct { Hostname *string `locationName:"hostname" type:"string" json:"hostname,omitempty"` - TaskRunnerID *string `locationName:"taskrunnerId" type:"string" json:"taskrunnerId,omitempty"` + TaskRunnerID *string `locationName:"taskrunnerId" type:"string" required:"true"json:"taskrunnerId,omitempty"` WorkerGroup *string `locationName:"workerGroup" type:"string" json:"workerGroup,omitempty"` metadataReportTaskRunnerHeartbeatInput `json:"-", xml:"-"` } type metadataReportTaskRunnerHeartbeatInput struct { - SDKShapeTraits bool `type:"structure" required:"taskrunnerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReportTaskRunnerHeartbeatOutput struct { - Terminate *bool `locationName:"terminate" type:"boolean" json:"terminate,omitempty"` + Terminate *bool `locationName:"terminate" type:"boolean" required:"true"json:"terminate,omitempty"` metadataReportTaskRunnerHeartbeatOutput `json:"-", xml:"-"` } type metadataReportTaskRunnerHeartbeatOutput struct { - SDKShapeTraits bool `type:"structure" required:"terminate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Selector struct { @@ -818,15 +818,15 @@ type metadataSelector struct { } type SetStatusInput struct { - ObjectIDs []*string `locationName:"objectIds" type:"list" json:"objectIds,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + ObjectIDs []*string `locationName:"objectIds" type:"list" required:"true"json:"objectIds,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataSetStatusInput `json:"-", xml:"-"` } type metadataSetStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,objectIds,status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetStatusOutput struct { @@ -841,14 +841,14 @@ type SetTaskStatusInput struct { ErrorID *string `locationName:"errorId" type:"string" json:"errorId,omitempty"` ErrorMessage *string `locationName:"errorMessage" type:"string" json:"errorMessage,omitempty"` ErrorStackTrace *string `locationName:"errorStackTrace" type:"string" json:"errorStackTrace,omitempty"` - TaskID *string `locationName:"taskId" type:"string" json:"taskId,omitempty"` - TaskStatus *string `locationName:"taskStatus" type:"string" json:"taskStatus,omitempty"` + TaskID *string `locationName:"taskId" type:"string" required:"true"json:"taskId,omitempty"` + TaskStatus *string `locationName:"taskStatus" type:"string" required:"true"json:"taskStatus,omitempty"` metadataSetTaskStatusInput `json:"-", xml:"-"` } type metadataSetTaskStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"taskId,taskStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetTaskStatusOutput struct { @@ -875,18 +875,18 @@ type metadataTaskObject struct { type ValidatePipelineDefinitionInput struct { ParameterObjects []*ParameterObject `locationName:"parameterObjects" type:"list" json:"parameterObjects,omitempty"` ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list" json:"parameterValues,omitempty"` - PipelineID *string `locationName:"pipelineId" type:"string" json:"pipelineId,omitempty"` - PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" json:"pipelineObjects,omitempty"` + PipelineID *string `locationName:"pipelineId" type:"string" required:"true"json:"pipelineId,omitempty"` + PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"json:"pipelineObjects,omitempty"` metadataValidatePipelineDefinitionInput `json:"-", xml:"-"` } type metadataValidatePipelineDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"pipelineId,pipelineObjects" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ValidatePipelineDefinitionOutput struct { - Errored *bool `locationName:"errored" type:"boolean" json:"errored,omitempty"` + Errored *bool `locationName:"errored" type:"boolean" required:"true"json:"errored,omitempty"` ValidationErrors []*ValidationError `locationName:"validationErrors" type:"list" json:"validationErrors,omitempty"` ValidationWarnings []*ValidationWarning `locationName:"validationWarnings" type:"list" json:"validationWarnings,omitempty"` @@ -894,7 +894,7 @@ type ValidatePipelineDefinitionOutput struct { } type metadataValidatePipelineDefinitionOutput struct { - SDKShapeTraits bool `type:"structure" required:"errored" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ValidationError struct { diff --git a/service/directconnect/api.go b/service/directconnect/api.go index f8aee665bbf..fd13f337e3b 100644 --- a/service/directconnect/api.go +++ b/service/directconnect/api.go @@ -482,51 +482,51 @@ func (c *DirectConnect) DescribeVirtualInterfaces(input *DescribeVirtualInterfac var opDescribeVirtualInterfaces *aws.Operation type AllocateConnectionOnInterconnectInput struct { - Bandwidth *string `locationName:"bandwidth" type:"string" json:"bandwidth,omitempty"` - ConnectionName *string `locationName:"connectionName" type:"string" json:"connectionName,omitempty"` - InterconnectID *string `locationName:"interconnectId" type:"string" json:"interconnectId,omitempty"` - OwnerAccount *string `locationName:"ownerAccount" type:"string" json:"ownerAccount,omitempty"` - VLAN *int `locationName:"vlan" type:"integer" json:"vlan,omitempty"` + Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"json:"bandwidth,omitempty"` + ConnectionName *string `locationName:"connectionName" type:"string" required:"true"json:"connectionName,omitempty"` + InterconnectID *string `locationName:"interconnectId" type:"string" required:"true"json:"interconnectId,omitempty"` + OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"json:"ownerAccount,omitempty"` + VLAN *int `locationName:"vlan" type:"integer" required:"true"json:"vlan,omitempty"` metadataAllocateConnectionOnInterconnectInput `json:"-", xml:"-"` } type metadataAllocateConnectionOnInterconnectInput struct { - SDKShapeTraits bool `type:"structure" required:"bandwidth,connectionName,ownerAccount,interconnectId,vlan" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AllocatePrivateVirtualInterfaceInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` - NewPrivateVirtualInterfaceAllocation *NewPrivateVirtualInterfaceAllocation `locationName:"newPrivateVirtualInterfaceAllocation" type:"structure" json:"newPrivateVirtualInterfaceAllocation,omitempty"` - OwnerAccount *string `locationName:"ownerAccount" type:"string" json:"ownerAccount,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` + NewPrivateVirtualInterfaceAllocation *NewPrivateVirtualInterfaceAllocation `locationName:"newPrivateVirtualInterfaceAllocation" type:"structure" required:"true"json:"newPrivateVirtualInterfaceAllocation,omitempty"` + OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"json:"ownerAccount,omitempty"` metadataAllocatePrivateVirtualInterfaceInput `json:"-", xml:"-"` } type metadataAllocatePrivateVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId,ownerAccount,newPrivateVirtualInterfaceAllocation" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AllocatePublicVirtualInterfaceInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` - NewPublicVirtualInterfaceAllocation *NewPublicVirtualInterfaceAllocation `locationName:"newPublicVirtualInterfaceAllocation" type:"structure" json:"newPublicVirtualInterfaceAllocation,omitempty"` - OwnerAccount *string `locationName:"ownerAccount" type:"string" json:"ownerAccount,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` + NewPublicVirtualInterfaceAllocation *NewPublicVirtualInterfaceAllocation `locationName:"newPublicVirtualInterfaceAllocation" type:"structure" required:"true"json:"newPublicVirtualInterfaceAllocation,omitempty"` + OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"json:"ownerAccount,omitempty"` metadataAllocatePublicVirtualInterfaceInput `json:"-", xml:"-"` } type metadataAllocatePublicVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId,ownerAccount,newPublicVirtualInterfaceAllocation" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ConfirmConnectionInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` metadataConfirmConnectionInput `json:"-", xml:"-"` } type metadataConfirmConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ConfirmConnectionOutput struct { @@ -540,14 +540,14 @@ type metadataConfirmConnectionOutput struct { } type ConfirmPrivateVirtualInterfaceInput struct { - VirtualGatewayID *string `locationName:"virtualGatewayId" type:"string" json:"virtualGatewayId,omitempty"` - VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" json:"virtualInterfaceId,omitempty"` + VirtualGatewayID *string `locationName:"virtualGatewayId" type:"string" required:"true"json:"virtualGatewayId,omitempty"` + VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" required:"true"json:"virtualInterfaceId,omitempty"` metadataConfirmPrivateVirtualInterfaceInput `json:"-", xml:"-"` } type metadataConfirmPrivateVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceId,virtualGatewayId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ConfirmPrivateVirtualInterfaceOutput struct { @@ -561,13 +561,13 @@ type metadataConfirmPrivateVirtualInterfaceOutput struct { } type ConfirmPublicVirtualInterfaceInput struct { - VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" json:"virtualInterfaceId,omitempty"` + VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" required:"true"json:"virtualInterfaceId,omitempty"` metadataConfirmPublicVirtualInterfaceInput `json:"-", xml:"-"` } type metadataConfirmPublicVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ConfirmPublicVirtualInterfaceOutput struct { @@ -609,69 +609,69 @@ type metadataConnections struct { } type CreateConnectionInput struct { - Bandwidth *string `locationName:"bandwidth" type:"string" json:"bandwidth,omitempty"` - ConnectionName *string `locationName:"connectionName" type:"string" json:"connectionName,omitempty"` - Location *string `locationName:"location" type:"string" json:"location,omitempty"` + Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"json:"bandwidth,omitempty"` + ConnectionName *string `locationName:"connectionName" type:"string" required:"true"json:"connectionName,omitempty"` + Location *string `locationName:"location" type:"string" required:"true"json:"location,omitempty"` metadataCreateConnectionInput `json:"-", xml:"-"` } type metadataCreateConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"location,bandwidth,connectionName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateInterconnectInput struct { - Bandwidth *string `locationName:"bandwidth" type:"string" json:"bandwidth,omitempty"` - InterconnectName *string `locationName:"interconnectName" type:"string" json:"interconnectName,omitempty"` - Location *string `locationName:"location" type:"string" json:"location,omitempty"` + Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"json:"bandwidth,omitempty"` + InterconnectName *string `locationName:"interconnectName" type:"string" required:"true"json:"interconnectName,omitempty"` + Location *string `locationName:"location" type:"string" required:"true"json:"location,omitempty"` metadataCreateInterconnectInput `json:"-", xml:"-"` } type metadataCreateInterconnectInput struct { - SDKShapeTraits bool `type:"structure" required:"interconnectName,bandwidth,location" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreatePrivateVirtualInterfaceInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` - NewPrivateVirtualInterface *NewPrivateVirtualInterface `locationName:"newPrivateVirtualInterface" type:"structure" json:"newPrivateVirtualInterface,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` + NewPrivateVirtualInterface *NewPrivateVirtualInterface `locationName:"newPrivateVirtualInterface" type:"structure" required:"true"json:"newPrivateVirtualInterface,omitempty"` metadataCreatePrivateVirtualInterfaceInput `json:"-", xml:"-"` } type metadataCreatePrivateVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId,newPrivateVirtualInterface" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreatePublicVirtualInterfaceInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` - NewPublicVirtualInterface *NewPublicVirtualInterface `locationName:"newPublicVirtualInterface" type:"structure" json:"newPublicVirtualInterface,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` + NewPublicVirtualInterface *NewPublicVirtualInterface `locationName:"newPublicVirtualInterface" type:"structure" required:"true"json:"newPublicVirtualInterface,omitempty"` metadataCreatePublicVirtualInterfaceInput `json:"-", xml:"-"` } type metadataCreatePublicVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId,newPublicVirtualInterface" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteConnectionInput struct { - ConnectionID *string `locationName:"connectionId" type:"string" json:"connectionId,omitempty"` + ConnectionID *string `locationName:"connectionId" type:"string" required:"true"json:"connectionId,omitempty"` metadataDeleteConnectionInput `json:"-", xml:"-"` } type metadataDeleteConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"connectionId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteInterconnectInput struct { - InterconnectID *string `locationName:"interconnectId" type:"string" json:"interconnectId,omitempty"` + InterconnectID *string `locationName:"interconnectId" type:"string" required:"true"json:"interconnectId,omitempty"` metadataDeleteInterconnectInput `json:"-", xml:"-"` } type metadataDeleteInterconnectInput struct { - SDKShapeTraits bool `type:"structure" required:"interconnectId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteInterconnectOutput struct { @@ -685,13 +685,13 @@ type metadataDeleteInterconnectOutput struct { } type DeleteVirtualInterfaceInput struct { - VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" json:"virtualInterfaceId,omitempty"` + VirtualInterfaceID *string `locationName:"virtualInterfaceId" type:"string" required:"true"json:"virtualInterfaceId,omitempty"` metadataDeleteVirtualInterfaceInput `json:"-", xml:"-"` } type metadataDeleteVirtualInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteVirtualInterfaceOutput struct { @@ -715,13 +715,13 @@ type metadataDescribeConnectionsInput struct { } type DescribeConnectionsOnInterconnectInput struct { - InterconnectID *string `locationName:"interconnectId" type:"string" json:"interconnectId,omitempty"` + InterconnectID *string `locationName:"interconnectId" type:"string" required:"true"json:"interconnectId,omitempty"` metadataDescribeConnectionsOnInterconnectInput `json:"-", xml:"-"` } type metadataDescribeConnectionsOnInterconnectInput struct { - SDKShapeTraits bool `type:"structure" required:"interconnectId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeInterconnectsInput struct { @@ -828,66 +828,66 @@ type metadataLocation struct { } type NewPrivateVirtualInterface struct { - ASN *int `locationName:"asn" type:"integer" json:"asn,omitempty"` + ASN *int `locationName:"asn" type:"integer" required:"true"json:"asn,omitempty"` AmazonAddress *string `locationName:"amazonAddress" type:"string" json:"amazonAddress,omitempty"` AuthKey *string `locationName:"authKey" type:"string" json:"authKey,omitempty"` CustomerAddress *string `locationName:"customerAddress" type:"string" json:"customerAddress,omitempty"` - VLAN *int `locationName:"vlan" type:"integer" json:"vlan,omitempty"` - VirtualGatewayID *string `locationName:"virtualGatewayId" type:"string" json:"virtualGatewayId,omitempty"` - VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" json:"virtualInterfaceName,omitempty"` + VLAN *int `locationName:"vlan" type:"integer" required:"true"json:"vlan,omitempty"` + VirtualGatewayID *string `locationName:"virtualGatewayId" type:"string" required:"true"json:"virtualGatewayId,omitempty"` + VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"json:"virtualInterfaceName,omitempty"` metadataNewPrivateVirtualInterface `json:"-", xml:"-"` } type metadataNewPrivateVirtualInterface struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceName,vlan,asn,virtualGatewayId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type NewPrivateVirtualInterfaceAllocation struct { - ASN *int `locationName:"asn" type:"integer" json:"asn,omitempty"` + ASN *int `locationName:"asn" type:"integer" required:"true"json:"asn,omitempty"` AmazonAddress *string `locationName:"amazonAddress" type:"string" json:"amazonAddress,omitempty"` AuthKey *string `locationName:"authKey" type:"string" json:"authKey,omitempty"` CustomerAddress *string `locationName:"customerAddress" type:"string" json:"customerAddress,omitempty"` - VLAN *int `locationName:"vlan" type:"integer" json:"vlan,omitempty"` - VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" json:"virtualInterfaceName,omitempty"` + VLAN *int `locationName:"vlan" type:"integer" required:"true"json:"vlan,omitempty"` + VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"json:"virtualInterfaceName,omitempty"` metadataNewPrivateVirtualInterfaceAllocation `json:"-", xml:"-"` } type metadataNewPrivateVirtualInterfaceAllocation struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceName,vlan,asn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type NewPublicVirtualInterface struct { - ASN *int `locationName:"asn" type:"integer" json:"asn,omitempty"` - AmazonAddress *string `locationName:"amazonAddress" type:"string" json:"amazonAddress,omitempty"` + ASN *int `locationName:"asn" type:"integer" required:"true"json:"asn,omitempty"` + AmazonAddress *string `locationName:"amazonAddress" type:"string" required:"true"json:"amazonAddress,omitempty"` AuthKey *string `locationName:"authKey" type:"string" json:"authKey,omitempty"` - CustomerAddress *string `locationName:"customerAddress" type:"string" json:"customerAddress,omitempty"` - RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" json:"routeFilterPrefixes,omitempty"` - VLAN *int `locationName:"vlan" type:"integer" json:"vlan,omitempty"` - VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" json:"virtualInterfaceName,omitempty"` + CustomerAddress *string `locationName:"customerAddress" type:"string" required:"true"json:"customerAddress,omitempty"` + RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" required:"true"json:"routeFilterPrefixes,omitempty"` + VLAN *int `locationName:"vlan" type:"integer" required:"true"json:"vlan,omitempty"` + VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"json:"virtualInterfaceName,omitempty"` metadataNewPublicVirtualInterface `json:"-", xml:"-"` } type metadataNewPublicVirtualInterface struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceName,vlan,asn,amazonAddress,customerAddress,routeFilterPrefixes" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type NewPublicVirtualInterfaceAllocation struct { - ASN *int `locationName:"asn" type:"integer" json:"asn,omitempty"` - AmazonAddress *string `locationName:"amazonAddress" type:"string" json:"amazonAddress,omitempty"` + ASN *int `locationName:"asn" type:"integer" required:"true"json:"asn,omitempty"` + AmazonAddress *string `locationName:"amazonAddress" type:"string" required:"true"json:"amazonAddress,omitempty"` AuthKey *string `locationName:"authKey" type:"string" json:"authKey,omitempty"` - CustomerAddress *string `locationName:"customerAddress" type:"string" json:"customerAddress,omitempty"` - RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" json:"routeFilterPrefixes,omitempty"` - VLAN *int `locationName:"vlan" type:"integer" json:"vlan,omitempty"` - VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" json:"virtualInterfaceName,omitempty"` + CustomerAddress *string `locationName:"customerAddress" type:"string" required:"true"json:"customerAddress,omitempty"` + RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" required:"true"json:"routeFilterPrefixes,omitempty"` + VLAN *int `locationName:"vlan" type:"integer" required:"true"json:"vlan,omitempty"` + VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"json:"virtualInterfaceName,omitempty"` metadataNewPublicVirtualInterfaceAllocation `json:"-", xml:"-"` } type metadataNewPublicVirtualInterfaceAllocation struct { - SDKShapeTraits bool `type:"structure" required:"virtualInterfaceName,vlan,asn,amazonAddress,customerAddress,routeFilterPrefixes" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RouteFilterPrefix struct { diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go index a1780526cf9..9344cc0721a 100644 --- a/service/dynamodb/api.go +++ b/service/dynamodb/api.go @@ -334,14 +334,14 @@ func (c *DynamoDB) UpdateTable(input *UpdateTableInput) (output *UpdateTableOutp var opUpdateTable *aws.Operation type AttributeDefinition struct { - AttributeName *string `type:"string" json:",omitempty"` - AttributeType *string `type:"string" json:",omitempty"` + AttributeName *string `type:"string" required:"true"json:",omitempty"` + AttributeType *string `type:"string" required:"true"json:",omitempty"` metadataAttributeDefinition `json:"-", xml:"-"` } type metadataAttributeDefinition struct { - SDKShapeTraits bool `type:"structure" required:"AttributeName,AttributeType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AttributeValue struct { @@ -375,14 +375,14 @@ type metadataAttributeValueUpdate struct { } type BatchGetItemInput struct { - RequestItems *map[string]*KeysAndAttributes `type:"map" json:",omitempty"` + RequestItems *map[string]*KeysAndAttributes `type:"map" required:"true"json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` metadataBatchGetItemInput `json:"-", xml:"-"` } type metadataBatchGetItemInput struct { - SDKShapeTraits bool `type:"structure" required:"RequestItems" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type BatchGetItemOutput struct { @@ -398,7 +398,7 @@ type metadataBatchGetItemOutput struct { } type BatchWriteItemInput struct { - RequestItems *map[string][]*WriteRequest `type:"map" json:",omitempty"` + RequestItems *map[string][]*WriteRequest `type:"map" required:"true"json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` ReturnItemCollectionMetrics *string `type:"string" json:",omitempty"` @@ -406,7 +406,7 @@ type BatchWriteItemInput struct { } type metadataBatchWriteItemInput struct { - SDKShapeTraits bool `type:"structure" required:"RequestItems" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type BatchWriteItemOutput struct { @@ -433,13 +433,13 @@ type metadataCapacity struct { type Condition struct { AttributeValueList []*AttributeValue `type:"list" json:",omitempty"` - ComparisonOperator *string `type:"string" json:",omitempty"` + ComparisonOperator *string `type:"string" required:"true"json:",omitempty"` metadataCondition `json:"-", xml:"-"` } type metadataCondition struct { - SDKShapeTraits bool `type:"structure" required:"ComparisonOperator" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ConsumedCapacity struct { @@ -457,31 +457,31 @@ type metadataConsumedCapacity struct { } type CreateGlobalSecondaryIndexAction struct { - IndexName *string `type:"string" json:",omitempty"` - KeySchema []*KeySchemaElement `type:"list" json:",omitempty"` - Projection *Projection `type:"structure" json:",omitempty"` - ProvisionedThroughput *ProvisionedThroughput `type:"structure" json:",omitempty"` + IndexName *string `type:"string" required:"true"json:",omitempty"` + KeySchema []*KeySchemaElement `type:"list" required:"true"json:",omitempty"` + Projection *Projection `type:"structure" required:"true"json:",omitempty"` + ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"json:",omitempty"` metadataCreateGlobalSecondaryIndexAction `json:"-", xml:"-"` } type metadataCreateGlobalSecondaryIndexAction struct { - SDKShapeTraits bool `type:"structure" required:"IndexName,KeySchema,Projection,ProvisionedThroughput" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateTableInput struct { - AttributeDefinitions []*AttributeDefinition `type:"list" json:",omitempty"` + AttributeDefinitions []*AttributeDefinition `type:"list" required:"true"json:",omitempty"` GlobalSecondaryIndexes []*GlobalSecondaryIndex `type:"list" json:",omitempty"` - KeySchema []*KeySchemaElement `type:"list" json:",omitempty"` + KeySchema []*KeySchemaElement `type:"list" required:"true"json:",omitempty"` LocalSecondaryIndexes []*LocalSecondaryIndex `type:"list" json:",omitempty"` - ProvisionedThroughput *ProvisionedThroughput `type:"structure" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataCreateTableInput `json:"-", xml:"-"` } type metadataCreateTableInput struct { - SDKShapeTraits bool `type:"structure" required:"AttributeDefinitions,TableName,KeySchema,ProvisionedThroughput" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateTableOutput struct { @@ -495,13 +495,13 @@ type metadataCreateTableOutput struct { } type DeleteGlobalSecondaryIndexAction struct { - IndexName *string `type:"string" json:",omitempty"` + IndexName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteGlobalSecondaryIndexAction `json:"-", xml:"-"` } type metadataDeleteGlobalSecondaryIndexAction struct { - SDKShapeTraits bool `type:"structure" required:"IndexName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteItemInput struct { @@ -510,17 +510,17 @@ type DeleteItemInput struct { Expected *map[string]*ExpectedAttributeValue `type:"map" json:",omitempty"` ExpressionAttributeNames *map[string]*string `type:"map" json:",omitempty"` ExpressionAttributeValues *map[string]*AttributeValue `type:"map" json:",omitempty"` - Key *map[string]*AttributeValue `type:"map" json:",omitempty"` + Key *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` ReturnItemCollectionMetrics *string `type:"string" json:",omitempty"` ReturnValues *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteItemInput `json:"-", xml:"-"` } type metadataDeleteItemInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName,Key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteItemOutput struct { @@ -536,23 +536,23 @@ type metadataDeleteItemOutput struct { } type DeleteRequest struct { - Key *map[string]*AttributeValue `type:"map" json:",omitempty"` + Key *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` metadataDeleteRequest `json:"-", xml:"-"` } type metadataDeleteRequest struct { - SDKShapeTraits bool `type:"structure" required:"Key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTableInput struct { - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteTableInput `json:"-", xml:"-"` } type metadataDeleteTableInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTableOutput struct { @@ -566,13 +566,13 @@ type metadataDeleteTableOutput struct { } type DescribeTableInput struct { - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataDescribeTableInput `json:"-", xml:"-"` } type metadataDescribeTableInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTableOutput struct { @@ -602,16 +602,16 @@ type GetItemInput struct { AttributesToGet []*string `type:"list" json:",omitempty"` ConsistentRead *bool `type:"boolean" json:",omitempty"` ExpressionAttributeNames *map[string]*string `type:"map" json:",omitempty"` - Key *map[string]*AttributeValue `type:"map" json:",omitempty"` + Key *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` ProjectionExpression *string `type:"string" json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataGetItemInput `json:"-", xml:"-"` } type metadataGetItemInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName,Key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetItemOutput struct { @@ -626,16 +626,16 @@ type metadataGetItemOutput struct { } type GlobalSecondaryIndex struct { - IndexName *string `type:"string" json:",omitempty"` - KeySchema []*KeySchemaElement `type:"list" json:",omitempty"` - Projection *Projection `type:"structure" json:",omitempty"` - ProvisionedThroughput *ProvisionedThroughput `type:"structure" json:",omitempty"` + IndexName *string `type:"string" required:"true"json:",omitempty"` + KeySchema []*KeySchemaElement `type:"list" required:"true"json:",omitempty"` + Projection *Projection `type:"structure" required:"true"json:",omitempty"` + ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"json:",omitempty"` metadataGlobalSecondaryIndex `json:"-", xml:"-"` } type metadataGlobalSecondaryIndex struct { - SDKShapeTraits bool `type:"structure" required:"IndexName,KeySchema,Projection,ProvisionedThroughput" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GlobalSecondaryIndexDescription struct { @@ -679,28 +679,28 @@ type metadataItemCollectionMetrics struct { } type KeySchemaElement struct { - AttributeName *string `type:"string" json:",omitempty"` - KeyType *string `type:"string" json:",omitempty"` + AttributeName *string `type:"string" required:"true"json:",omitempty"` + KeyType *string `type:"string" required:"true"json:",omitempty"` metadataKeySchemaElement `json:"-", xml:"-"` } type metadataKeySchemaElement struct { - SDKShapeTraits bool `type:"structure" required:"AttributeName,KeyType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type KeysAndAttributes struct { AttributesToGet []*string `type:"list" json:",omitempty"` ConsistentRead *bool `type:"boolean" json:",omitempty"` ExpressionAttributeNames *map[string]*string `type:"map" json:",omitempty"` - Keys []*map[string]*AttributeValue `type:"list" json:",omitempty"` + Keys []*map[string]*AttributeValue `type:"list" required:"true"json:",omitempty"` ProjectionExpression *string `type:"string" json:",omitempty"` metadataKeysAndAttributes `json:"-", xml:"-"` } type metadataKeysAndAttributes struct { - SDKShapeTraits bool `type:"structure" required:"Keys" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListTablesInput struct { @@ -726,15 +726,15 @@ type metadataListTablesOutput struct { } type LocalSecondaryIndex struct { - IndexName *string `type:"string" json:",omitempty"` - KeySchema []*KeySchemaElement `type:"list" json:",omitempty"` - Projection *Projection `type:"structure" json:",omitempty"` + IndexName *string `type:"string" required:"true"json:",omitempty"` + KeySchema []*KeySchemaElement `type:"list" required:"true"json:",omitempty"` + Projection *Projection `type:"structure" required:"true"json:",omitempty"` metadataLocalSecondaryIndex `json:"-", xml:"-"` } type metadataLocalSecondaryIndex struct { - SDKShapeTraits bool `type:"structure" required:"IndexName,KeySchema,Projection" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type LocalSecondaryIndexDescription struct { @@ -763,14 +763,14 @@ type metadataProjection struct { } type ProvisionedThroughput struct { - ReadCapacityUnits *int64 `type:"long" json:",omitempty"` - WriteCapacityUnits *int64 `type:"long" json:",omitempty"` + ReadCapacityUnits *int64 `type:"long" required:"true"json:",omitempty"` + WriteCapacityUnits *int64 `type:"long" required:"true"json:",omitempty"` metadataProvisionedThroughput `json:"-", xml:"-"` } type metadataProvisionedThroughput struct { - SDKShapeTraits bool `type:"structure" required:"ReadCapacityUnits,WriteCapacityUnits" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ProvisionedThroughputDescription struct { @@ -793,17 +793,17 @@ type PutItemInput struct { Expected *map[string]*ExpectedAttributeValue `type:"map" json:",omitempty"` ExpressionAttributeNames *map[string]*string `type:"map" json:",omitempty"` ExpressionAttributeValues *map[string]*AttributeValue `type:"map" json:",omitempty"` - Item *map[string]*AttributeValue `type:"map" json:",omitempty"` + Item *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` ReturnItemCollectionMetrics *string `type:"string" json:",omitempty"` ReturnValues *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataPutItemInput `json:"-", xml:"-"` } type metadataPutItemInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName,Item" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutItemOutput struct { @@ -819,13 +819,13 @@ type metadataPutItemOutput struct { } type PutRequest struct { - Item *map[string]*AttributeValue `type:"map" json:",omitempty"` + Item *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` metadataPutRequest `json:"-", xml:"-"` } type metadataPutRequest struct { - SDKShapeTraits bool `type:"structure" required:"Item" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type QueryInput struct { @@ -837,20 +837,20 @@ type QueryInput struct { ExpressionAttributeValues *map[string]*AttributeValue `type:"map" json:",omitempty"` FilterExpression *string `type:"string" json:",omitempty"` IndexName *string `type:"string" json:",omitempty"` - KeyConditions *map[string]*Condition `type:"map" json:",omitempty"` + KeyConditions *map[string]*Condition `type:"map" required:"true"json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` ProjectionExpression *string `type:"string" json:",omitempty"` QueryFilter *map[string]*Condition `type:"map" json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` ScanIndexForward *bool `type:"boolean" json:",omitempty"` Select *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataQueryInput `json:"-", xml:"-"` } type metadataQueryInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName,KeyConditions" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type QueryOutput struct { @@ -881,14 +881,14 @@ type ScanInput struct { ScanFilter *map[string]*Condition `type:"map" json:",omitempty"` Segment *int `type:"integer" json:",omitempty"` Select *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` TotalSegments *int `type:"integer" json:",omitempty"` metadataScanInput `json:"-", xml:"-"` } type metadataScanInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ScanOutput struct { @@ -925,14 +925,14 @@ type metadataTableDescription struct { } type UpdateGlobalSecondaryIndexAction struct { - IndexName *string `type:"string" json:",omitempty"` - ProvisionedThroughput *ProvisionedThroughput `type:"structure" json:",omitempty"` + IndexName *string `type:"string" required:"true"json:",omitempty"` + ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"json:",omitempty"` metadataUpdateGlobalSecondaryIndexAction `json:"-", xml:"-"` } type metadataUpdateGlobalSecondaryIndexAction struct { - SDKShapeTraits bool `type:"structure" required:"IndexName,ProvisionedThroughput" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateItemInput struct { @@ -942,18 +942,18 @@ type UpdateItemInput struct { Expected *map[string]*ExpectedAttributeValue `type:"map" json:",omitempty"` ExpressionAttributeNames *map[string]*string `type:"map" json:",omitempty"` ExpressionAttributeValues *map[string]*AttributeValue `type:"map" json:",omitempty"` - Key *map[string]*AttributeValue `type:"map" json:",omitempty"` + Key *map[string]*AttributeValue `type:"map" required:"true"json:",omitempty"` ReturnConsumedCapacity *string `type:"string" json:",omitempty"` ReturnItemCollectionMetrics *string `type:"string" json:",omitempty"` ReturnValues *string `type:"string" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` UpdateExpression *string `type:"string" json:",omitempty"` metadataUpdateItemInput `json:"-", xml:"-"` } type metadataUpdateItemInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName,Key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateItemOutput struct { @@ -972,13 +972,13 @@ type UpdateTableInput struct { AttributeDefinitions []*AttributeDefinition `type:"list" json:",omitempty"` GlobalSecondaryIndexUpdates []*GlobalSecondaryIndexUpdate `type:"list" json:",omitempty"` ProvisionedThroughput *ProvisionedThroughput `type:"structure" json:",omitempty"` - TableName *string `type:"string" json:",omitempty"` + TableName *string `type:"string" required:"true"json:",omitempty"` metadataUpdateTableInput `json:"-", xml:"-"` } type metadataUpdateTableInput struct { - SDKShapeTraits bool `type:"structure" required:"TableName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateTableOutput struct { diff --git a/service/ec2/api.go b/service/ec2/api.go index 72ea8bf2069..fdd8ab997bd 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -4092,7 +4092,7 @@ type metadataAllocateAddressOutput struct { type AssignPrivateIPAddressesInput struct { AllowReassignment *bool `locationName:"allowReassignment" type:"boolean"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` PrivateIPAddresses []*string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list"` SecondaryPrivateIPAddressCount *int `locationName:"secondaryPrivateIpAddressCount" type:"integer"` @@ -4100,7 +4100,7 @@ type AssignPrivateIPAddressesInput struct { } type metadataAssignPrivateIPAddressesInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId"` + SDKShapeTraits bool `type:"structure"` } type AssignPrivateIPAddressesOutput struct { @@ -4138,15 +4138,15 @@ type metadataAssociateAddressOutput struct { } type AssociateDHCPOptionsInput struct { - DHCPOptionsID *string `locationName:"DhcpOptionsId" type:"string"` + DHCPOptionsID *string `locationName:"DhcpOptionsId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` metadataAssociateDHCPOptionsInput `json:"-", xml:"-"` } type metadataAssociateDHCPOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DhcpOptionsId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type AssociateDHCPOptionsOutput struct { @@ -4159,14 +4159,14 @@ type metadataAssociateDHCPOptionsOutput struct { type AssociateRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - RouteTableID *string `locationName:"routeTableId" type:"string"` - SubnetID *string `locationName:"subnetId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` + SubnetID *string `locationName:"subnetId" type:"string" required:"true"` metadataAssociateRouteTableInput `json:"-", xml:"-"` } type metadataAssociateRouteTableInput struct { - SDKShapeTraits bool `type:"structure" required:"SubnetId,RouteTableId"` + SDKShapeTraits bool `type:"structure"` } type AssociateRouteTableOutput struct { @@ -4181,15 +4181,15 @@ type metadataAssociateRouteTableOutput struct { type AttachClassicLinkVPCInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - Groups []*string `locationName:"SecurityGroupId" locationNameList:"groupId" type:"list"` - InstanceID *string `locationName:"instanceId" type:"string"` - VPCID *string `locationName:"vpcId" type:"string"` + Groups []*string `locationName:"SecurityGroupId" locationNameList:"groupId" type:"list" required:"true"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataAttachClassicLinkVPCInput `json:"-", xml:"-"` } type metadataAttachClassicLinkVPCInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,VpcId,Groups"` + SDKShapeTraits bool `type:"structure"` } type AttachClassicLinkVPCOutput struct { @@ -4204,14 +4204,14 @@ type metadataAttachClassicLinkVPCOutput struct { type AttachInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InternetGatewayID *string `locationName:"internetGatewayId" type:"string"` - VPCID *string `locationName:"vpcId" type:"string"` + InternetGatewayID *string `locationName:"internetGatewayId" type:"string" required:"true"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataAttachInternetGatewayInput `json:"-", xml:"-"` } type metadataAttachInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"InternetGatewayId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type AttachInternetGatewayOutput struct { @@ -4223,16 +4223,16 @@ type metadataAttachInternetGatewayOutput struct { } type AttachNetworkInterfaceInput struct { - DeviceIndex *int `locationName:"deviceIndex" type:"integer"` + DeviceIndex *int `locationName:"deviceIndex" type:"integer" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"instanceId" type:"string"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` metadataAttachNetworkInterfaceInput `json:"-", xml:"-"` } type metadataAttachNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId,InstanceId,DeviceIndex"` + SDKShapeTraits bool `type:"structure"` } type AttachNetworkInterfaceOutput struct { @@ -4247,14 +4247,14 @@ type metadataAttachNetworkInterfaceOutput struct { type AttachVPNGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` - VPNGatewayID *string `locationName:"VpnGatewayId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` + VPNGatewayID *string `locationName:"VpnGatewayId" type:"string" required:"true"` metadataAttachVPNGatewayInput `json:"-", xml:"-"` } type metadataAttachVPNGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnGatewayId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type AttachVPNGatewayOutput struct { @@ -4268,16 +4268,16 @@ type metadataAttachVPNGatewayOutput struct { } type AttachVolumeInput struct { - Device *string `type:"string"` + Device *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"InstanceId" type:"string"` - VolumeID *string `locationName:"VolumeId" type:"string"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataAttachVolumeInput `json:"-", xml:"-"` } type metadataAttachVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId,InstanceId,Device"` + SDKShapeTraits bool `type:"structure"` } type AttributeBooleanValue struct { @@ -4304,7 +4304,7 @@ type AuthorizeSecurityGroupEgressInput struct { CIDRIP *string `locationName:"cidrIp" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` FromPort *int `locationName:"fromPort" type:"integer"` - GroupID *string `locationName:"groupId" type:"string"` + GroupID *string `locationName:"groupId" type:"string" required:"true"` IPPermissions []*IPPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` IPProtocol *string `locationName:"ipProtocol" type:"string"` SourceSecurityGroupName *string `locationName:"sourceSecurityGroupName" type:"string"` @@ -4315,7 +4315,7 @@ type AuthorizeSecurityGroupEgressInput struct { } type metadataAuthorizeSecurityGroupEgressInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupId"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeSecurityGroupEgressOutput struct { @@ -4401,14 +4401,14 @@ type metadataBlockDeviceMapping struct { type BundleInstanceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"InstanceId" type:"string"` - Storage *Storage `type:"structure"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + Storage *Storage `type:"structure" required:"true"` metadataBundleInstanceInput `json:"-", xml:"-"` } type metadataBundleInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,Storage"` + SDKShapeTraits bool `type:"structure"` } type BundleInstanceOutput struct { @@ -4450,14 +4450,14 @@ type metadataBundleTaskError struct { } type CancelBundleTaskInput struct { - BundleID *string `locationName:"BundleId" type:"string"` + BundleID *string `locationName:"BundleId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` metadataCancelBundleTaskInput `json:"-", xml:"-"` } type metadataCancelBundleTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"BundleId"` + SDKShapeTraits bool `type:"structure"` } type CancelBundleTaskOutput struct { @@ -4471,7 +4471,7 @@ type metadataCancelBundleTaskOutput struct { } type CancelConversionTaskInput struct { - ConversionTaskID *string `locationName:"conversionTaskId" type:"string"` + ConversionTaskID *string `locationName:"conversionTaskId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` ReasonMessage *string `locationName:"reasonMessage" type:"string"` @@ -4479,7 +4479,7 @@ type CancelConversionTaskInput struct { } type metadataCancelConversionTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"ConversionTaskId"` + SDKShapeTraits bool `type:"structure"` } type CancelConversionTaskOutput struct { @@ -4491,13 +4491,13 @@ type metadataCancelConversionTaskOutput struct { } type CancelExportTaskInput struct { - ExportTaskID *string `locationName:"exportTaskId" type:"string"` + ExportTaskID *string `locationName:"exportTaskId" type:"string" required:"true"` metadataCancelExportTaskInput `json:"-", xml:"-"` } type metadataCancelExportTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"ExportTaskId"` + SDKShapeTraits bool `type:"structure"` } type CancelExportTaskOutput struct { @@ -4509,13 +4509,13 @@ type metadataCancelExportTaskOutput struct { } type CancelReservedInstancesListingInput struct { - ReservedInstancesListingID *string `locationName:"reservedInstancesListingId" type:"string"` + ReservedInstancesListingID *string `locationName:"reservedInstancesListingId" type:"string" required:"true"` metadataCancelReservedInstancesListingInput `json:"-", xml:"-"` } type metadataCancelReservedInstancesListingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedInstancesListingId"` + SDKShapeTraits bool `type:"structure"` } type CancelReservedInstancesListingOutput struct { @@ -4530,13 +4530,13 @@ type metadataCancelReservedInstancesListingOutput struct { type CancelSpotInstanceRequestsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - SpotInstanceRequestIDs []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list"` + SpotInstanceRequestIDs []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"` metadataCancelSpotInstanceRequestsInput `json:"-", xml:"-"` } type metadataCancelSpotInstanceRequestsInput struct { - SDKShapeTraits bool `type:"structure" required:"SpotInstanceRequestIds"` + SDKShapeTraits bool `type:"structure"` } type CancelSpotInstanceRequestsOutput struct { @@ -4575,14 +4575,14 @@ type metadataClassicLinkInstance struct { type ConfirmProductInstanceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"InstanceId" type:"string"` - ProductCode *string `type:"string"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` + ProductCode *string `type:"string" required:"true"` metadataConfirmProductInstanceInput `json:"-", xml:"-"` } type metadataConfirmProductInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"ProductCode,InstanceId"` + SDKShapeTraits bool `type:"structure"` } type ConfirmProductInstanceOutput struct { @@ -4596,11 +4596,11 @@ type metadataConfirmProductInstanceOutput struct { } type ConversionTask struct { - ConversionTaskID *string `locationName:"conversionTaskId" type:"string"` + ConversionTaskID *string `locationName:"conversionTaskId" type:"string" required:"true"` ExpirationTime *string `locationName:"expirationTime" type:"string"` ImportInstance *ImportInstanceTaskDetails `locationName:"importInstance" type:"structure"` ImportVolume *ImportVolumeTaskDetails `locationName:"importVolume" type:"structure"` - State *string `locationName:"state" type:"string"` + State *string `locationName:"state" type:"string" required:"true"` StatusMessage *string `locationName:"statusMessage" type:"string"` Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` @@ -4608,22 +4608,22 @@ type ConversionTask struct { } type metadataConversionTask struct { - SDKShapeTraits bool `type:"structure" required:"ConversionTaskId,State"` + SDKShapeTraits bool `type:"structure"` } type CopyImageInput struct { ClientToken *string `type:"string"` Description *string `type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - Name *string `type:"string"` - SourceImageID *string `locationName:"SourceImageId" type:"string"` - SourceRegion *string `type:"string"` + Name *string `type:"string" required:"true"` + SourceImageID *string `locationName:"SourceImageId" type:"string" required:"true"` + SourceRegion *string `type:"string" required:"true"` metadataCopyImageInput `json:"-", xml:"-"` } type metadataCopyImageInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceRegion,SourceImageId,Name"` + SDKShapeTraits bool `type:"structure"` } type CopyImageOutput struct { @@ -4641,14 +4641,14 @@ type CopySnapshotInput struct { DestinationRegion *string `locationName:"destinationRegion" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` PresignedURL *string `locationName:"presignedUrl" type:"string"` - SourceRegion *string `type:"string"` - SourceSnapshotID *string `locationName:"SourceSnapshotId" type:"string"` + SourceRegion *string `type:"string" required:"true"` + SourceSnapshotID *string `locationName:"SourceSnapshotId" type:"string" required:"true"` metadataCopySnapshotInput `json:"-", xml:"-"` } type metadataCopySnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceRegion,SourceSnapshotId"` + SDKShapeTraits bool `type:"structure"` } type CopySnapshotOutput struct { @@ -4662,16 +4662,16 @@ type metadataCopySnapshotOutput struct { } type CreateCustomerGatewayInput struct { - BGPASN *int `locationName:"BgpAsn" type:"integer"` + BGPASN *int `locationName:"BgpAsn" type:"integer" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - PublicIP *string `locationName:"IpAddress" type:"string"` - Type *string `type:"string"` + PublicIP *string `locationName:"IpAddress" type:"string" required:"true"` + Type *string `type:"string" required:"true"` metadataCreateCustomerGatewayInput `json:"-", xml:"-"` } type metadataCreateCustomerGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"Type,PublicIp,BgpAsn"` + SDKShapeTraits bool `type:"structure"` } type CreateCustomerGatewayOutput struct { @@ -4685,14 +4685,14 @@ type metadataCreateCustomerGatewayOutput struct { } type CreateDHCPOptionsInput struct { - DHCPConfigurations []*NewDHCPConfiguration `locationName:"dhcpConfiguration" locationNameList:"item" type:"list"` + DHCPConfigurations []*NewDHCPConfiguration `locationName:"dhcpConfiguration" locationNameList:"item" type:"list" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` metadataCreateDHCPOptionsInput `json:"-", xml:"-"` } type metadataCreateDHCPOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DhcpConfigurations"` + SDKShapeTraits bool `type:"structure"` } type CreateDHCPOptionsOutput struct { @@ -4709,15 +4709,15 @@ type CreateImageInput struct { BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` Description *string `locationName:"description" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"instanceId" type:"string"` - Name *string `locationName:"name" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` + Name *string `locationName:"name" type:"string" required:"true"` NoReboot *bool `locationName:"noReboot" type:"boolean"` metadataCreateImageInput `json:"-", xml:"-"` } type metadataCreateImageInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,Name"` + SDKShapeTraits bool `type:"structure"` } type CreateImageOutput struct { @@ -4733,14 +4733,14 @@ type metadataCreateImageOutput struct { type CreateInstanceExportTaskInput struct { Description *string `locationName:"description" type:"string"` ExportToS3Task *ExportToS3TaskSpecification `locationName:"exportToS3" type:"structure"` - InstanceID *string `locationName:"instanceId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` TargetEnvironment *string `locationName:"targetEnvironment" type:"string"` metadataCreateInstanceExportTaskInput `json:"-", xml:"-"` } type metadataCreateInstanceExportTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId"` + SDKShapeTraits bool `type:"structure"` } type CreateInstanceExportTaskOutput struct { @@ -4775,13 +4775,13 @@ type metadataCreateInternetGatewayOutput struct { type CreateKeyPairInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - KeyName *string `type:"string"` + KeyName *string `type:"string" required:"true"` metadataCreateKeyPairInput `json:"-", xml:"-"` } type metadataCreateKeyPairInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyName"` + SDKShapeTraits bool `type:"structure"` } type CreateKeyPairOutput struct { @@ -4797,21 +4797,21 @@ type metadataCreateKeyPairOutput struct { } type CreateNetworkACLEntryInput struct { - CIDRBlock *string `locationName:"cidrBlock" type:"string"` + CIDRBlock *string `locationName:"cidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - Egress *bool `locationName:"egress" type:"boolean"` + Egress *bool `locationName:"egress" type:"boolean" required:"true"` ICMPTypeCode *ICMPTypeCode `locationName:"Icmp" type:"structure"` - NetworkACLID *string `locationName:"networkAclId" type:"string"` + NetworkACLID *string `locationName:"networkAclId" type:"string" required:"true"` PortRange *PortRange `locationName:"portRange" type:"structure"` - Protocol *string `locationName:"protocol" type:"string"` - RuleAction *string `locationName:"ruleAction" type:"string"` - RuleNumber *int `locationName:"ruleNumber" type:"integer"` + Protocol *string `locationName:"protocol" type:"string" required:"true"` + RuleAction *string `locationName:"ruleAction" type:"string" required:"true"` + RuleNumber *int `locationName:"ruleNumber" type:"integer" required:"true"` metadataCreateNetworkACLEntryInput `json:"-", xml:"-"` } type metadataCreateNetworkACLEntryInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkAclId,RuleNumber,Protocol,RuleAction,Egress,CidrBlock"` + SDKShapeTraits bool `type:"structure"` } type CreateNetworkACLEntryOutput struct { @@ -4824,13 +4824,13 @@ type metadataCreateNetworkACLEntryOutput struct { type CreateNetworkACLInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"vpcId" type:"string"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataCreateNetworkACLInput `json:"-", xml:"-"` } type metadataCreateNetworkACLInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type CreateNetworkACLOutput struct { @@ -4850,13 +4850,13 @@ type CreateNetworkInterfaceInput struct { PrivateIPAddress *string `locationName:"privateIpAddress" type:"string"` PrivateIPAddresses []*PrivateIPAddressSpecification `locationName:"privateIpAddresses" locationNameList:"item" type:"list"` SecondaryPrivateIPAddressCount *int `locationName:"secondaryPrivateIpAddressCount" type:"integer"` - SubnetID *string `locationName:"subnetId" type:"string"` + SubnetID *string `locationName:"subnetId" type:"string" required:"true"` metadataCreateNetworkInterfaceInput `json:"-", xml:"-"` } type metadataCreateNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"SubnetId"` + SDKShapeTraits bool `type:"structure"` } type CreateNetworkInterfaceOutput struct { @@ -4871,14 +4871,14 @@ type metadataCreateNetworkInterfaceOutput struct { type CreatePlacementGroupInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - GroupName *string `locationName:"groupName" type:"string"` - Strategy *string `locationName:"strategy" type:"string"` + GroupName *string `locationName:"groupName" type:"string" required:"true"` + Strategy *string `locationName:"strategy" type:"string" required:"true"` metadataCreatePlacementGroupInput `json:"-", xml:"-"` } type metadataCreatePlacementGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,Strategy"` + SDKShapeTraits bool `type:"structure"` } type CreatePlacementGroupOutput struct { @@ -4890,16 +4890,16 @@ type metadataCreatePlacementGroupOutput struct { } type CreateReservedInstancesListingInput struct { - ClientToken *string `locationName:"clientToken" type:"string"` - InstanceCount *int `locationName:"instanceCount" type:"integer"` - PriceSchedules []*PriceScheduleSpecification `locationName:"priceSchedules" locationNameList:"item" type:"list"` - ReservedInstancesID *string `locationName:"reservedInstancesId" type:"string"` + ClientToken *string `locationName:"clientToken" type:"string" required:"true"` + InstanceCount *int `locationName:"instanceCount" type:"integer" required:"true"` + PriceSchedules []*PriceScheduleSpecification `locationName:"priceSchedules" locationNameList:"item" type:"list" required:"true"` + ReservedInstancesID *string `locationName:"reservedInstancesId" type:"string" required:"true"` metadataCreateReservedInstancesListingInput `json:"-", xml:"-"` } type metadataCreateReservedInstancesListingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedInstancesId,InstanceCount,PriceSchedules,ClientToken"` + SDKShapeTraits bool `type:"structure"` } type CreateReservedInstancesListingOutput struct { @@ -4913,19 +4913,19 @@ type metadataCreateReservedInstancesListingOutput struct { } type CreateRouteInput struct { - DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string"` + DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` GatewayID *string `locationName:"gatewayId" type:"string"` InstanceID *string `locationName:"instanceId" type:"string"` NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` - RouteTableID *string `locationName:"routeTableId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string"` metadataCreateRouteInput `json:"-", xml:"-"` } type metadataCreateRouteInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId,DestinationCidrBlock"` + SDKShapeTraits bool `type:"structure"` } type CreateRouteOutput struct { @@ -4938,13 +4938,13 @@ type metadataCreateRouteOutput struct { type CreateRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"vpcId" type:"string"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataCreateRouteTableInput `json:"-", xml:"-"` } type metadataCreateRouteTableInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type CreateRouteTableOutput struct { @@ -4958,16 +4958,16 @@ type metadataCreateRouteTableOutput struct { } type CreateSecurityGroupInput struct { - Description *string `locationName:"GroupDescription" type:"string"` + Description *string `locationName:"GroupDescription" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` VPCID *string `locationName:"VpcId" type:"string"` metadataCreateSecurityGroupInput `json:"-", xml:"-"` } type metadataCreateSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateSecurityGroupOutput struct { @@ -4983,17 +4983,17 @@ type metadataCreateSecurityGroupOutput struct { type CreateSnapshotInput struct { Description *string `type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VolumeID *string `locationName:"VolumeId" type:"string"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataCreateSnapshotInput `json:"-", xml:"-"` } type metadataCreateSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type CreateSpotDatafeedSubscriptionInput struct { - Bucket *string `locationName:"bucket" type:"string"` + Bucket *string `locationName:"bucket" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` Prefix *string `locationName:"prefix" type:"string"` @@ -5001,7 +5001,7 @@ type CreateSpotDatafeedSubscriptionInput struct { } type metadataCreateSpotDatafeedSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type CreateSpotDatafeedSubscriptionOutput struct { @@ -5016,15 +5016,15 @@ type metadataCreateSpotDatafeedSubscriptionOutput struct { type CreateSubnetInput struct { AvailabilityZone *string `type:"string"` - CIDRBlock *string `locationName:"CidrBlock" type:"string"` + CIDRBlock *string `locationName:"CidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` metadataCreateSubnetInput `json:"-", xml:"-"` } type metadataCreateSubnetInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId,CidrBlock"` + SDKShapeTraits bool `type:"structure"` } type CreateSubnetOutput struct { @@ -5039,14 +5039,14 @@ type metadataCreateSubnetOutput struct { type CreateTagsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - Resources []*string `locationName:"ResourceId" type:"list"` - Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list"` + Resources []*string `locationName:"ResourceId" type:"list" required:"true"` + Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list" required:"true"` metadataCreateTagsInput `json:"-", xml:"-"` } type metadataCreateTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"Resources,Tags"` + SDKShapeTraits bool `type:"structure"` } type CreateTagsOutput struct { @@ -5058,7 +5058,7 @@ type metadataCreateTagsOutput struct { } type CreateVPCInput struct { - CIDRBlock *string `locationName:"CidrBlock" type:"string"` + CIDRBlock *string `locationName:"CidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` InstanceTenancy *string `locationName:"instanceTenancy" type:"string"` @@ -5066,7 +5066,7 @@ type CreateVPCInput struct { } type metadataCreateVPCInput struct { - SDKShapeTraits bool `type:"structure" required:"CidrBlock"` + SDKShapeTraits bool `type:"structure"` } type CreateVPCOutput struct { @@ -5103,17 +5103,17 @@ type metadataCreateVPCPeeringConnectionOutput struct { } type CreateVPNConnectionInput struct { - CustomerGatewayID *string `locationName:"CustomerGatewayId" type:"string"` + CustomerGatewayID *string `locationName:"CustomerGatewayId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` Options *VPNConnectionOptionsSpecification `locationName:"options" type:"structure"` - Type *string `type:"string"` - VPNGatewayID *string `locationName:"VpnGatewayId" type:"string"` + Type *string `type:"string" required:"true"` + VPNGatewayID *string `locationName:"VpnGatewayId" type:"string" required:"true"` metadataCreateVPNConnectionInput `json:"-", xml:"-"` } type metadataCreateVPNConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"Type,CustomerGatewayId,VpnGatewayId"` + SDKShapeTraits bool `type:"structure"` } type CreateVPNConnectionOutput struct { @@ -5127,14 +5127,14 @@ type metadataCreateVPNConnectionOutput struct { } type CreateVPNConnectionRouteInput struct { - DestinationCIDRBlock *string `locationName:"DestinationCidrBlock" type:"string"` - VPNConnectionID *string `locationName:"VpnConnectionId" type:"string"` + DestinationCIDRBlock *string `locationName:"DestinationCidrBlock" type:"string" required:"true"` + VPNConnectionID *string `locationName:"VpnConnectionId" type:"string" required:"true"` metadataCreateVPNConnectionRouteInput `json:"-", xml:"-"` } type metadataCreateVPNConnectionRouteInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnConnectionId,DestinationCidrBlock"` + SDKShapeTraits bool `type:"structure"` } type CreateVPNConnectionRouteOutput struct { @@ -5148,13 +5148,13 @@ type metadataCreateVPNConnectionRouteOutput struct { type CreateVPNGatewayInput struct { AvailabilityZone *string `type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - Type *string `type:"string"` + Type *string `type:"string" required:"true"` metadataCreateVPNGatewayInput `json:"-", xml:"-"` } type metadataCreateVPNGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"Type"` + SDKShapeTraits bool `type:"structure"` } type CreateVPNGatewayOutput struct { @@ -5168,7 +5168,7 @@ type metadataCreateVPNGatewayOutput struct { } type CreateVolumeInput struct { - AvailabilityZone *string `type:"string"` + AvailabilityZone *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` Encrypted *bool `locationName:"encrypted" type:"boolean"` IOPS *int `locationName:"Iops" type:"integer"` @@ -5181,7 +5181,7 @@ type CreateVolumeInput struct { } type metadataCreateVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"AvailabilityZone"` + SDKShapeTraits bool `type:"structure"` } type CreateVolumePermission struct { @@ -5245,14 +5245,14 @@ type metadataDHCPOptions struct { } type DeleteCustomerGatewayInput struct { - CustomerGatewayID *string `locationName:"CustomerGatewayId" type:"string"` + CustomerGatewayID *string `locationName:"CustomerGatewayId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` metadataDeleteCustomerGatewayInput `json:"-", xml:"-"` } type metadataDeleteCustomerGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"CustomerGatewayId"` + SDKShapeTraits bool `type:"structure"` } type DeleteCustomerGatewayOutput struct { @@ -5264,14 +5264,14 @@ type metadataDeleteCustomerGatewayOutput struct { } type DeleteDHCPOptionsInput struct { - DHCPOptionsID *string `locationName:"DhcpOptionsId" type:"string"` + DHCPOptionsID *string `locationName:"DhcpOptionsId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` metadataDeleteDHCPOptionsInput `json:"-", xml:"-"` } type metadataDeleteDHCPOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"DhcpOptionsId"` + SDKShapeTraits bool `type:"structure"` } type DeleteDHCPOptionsOutput struct { @@ -5284,13 +5284,13 @@ type metadataDeleteDHCPOptionsOutput struct { type DeleteInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InternetGatewayID *string `locationName:"internetGatewayId" type:"string"` + InternetGatewayID *string `locationName:"internetGatewayId" type:"string" required:"true"` metadataDeleteInternetGatewayInput `json:"-", xml:"-"` } type metadataDeleteInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"InternetGatewayId"` + SDKShapeTraits bool `type:"structure"` } type DeleteInternetGatewayOutput struct { @@ -5303,13 +5303,13 @@ type metadataDeleteInternetGatewayOutput struct { type DeleteKeyPairInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - KeyName *string `type:"string"` + KeyName *string `type:"string" required:"true"` metadataDeleteKeyPairInput `json:"-", xml:"-"` } type metadataDeleteKeyPairInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyName"` + SDKShapeTraits bool `type:"structure"` } type DeleteKeyPairOutput struct { @@ -5322,15 +5322,15 @@ type metadataDeleteKeyPairOutput struct { type DeleteNetworkACLEntryInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - Egress *bool `locationName:"egress" type:"boolean"` - NetworkACLID *string `locationName:"networkAclId" type:"string"` - RuleNumber *int `locationName:"ruleNumber" type:"integer"` + Egress *bool `locationName:"egress" type:"boolean" required:"true"` + NetworkACLID *string `locationName:"networkAclId" type:"string" required:"true"` + RuleNumber *int `locationName:"ruleNumber" type:"integer" required:"true"` metadataDeleteNetworkACLEntryInput `json:"-", xml:"-"` } type metadataDeleteNetworkACLEntryInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkAclId,RuleNumber,Egress"` + SDKShapeTraits bool `type:"structure"` } type DeleteNetworkACLEntryOutput struct { @@ -5343,13 +5343,13 @@ type metadataDeleteNetworkACLEntryOutput struct { type DeleteNetworkACLInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - NetworkACLID *string `locationName:"networkAclId" type:"string"` + NetworkACLID *string `locationName:"networkAclId" type:"string" required:"true"` metadataDeleteNetworkACLInput `json:"-", xml:"-"` } type metadataDeleteNetworkACLInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkAclId"` + SDKShapeTraits bool `type:"structure"` } type DeleteNetworkACLOutput struct { @@ -5362,13 +5362,13 @@ type metadataDeleteNetworkACLOutput struct { type DeleteNetworkInterfaceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` metadataDeleteNetworkInterfaceInput `json:"-", xml:"-"` } type metadataDeleteNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId"` + SDKShapeTraits bool `type:"structure"` } type DeleteNetworkInterfaceOutput struct { @@ -5381,13 +5381,13 @@ type metadataDeleteNetworkInterfaceOutput struct { type DeletePlacementGroupInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - GroupName *string `locationName:"groupName" type:"string"` + GroupName *string `locationName:"groupName" type:"string" required:"true"` metadataDeletePlacementGroupInput `json:"-", xml:"-"` } type metadataDeletePlacementGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type DeletePlacementGroupOutput struct { @@ -5399,15 +5399,15 @@ type metadataDeletePlacementGroupOutput struct { } type DeleteRouteInput struct { - DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string"` + DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - RouteTableID *string `locationName:"routeTableId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` metadataDeleteRouteInput `json:"-", xml:"-"` } type metadataDeleteRouteInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId,DestinationCidrBlock"` + SDKShapeTraits bool `type:"structure"` } type DeleteRouteOutput struct { @@ -5420,13 +5420,13 @@ type metadataDeleteRouteOutput struct { type DeleteRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - RouteTableID *string `locationName:"routeTableId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` metadataDeleteRouteTableInput `json:"-", xml:"-"` } type metadataDeleteRouteTableInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId"` + SDKShapeTraits bool `type:"structure"` } type DeleteRouteTableOutput struct { @@ -5459,13 +5459,13 @@ type metadataDeleteSecurityGroupOutput struct { type DeleteSnapshotInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - SnapshotID *string `locationName:"SnapshotId" type:"string"` + SnapshotID *string `locationName:"SnapshotId" type:"string" required:"true"` metadataDeleteSnapshotInput `json:"-", xml:"-"` } type metadataDeleteSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotId"` + SDKShapeTraits bool `type:"structure"` } type DeleteSnapshotOutput struct { @@ -5496,13 +5496,13 @@ type metadataDeleteSpotDatafeedSubscriptionOutput struct { type DeleteSubnetInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - SubnetID *string `locationName:"SubnetId" type:"string"` + SubnetID *string `locationName:"SubnetId" type:"string" required:"true"` metadataDeleteSubnetInput `json:"-", xml:"-"` } type metadataDeleteSubnetInput struct { - SDKShapeTraits bool `type:"structure" required:"SubnetId"` + SDKShapeTraits bool `type:"structure"` } type DeleteSubnetOutput struct { @@ -5515,14 +5515,14 @@ type metadataDeleteSubnetOutput struct { type DeleteTagsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - Resources []*string `locationName:"resourceId" type:"list"` + Resources []*string `locationName:"resourceId" type:"list" required:"true"` Tags []*Tag `locationName:"tag" locationNameList:"item" type:"list"` metadataDeleteTagsInput `json:"-", xml:"-"` } type metadataDeleteTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"Resources"` + SDKShapeTraits bool `type:"structure"` } type DeleteTagsOutput struct { @@ -5535,13 +5535,13 @@ type metadataDeleteTagsOutput struct { type DeleteVPCInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` metadataDeleteVPCInput `json:"-", xml:"-"` } type metadataDeleteVPCInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type DeleteVPCOutput struct { @@ -5554,13 +5554,13 @@ type metadataDeleteVPCOutput struct { type DeleteVPCPeeringConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string"` + VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` metadataDeleteVPCPeeringConnectionInput `json:"-", xml:"-"` } type metadataDeleteVPCPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcPeeringConnectionId"` + SDKShapeTraits bool `type:"structure"` } type DeleteVPCPeeringConnectionOutput struct { @@ -5575,13 +5575,13 @@ type metadataDeleteVPCPeeringConnectionOutput struct { type DeleteVPNConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPNConnectionID *string `locationName:"VpnConnectionId" type:"string"` + VPNConnectionID *string `locationName:"VpnConnectionId" type:"string" required:"true"` metadataDeleteVPNConnectionInput `json:"-", xml:"-"` } type metadataDeleteVPNConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnConnectionId"` + SDKShapeTraits bool `type:"structure"` } type DeleteVPNConnectionOutput struct { @@ -5593,14 +5593,14 @@ type metadataDeleteVPNConnectionOutput struct { } type DeleteVPNConnectionRouteInput struct { - DestinationCIDRBlock *string `locationName:"DestinationCidrBlock" type:"string"` - VPNConnectionID *string `locationName:"VpnConnectionId" type:"string"` + DestinationCIDRBlock *string `locationName:"DestinationCidrBlock" type:"string" required:"true"` + VPNConnectionID *string `locationName:"VpnConnectionId" type:"string" required:"true"` metadataDeleteVPNConnectionRouteInput `json:"-", xml:"-"` } type metadataDeleteVPNConnectionRouteInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnConnectionId,DestinationCidrBlock"` + SDKShapeTraits bool `type:"structure"` } type DeleteVPNConnectionRouteOutput struct { @@ -5613,13 +5613,13 @@ type metadataDeleteVPNConnectionRouteOutput struct { type DeleteVPNGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPNGatewayID *string `locationName:"VpnGatewayId" type:"string"` + VPNGatewayID *string `locationName:"VpnGatewayId" type:"string" required:"true"` metadataDeleteVPNGatewayInput `json:"-", xml:"-"` } type metadataDeleteVPNGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnGatewayId"` + SDKShapeTraits bool `type:"structure"` } type DeleteVPNGatewayOutput struct { @@ -5632,13 +5632,13 @@ type metadataDeleteVPNGatewayOutput struct { type DeleteVolumeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VolumeID *string `locationName:"VolumeId" type:"string"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataDeleteVolumeInput `json:"-", xml:"-"` } type metadataDeleteVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type DeleteVolumeOutput struct { @@ -5651,13 +5651,13 @@ type metadataDeleteVolumeOutput struct { type DeregisterImageInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` metadataDeregisterImageInput `json:"-", xml:"-"` } type metadataDeregisterImageInput struct { - SDKShapeTraits bool `type:"structure" required:"ImageId"` + SDKShapeTraits bool `type:"structure"` } type DeregisterImageOutput struct { @@ -5868,15 +5868,15 @@ type metadataDescribeExportTasksOutput struct { } type DescribeImageAttributeInput struct { - Attribute *string `type:"string"` + Attribute *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` metadataDescribeImageAttributeInput `json:"-", xml:"-"` } type metadataDescribeImageAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"ImageId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type DescribeImageAttributeOutput struct { @@ -5921,15 +5921,15 @@ type metadataDescribeImagesOutput struct { } type DescribeInstanceAttributeInput struct { - Attribute *string `locationName:"attribute" type:"string"` + Attribute *string `locationName:"attribute" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"instanceId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` metadataDescribeInstanceAttributeInput `json:"-", xml:"-"` } type metadataDescribeInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type DescribeInstanceAttributeOutput struct { @@ -6075,13 +6075,13 @@ type metadataDescribeNetworkACLsOutput struct { type DescribeNetworkInterfaceAttributeInput struct { Attribute *string `locationName:"attribute" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` metadataDescribeNetworkInterfaceAttributeInput `json:"-", xml:"-"` } type metadataDescribeNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId"` + SDKShapeTraits bool `type:"structure"` } type DescribeNetworkInterfaceAttributeOutput struct { @@ -6312,15 +6312,15 @@ type metadataDescribeSecurityGroupsOutput struct { } type DescribeSnapshotAttributeInput struct { - Attribute *string `type:"string"` + Attribute *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - SnapshotID *string `locationName:"SnapshotId" type:"string"` + SnapshotID *string `locationName:"SnapshotId" type:"string" required:"true"` metadataDescribeSnapshotAttributeInput `json:"-", xml:"-"` } type metadataDescribeSnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type DescribeSnapshotAttributeOutput struct { @@ -6479,13 +6479,13 @@ type metadataDescribeTagsOutput struct { type DescribeVPCAttributeInput struct { Attribute *string `type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` metadataDescribeVPCAttributeInput `json:"-", xml:"-"` } type metadataDescribeVPCAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type DescribeVPCAttributeOutput struct { @@ -6613,13 +6613,13 @@ type metadataDescribeVPNGatewaysOutput struct { type DescribeVolumeAttributeInput struct { Attribute *string `type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VolumeID *string `locationName:"VolumeId" type:"string"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataDescribeVolumeAttributeInput `json:"-", xml:"-"` } type metadataDescribeVolumeAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type DescribeVolumeAttributeOutput struct { @@ -6686,14 +6686,14 @@ type metadataDescribeVolumesOutput struct { type DetachClassicLinkVPCInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"instanceId" type:"string"` - VPCID *string `locationName:"vpcId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataDetachClassicLinkVPCInput `json:"-", xml:"-"` } type metadataDetachClassicLinkVPCInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type DetachClassicLinkVPCOutput struct { @@ -6708,14 +6708,14 @@ type metadataDetachClassicLinkVPCOutput struct { type DetachInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InternetGatewayID *string `locationName:"internetGatewayId" type:"string"` - VPCID *string `locationName:"vpcId" type:"string"` + InternetGatewayID *string `locationName:"internetGatewayId" type:"string" required:"true"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataDetachInternetGatewayInput `json:"-", xml:"-"` } type metadataDetachInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"InternetGatewayId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type DetachInternetGatewayOutput struct { @@ -6727,7 +6727,7 @@ type metadataDetachInternetGatewayOutput struct { } type DetachNetworkInterfaceInput struct { - AttachmentID *string `locationName:"attachmentId" type:"string"` + AttachmentID *string `locationName:"attachmentId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` Force *bool `locationName:"force" type:"boolean"` @@ -6735,7 +6735,7 @@ type DetachNetworkInterfaceInput struct { } type metadataDetachNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure" required:"AttachmentId"` + SDKShapeTraits bool `type:"structure"` } type DetachNetworkInterfaceOutput struct { @@ -6748,14 +6748,14 @@ type metadataDetachNetworkInterfaceOutput struct { type DetachVPNGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"VpcId" type:"string"` - VPNGatewayID *string `locationName:"VpnGatewayId" type:"string"` + VPCID *string `locationName:"VpcId" type:"string" required:"true"` + VPNGatewayID *string `locationName:"VpnGatewayId" type:"string" required:"true"` metadataDetachVPNGatewayInput `json:"-", xml:"-"` } type metadataDetachVPNGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"VpnGatewayId,VpcId"` + SDKShapeTraits bool `type:"structure"` } type DetachVPNGatewayOutput struct { @@ -6771,24 +6771,24 @@ type DetachVolumeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` Force *bool `type:"boolean"` InstanceID *string `locationName:"InstanceId" type:"string"` - VolumeID *string `locationName:"VolumeId" type:"string"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataDetachVolumeInput `json:"-", xml:"-"` } type metadataDetachVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type DisableVGWRoutePropagationInput struct { - GatewayID *string `locationName:"GatewayId" type:"string"` - RouteTableID *string `locationName:"RouteTableId" type:"string"` + GatewayID *string `locationName:"GatewayId" type:"string" required:"true"` + RouteTableID *string `locationName:"RouteTableId" type:"string" required:"true"` metadataDisableVGWRoutePropagationInput `json:"-", xml:"-"` } type metadataDisableVGWRoutePropagationInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId,GatewayId"` + SDKShapeTraits bool `type:"structure"` } type DisableVGWRoutePropagationOutput struct { @@ -6801,13 +6801,13 @@ type metadataDisableVGWRoutePropagationOutput struct { type DisableVPCClassicLinkInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"vpcId" type:"string"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataDisableVPCClassicLinkInput `json:"-", xml:"-"` } type metadataDisableVPCClassicLinkInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type DisableVPCClassicLinkOutput struct { @@ -6841,14 +6841,14 @@ type metadataDisassociateAddressOutput struct { } type DisassociateRouteTableInput struct { - AssociationID *string `locationName:"associationId" type:"string"` + AssociationID *string `locationName:"associationId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` metadataDisassociateRouteTableInput `json:"-", xml:"-"` } type metadataDisassociateRouteTableInput struct { - SDKShapeTraits bool `type:"structure" required:"AssociationId"` + SDKShapeTraits bool `type:"structure"` } type DisassociateRouteTableOutput struct { @@ -6873,38 +6873,38 @@ type metadataDiskImage struct { type DiskImageDescription struct { Checksum *string `locationName:"checksum" type:"string"` - Format *string `locationName:"format" type:"string"` - ImportManifestURL *string `locationName:"importManifestUrl" type:"string"` - Size *int64 `locationName:"size" type:"long"` + Format *string `locationName:"format" type:"string" required:"true"` + ImportManifestURL *string `locationName:"importManifestUrl" type:"string" required:"true"` + Size *int64 `locationName:"size" type:"long" required:"true"` metadataDiskImageDescription `json:"-", xml:"-"` } type metadataDiskImageDescription struct { - SDKShapeTraits bool `type:"structure" required:"Format,Size,ImportManifestUrl"` + SDKShapeTraits bool `type:"structure"` } type DiskImageDetail struct { - Bytes *int64 `locationName:"bytes" type:"long"` - Format *string `locationName:"format" type:"string"` - ImportManifestURL *string `locationName:"importManifestUrl" type:"string"` + Bytes *int64 `locationName:"bytes" type:"long" required:"true"` + Format *string `locationName:"format" type:"string" required:"true"` + ImportManifestURL *string `locationName:"importManifestUrl" type:"string" required:"true"` metadataDiskImageDetail `json:"-", xml:"-"` } type metadataDiskImageDetail struct { - SDKShapeTraits bool `type:"structure" required:"Format,Bytes,ImportManifestUrl"` + SDKShapeTraits bool `type:"structure"` } type DiskImageVolumeDescription struct { - ID *string `locationName:"id" type:"string"` + ID *string `locationName:"id" type:"string" required:"true"` Size *int64 `locationName:"size" type:"long"` metadataDiskImageVolumeDescription `json:"-", xml:"-"` } type metadataDiskImageVolumeDescription struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type EBSBlockDevice struct { @@ -6947,14 +6947,14 @@ type metadataEBSInstanceBlockDeviceSpecification struct { } type EnableVGWRoutePropagationInput struct { - GatewayID *string `locationName:"GatewayId" type:"string"` - RouteTableID *string `locationName:"RouteTableId" type:"string"` + GatewayID *string `locationName:"GatewayId" type:"string" required:"true"` + RouteTableID *string `locationName:"RouteTableId" type:"string" required:"true"` metadataEnableVGWRoutePropagationInput `json:"-", xml:"-"` } type metadataEnableVGWRoutePropagationInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId,GatewayId"` + SDKShapeTraits bool `type:"structure"` } type EnableVGWRoutePropagationOutput struct { @@ -6967,13 +6967,13 @@ type metadataEnableVGWRoutePropagationOutput struct { type EnableVPCClassicLinkInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCID *string `locationName:"vpcId" type:"string"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataEnableVPCClassicLinkInput `json:"-", xml:"-"` } type metadataEnableVPCClassicLinkInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type EnableVPCClassicLinkOutput struct { @@ -6988,13 +6988,13 @@ type metadataEnableVPCClassicLinkOutput struct { type EnableVolumeIOInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VolumeID *string `locationName:"volumeId" type:"string"` + VolumeID *string `locationName:"volumeId" type:"string" required:"true"` metadataEnableVolumeIOInput `json:"-", xml:"-"` } type metadataEnableVolumeIOInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type EnableVolumeIOOutput struct { @@ -7059,13 +7059,13 @@ type metadataFilter struct { type GetConsoleOutputInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"InstanceId" type:"string"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` metadataGetConsoleOutputInput `json:"-", xml:"-"` } type metadataGetConsoleOutputInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId"` + SDKShapeTraits bool `type:"structure"` } type GetConsoleOutputOutput struct { @@ -7082,13 +7082,13 @@ type metadataGetConsoleOutputOutput struct { type GetPasswordDataInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"InstanceId" type:"string"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"` metadataGetPasswordDataInput `json:"-", xml:"-"` } type metadataGetPasswordDataInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId"` + SDKShapeTraits bool `type:"structure"` } type GetPasswordDataOutput struct { @@ -7208,13 +7208,13 @@ type ImportInstanceInput struct { DiskImages []*DiskImage `locationName:"diskImage" type:"list"` DryRun *bool `locationName:"dryRun" type:"boolean"` LaunchSpecification *ImportInstanceLaunchSpecification `locationName:"launchSpecification" type:"structure"` - Platform *string `locationName:"platform" type:"string"` + Platform *string `locationName:"platform" type:"string" required:"true"` metadataImportInstanceInput `json:"-", xml:"-"` } type metadataImportInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"Platform"` + SDKShapeTraits bool `type:"structure"` } type ImportInstanceLaunchSpecification struct { @@ -7251,41 +7251,41 @@ type ImportInstanceTaskDetails struct { Description *string `locationName:"description" type:"string"` InstanceID *string `locationName:"instanceId" type:"string"` Platform *string `locationName:"platform" type:"string"` - Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list"` + Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list" required:"true"` metadataImportInstanceTaskDetails `json:"-", xml:"-"` } type metadataImportInstanceTaskDetails struct { - SDKShapeTraits bool `type:"structure" required:"Volumes"` + SDKShapeTraits bool `type:"structure"` } type ImportInstanceVolumeDetailItem struct { - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - BytesConverted *int64 `locationName:"bytesConverted" type:"long"` + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + BytesConverted *int64 `locationName:"bytesConverted" type:"long" required:"true"` Description *string `locationName:"description" type:"string"` - Image *DiskImageDescription `locationName:"image" type:"structure"` - Status *string `locationName:"status" type:"string"` + Image *DiskImageDescription `locationName:"image" type:"structure" required:"true"` + Status *string `locationName:"status" type:"string" required:"true"` StatusMessage *string `locationName:"statusMessage" type:"string"` - Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"` + Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` metadataImportInstanceVolumeDetailItem `json:"-", xml:"-"` } type metadataImportInstanceVolumeDetailItem struct { - SDKShapeTraits bool `type:"structure" required:"BytesConverted,AvailabilityZone,Image,Volume,Status"` + SDKShapeTraits bool `type:"structure"` } type ImportKeyPairInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - KeyName *string `locationName:"keyName" type:"string"` - PublicKeyMaterial []byte `locationName:"publicKeyMaterial" type:"blob"` + KeyName *string `locationName:"keyName" type:"string" required:"true"` + PublicKeyMaterial []byte `locationName:"publicKeyMaterial" type:"blob" required:"true"` metadataImportKeyPairInput `json:"-", xml:"-"` } type metadataImportKeyPairInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyName,PublicKeyMaterial"` + SDKShapeTraits bool `type:"structure"` } type ImportKeyPairOutput struct { @@ -7300,17 +7300,17 @@ type metadataImportKeyPairOutput struct { } type ImportVolumeInput struct { - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` Description *string `locationName:"description" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - Image *DiskImageDetail `locationName:"image" type:"structure"` - Volume *VolumeDetail `locationName:"volume" type:"structure"` + Image *DiskImageDetail `locationName:"image" type:"structure" required:"true"` + Volume *VolumeDetail `locationName:"volume" type:"structure" required:"true"` metadataImportVolumeInput `json:"-", xml:"-"` } type metadataImportVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"AvailabilityZone,Image,Volume"` + SDKShapeTraits bool `type:"structure"` } type ImportVolumeOutput struct { @@ -7324,17 +7324,17 @@ type metadataImportVolumeOutput struct { } type ImportVolumeTaskDetails struct { - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - BytesConverted *int64 `locationName:"bytesConverted" type:"long"` + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + BytesConverted *int64 `locationName:"bytesConverted" type:"long" required:"true"` Description *string `locationName:"description" type:"string"` - Image *DiskImageDescription `locationName:"image" type:"structure"` - Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"` + Image *DiskImageDescription `locationName:"image" type:"structure" required:"true"` + Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` metadataImportVolumeTaskDetails `json:"-", xml:"-"` } type metadataImportVolumeTaskDetails struct { - SDKShapeTraits bool `type:"structure" required:"BytesConverted,AvailabilityZone,Image,Volume"` + SDKShapeTraits bool `type:"structure"` } type Instance struct { @@ -7679,7 +7679,7 @@ type ModifyImageAttributeInput struct { Attribute *string `type:"string"` Description *AttributeValue `type:"structure"` DryRun *bool `locationName:"dryRun" type:"boolean"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` LaunchPermission *LaunchPermissionModifications `type:"structure"` OperationType *string `type:"string"` ProductCodes []*string `locationName:"ProductCode" locationNameList:"ProductCode" type:"list"` @@ -7691,7 +7691,7 @@ type ModifyImageAttributeInput struct { } type metadataModifyImageAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"ImageId"` + SDKShapeTraits bool `type:"structure"` } type ModifyImageAttributeOutput struct { @@ -7709,7 +7709,7 @@ type ModifyInstanceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` EBSOptimized *AttributeBooleanValue `locationName:"ebsOptimized" type:"structure"` Groups []*string `locationName:"GroupId" locationNameList:"groupId" type:"list"` - InstanceID *string `locationName:"instanceId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` InstanceInitiatedShutdownBehavior *AttributeValue `locationName:"instanceInitiatedShutdownBehavior" type:"structure"` InstanceType *AttributeValue `locationName:"instanceType" type:"structure"` Kernel *AttributeValue `locationName:"kernel" type:"structure"` @@ -7723,7 +7723,7 @@ type ModifyInstanceAttributeInput struct { } type metadataModifyInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId"` + SDKShapeTraits bool `type:"structure"` } type ModifyInstanceAttributeOutput struct { @@ -7739,14 +7739,14 @@ type ModifyNetworkInterfaceAttributeInput struct { Description *AttributeValue `locationName:"description" type:"structure"` DryRun *bool `locationName:"dryRun" type:"boolean"` Groups []*string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` metadataModifyNetworkInterfaceAttributeInput `json:"-", xml:"-"` } type metadataModifyNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId"` + SDKShapeTraits bool `type:"structure"` } type ModifyNetworkInterfaceAttributeOutput struct { @@ -7759,14 +7759,14 @@ type metadataModifyNetworkInterfaceAttributeOutput struct { type ModifyReservedInstancesInput struct { ClientToken *string `locationName:"clientToken" type:"string"` - ReservedInstancesIDs []*string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list"` - TargetConfigurations []*ReservedInstancesConfiguration `locationName:"ReservedInstancesConfigurationSetItemType" locationNameList:"item" type:"list"` + ReservedInstancesIDs []*string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list" required:"true"` + TargetConfigurations []*ReservedInstancesConfiguration `locationName:"ReservedInstancesConfigurationSetItemType" locationNameList:"item" type:"list" required:"true"` metadataModifyReservedInstancesInput `json:"-", xml:"-"` } type metadataModifyReservedInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedInstancesIds,TargetConfigurations"` + SDKShapeTraits bool `type:"structure"` } type ModifyReservedInstancesOutput struct { @@ -7785,14 +7785,14 @@ type ModifySnapshotAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` GroupNames []*string `locationName:"UserGroup" locationNameList:"GroupName" type:"list"` OperationType *string `type:"string"` - SnapshotID *string `locationName:"SnapshotId" type:"string"` + SnapshotID *string `locationName:"SnapshotId" type:"string" required:"true"` UserIDs []*string `locationName:"UserId" locationNameList:"UserId" type:"list"` metadataModifySnapshotAttributeInput `json:"-", xml:"-"` } type metadataModifySnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotId"` + SDKShapeTraits bool `type:"structure"` } type ModifySnapshotAttributeOutput struct { @@ -7805,13 +7805,13 @@ type metadataModifySnapshotAttributeOutput struct { type ModifySubnetAttributeInput struct { MapPublicIPOnLaunch *AttributeBooleanValue `locationName:"MapPublicIpOnLaunch" type:"structure"` - SubnetID *string `locationName:"subnetId" type:"string"` + SubnetID *string `locationName:"subnetId" type:"string" required:"true"` metadataModifySubnetAttributeInput `json:"-", xml:"-"` } type metadataModifySubnetAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"SubnetId"` + SDKShapeTraits bool `type:"structure"` } type ModifySubnetAttributeOutput struct { @@ -7825,13 +7825,13 @@ type metadataModifySubnetAttributeOutput struct { type ModifyVPCAttributeInput struct { EnableDNSHostnames *AttributeBooleanValue `locationName:"EnableDnsHostnames" type:"structure"` EnableDNSSupport *AttributeBooleanValue `locationName:"EnableDnsSupport" type:"structure"` - VPCID *string `locationName:"vpcId" type:"string"` + VPCID *string `locationName:"vpcId" type:"string" required:"true"` metadataModifyVPCAttributeInput `json:"-", xml:"-"` } type metadataModifyVPCAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcId"` + SDKShapeTraits bool `type:"structure"` } type ModifyVPCAttributeOutput struct { @@ -7845,13 +7845,13 @@ type metadataModifyVPCAttributeOutput struct { type ModifyVolumeAttributeInput struct { AutoEnableIO *AttributeBooleanValue `type:"structure"` DryRun *bool `locationName:"dryRun" type:"boolean"` - VolumeID *string `locationName:"VolumeId" type:"string"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"` metadataModifyVolumeAttributeInput `json:"-", xml:"-"` } type metadataModifyVolumeAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId"` + SDKShapeTraits bool `type:"structure"` } type ModifyVolumeAttributeOutput struct { @@ -7864,13 +7864,13 @@ type metadataModifyVolumeAttributeOutput struct { type MonitorInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataMonitorInstancesInput `json:"-", xml:"-"` } type metadataMonitorInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type MonitorInstancesOutput struct { @@ -8101,13 +8101,13 @@ type metadataPricingDetail struct { type PrivateIPAddressSpecification struct { Primary *bool `locationName:"primary" type:"boolean"` - PrivateIPAddress *string `locationName:"privateIpAddress" type:"string"` + PrivateIPAddress *string `locationName:"privateIpAddress" type:"string" required:"true"` metadataPrivateIPAddressSpecification `json:"-", xml:"-"` } type metadataPrivateIPAddressSpecification struct { - SDKShapeTraits bool `type:"structure" required:"PrivateIpAddress"` + SDKShapeTraits bool `type:"structure"` } type ProductCode struct { @@ -8133,15 +8133,15 @@ type metadataPropagatingVGW struct { type PurchaseReservedInstancesOfferingInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceCount *int `type:"integer"` + InstanceCount *int `type:"integer" required:"true"` LimitPrice *ReservedInstanceLimitPrice `locationName:"limitPrice" type:"structure"` - ReservedInstancesOfferingID *string `locationName:"ReservedInstancesOfferingId" type:"string"` + ReservedInstancesOfferingID *string `locationName:"ReservedInstancesOfferingId" type:"string" required:"true"` metadataPurchaseReservedInstancesOfferingInput `json:"-", xml:"-"` } type metadataPurchaseReservedInstancesOfferingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedInstancesOfferingId,InstanceCount"` + SDKShapeTraits bool `type:"structure"` } type PurchaseReservedInstancesOfferingOutput struct { @@ -8156,13 +8156,13 @@ type metadataPurchaseReservedInstancesOfferingOutput struct { type RebootInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataRebootInstancesInput `json:"-", xml:"-"` } type metadataRebootInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type RebootInstancesOutput struct { @@ -8202,7 +8202,7 @@ type RegisterImageInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` ImageLocation *string `type:"string"` KernelID *string `locationName:"kernelId" type:"string"` - Name *string `locationName:"name" type:"string"` + Name *string `locationName:"name" type:"string" required:"true"` RAMDiskID *string `locationName:"ramdiskId" type:"string"` RootDeviceName *string `locationName:"rootDeviceName" type:"string"` SRIOVNetSupport *string `locationName:"sriovNetSupport" type:"string"` @@ -8212,7 +8212,7 @@ type RegisterImageInput struct { } type metadataRegisterImageInput struct { - SDKShapeTraits bool `type:"structure" required:"Name"` + SDKShapeTraits bool `type:"structure"` } type RegisterImageOutput struct { @@ -8227,13 +8227,13 @@ type metadataRegisterImageOutput struct { type RejectVPCPeeringConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string"` + VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` metadataRejectVPCPeeringConnectionInput `json:"-", xml:"-"` } type metadataRejectVPCPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure" required:"VpcPeeringConnectionId"` + SDKShapeTraits bool `type:"structure"` } type RejectVPCPeeringConnectionOutput struct { @@ -8267,15 +8267,15 @@ type metadataReleaseAddressOutput struct { } type ReplaceNetworkACLAssociationInput struct { - AssociationID *string `locationName:"associationId" type:"string"` + AssociationID *string `locationName:"associationId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - NetworkACLID *string `locationName:"networkAclId" type:"string"` + NetworkACLID *string `locationName:"networkAclId" type:"string" required:"true"` metadataReplaceNetworkACLAssociationInput `json:"-", xml:"-"` } type metadataReplaceNetworkACLAssociationInput struct { - SDKShapeTraits bool `type:"structure" required:"AssociationId,NetworkAclId"` + SDKShapeTraits bool `type:"structure"` } type ReplaceNetworkACLAssociationOutput struct { @@ -8289,21 +8289,21 @@ type metadataReplaceNetworkACLAssociationOutput struct { } type ReplaceNetworkACLEntryInput struct { - CIDRBlock *string `locationName:"cidrBlock" type:"string"` + CIDRBlock *string `locationName:"cidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - Egress *bool `locationName:"egress" type:"boolean"` + Egress *bool `locationName:"egress" type:"boolean" required:"true"` ICMPTypeCode *ICMPTypeCode `locationName:"Icmp" type:"structure"` - NetworkACLID *string `locationName:"networkAclId" type:"string"` + NetworkACLID *string `locationName:"networkAclId" type:"string" required:"true"` PortRange *PortRange `locationName:"portRange" type:"structure"` - Protocol *string `locationName:"protocol" type:"string"` - RuleAction *string `locationName:"ruleAction" type:"string"` - RuleNumber *int `locationName:"ruleNumber" type:"integer"` + Protocol *string `locationName:"protocol" type:"string" required:"true"` + RuleAction *string `locationName:"ruleAction" type:"string" required:"true"` + RuleNumber *int `locationName:"ruleNumber" type:"integer" required:"true"` metadataReplaceNetworkACLEntryInput `json:"-", xml:"-"` } type metadataReplaceNetworkACLEntryInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkAclId,RuleNumber,Protocol,RuleAction,Egress,CidrBlock"` + SDKShapeTraits bool `type:"structure"` } type ReplaceNetworkACLEntryOutput struct { @@ -8315,19 +8315,19 @@ type metadataReplaceNetworkACLEntryOutput struct { } type ReplaceRouteInput struct { - DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string"` + DestinationCIDRBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` GatewayID *string `locationName:"gatewayId" type:"string"` InstanceID *string `locationName:"instanceId" type:"string"` NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` - RouteTableID *string `locationName:"routeTableId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` VPCPeeringConnectionID *string `locationName:"vpcPeeringConnectionId" type:"string"` metadataReplaceRouteInput `json:"-", xml:"-"` } type metadataReplaceRouteInput struct { - SDKShapeTraits bool `type:"structure" required:"RouteTableId,DestinationCidrBlock"` + SDKShapeTraits bool `type:"structure"` } type ReplaceRouteOutput struct { @@ -8339,15 +8339,15 @@ type metadataReplaceRouteOutput struct { } type ReplaceRouteTableAssociationInput struct { - AssociationID *string `locationName:"associationId" type:"string"` + AssociationID *string `locationName:"associationId" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - RouteTableID *string `locationName:"routeTableId" type:"string"` + RouteTableID *string `locationName:"routeTableId" type:"string" required:"true"` metadataReplaceRouteTableAssociationInput `json:"-", xml:"-"` } type metadataReplaceRouteTableAssociationInput struct { - SDKShapeTraits bool `type:"structure" required:"AssociationId,RouteTableId"` + SDKShapeTraits bool `type:"structure"` } type ReplaceRouteTableAssociationOutput struct { @@ -8364,16 +8364,16 @@ type ReportInstanceStatusInput struct { Description *string `locationName:"description" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"` - Instances []*string `locationName:"instanceId" locationNameList:"InstanceId" type:"list"` - ReasonCodes []*string `locationName:"reasonCode" locationNameList:"item" type:"list"` + Instances []*string `locationName:"instanceId" locationNameList:"InstanceId" type:"list" required:"true"` + ReasonCodes []*string `locationName:"reasonCode" locationNameList:"item" type:"list" required:"true"` StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` - Status *string `locationName:"status" type:"string"` + Status *string `locationName:"status" type:"string" required:"true"` metadataReportInstanceStatusInput `json:"-", xml:"-"` } type metadataReportInstanceStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"Instances,Status,ReasonCodes"` + SDKShapeTraits bool `type:"structure"` } type ReportInstanceStatusOutput struct { @@ -8390,7 +8390,7 @@ type RequestSpotInstancesInput struct { InstanceCount *int `locationName:"instanceCount" type:"integer"` LaunchGroup *string `locationName:"launchGroup" type:"string"` LaunchSpecification *RequestSpotLaunchSpecification `type:"structure"` - SpotPrice *string `locationName:"spotPrice" type:"string"` + SpotPrice *string `locationName:"spotPrice" type:"string" required:"true"` Type *string `locationName:"type" type:"string"` ValidFrom *time.Time `locationName:"validFrom" type:"timestamp" timestampFormat:"iso8601"` ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` @@ -8399,7 +8399,7 @@ type RequestSpotInstancesInput struct { } type metadataRequestSpotInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"SpotPrice"` + SDKShapeTraits bool `type:"structure"` } type RequestSpotInstancesOutput struct { @@ -8581,15 +8581,15 @@ type metadataReservedInstancesOffering struct { } type ResetImageAttributeInput struct { - Attribute *string `type:"string"` + Attribute *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` metadataResetImageAttributeInput `json:"-", xml:"-"` } type metadataResetImageAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"ImageId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type ResetImageAttributeOutput struct { @@ -8601,15 +8601,15 @@ type metadataResetImageAttributeOutput struct { } type ResetInstanceAttributeInput struct { - Attribute *string `locationName:"attribute" type:"string"` + Attribute *string `locationName:"attribute" type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceID *string `locationName:"instanceId" type:"string"` + InstanceID *string `locationName:"instanceId" type:"string" required:"true"` metadataResetInstanceAttributeInput `json:"-", xml:"-"` } type metadataResetInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type ResetInstanceAttributeOutput struct { @@ -8622,14 +8622,14 @@ type metadataResetInstanceAttributeOutput struct { type ResetNetworkInterfaceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` SourceDestCheck *string `locationName:"sourceDestCheck" type:"string"` metadataResetNetworkInterfaceAttributeInput `json:"-", xml:"-"` } type metadataResetNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId"` + SDKShapeTraits bool `type:"structure"` } type ResetNetworkInterfaceAttributeOutput struct { @@ -8641,15 +8641,15 @@ type metadataResetNetworkInterfaceAttributeOutput struct { } type ResetSnapshotAttributeInput struct { - Attribute *string `type:"string"` + Attribute *string `type:"string" required:"true"` DryRun *bool `locationName:"dryRun" type:"boolean"` - SnapshotID *string `locationName:"SnapshotId" type:"string"` + SnapshotID *string `locationName:"SnapshotId" type:"string" required:"true"` metadataResetSnapshotAttributeInput `json:"-", xml:"-"` } type metadataResetSnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotId,Attribute"` + SDKShapeTraits bool `type:"structure"` } type ResetSnapshotAttributeOutput struct { @@ -8664,7 +8664,7 @@ type RevokeSecurityGroupEgressInput struct { CIDRIP *string `locationName:"cidrIp" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` FromPort *int `locationName:"fromPort" type:"integer"` - GroupID *string `locationName:"groupId" type:"string"` + GroupID *string `locationName:"groupId" type:"string" required:"true"` IPPermissions []*IPPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` IPProtocol *string `locationName:"ipProtocol" type:"string"` SourceSecurityGroupName *string `locationName:"sourceSecurityGroupName" type:"string"` @@ -8675,7 +8675,7 @@ type RevokeSecurityGroupEgressInput struct { } type metadataRevokeSecurityGroupEgressInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupId"` + SDKShapeTraits bool `type:"structure"` } type RevokeSecurityGroupEgressOutput struct { @@ -8766,13 +8766,13 @@ type RunInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` EBSOptimized *bool `locationName:"ebsOptimized" type:"boolean"` IAMInstanceProfile *IAMInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` - ImageID *string `locationName:"ImageId" type:"string"` + ImageID *string `locationName:"ImageId" type:"string" required:"true"` InstanceInitiatedShutdownBehavior *string `locationName:"instanceInitiatedShutdownBehavior" type:"string"` InstanceType *string `type:"string"` KernelID *string `locationName:"KernelId" type:"string"` KeyName *string `type:"string"` - MaxCount *int `type:"integer"` - MinCount *int `type:"integer"` + MaxCount *int `type:"integer" required:"true"` + MinCount *int `type:"integer" required:"true"` Monitoring *RunInstancesMonitoringEnabled `type:"structure"` NetworkInterfaces []*InstanceNetworkInterfaceSpecification `locationName:"networkInterface" locationNameList:"item" type:"list"` Placement *Placement `type:"structure"` @@ -8787,17 +8787,17 @@ type RunInstancesInput struct { } type metadataRunInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"ImageId,MinCount,MaxCount"` + SDKShapeTraits bool `type:"structure"` } type RunInstancesMonitoringEnabled struct { - Enabled *bool `locationName:"enabled" type:"boolean"` + Enabled *bool `locationName:"enabled" type:"boolean" required:"true"` metadataRunInstancesMonitoringEnabled `json:"-", xml:"-"` } type metadataRunInstancesMonitoringEnabled struct { - SDKShapeTraits bool `type:"structure" required:"Enabled"` + SDKShapeTraits bool `type:"structure"` } type S3Storage struct { @@ -8942,13 +8942,13 @@ type metadataSpotPrice struct { type StartInstancesInput struct { AdditionalInfo *string `locationName:"additionalInfo" type:"string"` DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataStartInstancesInput `json:"-", xml:"-"` } type metadataStartInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type StartInstancesOutput struct { @@ -8975,13 +8975,13 @@ type metadataStateReason struct { type StopInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` Force *bool `locationName:"force" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataStopInstancesInput `json:"-", xml:"-"` } type metadataStopInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type StopInstancesOutput struct { @@ -9048,13 +9048,13 @@ type metadataTagDescription struct { type TerminateInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataTerminateInstancesInput `json:"-", xml:"-"` } type metadataTerminateInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type TerminateInstancesOutput struct { @@ -9068,14 +9068,14 @@ type metadataTerminateInstancesOutput struct { } type UnassignPrivateIPAddressesInput struct { - NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string"` - PrivateIPAddresses []*string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list"` + NetworkInterfaceID *string `locationName:"networkInterfaceId" type:"string" required:"true"` + PrivateIPAddresses []*string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list" required:"true"` metadataUnassignPrivateIPAddressesInput `json:"-", xml:"-"` } type metadataUnassignPrivateIPAddressesInput struct { - SDKShapeTraits bool `type:"structure" required:"NetworkInterfaceId,PrivateIpAddresses"` + SDKShapeTraits bool `type:"structure"` } type UnassignPrivateIPAddressesOutput struct { @@ -9088,13 +9088,13 @@ type metadataUnassignPrivateIPAddressesOutput struct { type UnmonitorInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` - InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + InstanceIDs []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` metadataUnmonitorInstancesInput `json:"-", xml:"-"` } type metadataUnmonitorInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds"` + SDKShapeTraits bool `type:"structure"` } type UnmonitorInstancesOutput struct { @@ -9323,13 +9323,13 @@ type metadataVolumeAttachment struct { } type VolumeDetail struct { - Size *int64 `locationName:"size" type:"long"` + Size *int64 `locationName:"size" type:"long" required:"true"` metadataVolumeDetail `json:"-", xml:"-"` } type metadataVolumeDetail struct { - SDKShapeTraits bool `type:"structure" required:"Size"` + SDKShapeTraits bool `type:"structure"` } type VolumeStatusAction struct { diff --git a/service/ecs/api.go b/service/ecs/api.go index aba06b74648..2094575524e 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -627,13 +627,13 @@ type metadataCreateClusterOutput struct { } type DeleteClusterInput struct { - Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` + Cluster *string `locationName:"cluster" type:"string" required:"true"json:"cluster,omitempty"` metadataDeleteClusterInput `json:"-", xml:"-"` } type metadataDeleteClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"cluster" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteClusterOutput struct { @@ -648,14 +648,14 @@ type metadataDeleteClusterOutput struct { type DeregisterContainerInstanceInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` - ContainerInstance *string `locationName:"containerInstance" type:"string" json:"containerInstance,omitempty"` + ContainerInstance *string `locationName:"containerInstance" type:"string" required:"true"json:"containerInstance,omitempty"` Force *bool `locationName:"force" type:"boolean" json:"force,omitempty"` metadataDeregisterContainerInstanceInput `json:"-", xml:"-"` } type metadataDeregisterContainerInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"containerInstance" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterContainerInstanceOutput struct { @@ -669,13 +669,13 @@ type metadataDeregisterContainerInstanceOutput struct { } type DeregisterTaskDefinitionInput struct { - TaskDefinition *string `locationName:"taskDefinition" type:"string" json:"taskDefinition,omitempty"` + TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"json:"taskDefinition,omitempty"` metadataDeregisterTaskDefinitionInput `json:"-", xml:"-"` } type metadataDeregisterTaskDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"taskDefinition" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterTaskDefinitionOutput struct { @@ -711,13 +711,13 @@ type metadataDescribeClustersOutput struct { type DescribeContainerInstancesInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` - ContainerInstances []*string `locationName:"containerInstances" type:"list" json:"containerInstances,omitempty"` + ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"json:"containerInstances,omitempty"` metadataDescribeContainerInstancesInput `json:"-", xml:"-"` } type metadataDescribeContainerInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"containerInstances" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeContainerInstancesOutput struct { @@ -732,13 +732,13 @@ type metadataDescribeContainerInstancesOutput struct { } type DescribeTaskDefinitionInput struct { - TaskDefinition *string `locationName:"taskDefinition" type:"string" json:"taskDefinition,omitempty"` + TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"json:"taskDefinition,omitempty"` metadataDescribeTaskDefinitionInput `json:"-", xml:"-"` } type metadataDescribeTaskDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"taskDefinition" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTaskDefinitionOutput struct { @@ -753,13 +753,13 @@ type metadataDescribeTaskDefinitionOutput struct { type DescribeTasksInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` - Tasks []*string `locationName:"tasks" type:"list" json:"tasks,omitempty"` + Tasks []*string `locationName:"tasks" type:"list" required:"true"json:"tasks,omitempty"` metadataDescribeTasksInput `json:"-", xml:"-"` } type metadataDescribeTasksInput struct { - SDKShapeTraits bool `type:"structure" required:"tasks" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTasksOutput struct { @@ -1001,15 +1001,15 @@ type metadataRegisterContainerInstanceOutput struct { } type RegisterTaskDefinitionInput struct { - ContainerDefinitions []*ContainerDefinition `locationName:"containerDefinitions" type:"list" json:"containerDefinitions,omitempty"` - Family *string `locationName:"family" type:"string" json:"family,omitempty"` + ContainerDefinitions []*ContainerDefinition `locationName:"containerDefinitions" type:"list" required:"true"json:"containerDefinitions,omitempty"` + Family *string `locationName:"family" type:"string" required:"true"json:"family,omitempty"` Volumes []*Volume `locationName:"volumes" type:"list" json:"volumes,omitempty"` metadataRegisterTaskDefinitionInput `json:"-", xml:"-"` } type metadataRegisterTaskDefinitionInput struct { - SDKShapeTraits bool `type:"structure" required:"family,containerDefinitions" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterTaskDefinitionOutput struct { @@ -1041,13 +1041,13 @@ type RunTaskInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` Count *int `locationName:"count" type:"integer" json:"count,omitempty"` Overrides *TaskOverride `locationName:"overrides" type:"structure" json:"overrides,omitempty"` - TaskDefinition *string `locationName:"taskDefinition" type:"string" json:"taskDefinition,omitempty"` + TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"json:"taskDefinition,omitempty"` metadataRunTaskInput `json:"-", xml:"-"` } type metadataRunTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"taskDefinition" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RunTaskOutput struct { @@ -1063,15 +1063,15 @@ type metadataRunTaskOutput struct { type StartTaskInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` - ContainerInstances []*string `locationName:"containerInstances" type:"list" json:"containerInstances,omitempty"` + ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"json:"containerInstances,omitempty"` Overrides *TaskOverride `locationName:"overrides" type:"structure" json:"overrides,omitempty"` - TaskDefinition *string `locationName:"taskDefinition" type:"string" json:"taskDefinition,omitempty"` + TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"json:"taskDefinition,omitempty"` metadataStartTaskInput `json:"-", xml:"-"` } type metadataStartTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"taskDefinition,containerInstances" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartTaskOutput struct { @@ -1087,13 +1087,13 @@ type metadataStartTaskOutput struct { type StopTaskInput struct { Cluster *string `locationName:"cluster" type:"string" json:"cluster,omitempty"` - Task *string `locationName:"task" type:"string" json:"task,omitempty"` + Task *string `locationName:"task" type:"string" required:"true"json:"task,omitempty"` metadataStopTaskInput `json:"-", xml:"-"` } type metadataStopTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"task" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopTaskOutput struct { diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 7fd7db11eb6..db96f486d0e 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -934,26 +934,26 @@ func (c *ElastiCache) RevokeCacheSecurityGroupIngress(input *RevokeCacheSecurity var opRevokeCacheSecurityGroupIngress *aws.Operation type AddTagsToResourceInput struct { - ResourceName *string `type:"string"` - Tags []*Tag `locationNameList:"Tag" type:"list"` + ResourceName *string `type:"string" required:"true"` + Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` metadataAddTagsToResourceInput `json:"-", xml:"-"` } type metadataAddTagsToResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,Tags"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeCacheSecurityGroupIngressInput struct { - CacheSecurityGroupName *string `type:"string"` - EC2SecurityGroupName *string `type:"string"` - EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` + CacheSecurityGroupName *string `type:"string" required:"true"` + EC2SecurityGroupName *string `type:"string" required:"true"` + EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string" required:"true"` metadataAuthorizeCacheSecurityGroupIngressInput `json:"-", xml:"-"` } type metadataAuthorizeCacheSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSecurityGroupName,EC2SecurityGroupName,EC2SecurityGroupOwnerId"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeCacheSecurityGroupIngressOutput struct { @@ -1137,14 +1137,14 @@ type metadataCacheSubnetGroup struct { } type CopySnapshotInput struct { - SourceSnapshotName *string `type:"string"` - TargetSnapshotName *string `type:"string"` + SourceSnapshotName *string `type:"string" required:"true"` + TargetSnapshotName *string `type:"string" required:"true"` metadataCopySnapshotInput `json:"-", xml:"-"` } type metadataCopySnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceSnapshotName,TargetSnapshotName"` + SDKShapeTraits bool `type:"structure"` } type CopySnapshotOutput struct { @@ -1160,7 +1160,7 @@ type metadataCopySnapshotOutput struct { type CreateCacheClusterInput struct { AZMode *string `type:"string"` AutoMinorVersionUpgrade *bool `type:"boolean"` - CacheClusterID *string `locationName:"CacheClusterId" type:"string"` + CacheClusterID *string `locationName:"CacheClusterId" type:"string" required:"true"` CacheNodeType *string `type:"string"` CacheParameterGroupName *string `type:"string"` CacheSecurityGroupNames []*string `locationNameList:"CacheSecurityGroupName" type:"list"` @@ -1185,7 +1185,7 @@ type CreateCacheClusterInput struct { } type metadataCreateCacheClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheClusterId"` + SDKShapeTraits bool `type:"structure"` } type CreateCacheClusterOutput struct { @@ -1199,15 +1199,15 @@ type metadataCreateCacheClusterOutput struct { } type CreateCacheParameterGroupInput struct { - CacheParameterGroupFamily *string `type:"string"` - CacheParameterGroupName *string `type:"string"` - Description *string `type:"string"` + CacheParameterGroupFamily *string `type:"string" required:"true"` + CacheParameterGroupName *string `type:"string" required:"true"` + Description *string `type:"string" required:"true"` metadataCreateCacheParameterGroupInput `json:"-", xml:"-"` } type metadataCreateCacheParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupName,CacheParameterGroupFamily,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateCacheParameterGroupOutput struct { @@ -1221,14 +1221,14 @@ type metadataCreateCacheParameterGroupOutput struct { } type CreateCacheSecurityGroupInput struct { - CacheSecurityGroupName *string `type:"string"` - Description *string `type:"string"` + CacheSecurityGroupName *string `type:"string" required:"true"` + Description *string `type:"string" required:"true"` metadataCreateCacheSecurityGroupInput `json:"-", xml:"-"` } type metadataCreateCacheSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSecurityGroupName,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateCacheSecurityGroupOutput struct { @@ -1242,15 +1242,15 @@ type metadataCreateCacheSecurityGroupOutput struct { } type CreateCacheSubnetGroupInput struct { - CacheSubnetGroupDescription *string `type:"string"` - CacheSubnetGroupName *string `type:"string"` - SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` + CacheSubnetGroupDescription *string `type:"string" required:"true"` + CacheSubnetGroupName *string `type:"string" required:"true"` + SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list" required:"true"` metadataCreateCacheSubnetGroupInput `json:"-", xml:"-"` } type metadataCreateCacheSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSubnetGroupName,CacheSubnetGroupDescription,SubnetIds"` + SDKShapeTraits bool `type:"structure"` } type CreateCacheSubnetGroupOutput struct { @@ -1278,8 +1278,8 @@ type CreateReplicationGroupInput struct { PreferredCacheClusterAZs []*string `locationNameList:"AvailabilityZone" type:"list"` PreferredMaintenanceWindow *string `type:"string"` PrimaryClusterID *string `locationName:"PrimaryClusterId" type:"string"` - ReplicationGroupDescription *string `type:"string"` - ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string"` + ReplicationGroupDescription *string `type:"string" required:"true"` + ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string" required:"true"` SecurityGroupIDs []*string `locationName:"SecurityGroupIds" locationNameList:"SecurityGroupId" type:"list"` SnapshotARNs []*string `locationName:"SnapshotArns" locationNameList:"SnapshotArn" type:"list"` SnapshotName *string `type:"string"` @@ -1291,7 +1291,7 @@ type CreateReplicationGroupInput struct { } type metadataCreateReplicationGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ReplicationGroupId,ReplicationGroupDescription"` + SDKShapeTraits bool `type:"structure"` } type CreateReplicationGroupOutput struct { @@ -1305,14 +1305,14 @@ type metadataCreateReplicationGroupOutput struct { } type CreateSnapshotInput struct { - CacheClusterID *string `locationName:"CacheClusterId" type:"string"` - SnapshotName *string `type:"string"` + CacheClusterID *string `locationName:"CacheClusterId" type:"string" required:"true"` + SnapshotName *string `type:"string" required:"true"` metadataCreateSnapshotInput `json:"-", xml:"-"` } type metadataCreateSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheClusterId,SnapshotName"` + SDKShapeTraits bool `type:"structure"` } type CreateSnapshotOutput struct { @@ -1326,14 +1326,14 @@ type metadataCreateSnapshotOutput struct { } type DeleteCacheClusterInput struct { - CacheClusterID *string `locationName:"CacheClusterId" type:"string"` + CacheClusterID *string `locationName:"CacheClusterId" type:"string" required:"true"` FinalSnapshotIdentifier *string `type:"string"` metadataDeleteCacheClusterInput `json:"-", xml:"-"` } type metadataDeleteCacheClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheClusterId"` + SDKShapeTraits bool `type:"structure"` } type DeleteCacheClusterOutput struct { @@ -1347,13 +1347,13 @@ type metadataDeleteCacheClusterOutput struct { } type DeleteCacheParameterGroupInput struct { - CacheParameterGroupName *string `type:"string"` + CacheParameterGroupName *string `type:"string" required:"true"` metadataDeleteCacheParameterGroupInput `json:"-", xml:"-"` } type metadataDeleteCacheParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteCacheParameterGroupOutput struct { @@ -1365,13 +1365,13 @@ type metadataDeleteCacheParameterGroupOutput struct { } type DeleteCacheSecurityGroupInput struct { - CacheSecurityGroupName *string `type:"string"` + CacheSecurityGroupName *string `type:"string" required:"true"` metadataDeleteCacheSecurityGroupInput `json:"-", xml:"-"` } type metadataDeleteCacheSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteCacheSecurityGroupOutput struct { @@ -1383,13 +1383,13 @@ type metadataDeleteCacheSecurityGroupOutput struct { } type DeleteCacheSubnetGroupInput struct { - CacheSubnetGroupName *string `type:"string"` + CacheSubnetGroupName *string `type:"string" required:"true"` metadataDeleteCacheSubnetGroupInput `json:"-", xml:"-"` } type metadataDeleteCacheSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSubnetGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteCacheSubnetGroupOutput struct { @@ -1402,14 +1402,14 @@ type metadataDeleteCacheSubnetGroupOutput struct { type DeleteReplicationGroupInput struct { FinalSnapshotIdentifier *string `type:"string"` - ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string"` + ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string" required:"true"` RetainPrimaryCluster *bool `type:"boolean"` metadataDeleteReplicationGroupInput `json:"-", xml:"-"` } type metadataDeleteReplicationGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ReplicationGroupId"` + SDKShapeTraits bool `type:"structure"` } type DeleteReplicationGroupOutput struct { @@ -1423,13 +1423,13 @@ type metadataDeleteReplicationGroupOutput struct { } type DeleteSnapshotInput struct { - SnapshotName *string `type:"string"` + SnapshotName *string `type:"string" required:"true"` metadataDeleteSnapshotInput `json:"-", xml:"-"` } type metadataDeleteSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotName"` + SDKShapeTraits bool `type:"structure"` } type DeleteSnapshotOutput struct { @@ -1516,7 +1516,7 @@ type metadataDescribeCacheParameterGroupsOutput struct { } type DescribeCacheParametersInput struct { - CacheParameterGroupName *string `type:"string"` + CacheParameterGroupName *string `type:"string" required:"true"` Marker *string `type:"string"` MaxRecords *int `type:"integer"` Source *string `type:"string"` @@ -1525,7 +1525,7 @@ type DescribeCacheParametersInput struct { } type metadataDescribeCacheParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DescribeCacheParametersOutput struct { @@ -1587,7 +1587,7 @@ type metadataDescribeCacheSubnetGroupsOutput struct { } type DescribeEngineDefaultParametersInput struct { - CacheParameterGroupFamily *string `type:"string"` + CacheParameterGroupFamily *string `type:"string" required:"true"` Marker *string `type:"string"` MaxRecords *int `type:"integer"` @@ -1595,7 +1595,7 @@ type DescribeEngineDefaultParametersInput struct { } type metadataDescribeEngineDefaultParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupFamily"` + SDKShapeTraits bool `type:"structure"` } type DescribeEngineDefaultParametersOutput struct { @@ -1788,20 +1788,20 @@ type metadataEvent struct { } type ListTagsForResourceInput struct { - ResourceName *string `type:"string"` + ResourceName *string `type:"string" required:"true"` metadataListTagsForResourceInput `json:"-", xml:"-"` } type metadataListTagsForResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName"` + SDKShapeTraits bool `type:"structure"` } type ModifyCacheClusterInput struct { AZMode *string `type:"string"` ApplyImmediately *bool `type:"boolean"` AutoMinorVersionUpgrade *bool `type:"boolean"` - CacheClusterID *string `locationName:"CacheClusterId" type:"string"` + CacheClusterID *string `locationName:"CacheClusterId" type:"string" required:"true"` CacheNodeIDsToRemove []*string `locationName:"CacheNodeIdsToRemove" locationNameList:"CacheNodeId" type:"list"` CacheParameterGroupName *string `type:"string"` CacheSecurityGroupNames []*string `locationNameList:"CacheSecurityGroupName" type:"list"` @@ -1819,7 +1819,7 @@ type ModifyCacheClusterInput struct { } type metadataModifyCacheClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheClusterId"` + SDKShapeTraits bool `type:"structure"` } type ModifyCacheClusterOutput struct { @@ -1833,26 +1833,26 @@ type metadataModifyCacheClusterOutput struct { } type ModifyCacheParameterGroupInput struct { - CacheParameterGroupName *string `type:"string"` - ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list"` + CacheParameterGroupName *string `type:"string" required:"true"` + ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list" required:"true"` metadataModifyCacheParameterGroupInput `json:"-", xml:"-"` } type metadataModifyCacheParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupName,ParameterNameValues"` + SDKShapeTraits bool `type:"structure"` } type ModifyCacheSubnetGroupInput struct { CacheSubnetGroupDescription *string `type:"string"` - CacheSubnetGroupName *string `type:"string"` + CacheSubnetGroupName *string `type:"string" required:"true"` SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` metadataModifyCacheSubnetGroupInput `json:"-", xml:"-"` } type metadataModifyCacheSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSubnetGroupName"` + SDKShapeTraits bool `type:"structure"` } type ModifyCacheSubnetGroupOutput struct { @@ -1877,7 +1877,7 @@ type ModifyReplicationGroupInput struct { PreferredMaintenanceWindow *string `type:"string"` PrimaryClusterID *string `locationName:"PrimaryClusterId" type:"string"` ReplicationGroupDescription *string `type:"string"` - ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string"` + ReplicationGroupID *string `locationName:"ReplicationGroupId" type:"string" required:"true"` SecurityGroupIDs []*string `locationName:"SecurityGroupIds" locationNameList:"SecurityGroupId" type:"list"` SnapshotRetentionLimit *int `type:"integer"` SnapshotWindow *string `type:"string"` @@ -1887,7 +1887,7 @@ type ModifyReplicationGroupInput struct { } type metadataModifyReplicationGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ReplicationGroupId"` + SDKShapeTraits bool `type:"structure"` } type ModifyReplicationGroupOutput struct { @@ -1994,13 +1994,13 @@ type metadataPendingModifiedValues struct { type PurchaseReservedCacheNodesOfferingInput struct { CacheNodeCount *int `type:"integer"` ReservedCacheNodeID *string `locationName:"ReservedCacheNodeId" type:"string"` - ReservedCacheNodesOfferingID *string `locationName:"ReservedCacheNodesOfferingId" type:"string"` + ReservedCacheNodesOfferingID *string `locationName:"ReservedCacheNodesOfferingId" type:"string" required:"true"` metadataPurchaseReservedCacheNodesOfferingInput `json:"-", xml:"-"` } type metadataPurchaseReservedCacheNodesOfferingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedCacheNodesOfferingId"` + SDKShapeTraits bool `type:"structure"` } type PurchaseReservedCacheNodesOfferingOutput struct { @@ -2014,14 +2014,14 @@ type metadataPurchaseReservedCacheNodesOfferingOutput struct { } type RebootCacheClusterInput struct { - CacheClusterID *string `locationName:"CacheClusterId" type:"string"` - CacheNodeIDsToReboot []*string `locationName:"CacheNodeIdsToReboot" locationNameList:"CacheNodeId" type:"list"` + CacheClusterID *string `locationName:"CacheClusterId" type:"string" required:"true"` + CacheNodeIDsToReboot []*string `locationName:"CacheNodeIdsToReboot" locationNameList:"CacheNodeId" type:"list" required:"true"` metadataRebootCacheClusterInput `json:"-", xml:"-"` } type metadataRebootCacheClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheClusterId,CacheNodeIdsToReboot"` + SDKShapeTraits bool `type:"structure"` } type RebootCacheClusterOutput struct { @@ -2046,14 +2046,14 @@ type metadataRecurringCharge struct { } type RemoveTagsFromResourceInput struct { - ResourceName *string `type:"string"` - TagKeys []*string `type:"list"` + ResourceName *string `type:"string" required:"true"` + TagKeys []*string `type:"list" required:"true"` metadataRemoveTagsFromResourceInput `json:"-", xml:"-"` } type metadataRemoveTagsFromResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,TagKeys"` + SDKShapeTraits bool `type:"structure"` } type ReplicationGroup struct { @@ -2123,27 +2123,27 @@ type metadataReservedCacheNodesOffering struct { } type ResetCacheParameterGroupInput struct { - CacheParameterGroupName *string `type:"string"` - ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list"` + CacheParameterGroupName *string `type:"string" required:"true"` + ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list" required:"true"` ResetAllParameters *bool `type:"boolean"` metadataResetCacheParameterGroupInput `json:"-", xml:"-"` } type metadataResetCacheParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheParameterGroupName,ParameterNameValues"` + SDKShapeTraits bool `type:"structure"` } type RevokeCacheSecurityGroupIngressInput struct { - CacheSecurityGroupName *string `type:"string"` - EC2SecurityGroupName *string `type:"string"` - EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` + CacheSecurityGroupName *string `type:"string" required:"true"` + EC2SecurityGroupName *string `type:"string" required:"true"` + EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string" required:"true"` metadataRevokeCacheSecurityGroupIngressInput `json:"-", xml:"-"` } type metadataRevokeCacheSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"CacheSecurityGroupName,EC2SecurityGroupName,EC2SecurityGroupOwnerId"` + SDKShapeTraits bool `type:"structure"` } type RevokeCacheSecurityGroupIngressOutput struct { diff --git a/service/elasticbeanstalk/api.go b/service/elasticbeanstalk/api.go index ebae71e6fa3..021038ee764 100644 --- a/service/elasticbeanstalk/api.go +++ b/service/elasticbeanstalk/api.go @@ -794,13 +794,13 @@ type metadataAutoScalingGroup struct { } type CheckDNSAvailabilityInput struct { - CNAMEPrefix *string `type:"string"` + CNAMEPrefix *string `type:"string" required:"true"` metadataCheckDNSAvailabilityInput `json:"-", xml:"-"` } type metadataCheckDNSAvailabilityInput struct { - SDKShapeTraits bool `type:"structure" required:"CNAMEPrefix"` + SDKShapeTraits bool `type:"structure"` } type CheckDNSAvailabilityOutput struct { @@ -865,51 +865,51 @@ type metadataConfigurationSettingsDescription struct { } type CreateApplicationInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` Description *string `type:"string"` metadataCreateApplicationInput `json:"-", xml:"-"` } type metadataCreateApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName"` + SDKShapeTraits bool `type:"structure"` } type CreateApplicationVersionInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` AutoCreateApplication *bool `type:"boolean"` Description *string `type:"string"` SourceBundle *S3Location `type:"structure"` - VersionLabel *string `type:"string"` + VersionLabel *string `type:"string" required:"true"` metadataCreateApplicationVersionInput `json:"-", xml:"-"` } type metadataCreateApplicationVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,VersionLabel"` + SDKShapeTraits bool `type:"structure"` } type CreateConfigurationTemplateInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` Description *string `type:"string"` EnvironmentID *string `locationName:"EnvironmentId" type:"string"` OptionSettings []*ConfigurationOptionSetting `type:"list"` SolutionStackName *string `type:"string"` SourceConfiguration *SourceConfiguration `type:"structure"` - TemplateName *string `type:"string"` + TemplateName *string `type:"string" required:"true"` metadataCreateConfigurationTemplateInput `json:"-", xml:"-"` } type metadataCreateConfigurationTemplateInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,TemplateName"` + SDKShapeTraits bool `type:"structure"` } type CreateEnvironmentInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` CNAMEPrefix *string `type:"string"` Description *string `type:"string"` - EnvironmentName *string `type:"string"` + EnvironmentName *string `type:"string" required:"true"` OptionSettings []*ConfigurationOptionSetting `type:"list"` OptionsToRemove []*OptionSpecification `type:"list"` SolutionStackName *string `type:"string"` @@ -922,7 +922,7 @@ type CreateEnvironmentInput struct { } type metadataCreateEnvironmentInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,EnvironmentName"` + SDKShapeTraits bool `type:"structure"` } type CreateStorageLocationInput struct { @@ -944,14 +944,14 @@ type metadataCreateStorageLocationOutput struct { } type DeleteApplicationInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` TerminateEnvByForce *bool `type:"boolean"` metadataDeleteApplicationInput `json:"-", xml:"-"` } type metadataDeleteApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName"` + SDKShapeTraits bool `type:"structure"` } type DeleteApplicationOutput struct { @@ -963,15 +963,15 @@ type metadataDeleteApplicationOutput struct { } type DeleteApplicationVersionInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` DeleteSourceBundle *bool `type:"boolean"` - VersionLabel *string `type:"string"` + VersionLabel *string `type:"string" required:"true"` metadataDeleteApplicationVersionInput `json:"-", xml:"-"` } type metadataDeleteApplicationVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,VersionLabel"` + SDKShapeTraits bool `type:"structure"` } type DeleteApplicationVersionOutput struct { @@ -983,14 +983,14 @@ type metadataDeleteApplicationVersionOutput struct { } type DeleteConfigurationTemplateInput struct { - ApplicationName *string `type:"string"` - TemplateName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` + TemplateName *string `type:"string" required:"true"` metadataDeleteConfigurationTemplateInput `json:"-", xml:"-"` } type metadataDeleteConfigurationTemplateInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,TemplateName"` + SDKShapeTraits bool `type:"structure"` } type DeleteConfigurationTemplateOutput struct { @@ -1002,14 +1002,14 @@ type metadataDeleteConfigurationTemplateOutput struct { } type DeleteEnvironmentConfigurationInput struct { - ApplicationName *string `type:"string"` - EnvironmentName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` + EnvironmentName *string `type:"string" required:"true"` metadataDeleteEnvironmentConfigurationInput `json:"-", xml:"-"` } type metadataDeleteEnvironmentConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,EnvironmentName"` + SDKShapeTraits bool `type:"structure"` } type DeleteEnvironmentConfigurationOutput struct { @@ -1087,7 +1087,7 @@ type metadataDescribeConfigurationOptionsOutput struct { } type DescribeConfigurationSettingsInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` EnvironmentName *string `type:"string"` TemplateName *string `type:"string"` @@ -1095,7 +1095,7 @@ type DescribeConfigurationSettingsInput struct { } type metadataDescribeConfigurationSettingsInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName"` + SDKShapeTraits bool `type:"structure"` } type DescribeConfigurationSettingsOutput struct { @@ -1404,13 +1404,13 @@ type metadataRebuildEnvironmentOutput struct { type RequestEnvironmentInfoInput struct { EnvironmentID *string `locationName:"EnvironmentId" type:"string"` EnvironmentName *string `type:"string"` - InfoType *string `type:"string"` + InfoType *string `type:"string" required:"true"` metadataRequestEnvironmentInfoInput `json:"-", xml:"-"` } type metadataRequestEnvironmentInfoInput struct { - SDKShapeTraits bool `type:"structure" required:"InfoType"` + SDKShapeTraits bool `type:"structure"` } type RequestEnvironmentInfoOutput struct { @@ -1443,13 +1443,13 @@ type metadataRestartAppServerOutput struct { type RetrieveEnvironmentInfoInput struct { EnvironmentID *string `locationName:"EnvironmentId" type:"string"` EnvironmentName *string `type:"string"` - InfoType *string `type:"string"` + InfoType *string `type:"string" required:"true"` metadataRetrieveEnvironmentInfoInput `json:"-", xml:"-"` } type metadataRetrieveEnvironmentInfoInput struct { - SDKShapeTraits bool `type:"structure" required:"InfoType"` + SDKShapeTraits bool `type:"structure"` } type RetrieveEnvironmentInfoOutput struct { @@ -1550,40 +1550,40 @@ type metadataTrigger struct { } type UpdateApplicationInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` Description *string `type:"string"` metadataUpdateApplicationInput `json:"-", xml:"-"` } type metadataUpdateApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName"` + SDKShapeTraits bool `type:"structure"` } type UpdateApplicationVersionInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` Description *string `type:"string"` - VersionLabel *string `type:"string"` + VersionLabel *string `type:"string" required:"true"` metadataUpdateApplicationVersionInput `json:"-", xml:"-"` } type metadataUpdateApplicationVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,VersionLabel"` + SDKShapeTraits bool `type:"structure"` } type UpdateConfigurationTemplateInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` Description *string `type:"string"` OptionSettings []*ConfigurationOptionSetting `type:"list"` OptionsToRemove []*OptionSpecification `type:"list"` - TemplateName *string `type:"string"` + TemplateName *string `type:"string" required:"true"` metadataUpdateConfigurationTemplateInput `json:"-", xml:"-"` } type metadataUpdateConfigurationTemplateInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,TemplateName"` + SDKShapeTraits bool `type:"structure"` } type UpdateEnvironmentInput struct { @@ -1604,16 +1604,16 @@ type metadataUpdateEnvironmentInput struct { } type ValidateConfigurationSettingsInput struct { - ApplicationName *string `type:"string"` + ApplicationName *string `type:"string" required:"true"` EnvironmentName *string `type:"string"` - OptionSettings []*ConfigurationOptionSetting `type:"list"` + OptionSettings []*ConfigurationOptionSetting `type:"list" required:"true"` TemplateName *string `type:"string"` metadataValidateConfigurationSettingsInput `json:"-", xml:"-"` } type metadataValidateConfigurationSettingsInput struct { - SDKShapeTraits bool `type:"structure" required:"ApplicationName,OptionSettings"` + SDKShapeTraits bool `type:"structure"` } type ValidateConfigurationSettingsOutput struct { diff --git a/service/elastictranscoder/api.go b/service/elastictranscoder/api.go index f29bbe1ef75..36bc67555f1 100644 --- a/service/elastictranscoder/api.go +++ b/service/elastictranscoder/api.go @@ -472,13 +472,13 @@ type metadataAudioParameters struct { } type CancelJobInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataCancelJobInput `json:"-", xml:"-"` } type metadataCancelJobInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelJobOutput struct { @@ -538,11 +538,11 @@ type metadataClip struct { } type CreateJobInput struct { - Input *JobInput `type:"structure" json:",omitempty"` + Input *JobInput `type:"structure" required:"true"json:",omitempty"` Output *CreateJobOutput `type:"structure" json:",omitempty"` OutputKeyPrefix *string `type:"string" json:",omitempty"` Outputs []*CreateJobOutput `type:"list" json:",omitempty"` - PipelineID *string `locationName:"PipelineId" type:"string" json:"PipelineId,omitempty"` + PipelineID *string `locationName:"PipelineId" type:"string" required:"true"json:"PipelineId,omitempty"` Playlists []*CreateJobPlaylist `type:"list" json:",omitempty"` UserMetadata *map[string]*string `type:"map" json:",omitempty"` @@ -550,7 +550,7 @@ type CreateJobInput struct { } type metadataCreateJobInput struct { - SDKShapeTraits bool `type:"structure" required:"PipelineId,Input" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateJobOutput struct { @@ -579,18 +579,18 @@ type metadataCreateJobPlaylist struct { type CreatePipelineInput struct { AWSKMSKeyARN *string `locationName:"AwsKmsKeyArn" type:"string" json:"AwsKmsKeyArn,omitempty"` ContentConfig *PipelineOutputConfig `type:"structure" json:",omitempty"` - InputBucket *string `type:"string" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + InputBucket *string `type:"string" required:"true"json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` Notifications *Notifications `type:"structure" json:",omitempty"` OutputBucket *string `type:"string" json:",omitempty"` - Role *string `type:"string" json:",omitempty"` + Role *string `type:"string" required:"true"json:",omitempty"` ThumbnailConfig *PipelineOutputConfig `type:"structure" json:",omitempty"` metadataCreatePipelineInput `json:"-", xml:"-"` } type metadataCreatePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,InputBucket,Role" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreatePipelineOutput struct { @@ -606,9 +606,9 @@ type metadataCreatePipelineOutput struct { type CreatePresetInput struct { Audio *AudioParameters `type:"structure" json:",omitempty"` - Container *string `type:"string" json:",omitempty"` + Container *string `type:"string" required:"true"json:",omitempty"` Description *string `type:"string" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` Thumbnails *Thumbnails `type:"structure" json:",omitempty"` Video *VideoParameters `type:"structure" json:",omitempty"` @@ -616,7 +616,7 @@ type CreatePresetInput struct { } type metadataCreatePresetInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,Container" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreatePresetOutput struct { @@ -631,13 +631,13 @@ type metadataCreatePresetOutput struct { } type DeletePipelineInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataDeletePipelineInput `json:"-", xml:"-"` } type metadataDeletePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeletePipelineOutput struct { @@ -649,13 +649,13 @@ type metadataDeletePipelineOutput struct { } type DeletePresetInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataDeletePresetInput `json:"-", xml:"-"` } type metadataDeletePresetInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeletePresetOutput struct { @@ -781,13 +781,13 @@ type metadataJobWatermark struct { type ListJobsByPipelineInput struct { Ascending *string `location:"querystring" locationName:"Ascending" type:"string" json:"-" xml:"-"` PageToken *string `location:"querystring" locationName:"PageToken" type:"string" json:"-" xml:"-"` - PipelineID *string `location:"uri" locationName:"PipelineId" type:"string" json:"-" xml:"-"` + PipelineID *string `location:"uri" locationName:"PipelineId" type:"string" required:"true"json:"-" xml:"-"` metadataListJobsByPipelineInput `json:"-", xml:"-"` } type metadataListJobsByPipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"PipelineId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListJobsByPipelineOutput struct { @@ -804,13 +804,13 @@ type metadataListJobsByPipelineOutput struct { type ListJobsByStatusInput struct { Ascending *string `location:"querystring" locationName:"Ascending" type:"string" json:"-" xml:"-"` PageToken *string `location:"querystring" locationName:"PageToken" type:"string" json:"-" xml:"-"` - Status *string `location:"uri" locationName:"Status" type:"string" json:"-" xml:"-"` + Status *string `location:"uri" locationName:"Status" type:"string" required:"true"json:"-" xml:"-"` metadataListJobsByStatusInput `json:"-", xml:"-"` } type metadataListJobsByStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"Status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListJobsByStatusOutput struct { @@ -978,13 +978,13 @@ type metadataPresetWatermark struct { } type ReadJobInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataReadJobInput `json:"-", xml:"-"` } type metadataReadJobInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReadJobOutput struct { @@ -998,13 +998,13 @@ type metadataReadJobOutput struct { } type ReadPipelineInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataReadPipelineInput `json:"-", xml:"-"` } type metadataReadPipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReadPipelineOutput struct { @@ -1019,13 +1019,13 @@ type metadataReadPipelineOutput struct { } type ReadPresetInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataReadPresetInput `json:"-", xml:"-"` } type metadataReadPresetInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReadPresetOutput struct { @@ -1039,16 +1039,16 @@ type metadataReadPresetOutput struct { } type TestRoleInput struct { - InputBucket *string `type:"string" json:",omitempty"` - OutputBucket *string `type:"string" json:",omitempty"` - Role *string `type:"string" json:",omitempty"` - Topics []*string `type:"list" json:",omitempty"` + InputBucket *string `type:"string" required:"true"json:",omitempty"` + OutputBucket *string `type:"string" required:"true"json:",omitempty"` + Role *string `type:"string" required:"true"json:",omitempty"` + Topics []*string `type:"list" required:"true"json:",omitempty"` metadataTestRoleInput `json:"-", xml:"-"` } type metadataTestRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"Role,InputBucket,OutputBucket,Topics" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TestRoleOutput struct { @@ -1093,7 +1093,7 @@ type metadataTimeSpan struct { type UpdatePipelineInput struct { AWSKMSKeyARN *string `locationName:"AwsKmsKeyArn" type:"string" json:"AwsKmsKeyArn,omitempty"` ContentConfig *PipelineOutputConfig `type:"structure" json:",omitempty"` - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` InputBucket *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` Notifications *Notifications `type:"structure" json:",omitempty"` @@ -1104,18 +1104,18 @@ type UpdatePipelineInput struct { } type metadataUpdatePipelineInput struct { - SDKShapeTraits bool `type:"structure" required:"Id" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdatePipelineNotificationsInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` - Notifications *Notifications `type:"structure" json:",omitempty"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` + Notifications *Notifications `type:"structure" required:"true"json:",omitempty"` metadataUpdatePipelineNotificationsInput `json:"-", xml:"-"` } type metadataUpdatePipelineNotificationsInput struct { - SDKShapeTraits bool `type:"structure" required:"Id,Notifications" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdatePipelineNotificationsOutput struct { @@ -1140,14 +1140,14 @@ type metadataUpdatePipelineOutput struct { } type UpdatePipelineStatusInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` - Status *string `type:"string" json:",omitempty"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` + Status *string `type:"string" required:"true"json:",omitempty"` metadataUpdatePipelineStatusInput `json:"-", xml:"-"` } type metadataUpdatePipelineStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdatePipelineStatusOutput struct { diff --git a/service/elb/api.go b/service/elb/api.go index 22038e8577b..9fbe6008f45 100644 --- a/service/elb/api.go +++ b/service/elb/api.go @@ -710,7 +710,7 @@ var opSetLoadBalancerPoliciesOfListener *aws.Operation type AccessLog struct { EmitInterval *int `type:"integer"` - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` S3BucketName *string `type:"string"` S3BucketPrefix *string `type:"string"` @@ -718,18 +718,18 @@ type AccessLog struct { } type metadataAccessLog struct { - SDKShapeTraits bool `type:"structure" required:"Enabled"` + SDKShapeTraits bool `type:"structure"` } type AddTagsInput struct { - LoadBalancerNames []*string `type:"list"` - Tags []*Tag `type:"list"` + LoadBalancerNames []*string `type:"list" required:"true"` + Tags []*Tag `type:"list" required:"true"` metadataAddTagsInput `json:"-", xml:"-"` } type metadataAddTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerNames,Tags"` + SDKShapeTraits bool `type:"structure"` } type AddTagsOutput struct { @@ -763,14 +763,14 @@ type metadataAppCookieStickinessPolicy struct { } type ApplySecurityGroupsToLoadBalancerInput struct { - LoadBalancerName *string `type:"string"` - SecurityGroups []*string `type:"list"` + LoadBalancerName *string `type:"string" required:"true"` + SecurityGroups []*string `type:"list" required:"true"` metadataApplySecurityGroupsToLoadBalancerInput `json:"-", xml:"-"` } type metadataApplySecurityGroupsToLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,SecurityGroups"` + SDKShapeTraits bool `type:"structure"` } type ApplySecurityGroupsToLoadBalancerOutput struct { @@ -784,14 +784,14 @@ type metadataApplySecurityGroupsToLoadBalancerOutput struct { } type AttachLoadBalancerToSubnetsInput struct { - LoadBalancerName *string `type:"string"` - Subnets []*string `type:"list"` + LoadBalancerName *string `type:"string" required:"true"` + Subnets []*string `type:"list" required:"true"` metadataAttachLoadBalancerToSubnetsInput `json:"-", xml:"-"` } type metadataAttachLoadBalancerToSubnetsInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Subnets"` + SDKShapeTraits bool `type:"structure"` } type AttachLoadBalancerToSubnetsOutput struct { @@ -816,14 +816,14 @@ type metadataBackendServerDescription struct { } type ConfigureHealthCheckInput struct { - HealthCheck *HealthCheck `type:"structure"` - LoadBalancerName *string `type:"string"` + HealthCheck *HealthCheck `type:"structure" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataConfigureHealthCheckInput `json:"-", xml:"-"` } type metadataConfigureHealthCheckInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,HealthCheck"` + SDKShapeTraits bool `type:"structure"` } type ConfigureHealthCheckOutput struct { @@ -837,36 +837,36 @@ type metadataConfigureHealthCheckOutput struct { } type ConnectionDraining struct { - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` Timeout *int `type:"integer"` metadataConnectionDraining `json:"-", xml:"-"` } type metadataConnectionDraining struct { - SDKShapeTraits bool `type:"structure" required:"Enabled"` + SDKShapeTraits bool `type:"structure"` } type ConnectionSettings struct { - IdleTimeout *int `type:"integer"` + IdleTimeout *int `type:"integer" required:"true"` metadataConnectionSettings `json:"-", xml:"-"` } type metadataConnectionSettings struct { - SDKShapeTraits bool `type:"structure" required:"IdleTimeout"` + SDKShapeTraits bool `type:"structure"` } type CreateAppCookieStickinessPolicyInput struct { - CookieName *string `type:"string"` - LoadBalancerName *string `type:"string"` - PolicyName *string `type:"string"` + CookieName *string `type:"string" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataCreateAppCookieStickinessPolicyInput `json:"-", xml:"-"` } type metadataCreateAppCookieStickinessPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,PolicyName,CookieName"` + SDKShapeTraits bool `type:"structure"` } type CreateAppCookieStickinessPolicyOutput struct { @@ -879,14 +879,14 @@ type metadataCreateAppCookieStickinessPolicyOutput struct { type CreateLBCookieStickinessPolicyInput struct { CookieExpirationPeriod *int64 `type:"long"` - LoadBalancerName *string `type:"string"` - PolicyName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataCreateLBCookieStickinessPolicyInput `json:"-", xml:"-"` } type metadataCreateLBCookieStickinessPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type CreateLBCookieStickinessPolicyOutput struct { @@ -899,8 +899,8 @@ type metadataCreateLBCookieStickinessPolicyOutput struct { type CreateLoadBalancerInput struct { AvailabilityZones []*string `type:"list"` - Listeners []*Listener `type:"list"` - LoadBalancerName *string `type:"string"` + Listeners []*Listener `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` Scheme *string `type:"string"` SecurityGroups []*string `type:"list"` Subnets []*string `type:"list"` @@ -910,18 +910,18 @@ type CreateLoadBalancerInput struct { } type metadataCreateLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Listeners"` + SDKShapeTraits bool `type:"structure"` } type CreateLoadBalancerListenersInput struct { - Listeners []*Listener `type:"list"` - LoadBalancerName *string `type:"string"` + Listeners []*Listener `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataCreateLoadBalancerListenersInput `json:"-", xml:"-"` } type metadataCreateLoadBalancerListenersInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Listeners"` + SDKShapeTraits bool `type:"structure"` } type CreateLoadBalancerListenersOutput struct { @@ -943,16 +943,16 @@ type metadataCreateLoadBalancerOutput struct { } type CreateLoadBalancerPolicyInput struct { - LoadBalancerName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` PolicyAttributes []*PolicyAttribute `type:"list"` - PolicyName *string `type:"string"` - PolicyTypeName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` + PolicyTypeName *string `type:"string" required:"true"` metadataCreateLoadBalancerPolicyInput `json:"-", xml:"-"` } type metadataCreateLoadBalancerPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,PolicyName,PolicyTypeName"` + SDKShapeTraits bool `type:"structure"` } type CreateLoadBalancerPolicyOutput struct { @@ -964,34 +964,34 @@ type metadataCreateLoadBalancerPolicyOutput struct { } type CrossZoneLoadBalancing struct { - Enabled *bool `type:"boolean"` + Enabled *bool `type:"boolean" required:"true"` metadataCrossZoneLoadBalancing `json:"-", xml:"-"` } type metadataCrossZoneLoadBalancing struct { - SDKShapeTraits bool `type:"structure" required:"Enabled"` + SDKShapeTraits bool `type:"structure"` } type DeleteLoadBalancerInput struct { - LoadBalancerName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` metadataDeleteLoadBalancerInput `json:"-", xml:"-"` } type metadataDeleteLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName"` + SDKShapeTraits bool `type:"structure"` } type DeleteLoadBalancerListenersInput struct { - LoadBalancerName *string `type:"string"` - LoadBalancerPorts []*int `type:"list"` + LoadBalancerName *string `type:"string" required:"true"` + LoadBalancerPorts []*int `type:"list" required:"true"` metadataDeleteLoadBalancerListenersInput `json:"-", xml:"-"` } type metadataDeleteLoadBalancerListenersInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,LoadBalancerPorts"` + SDKShapeTraits bool `type:"structure"` } type DeleteLoadBalancerListenersOutput struct { @@ -1011,14 +1011,14 @@ type metadataDeleteLoadBalancerOutput struct { } type DeleteLoadBalancerPolicyInput struct { - LoadBalancerName *string `type:"string"` - PolicyName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataDeleteLoadBalancerPolicyInput `json:"-", xml:"-"` } type metadataDeleteLoadBalancerPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type DeleteLoadBalancerPolicyOutput struct { @@ -1030,14 +1030,14 @@ type metadataDeleteLoadBalancerPolicyOutput struct { } type DeregisterInstancesFromLoadBalancerInput struct { - Instances []*Instance `type:"list"` - LoadBalancerName *string `type:"string"` + Instances []*Instance `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataDeregisterInstancesFromLoadBalancerInput `json:"-", xml:"-"` } type metadataDeregisterInstancesFromLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Instances"` + SDKShapeTraits bool `type:"structure"` } type DeregisterInstancesFromLoadBalancerOutput struct { @@ -1052,13 +1052,13 @@ type metadataDeregisterInstancesFromLoadBalancerOutput struct { type DescribeInstanceHealthInput struct { Instances []*Instance `type:"list"` - LoadBalancerName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` metadataDescribeInstanceHealthInput `json:"-", xml:"-"` } type metadataDescribeInstanceHealthInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName"` + SDKShapeTraits bool `type:"structure"` } type DescribeInstanceHealthOutput struct { @@ -1072,13 +1072,13 @@ type metadataDescribeInstanceHealthOutput struct { } type DescribeLoadBalancerAttributesInput struct { - LoadBalancerName *string `type:"string"` + LoadBalancerName *string `type:"string" required:"true"` metadataDescribeLoadBalancerAttributesInput `json:"-", xml:"-"` } type metadataDescribeLoadBalancerAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName"` + SDKShapeTraits bool `type:"structure"` } type DescribeLoadBalancerAttributesOutput struct { @@ -1156,13 +1156,13 @@ type metadataDescribeLoadBalancersOutput struct { } type DescribeTagsInput struct { - LoadBalancerNames []*string `type:"list"` + LoadBalancerNames []*string `type:"list" required:"true"` metadataDescribeTagsInput `json:"-", xml:"-"` } type metadataDescribeTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerNames"` + SDKShapeTraits bool `type:"structure"` } type DescribeTagsOutput struct { @@ -1176,14 +1176,14 @@ type metadataDescribeTagsOutput struct { } type DetachLoadBalancerFromSubnetsInput struct { - LoadBalancerName *string `type:"string"` - Subnets []*string `type:"list"` + LoadBalancerName *string `type:"string" required:"true"` + Subnets []*string `type:"list" required:"true"` metadataDetachLoadBalancerFromSubnetsInput `json:"-", xml:"-"` } type metadataDetachLoadBalancerFromSubnetsInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Subnets"` + SDKShapeTraits bool `type:"structure"` } type DetachLoadBalancerFromSubnetsOutput struct { @@ -1197,14 +1197,14 @@ type metadataDetachLoadBalancerFromSubnetsOutput struct { } type DisableAvailabilityZonesForLoadBalancerInput struct { - AvailabilityZones []*string `type:"list"` - LoadBalancerName *string `type:"string"` + AvailabilityZones []*string `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataDisableAvailabilityZonesForLoadBalancerInput `json:"-", xml:"-"` } type metadataDisableAvailabilityZonesForLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,AvailabilityZones"` + SDKShapeTraits bool `type:"structure"` } type DisableAvailabilityZonesForLoadBalancerOutput struct { @@ -1218,14 +1218,14 @@ type metadataDisableAvailabilityZonesForLoadBalancerOutput struct { } type EnableAvailabilityZonesForLoadBalancerInput struct { - AvailabilityZones []*string `type:"list"` - LoadBalancerName *string `type:"string"` + AvailabilityZones []*string `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataEnableAvailabilityZonesForLoadBalancerInput `json:"-", xml:"-"` } type metadataEnableAvailabilityZonesForLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,AvailabilityZones"` + SDKShapeTraits bool `type:"structure"` } type EnableAvailabilityZonesForLoadBalancerOutput struct { @@ -1239,17 +1239,17 @@ type metadataEnableAvailabilityZonesForLoadBalancerOutput struct { } type HealthCheck struct { - HealthyThreshold *int `type:"integer"` - Interval *int `type:"integer"` - Target *string `type:"string"` - Timeout *int `type:"integer"` - UnhealthyThreshold *int `type:"integer"` + HealthyThreshold *int `type:"integer" required:"true"` + Interval *int `type:"integer" required:"true"` + Target *string `type:"string" required:"true"` + Timeout *int `type:"integer" required:"true"` + UnhealthyThreshold *int `type:"integer" required:"true"` metadataHealthCheck `json:"-", xml:"-"` } type metadataHealthCheck struct { - SDKShapeTraits bool `type:"structure" required:"Target,Interval,Timeout,UnhealthyThreshold,HealthyThreshold"` + SDKShapeTraits bool `type:"structure"` } type Instance struct { @@ -1287,17 +1287,17 @@ type metadataLBCookieStickinessPolicy struct { } type Listener struct { - InstancePort *int `type:"integer"` + InstancePort *int `type:"integer" required:"true"` InstanceProtocol *string `type:"string"` - LoadBalancerPort *int `type:"integer"` - Protocol *string `type:"string"` + LoadBalancerPort *int `type:"integer" required:"true"` + Protocol *string `type:"string" required:"true"` SSLCertificateID *string `locationName:"SSLCertificateId" type:"string"` metadataListener `json:"-", xml:"-"` } type metadataListener struct { - SDKShapeTraits bool `type:"structure" required:"Protocol,LoadBalancerPort,InstancePort"` + SDKShapeTraits bool `type:"structure"` } type ListenerDescription struct { @@ -1351,14 +1351,14 @@ type metadataLoadBalancerDescription struct { } type ModifyLoadBalancerAttributesInput struct { - LoadBalancerAttributes *LoadBalancerAttributes `type:"structure"` - LoadBalancerName *string `type:"string"` + LoadBalancerAttributes *LoadBalancerAttributes `type:"structure" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataModifyLoadBalancerAttributesInput `json:"-", xml:"-"` } type metadataModifyLoadBalancerAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,LoadBalancerAttributes"` + SDKShapeTraits bool `type:"structure"` } type ModifyLoadBalancerAttributesOutput struct { @@ -1445,14 +1445,14 @@ type metadataPolicyTypeDescription struct { } type RegisterInstancesWithLoadBalancerInput struct { - Instances []*Instance `type:"list"` - LoadBalancerName *string `type:"string"` + Instances []*Instance `type:"list" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` metadataRegisterInstancesWithLoadBalancerInput `json:"-", xml:"-"` } type metadataRegisterInstancesWithLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,Instances"` + SDKShapeTraits bool `type:"structure"` } type RegisterInstancesWithLoadBalancerOutput struct { @@ -1466,14 +1466,14 @@ type metadataRegisterInstancesWithLoadBalancerOutput struct { } type RemoveTagsInput struct { - LoadBalancerNames []*string `type:"list"` - Tags []*TagKeyOnly `type:"list"` + LoadBalancerNames []*string `type:"list" required:"true"` + Tags []*TagKeyOnly `type:"list" required:"true"` metadataRemoveTagsInput `json:"-", xml:"-"` } type metadataRemoveTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerNames,Tags"` + SDKShapeTraits bool `type:"structure"` } type RemoveTagsOutput struct { @@ -1485,15 +1485,15 @@ type metadataRemoveTagsOutput struct { } type SetLoadBalancerListenerSSLCertificateInput struct { - LoadBalancerName *string `type:"string"` - LoadBalancerPort *int `type:"integer"` - SSLCertificateID *string `locationName:"SSLCertificateId" type:"string"` + LoadBalancerName *string `type:"string" required:"true"` + LoadBalancerPort *int `type:"integer" required:"true"` + SSLCertificateID *string `locationName:"SSLCertificateId" type:"string" required:"true"` metadataSetLoadBalancerListenerSSLCertificateInput `json:"-", xml:"-"` } type metadataSetLoadBalancerListenerSSLCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,LoadBalancerPort,SSLCertificateId"` + SDKShapeTraits bool `type:"structure"` } type SetLoadBalancerListenerSSLCertificateOutput struct { @@ -1505,15 +1505,15 @@ type metadataSetLoadBalancerListenerSSLCertificateOutput struct { } type SetLoadBalancerPoliciesForBackendServerInput struct { - InstancePort *int `type:"integer"` - LoadBalancerName *string `type:"string"` - PolicyNames []*string `type:"list"` + InstancePort *int `type:"integer" required:"true"` + LoadBalancerName *string `type:"string" required:"true"` + PolicyNames []*string `type:"list" required:"true"` metadataSetLoadBalancerPoliciesForBackendServerInput `json:"-", xml:"-"` } type metadataSetLoadBalancerPoliciesForBackendServerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,InstancePort,PolicyNames"` + SDKShapeTraits bool `type:"structure"` } type SetLoadBalancerPoliciesForBackendServerOutput struct { @@ -1525,15 +1525,15 @@ type metadataSetLoadBalancerPoliciesForBackendServerOutput struct { } type SetLoadBalancerPoliciesOfListenerInput struct { - LoadBalancerName *string `type:"string"` - LoadBalancerPort *int `type:"integer"` - PolicyNames []*string `type:"list"` + LoadBalancerName *string `type:"string" required:"true"` + LoadBalancerPort *int `type:"integer" required:"true"` + PolicyNames []*string `type:"list" required:"true"` metadataSetLoadBalancerPoliciesOfListenerInput `json:"-", xml:"-"` } type metadataSetLoadBalancerPoliciesOfListenerInput struct { - SDKShapeTraits bool `type:"structure" required:"LoadBalancerName,LoadBalancerPort,PolicyNames"` + SDKShapeTraits bool `type:"structure"` } type SetLoadBalancerPoliciesOfListenerOutput struct { @@ -1556,14 +1556,14 @@ type metadataSourceSecurityGroup struct { } type Tag struct { - Key *string `type:"string"` + Key *string `type:"string" required:"true"` Value *string `type:"string"` metadataTag `json:"-", xml:"-"` } type metadataTag struct { - SDKShapeTraits bool `type:"structure" required:"Key"` + SDKShapeTraits bool `type:"structure"` } type TagDescription struct { diff --git a/service/emr/api.go b/service/emr/api.go index 9df6be4a93c..1d475d0bf0c 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -434,14 +434,14 @@ func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (output *Terminat var opTerminateJobFlows *aws.Operation type AddInstanceGroupsInput struct { - InstanceGroups []*InstanceGroupConfig `type:"list" json:",omitempty"` - JobFlowID *string `locationName:"JobFlowId" type:"string" json:"JobFlowId,omitempty"` + InstanceGroups []*InstanceGroupConfig `type:"list" required:"true"json:",omitempty"` + JobFlowID *string `locationName:"JobFlowId" type:"string" required:"true"json:"JobFlowId,omitempty"` metadataAddInstanceGroupsInput `json:"-", xml:"-"` } type metadataAddInstanceGroupsInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceGroups,JobFlowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddInstanceGroupsOutput struct { @@ -456,14 +456,14 @@ type metadataAddInstanceGroupsOutput struct { } type AddJobFlowStepsInput struct { - JobFlowID *string `locationName:"JobFlowId" type:"string" json:"JobFlowId,omitempty"` - Steps []*StepConfig `type:"list" json:",omitempty"` + JobFlowID *string `locationName:"JobFlowId" type:"string" required:"true"json:"JobFlowId,omitempty"` + Steps []*StepConfig `type:"list" required:"true"json:",omitempty"` metadataAddJobFlowStepsInput `json:"-", xml:"-"` } type metadataAddJobFlowStepsInput struct { - SDKShapeTraits bool `type:"structure" required:"JobFlowId,Steps" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddJobFlowStepsOutput struct { @@ -477,14 +477,14 @@ type metadataAddJobFlowStepsOutput struct { } type AddTagsInput struct { - ResourceID *string `locationName:"ResourceId" type:"string" json:"ResourceId,omitempty"` - Tags []*Tag `type:"list" json:",omitempty"` + ResourceID *string `locationName:"ResourceId" type:"string" required:"true"json:"ResourceId,omitempty"` + Tags []*Tag `type:"list" required:"true"json:",omitempty"` metadataAddTagsInput `json:"-", xml:"-"` } type metadataAddTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceId,Tags" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddTagsOutput struct { @@ -509,14 +509,14 @@ type metadataApplication struct { } type BootstrapActionConfig struct { - Name *string `type:"string" json:",omitempty"` - ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` + ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"json:",omitempty"` metadataBootstrapActionConfig `json:"-", xml:"-"` } type metadataBootstrapActionConfig struct { - SDKShapeTraits bool `type:"structure" required:"Name,ScriptBootstrapAction" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type BootstrapActionDetail struct { @@ -614,13 +614,13 @@ type metadataCommand struct { } type DescribeClusterInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` metadataDescribeClusterInput `json:"-", xml:"-"` } type metadataDescribeClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeClusterOutput struct { @@ -657,14 +657,14 @@ type metadataDescribeJobFlowsOutput struct { } type DescribeStepInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` - StepID *string `locationName:"StepId" type:"string" json:"StepId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` + StepID *string `locationName:"StepId" type:"string" required:"true"json:"StepId,omitempty"` metadataDescribeStepInput `json:"-", xml:"-"` } type metadataDescribeStepInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId,StepId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeStepOutput struct { @@ -696,7 +696,7 @@ type metadataEC2InstanceAttributes struct { type HadoopJARStepConfig struct { Args []*string `type:"list" json:",omitempty"` - JAR *string `locationName:"Jar" type:"string" json:"Jar,omitempty"` + JAR *string `locationName:"Jar" type:"string" required:"true"json:"Jar,omitempty"` MainClass *string `type:"string" json:",omitempty"` Properties []*KeyValue `type:"list" json:",omitempty"` @@ -704,7 +704,7 @@ type HadoopJARStepConfig struct { } type metadataHadoopJARStepConfig struct { - SDKShapeTraits bool `type:"structure" required:"Jar" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type HadoopStepConfig struct { @@ -756,9 +756,9 @@ type metadataInstanceGroup struct { type InstanceGroupConfig struct { BidPrice *string `type:"string" json:",omitempty"` - InstanceCount *int `type:"integer" json:",omitempty"` - InstanceRole *string `type:"string" json:",omitempty"` - InstanceType *string `type:"string" json:",omitempty"` + InstanceCount *int `type:"integer" required:"true"json:",omitempty"` + InstanceRole *string `type:"string" required:"true"json:",omitempty"` + InstanceType *string `type:"string" required:"true"json:",omitempty"` Market *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` @@ -766,42 +766,42 @@ type InstanceGroupConfig struct { } type metadataInstanceGroupConfig struct { - SDKShapeTraits bool `type:"structure" required:"InstanceRole,InstanceType,InstanceCount" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type InstanceGroupDetail struct { BidPrice *string `type:"string" json:",omitempty"` - CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` + CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"json:",omitempty"` EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` InstanceGroupID *string `locationName:"InstanceGroupId" type:"string" json:"InstanceGroupId,omitempty"` - InstanceRequestCount *int `type:"integer" json:",omitempty"` - InstanceRole *string `type:"string" json:",omitempty"` - InstanceRunningCount *int `type:"integer" json:",omitempty"` - InstanceType *string `type:"string" json:",omitempty"` + InstanceRequestCount *int `type:"integer" required:"true"json:",omitempty"` + InstanceRole *string `type:"string" required:"true"json:",omitempty"` + InstanceRunningCount *int `type:"integer" required:"true"json:",omitempty"` + InstanceType *string `type:"string" required:"true"json:",omitempty"` LastStateChangeReason *string `type:"string" json:",omitempty"` - Market *string `type:"string" json:",omitempty"` + Market *string `type:"string" required:"true"json:",omitempty"` Name *string `type:"string" json:",omitempty"` ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - State *string `type:"string" json:",omitempty"` + State *string `type:"string" required:"true"json:",omitempty"` metadataInstanceGroupDetail `json:"-", xml:"-"` } type metadataInstanceGroupDetail struct { - SDKShapeTraits bool `type:"structure" required:"Market,InstanceRole,InstanceType,InstanceRequestCount,InstanceRunningCount,State,CreationDateTime" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type InstanceGroupModifyConfig struct { EC2InstanceIDsToTerminate []*string `locationName:"EC2InstanceIdsToTerminate" type:"list" json:"EC2InstanceIdsToTerminate,omitempty"` InstanceCount *int `type:"integer" json:",omitempty"` - InstanceGroupID *string `locationName:"InstanceGroupId" type:"string" json:"InstanceGroupId,omitempty"` + InstanceGroupID *string `locationName:"InstanceGroupId" type:"string" required:"true"json:"InstanceGroupId,omitempty"` metadataInstanceGroupModifyConfig `json:"-", xml:"-"` } type metadataInstanceGroupModifyConfig struct { - SDKShapeTraits bool `type:"structure" required:"InstanceGroupId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type InstanceGroupStateChangeReason struct { @@ -877,12 +877,12 @@ type metadataInstanceTimeline struct { type JobFlowDetail struct { AMIVersion *string `locationName:"AmiVersion" type:"string" json:"AmiVersion,omitempty"` BootstrapActions []*BootstrapActionDetail `type:"list" json:",omitempty"` - ExecutionStatusDetail *JobFlowExecutionStatusDetail `type:"structure" json:",omitempty"` - Instances *JobFlowInstancesDetail `type:"structure" json:",omitempty"` - JobFlowID *string `locationName:"JobFlowId" type:"string" json:"JobFlowId,omitempty"` + ExecutionStatusDetail *JobFlowExecutionStatusDetail `type:"structure" required:"true"json:",omitempty"` + Instances *JobFlowInstancesDetail `type:"structure" required:"true"json:",omitempty"` + JobFlowID *string `locationName:"JobFlowId" type:"string" required:"true"json:"JobFlowId,omitempty"` JobFlowRole *string `type:"string" json:",omitempty"` LogURI *string `locationName:"LogUri" type:"string" json:"LogUri,omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` ServiceRole *string `type:"string" json:",omitempty"` Steps []*StepDetail `type:"list" json:",omitempty"` SupportedProducts []*string `type:"list" json:",omitempty"` @@ -892,22 +892,22 @@ type JobFlowDetail struct { } type metadataJobFlowDetail struct { - SDKShapeTraits bool `type:"structure" required:"JobFlowId,Name,ExecutionStatusDetail,Instances" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type JobFlowExecutionStatusDetail struct { - CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` + CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"json:",omitempty"` EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` LastStateChangeReason *string `type:"string" json:",omitempty"` ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - State *string `type:"string" json:",omitempty"` + State *string `type:"string" required:"true"json:",omitempty"` metadataJobFlowExecutionStatusDetail `json:"-", xml:"-"` } type metadataJobFlowExecutionStatusDetail struct { - SDKShapeTraits bool `type:"structure" required:"State,CreationDateTime" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type JobFlowInstancesConfig struct { @@ -937,22 +937,22 @@ type JobFlowInstancesDetail struct { EC2KeyName *string `locationName:"Ec2KeyName" type:"string" json:"Ec2KeyName,omitempty"` EC2SubnetID *string `locationName:"Ec2SubnetId" type:"string" json:"Ec2SubnetId,omitempty"` HadoopVersion *string `type:"string" json:",omitempty"` - InstanceCount *int `type:"integer" json:",omitempty"` + InstanceCount *int `type:"integer" required:"true"json:",omitempty"` InstanceGroups []*InstanceGroupDetail `type:"list" json:",omitempty"` KeepJobFlowAliveWhenNoSteps *bool `type:"boolean" json:",omitempty"` MasterInstanceID *string `locationName:"MasterInstanceId" type:"string" json:"MasterInstanceId,omitempty"` - MasterInstanceType *string `type:"string" json:",omitempty"` + MasterInstanceType *string `type:"string" required:"true"json:",omitempty"` MasterPublicDNSName *string `locationName:"MasterPublicDnsName" type:"string" json:"MasterPublicDnsName,omitempty"` NormalizedInstanceHours *int `type:"integer" json:",omitempty"` Placement *PlacementType `type:"structure" json:",omitempty"` - SlaveInstanceType *string `type:"string" json:",omitempty"` + SlaveInstanceType *string `type:"string" required:"true"json:",omitempty"` TerminationProtected *bool `type:"boolean" json:",omitempty"` metadataJobFlowInstancesDetail `json:"-", xml:"-"` } type metadataJobFlowInstancesDetail struct { - SDKShapeTraits bool `type:"structure" required:"MasterInstanceType,SlaveInstanceType,InstanceCount" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type KeyValue struct { @@ -967,14 +967,14 @@ type metadataKeyValue struct { } type ListBootstrapActionsInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` Marker *string `type:"string" json:",omitempty"` metadataListBootstrapActionsInput `json:"-", xml:"-"` } type metadataListBootstrapActionsInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListBootstrapActionsOutput struct { @@ -1013,14 +1013,14 @@ type metadataListClustersOutput struct { } type ListInstanceGroupsInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` Marker *string `type:"string" json:",omitempty"` metadataListInstanceGroupsInput `json:"-", xml:"-"` } type metadataListInstanceGroupsInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListInstanceGroupsOutput struct { @@ -1035,7 +1035,7 @@ type metadataListInstanceGroupsOutput struct { } type ListInstancesInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` InstanceGroupID *string `locationName:"InstanceGroupId" type:"string" json:"InstanceGroupId,omitempty"` InstanceGroupTypes []*string `type:"list" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` @@ -1044,7 +1044,7 @@ type ListInstancesInput struct { } type metadataListInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListInstancesOutput struct { @@ -1059,7 +1059,7 @@ type metadataListInstancesOutput struct { } type ListStepsInput struct { - ClusterID *string `locationName:"ClusterId" type:"string" json:"ClusterId,omitempty"` + ClusterID *string `locationName:"ClusterId" type:"string" required:"true"json:"ClusterId,omitempty"` Marker *string `type:"string" json:",omitempty"` StepIDs []*string `locationName:"StepIds" type:"list" json:"StepIds,omitempty"` StepStates []*string `type:"list" json:",omitempty"` @@ -1068,7 +1068,7 @@ type ListStepsInput struct { } type metadataListStepsInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListStepsOutput struct { @@ -1101,24 +1101,24 @@ type metadataModifyInstanceGroupsOutput struct { } type PlacementType struct { - AvailabilityZone *string `type:"string" json:",omitempty"` + AvailabilityZone *string `type:"string" required:"true"json:",omitempty"` metadataPlacementType `json:"-", xml:"-"` } type metadataPlacementType struct { - SDKShapeTraits bool `type:"structure" required:"AvailabilityZone" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RemoveTagsInput struct { - ResourceID *string `locationName:"ResourceId" type:"string" json:"ResourceId,omitempty"` - TagKeys []*string `type:"list" json:",omitempty"` + ResourceID *string `locationName:"ResourceId" type:"string" required:"true"json:"ResourceId,omitempty"` + TagKeys []*string `type:"list" required:"true"json:",omitempty"` metadataRemoveTagsInput `json:"-", xml:"-"` } type metadataRemoveTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceId,TagKeys" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RemoveTagsOutput struct { @@ -1133,10 +1133,10 @@ type RunJobFlowInput struct { AMIVersion *string `locationName:"AmiVersion" type:"string" json:"AmiVersion,omitempty"` AdditionalInfo *string `type:"string" json:",omitempty"` BootstrapActions []*BootstrapActionConfig `type:"list" json:",omitempty"` - Instances *JobFlowInstancesConfig `type:"structure" json:",omitempty"` + Instances *JobFlowInstancesConfig `type:"structure" required:"true"json:",omitempty"` JobFlowRole *string `type:"string" json:",omitempty"` LogURI *string `locationName:"LogUri" type:"string" json:"LogUri,omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` NewSupportedProducts []*SupportedProductConfig `type:"list" json:",omitempty"` ServiceRole *string `type:"string" json:",omitempty"` Steps []*StepConfig `type:"list" json:",omitempty"` @@ -1148,7 +1148,7 @@ type RunJobFlowInput struct { } type metadataRunJobFlowInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,Instances" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RunJobFlowOutput struct { @@ -1163,24 +1163,24 @@ type metadataRunJobFlowOutput struct { type ScriptBootstrapActionConfig struct { Args []*string `type:"list" json:",omitempty"` - Path *string `type:"string" json:",omitempty"` + Path *string `type:"string" required:"true"json:",omitempty"` metadataScriptBootstrapActionConfig `json:"-", xml:"-"` } type metadataScriptBootstrapActionConfig struct { - SDKShapeTraits bool `type:"structure" required:"Path" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetTerminationProtectionInput struct { - JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" json:"JobFlowIds,omitempty"` - TerminationProtected *bool `type:"boolean" json:",omitempty"` + JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" required:"true"json:"JobFlowIds,omitempty"` + TerminationProtected *bool `type:"boolean" required:"true"json:",omitempty"` metadataSetTerminationProtectionInput `json:"-", xml:"-"` } type metadataSetTerminationProtectionInput struct { - SDKShapeTraits bool `type:"structure" required:"JobFlowIds,TerminationProtected" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetTerminationProtectionOutput struct { @@ -1192,14 +1192,14 @@ type metadataSetTerminationProtectionOutput struct { } type SetVisibleToAllUsersInput struct { - JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" json:"JobFlowIds,omitempty"` - VisibleToAllUsers *bool `type:"boolean" json:",omitempty"` + JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" required:"true"json:"JobFlowIds,omitempty"` + VisibleToAllUsers *bool `type:"boolean" required:"true"json:",omitempty"` metadataSetVisibleToAllUsersInput `json:"-", xml:"-"` } type metadataSetVisibleToAllUsersInput struct { - SDKShapeTraits bool `type:"structure" required:"JobFlowIds,VisibleToAllUsers" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetVisibleToAllUsersOutput struct { @@ -1226,39 +1226,39 @@ type metadataStep struct { type StepConfig struct { ActionOnFailure *string `type:"string" json:",omitempty"` - HadoopJARStep *HadoopJARStepConfig `locationName:"HadoopJarStep" type:"structure" json:"HadoopJarStep,omitempty"` - Name *string `type:"string" json:",omitempty"` + HadoopJARStep *HadoopJARStepConfig `locationName:"HadoopJarStep" type:"structure" required:"true"json:"HadoopJarStep,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataStepConfig `json:"-", xml:"-"` } type metadataStepConfig struct { - SDKShapeTraits bool `type:"structure" required:"Name,HadoopJarStep" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StepDetail struct { - ExecutionStatusDetail *StepExecutionStatusDetail `type:"structure" json:",omitempty"` - StepConfig *StepConfig `type:"structure" json:",omitempty"` + ExecutionStatusDetail *StepExecutionStatusDetail `type:"structure" required:"true"json:",omitempty"` + StepConfig *StepConfig `type:"structure" required:"true"json:",omitempty"` metadataStepDetail `json:"-", xml:"-"` } type metadataStepDetail struct { - SDKShapeTraits bool `type:"structure" required:"StepConfig,ExecutionStatusDetail" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StepExecutionStatusDetail struct { - CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` + CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"json:",omitempty"` EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` LastStateChangeReason *string `type:"string" json:",omitempty"` StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - State *string `type:"string" json:",omitempty"` + State *string `type:"string" required:"true"json:",omitempty"` metadataStepExecutionStatusDetail `json:"-", xml:"-"` } type metadataStepExecutionStatusDetail struct { - SDKShapeTraits bool `type:"structure" required:"State,CreationDateTime" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StepStateChangeReason struct { @@ -1333,13 +1333,13 @@ type metadataTag struct { } type TerminateJobFlowsInput struct { - JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" json:"JobFlowIds,omitempty"` + JobFlowIDs []*string `locationName:"JobFlowIds" type:"list" required:"true"json:"JobFlowIds,omitempty"` metadataTerminateJobFlowsInput `json:"-", xml:"-"` } type metadataTerminateJobFlowsInput struct { - SDKShapeTraits bool `type:"structure" required:"JobFlowIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TerminateJobFlowsOutput struct { diff --git a/service/iam/api.go b/service/iam/api.go index cc227e80cda..6febbb031b9 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -2584,17 +2584,17 @@ func (c *IAM) UploadSigningCertificate(input *UploadSigningCertificateInput) (ou var opUploadSigningCertificate *aws.Operation type AccessKey struct { - AccessKeyID *string `locationName:"AccessKeyId" type:"string"` + AccessKeyID *string `locationName:"AccessKeyId" type:"string" required:"true"` CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - SecretAccessKey *string `type:"string"` - Status *string `type:"string"` - UserName *string `type:"string"` + SecretAccessKey *string `type:"string" required:"true"` + Status *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataAccessKey `json:"-", xml:"-"` } type metadataAccessKey struct { - SDKShapeTraits bool `type:"structure" required:"UserName,AccessKeyId,Status,SecretAccessKey"` + SDKShapeTraits bool `type:"structure"` } type AccessKeyMetadata struct { @@ -2611,14 +2611,14 @@ type metadataAccessKeyMetadata struct { } type AddClientIDToOpenIDConnectProviderInput struct { - ClientID *string `type:"string"` - OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string"` + ClientID *string `type:"string" required:"true"` + OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string" required:"true"` metadataAddClientIDToOpenIDConnectProviderInput `json:"-", xml:"-"` } type metadataAddClientIDToOpenIDConnectProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"OpenIDConnectProviderArn,ClientID"` + SDKShapeTraits bool `type:"structure"` } type AddClientIDToOpenIDConnectProviderOutput struct { @@ -2630,14 +2630,14 @@ type metadataAddClientIDToOpenIDConnectProviderOutput struct { } type AddRoleToInstanceProfileInput struct { - InstanceProfileName *string `type:"string"` - RoleName *string `type:"string"` + InstanceProfileName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataAddRoleToInstanceProfileInput `json:"-", xml:"-"` } type metadataAddRoleToInstanceProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfileName,RoleName"` + SDKShapeTraits bool `type:"structure"` } type AddRoleToInstanceProfileOutput struct { @@ -2649,14 +2649,14 @@ type metadataAddRoleToInstanceProfileOutput struct { } type AddUserToGroupInput struct { - GroupName *string `type:"string"` - UserName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataAddUserToGroupInput `json:"-", xml:"-"` } type metadataAddUserToGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,UserName"` + SDKShapeTraits bool `type:"structure"` } type AddUserToGroupOutput struct { @@ -2668,14 +2668,14 @@ type metadataAddUserToGroupOutput struct { } type AttachGroupPolicyInput struct { - GroupName *string `type:"string"` - PolicyARN *string `locationName:"PolicyArn" type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataAttachGroupPolicyInput `json:"-", xml:"-"` } type metadataAttachGroupPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type AttachGroupPolicyOutput struct { @@ -2687,14 +2687,14 @@ type metadataAttachGroupPolicyOutput struct { } type AttachRolePolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - RoleName *string `type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataAttachRolePolicyInput `json:"-", xml:"-"` } type metadataAttachRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type AttachRolePolicyOutput struct { @@ -2706,14 +2706,14 @@ type metadataAttachRolePolicyOutput struct { } type AttachUserPolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - UserName *string `type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataAttachUserPolicyInput `json:"-", xml:"-"` } type metadataAttachUserPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type AttachUserPolicyOutput struct { @@ -2736,14 +2736,14 @@ type metadataAttachedPolicy struct { } type ChangePasswordInput struct { - NewPassword *string `type:"string"` - OldPassword *string `type:"string"` + NewPassword *string `type:"string" required:"true"` + OldPassword *string `type:"string" required:"true"` metadataChangePasswordInput `json:"-", xml:"-"` } type metadataChangePasswordInput struct { - SDKShapeTraits bool `type:"structure" required:"OldPassword,NewPassword"` + SDKShapeTraits bool `type:"structure"` } type ChangePasswordOutput struct { @@ -2765,23 +2765,23 @@ type metadataCreateAccessKeyInput struct { } type CreateAccessKeyOutput struct { - AccessKey *AccessKey `type:"structure"` + AccessKey *AccessKey `type:"structure" required:"true"` metadataCreateAccessKeyOutput `json:"-", xml:"-"` } type metadataCreateAccessKeyOutput struct { - SDKShapeTraits bool `type:"structure" required:"AccessKey"` + SDKShapeTraits bool `type:"structure"` } type CreateAccountAliasInput struct { - AccountAlias *string `type:"string"` + AccountAlias *string `type:"string" required:"true"` metadataCreateAccountAliasInput `json:"-", xml:"-"` } type metadataCreateAccountAliasInput struct { - SDKShapeTraits bool `type:"structure" required:"AccountAlias"` + SDKShapeTraits bool `type:"structure"` } type CreateAccountAliasOutput struct { @@ -2793,79 +2793,79 @@ type metadataCreateAccountAliasOutput struct { } type CreateGroupInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` Path *string `type:"string"` metadataCreateGroupInput `json:"-", xml:"-"` } type metadataCreateGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type CreateGroupOutput struct { - Group *Group `type:"structure"` + Group *Group `type:"structure" required:"true"` metadataCreateGroupOutput `json:"-", xml:"-"` } type metadataCreateGroupOutput struct { - SDKShapeTraits bool `type:"structure" required:"Group"` + SDKShapeTraits bool `type:"structure"` } type CreateInstanceProfileInput struct { - InstanceProfileName *string `type:"string"` + InstanceProfileName *string `type:"string" required:"true"` Path *string `type:"string"` metadataCreateInstanceProfileInput `json:"-", xml:"-"` } type metadataCreateInstanceProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfileName"` + SDKShapeTraits bool `type:"structure"` } type CreateInstanceProfileOutput struct { - InstanceProfile *InstanceProfile `type:"structure"` + InstanceProfile *InstanceProfile `type:"structure" required:"true"` metadataCreateInstanceProfileOutput `json:"-", xml:"-"` } type metadataCreateInstanceProfileOutput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfile"` + SDKShapeTraits bool `type:"structure"` } type CreateLoginProfileInput struct { - Password *string `type:"string"` + Password *string `type:"string" required:"true"` PasswordResetRequired *bool `type:"boolean"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataCreateLoginProfileInput `json:"-", xml:"-"` } type metadataCreateLoginProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,Password"` + SDKShapeTraits bool `type:"structure"` } type CreateLoginProfileOutput struct { - LoginProfile *LoginProfile `type:"structure"` + LoginProfile *LoginProfile `type:"structure" required:"true"` metadataCreateLoginProfileOutput `json:"-", xml:"-"` } type metadataCreateLoginProfileOutput struct { - SDKShapeTraits bool `type:"structure" required:"LoginProfile"` + SDKShapeTraits bool `type:"structure"` } type CreateOpenIDConnectProviderInput struct { ClientIDList []*string `type:"list"` - ThumbprintList []*string `type:"list"` - URL *string `locationName:"Url" type:"string"` + ThumbprintList []*string `type:"list" required:"true"` + URL *string `locationName:"Url" type:"string" required:"true"` metadataCreateOpenIDConnectProviderInput `json:"-", xml:"-"` } type metadataCreateOpenIDConnectProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"Url,ThumbprintList"` + SDKShapeTraits bool `type:"structure"` } type CreateOpenIDConnectProviderOutput struct { @@ -2881,14 +2881,14 @@ type metadataCreateOpenIDConnectProviderOutput struct { type CreatePolicyInput struct { Description *string `type:"string"` Path *string `type:"string"` - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataCreatePolicyInput `json:"-", xml:"-"` } type metadataCreatePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type CreatePolicyOutput struct { @@ -2902,15 +2902,15 @@ type metadataCreatePolicyOutput struct { } type CreatePolicyVersionInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - PolicyDocument *string `type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + PolicyDocument *string `type:"string" required:"true"` SetAsDefault *bool `type:"boolean"` metadataCreatePolicyVersionInput `json:"-", xml:"-"` } type metadataCreatePolicyVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type CreatePolicyVersionOutput struct { @@ -2924,36 +2924,36 @@ type metadataCreatePolicyVersionOutput struct { } type CreateRoleInput struct { - AssumeRolePolicyDocument *string `type:"string"` + AssumeRolePolicyDocument *string `type:"string" required:"true"` Path *string `type:"string"` - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataCreateRoleInput `json:"-", xml:"-"` } type metadataCreateRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,AssumeRolePolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type CreateRoleOutput struct { - Role *Role `type:"structure"` + Role *Role `type:"structure" required:"true"` metadataCreateRoleOutput `json:"-", xml:"-"` } type metadataCreateRoleOutput struct { - SDKShapeTraits bool `type:"structure" required:"Role"` + SDKShapeTraits bool `type:"structure"` } type CreateSAMLProviderInput struct { - Name *string `type:"string"` - SAMLMetadataDocument *string `type:"string"` + Name *string `type:"string" required:"true"` + SAMLMetadataDocument *string `type:"string" required:"true"` metadataCreateSAMLProviderInput `json:"-", xml:"-"` } type metadataCreateSAMLProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"SAMLMetadataDocument,Name"` + SDKShapeTraits bool `type:"structure"` } type CreateSAMLProviderOutput struct { @@ -2968,13 +2968,13 @@ type metadataCreateSAMLProviderOutput struct { type CreateUserInput struct { Path *string `type:"string"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataCreateUserInput `json:"-", xml:"-"` } type metadataCreateUserInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type CreateUserOutput struct { @@ -2989,34 +2989,34 @@ type metadataCreateUserOutput struct { type CreateVirtualMFADeviceInput struct { Path *string `type:"string"` - VirtualMFADeviceName *string `type:"string"` + VirtualMFADeviceName *string `type:"string" required:"true"` metadataCreateVirtualMFADeviceInput `json:"-", xml:"-"` } type metadataCreateVirtualMFADeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"VirtualMFADeviceName"` + SDKShapeTraits bool `type:"structure"` } type CreateVirtualMFADeviceOutput struct { - VirtualMFADevice *VirtualMFADevice `type:"structure"` + VirtualMFADevice *VirtualMFADevice `type:"structure" required:"true"` metadataCreateVirtualMFADeviceOutput `json:"-", xml:"-"` } type metadataCreateVirtualMFADeviceOutput struct { - SDKShapeTraits bool `type:"structure" required:"VirtualMFADevice"` + SDKShapeTraits bool `type:"structure"` } type DeactivateMFADeviceInput struct { - SerialNumber *string `type:"string"` - UserName *string `type:"string"` + SerialNumber *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataDeactivateMFADeviceInput `json:"-", xml:"-"` } type metadataDeactivateMFADeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,SerialNumber"` + SDKShapeTraits bool `type:"structure"` } type DeactivateMFADeviceOutput struct { @@ -3028,14 +3028,14 @@ type metadataDeactivateMFADeviceOutput struct { } type DeleteAccessKeyInput struct { - AccessKeyID *string `locationName:"AccessKeyId" type:"string"` + AccessKeyID *string `locationName:"AccessKeyId" type:"string" required:"true"` UserName *string `type:"string"` metadataDeleteAccessKeyInput `json:"-", xml:"-"` } type metadataDeleteAccessKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"AccessKeyId"` + SDKShapeTraits bool `type:"structure"` } type DeleteAccessKeyOutput struct { @@ -3047,13 +3047,13 @@ type metadataDeleteAccessKeyOutput struct { } type DeleteAccountAliasInput struct { - AccountAlias *string `type:"string"` + AccountAlias *string `type:"string" required:"true"` metadataDeleteAccountAliasInput `json:"-", xml:"-"` } type metadataDeleteAccountAliasInput struct { - SDKShapeTraits bool `type:"structure" required:"AccountAlias"` + SDKShapeTraits bool `type:"structure"` } type DeleteAccountAliasOutput struct { @@ -3081,13 +3081,13 @@ type metadataDeleteAccountPasswordPolicyOutput struct { } type DeleteGroupInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` metadataDeleteGroupInput `json:"-", xml:"-"` } type metadataDeleteGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteGroupOutput struct { @@ -3099,14 +3099,14 @@ type metadataDeleteGroupOutput struct { } type DeleteGroupPolicyInput struct { - GroupName *string `type:"string"` - PolicyName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataDeleteGroupPolicyInput `json:"-", xml:"-"` } type metadataDeleteGroupPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type DeleteGroupPolicyOutput struct { @@ -3118,13 +3118,13 @@ type metadataDeleteGroupPolicyOutput struct { } type DeleteInstanceProfileInput struct { - InstanceProfileName *string `type:"string"` + InstanceProfileName *string `type:"string" required:"true"` metadataDeleteInstanceProfileInput `json:"-", xml:"-"` } type metadataDeleteInstanceProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfileName"` + SDKShapeTraits bool `type:"structure"` } type DeleteInstanceProfileOutput struct { @@ -3136,13 +3136,13 @@ type metadataDeleteInstanceProfileOutput struct { } type DeleteLoginProfileInput struct { - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataDeleteLoginProfileInput `json:"-", xml:"-"` } type metadataDeleteLoginProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type DeleteLoginProfileOutput struct { @@ -3154,13 +3154,13 @@ type metadataDeleteLoginProfileOutput struct { } type DeleteOpenIDConnectProviderInput struct { - OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string"` + OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string" required:"true"` metadataDeleteOpenIDConnectProviderInput `json:"-", xml:"-"` } type metadataDeleteOpenIDConnectProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"OpenIDConnectProviderArn"` + SDKShapeTraits bool `type:"structure"` } type DeleteOpenIDConnectProviderOutput struct { @@ -3172,13 +3172,13 @@ type metadataDeleteOpenIDConnectProviderOutput struct { } type DeletePolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataDeletePolicyInput `json:"-", xml:"-"` } type metadataDeletePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type DeletePolicyOutput struct { @@ -3190,14 +3190,14 @@ type metadataDeletePolicyOutput struct { } type DeletePolicyVersionInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - VersionID *string `locationName:"VersionId" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + VersionID *string `locationName:"VersionId" type:"string" required:"true"` metadataDeletePolicyVersionInput `json:"-", xml:"-"` } type metadataDeletePolicyVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn,VersionId"` + SDKShapeTraits bool `type:"structure"` } type DeletePolicyVersionOutput struct { @@ -3209,13 +3209,13 @@ type metadataDeletePolicyVersionOutput struct { } type DeleteRoleInput struct { - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataDeleteRoleInput `json:"-", xml:"-"` } type metadataDeleteRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName"` + SDKShapeTraits bool `type:"structure"` } type DeleteRoleOutput struct { @@ -3227,14 +3227,14 @@ type metadataDeleteRoleOutput struct { } type DeleteRolePolicyInput struct { - PolicyName *string `type:"string"` - RoleName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataDeleteRolePolicyInput `json:"-", xml:"-"` } type metadataDeleteRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type DeleteRolePolicyOutput struct { @@ -3246,13 +3246,13 @@ type metadataDeleteRolePolicyOutput struct { } type DeleteSAMLProviderInput struct { - SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string"` + SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string" required:"true"` metadataDeleteSAMLProviderInput `json:"-", xml:"-"` } type metadataDeleteSAMLProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"SAMLProviderArn"` + SDKShapeTraits bool `type:"structure"` } type DeleteSAMLProviderOutput struct { @@ -3264,13 +3264,13 @@ type metadataDeleteSAMLProviderOutput struct { } type DeleteServerCertificateInput struct { - ServerCertificateName *string `type:"string"` + ServerCertificateName *string `type:"string" required:"true"` metadataDeleteServerCertificateInput `json:"-", xml:"-"` } type metadataDeleteServerCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateName"` + SDKShapeTraits bool `type:"structure"` } type DeleteServerCertificateOutput struct { @@ -3282,14 +3282,14 @@ type metadataDeleteServerCertificateOutput struct { } type DeleteSigningCertificateInput struct { - CertificateID *string `locationName:"CertificateId" type:"string"` + CertificateID *string `locationName:"CertificateId" type:"string" required:"true"` UserName *string `type:"string"` metadataDeleteSigningCertificateInput `json:"-", xml:"-"` } type metadataDeleteSigningCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"CertificateId"` + SDKShapeTraits bool `type:"structure"` } type DeleteSigningCertificateOutput struct { @@ -3301,13 +3301,13 @@ type metadataDeleteSigningCertificateOutput struct { } type DeleteUserInput struct { - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataDeleteUserInput `json:"-", xml:"-"` } type metadataDeleteUserInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type DeleteUserOutput struct { @@ -3319,14 +3319,14 @@ type metadataDeleteUserOutput struct { } type DeleteUserPolicyInput struct { - PolicyName *string `type:"string"` - UserName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataDeleteUserPolicyInput `json:"-", xml:"-"` } type metadataDeleteUserPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type DeleteUserPolicyOutput struct { @@ -3338,13 +3338,13 @@ type metadataDeleteUserPolicyOutput struct { } type DeleteVirtualMFADeviceInput struct { - SerialNumber *string `type:"string"` + SerialNumber *string `type:"string" required:"true"` metadataDeleteVirtualMFADeviceInput `json:"-", xml:"-"` } type metadataDeleteVirtualMFADeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"SerialNumber"` + SDKShapeTraits bool `type:"structure"` } type DeleteVirtualMFADeviceOutput struct { @@ -3356,14 +3356,14 @@ type metadataDeleteVirtualMFADeviceOutput struct { } type DetachGroupPolicyInput struct { - GroupName *string `type:"string"` - PolicyARN *string `locationName:"PolicyArn" type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataDetachGroupPolicyInput `json:"-", xml:"-"` } type metadataDetachGroupPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type DetachGroupPolicyOutput struct { @@ -3375,14 +3375,14 @@ type metadataDetachGroupPolicyOutput struct { } type DetachRolePolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - RoleName *string `type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataDetachRolePolicyInput `json:"-", xml:"-"` } type metadataDetachRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type DetachRolePolicyOutput struct { @@ -3394,14 +3394,14 @@ type metadataDetachRolePolicyOutput struct { } type DetachUserPolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - UserName *string `type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataDetachUserPolicyInput `json:"-", xml:"-"` } type metadataDetachUserPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type DetachUserPolicyOutput struct { @@ -3413,16 +3413,16 @@ type metadataDetachUserPolicyOutput struct { } type EnableMFADeviceInput struct { - AuthenticationCode1 *string `type:"string"` - AuthenticationCode2 *string `type:"string"` - SerialNumber *string `type:"string"` - UserName *string `type:"string"` + AuthenticationCode1 *string `type:"string" required:"true"` + AuthenticationCode2 *string `type:"string" required:"true"` + SerialNumber *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataEnableMFADeviceInput `json:"-", xml:"-"` } type metadataEnableMFADeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,SerialNumber,AuthenticationCode1,AuthenticationCode2"` + SDKShapeTraits bool `type:"structure"` } type EnableMFADeviceOutput struct { @@ -3487,13 +3487,13 @@ type metadataGetAccountPasswordPolicyInput struct { } type GetAccountPasswordPolicyOutput struct { - PasswordPolicy *PasswordPolicy `type:"structure"` + PasswordPolicy *PasswordPolicy `type:"structure" required:"true"` metadataGetAccountPasswordPolicyOutput `json:"-", xml:"-"` } type metadataGetAccountPasswordPolicyOutput struct { - SDKShapeTraits bool `type:"structure" required:"PasswordPolicy"` + SDKShapeTraits bool `type:"structure"` } type GetAccountSummaryInput struct { @@ -3535,7 +3535,7 @@ type metadataGetCredentialReportOutput struct { } type GetGroupInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` Marker *string `type:"string"` MaxItems *int `type:"integer"` @@ -3543,93 +3543,93 @@ type GetGroupInput struct { } type metadataGetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type GetGroupOutput struct { - Group *Group `type:"structure"` + Group *Group `type:"structure" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - Users []*User `type:"list"` + Users []*User `type:"list" required:"true"` metadataGetGroupOutput `json:"-", xml:"-"` } type metadataGetGroupOutput struct { - SDKShapeTraits bool `type:"structure" required:"Group,Users"` + SDKShapeTraits bool `type:"structure"` } type GetGroupPolicyInput struct { - GroupName *string `type:"string"` - PolicyName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataGetGroupPolicyInput `json:"-", xml:"-"` } type metadataGetGroupPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type GetGroupPolicyOutput struct { - GroupName *string `type:"string"` - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataGetGroupPolicyOutput `json:"-", xml:"-"` } type metadataGetGroupPolicyOutput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type GetInstanceProfileInput struct { - InstanceProfileName *string `type:"string"` + InstanceProfileName *string `type:"string" required:"true"` metadataGetInstanceProfileInput `json:"-", xml:"-"` } type metadataGetInstanceProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfileName"` + SDKShapeTraits bool `type:"structure"` } type GetInstanceProfileOutput struct { - InstanceProfile *InstanceProfile `type:"structure"` + InstanceProfile *InstanceProfile `type:"structure" required:"true"` metadataGetInstanceProfileOutput `json:"-", xml:"-"` } type metadataGetInstanceProfileOutput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfile"` + SDKShapeTraits bool `type:"structure"` } type GetLoginProfileInput struct { - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataGetLoginProfileInput `json:"-", xml:"-"` } type metadataGetLoginProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type GetLoginProfileOutput struct { - LoginProfile *LoginProfile `type:"structure"` + LoginProfile *LoginProfile `type:"structure" required:"true"` metadataGetLoginProfileOutput `json:"-", xml:"-"` } type metadataGetLoginProfileOutput struct { - SDKShapeTraits bool `type:"structure" required:"LoginProfile"` + SDKShapeTraits bool `type:"structure"` } type GetOpenIDConnectProviderInput struct { - OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string"` + OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string" required:"true"` metadataGetOpenIDConnectProviderInput `json:"-", xml:"-"` } type metadataGetOpenIDConnectProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"OpenIDConnectProviderArn"` + SDKShapeTraits bool `type:"structure"` } type GetOpenIDConnectProviderOutput struct { @@ -3646,13 +3646,13 @@ type metadataGetOpenIDConnectProviderOutput struct { } type GetPolicyInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataGetPolicyInput `json:"-", xml:"-"` } type metadataGetPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type GetPolicyOutput struct { @@ -3666,14 +3666,14 @@ type metadataGetPolicyOutput struct { } type GetPolicyVersionInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - VersionID *string `locationName:"VersionId" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + VersionID *string `locationName:"VersionId" type:"string" required:"true"` metadataGetPolicyVersionInput `json:"-", xml:"-"` } type metadataGetPolicyVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn,VersionId"` + SDKShapeTraits bool `type:"structure"` } type GetPolicyVersionOutput struct { @@ -3687,56 +3687,56 @@ type metadataGetPolicyVersionOutput struct { } type GetRoleInput struct { - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataGetRoleInput `json:"-", xml:"-"` } type metadataGetRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName"` + SDKShapeTraits bool `type:"structure"` } type GetRoleOutput struct { - Role *Role `type:"structure"` + Role *Role `type:"structure" required:"true"` metadataGetRoleOutput `json:"-", xml:"-"` } type metadataGetRoleOutput struct { - SDKShapeTraits bool `type:"structure" required:"Role"` + SDKShapeTraits bool `type:"structure"` } type GetRolePolicyInput struct { - PolicyName *string `type:"string"` - RoleName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataGetRolePolicyInput `json:"-", xml:"-"` } type metadataGetRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type GetRolePolicyOutput struct { - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` - RoleName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataGetRolePolicyOutput `json:"-", xml:"-"` } type metadataGetRolePolicyOutput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type GetSAMLProviderInput struct { - SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string"` + SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string" required:"true"` metadataGetSAMLProviderInput `json:"-", xml:"-"` } type metadataGetSAMLProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"SAMLProviderArn"` + SDKShapeTraits bool `type:"structure"` } type GetSAMLProviderOutput struct { @@ -3752,23 +3752,23 @@ type metadataGetSAMLProviderOutput struct { } type GetServerCertificateInput struct { - ServerCertificateName *string `type:"string"` + ServerCertificateName *string `type:"string" required:"true"` metadataGetServerCertificateInput `json:"-", xml:"-"` } type metadataGetServerCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateName"` + SDKShapeTraits bool `type:"structure"` } type GetServerCertificateOutput struct { - ServerCertificate *ServerCertificate `type:"structure"` + ServerCertificate *ServerCertificate `type:"structure" required:"true"` metadataGetServerCertificateOutput `json:"-", xml:"-"` } type metadataGetServerCertificateOutput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificate"` + SDKShapeTraits bool `type:"structure"` } type GetUserInput struct { @@ -3782,50 +3782,50 @@ type metadataGetUserInput struct { } type GetUserOutput struct { - User *User `type:"structure"` + User *User `type:"structure" required:"true"` metadataGetUserOutput `json:"-", xml:"-"` } type metadataGetUserOutput struct { - SDKShapeTraits bool `type:"structure" required:"User"` + SDKShapeTraits bool `type:"structure"` } type GetUserPolicyInput struct { - PolicyName *string `type:"string"` - UserName *string `type:"string"` + PolicyName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataGetUserPolicyInput `json:"-", xml:"-"` } type metadataGetUserPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyName"` + SDKShapeTraits bool `type:"structure"` } type GetUserPolicyOutput struct { - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` - UserName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataGetUserPolicyOutput `json:"-", xml:"-"` } type metadataGetUserPolicyOutput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type Group struct { - ARN *string `locationName:"Arn" type:"string"` - CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - GroupID *string `locationName:"GroupId" type:"string"` - GroupName *string `type:"string"` - Path *string `type:"string"` + ARN *string `locationName:"Arn" type:"string" required:"true"` + CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + GroupID *string `locationName:"GroupId" type:"string" required:"true"` + GroupName *string `type:"string" required:"true"` + Path *string `type:"string" required:"true"` metadataGroup `json:"-", xml:"-"` } type metadataGroup struct { - SDKShapeTraits bool `type:"structure" required:"Path,GroupName,GroupId,Arn,CreateDate"` + SDKShapeTraits bool `type:"structure"` } type GroupDetail struct { @@ -3844,18 +3844,18 @@ type metadataGroupDetail struct { } type InstanceProfile struct { - ARN *string `locationName:"Arn" type:"string"` - CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - InstanceProfileID *string `locationName:"InstanceProfileId" type:"string"` - InstanceProfileName *string `type:"string"` - Path *string `type:"string"` - Roles []*Role `type:"list"` + ARN *string `locationName:"Arn" type:"string" required:"true"` + CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + InstanceProfileID *string `locationName:"InstanceProfileId" type:"string" required:"true"` + InstanceProfileName *string `type:"string" required:"true"` + Path *string `type:"string" required:"true"` + Roles []*Role `type:"list" required:"true"` metadataInstanceProfile `json:"-", xml:"-"` } type metadataInstanceProfile struct { - SDKShapeTraits bool `type:"structure" required:"Path,InstanceProfileName,InstanceProfileId,Arn,CreateDate,Roles"` + SDKShapeTraits bool `type:"structure"` } type ListAccessKeysInput struct { @@ -3871,7 +3871,7 @@ type metadataListAccessKeysInput struct { } type ListAccessKeysOutput struct { - AccessKeyMetadata []*AccessKeyMetadata `type:"list"` + AccessKeyMetadata []*AccessKeyMetadata `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -3879,7 +3879,7 @@ type ListAccessKeysOutput struct { } type metadataListAccessKeysOutput struct { - SDKShapeTraits bool `type:"structure" required:"AccessKeyMetadata"` + SDKShapeTraits bool `type:"structure"` } type ListAccountAliasesInput struct { @@ -3894,7 +3894,7 @@ type metadataListAccountAliasesInput struct { } type ListAccountAliasesOutput struct { - AccountAliases []*string `type:"list"` + AccountAliases []*string `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -3902,11 +3902,11 @@ type ListAccountAliasesOutput struct { } type metadataListAccountAliasesOutput struct { - SDKShapeTraits bool `type:"structure" required:"AccountAliases"` + SDKShapeTraits bool `type:"structure"` } type ListAttachedGroupPoliciesInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` Marker *string `type:"string"` MaxItems *int `type:"integer"` PathPrefix *string `type:"string"` @@ -3915,7 +3915,7 @@ type ListAttachedGroupPoliciesInput struct { } type metadataListAttachedGroupPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type ListAttachedGroupPoliciesOutput struct { @@ -3934,13 +3934,13 @@ type ListAttachedRolePoliciesInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` PathPrefix *string `type:"string"` - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataListAttachedRolePoliciesInput `json:"-", xml:"-"` } type metadataListAttachedRolePoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName"` + SDKShapeTraits bool `type:"structure"` } type ListAttachedRolePoliciesOutput struct { @@ -3959,13 +3959,13 @@ type ListAttachedUserPoliciesInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` PathPrefix *string `type:"string"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataListAttachedUserPoliciesInput `json:"-", xml:"-"` } type metadataListAttachedUserPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type ListAttachedUserPoliciesOutput struct { @@ -3985,13 +3985,13 @@ type ListEntitiesForPolicyInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` PathPrefix *string `type:"string"` - PolicyARN *string `locationName:"PolicyArn" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataListEntitiesForPolicyInput `json:"-", xml:"-"` } type metadataListEntitiesForPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type ListEntitiesForPolicyOutput struct { @@ -4009,7 +4009,7 @@ type metadataListEntitiesForPolicyOutput struct { } type ListGroupPoliciesInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` Marker *string `type:"string"` MaxItems *int `type:"integer"` @@ -4017,35 +4017,35 @@ type ListGroupPoliciesInput struct { } type metadataListGroupPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type ListGroupPoliciesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - PolicyNames []*string `type:"list"` + PolicyNames []*string `type:"list" required:"true"` metadataListGroupPoliciesOutput `json:"-", xml:"-"` } type metadataListGroupPoliciesOutput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyNames"` + SDKShapeTraits bool `type:"structure"` } type ListGroupsForUserInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataListGroupsForUserInput `json:"-", xml:"-"` } type metadataListGroupsForUserInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type ListGroupsForUserOutput struct { - Groups []*Group `type:"list"` + Groups []*Group `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -4053,7 +4053,7 @@ type ListGroupsForUserOutput struct { } type metadataListGroupsForUserOutput struct { - SDKShapeTraits bool `type:"structure" required:"Groups"` + SDKShapeTraits bool `type:"structure"` } type ListGroupsInput struct { @@ -4069,7 +4069,7 @@ type metadataListGroupsInput struct { } type ListGroupsOutput struct { - Groups []*Group `type:"list"` + Groups []*Group `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -4077,23 +4077,23 @@ type ListGroupsOutput struct { } type metadataListGroupsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Groups"` + SDKShapeTraits bool `type:"structure"` } type ListInstanceProfilesForRoleInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataListInstanceProfilesForRoleInput `json:"-", xml:"-"` } type metadataListInstanceProfilesForRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName"` + SDKShapeTraits bool `type:"structure"` } type ListInstanceProfilesForRoleOutput struct { - InstanceProfiles []*InstanceProfile `type:"list"` + InstanceProfiles []*InstanceProfile `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -4101,7 +4101,7 @@ type ListInstanceProfilesForRoleOutput struct { } type metadataListInstanceProfilesForRoleOutput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfiles"` + SDKShapeTraits bool `type:"structure"` } type ListInstanceProfilesInput struct { @@ -4117,7 +4117,7 @@ type metadataListInstanceProfilesInput struct { } type ListInstanceProfilesOutput struct { - InstanceProfiles []*InstanceProfile `type:"list"` + InstanceProfiles []*InstanceProfile `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -4125,7 +4125,7 @@ type ListInstanceProfilesOutput struct { } type metadataListInstanceProfilesOutput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfiles"` + SDKShapeTraits bool `type:"structure"` } type ListMFADevicesInput struct { @@ -4142,14 +4142,14 @@ type metadataListMFADevicesInput struct { type ListMFADevicesOutput struct { IsTruncated *bool `type:"boolean"` - MFADevices []*MFADevice `type:"list"` + MFADevices []*MFADevice `type:"list" required:"true"` Marker *string `type:"string"` metadataListMFADevicesOutput `json:"-", xml:"-"` } type metadataListMFADevicesOutput struct { - SDKShapeTraits bool `type:"structure" required:"MFADevices"` + SDKShapeTraits bool `type:"structure"` } type ListOpenIDConnectProvidersInput struct { @@ -4199,13 +4199,13 @@ type metadataListPoliciesOutput struct { type ListPolicyVersionsInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` - PolicyARN *string `locationName:"PolicyArn" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` metadataListPolicyVersionsInput `json:"-", xml:"-"` } type metadataListPolicyVersionsInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn"` + SDKShapeTraits bool `type:"structure"` } type ListPolicyVersionsOutput struct { @@ -4223,25 +4223,25 @@ type metadataListPolicyVersionsOutput struct { type ListRolePoliciesInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` - RoleName *string `type:"string"` + RoleName *string `type:"string" required:"true"` metadataListRolePoliciesInput `json:"-", xml:"-"` } type metadataListRolePoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName"` + SDKShapeTraits bool `type:"structure"` } type ListRolePoliciesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - PolicyNames []*string `type:"list"` + PolicyNames []*string `type:"list" required:"true"` metadataListRolePoliciesOutput `json:"-", xml:"-"` } type metadataListRolePoliciesOutput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyNames"` + SDKShapeTraits bool `type:"structure"` } type ListRolesInput struct { @@ -4259,13 +4259,13 @@ type metadataListRolesInput struct { type ListRolesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - Roles []*Role `type:"list"` + Roles []*Role `type:"list" required:"true"` metadataListRolesOutput `json:"-", xml:"-"` } type metadataListRolesOutput struct { - SDKShapeTraits bool `type:"structure" required:"Roles"` + SDKShapeTraits bool `type:"structure"` } type ListSAMLProvidersInput struct { @@ -4301,13 +4301,13 @@ type metadataListServerCertificatesInput struct { type ListServerCertificatesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - ServerCertificateMetadataList []*ServerCertificateMetadata `type:"list"` + ServerCertificateMetadataList []*ServerCertificateMetadata `type:"list" required:"true"` metadataListServerCertificatesOutput `json:"-", xml:"-"` } type metadataListServerCertificatesOutput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateMetadataList"` + SDKShapeTraits bool `type:"structure"` } type ListSigningCertificatesInput struct { @@ -4323,7 +4323,7 @@ type metadataListSigningCertificatesInput struct { } type ListSigningCertificatesOutput struct { - Certificates []*SigningCertificate `type:"list"` + Certificates []*SigningCertificate `type:"list" required:"true"` IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` @@ -4331,31 +4331,31 @@ type ListSigningCertificatesOutput struct { } type metadataListSigningCertificatesOutput struct { - SDKShapeTraits bool `type:"structure" required:"Certificates"` + SDKShapeTraits bool `type:"structure"` } type ListUserPoliciesInput struct { Marker *string `type:"string"` MaxItems *int `type:"integer"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataListUserPoliciesInput `json:"-", xml:"-"` } type metadataListUserPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type ListUserPoliciesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - PolicyNames []*string `type:"list"` + PolicyNames []*string `type:"list" required:"true"` metadataListUserPoliciesOutput `json:"-", xml:"-"` } type metadataListUserPoliciesOutput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyNames"` + SDKShapeTraits bool `type:"structure"` } type ListUsersInput struct { @@ -4373,13 +4373,13 @@ type metadataListUsersInput struct { type ListUsersOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - Users []*User `type:"list"` + Users []*User `type:"list" required:"true"` metadataListUsersOutput `json:"-", xml:"-"` } type metadataListUsersOutput struct { - SDKShapeTraits bool `type:"structure" required:"Users"` + SDKShapeTraits bool `type:"structure"` } type ListVirtualMFADevicesInput struct { @@ -4397,37 +4397,37 @@ type metadataListVirtualMFADevicesInput struct { type ListVirtualMFADevicesOutput struct { IsTruncated *bool `type:"boolean"` Marker *string `type:"string"` - VirtualMFADevices []*VirtualMFADevice `type:"list"` + VirtualMFADevices []*VirtualMFADevice `type:"list" required:"true"` metadataListVirtualMFADevicesOutput `json:"-", xml:"-"` } type metadataListVirtualMFADevicesOutput struct { - SDKShapeTraits bool `type:"structure" required:"VirtualMFADevices"` + SDKShapeTraits bool `type:"structure"` } type LoginProfile struct { - CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` + CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` PasswordResetRequired *bool `type:"boolean"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataLoginProfile `json:"-", xml:"-"` } type metadataLoginProfile struct { - SDKShapeTraits bool `type:"structure" required:"UserName,CreateDate"` + SDKShapeTraits bool `type:"structure"` } type MFADevice struct { - EnableDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - SerialNumber *string `type:"string"` - UserName *string `type:"string"` + EnableDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + SerialNumber *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataMFADevice `json:"-", xml:"-"` } type metadataMFADevice struct { - SDKShapeTraits bool `type:"structure" required:"UserName,SerialNumber,EnableDate"` + SDKShapeTraits bool `type:"structure"` } type OpenIDConnectProviderListEntry struct { @@ -4533,15 +4533,15 @@ type metadataPolicyVersion struct { } type PutGroupPolicyInput struct { - GroupName *string `type:"string"` - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` metadataPutGroupPolicyInput `json:"-", xml:"-"` } type metadataPutGroupPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type PutGroupPolicyOutput struct { @@ -4553,15 +4553,15 @@ type metadataPutGroupPolicyOutput struct { } type PutRolePolicyInput struct { - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` - RoleName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataPutRolePolicyInput `json:"-", xml:"-"` } type metadataPutRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type PutRolePolicyOutput struct { @@ -4573,15 +4573,15 @@ type metadataPutRolePolicyOutput struct { } type PutUserPolicyInput struct { - PolicyDocument *string `type:"string"` - PolicyName *string `type:"string"` - UserName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + PolicyName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataPutUserPolicyInput `json:"-", xml:"-"` } type metadataPutUserPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,PolicyName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type PutUserPolicyOutput struct { @@ -4593,14 +4593,14 @@ type metadataPutUserPolicyOutput struct { } type RemoveClientIDFromOpenIDConnectProviderInput struct { - ClientID *string `type:"string"` - OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string"` + ClientID *string `type:"string" required:"true"` + OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string" required:"true"` metadataRemoveClientIDFromOpenIDConnectProviderInput `json:"-", xml:"-"` } type metadataRemoveClientIDFromOpenIDConnectProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"OpenIDConnectProviderArn,ClientID"` + SDKShapeTraits bool `type:"structure"` } type RemoveClientIDFromOpenIDConnectProviderOutput struct { @@ -4612,14 +4612,14 @@ type metadataRemoveClientIDFromOpenIDConnectProviderOutput struct { } type RemoveRoleFromInstanceProfileInput struct { - InstanceProfileName *string `type:"string"` - RoleName *string `type:"string"` + InstanceProfileName *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataRemoveRoleFromInstanceProfileInput `json:"-", xml:"-"` } type metadataRemoveRoleFromInstanceProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceProfileName,RoleName"` + SDKShapeTraits bool `type:"structure"` } type RemoveRoleFromInstanceProfileOutput struct { @@ -4631,14 +4631,14 @@ type metadataRemoveRoleFromInstanceProfileOutput struct { } type RemoveUserFromGroupInput struct { - GroupName *string `type:"string"` - UserName *string `type:"string"` + GroupName *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataRemoveUserFromGroupInput `json:"-", xml:"-"` } type metadataRemoveUserFromGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName,UserName"` + SDKShapeTraits bool `type:"structure"` } type RemoveUserFromGroupOutput struct { @@ -4650,16 +4650,16 @@ type metadataRemoveUserFromGroupOutput struct { } type ResyncMFADeviceInput struct { - AuthenticationCode1 *string `type:"string"` - AuthenticationCode2 *string `type:"string"` - SerialNumber *string `type:"string"` - UserName *string `type:"string"` + AuthenticationCode1 *string `type:"string" required:"true"` + AuthenticationCode2 *string `type:"string" required:"true"` + SerialNumber *string `type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataResyncMFADeviceInput `json:"-", xml:"-"` } type metadataResyncMFADeviceInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName,SerialNumber,AuthenticationCode1,AuthenticationCode2"` + SDKShapeTraits bool `type:"structure"` } type ResyncMFADeviceOutput struct { @@ -4671,18 +4671,18 @@ type metadataResyncMFADeviceOutput struct { } type Role struct { - ARN *string `locationName:"Arn" type:"string"` + ARN *string `locationName:"Arn" type:"string" required:"true"` AssumeRolePolicyDocument *string `type:"string"` - CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Path *string `type:"string"` - RoleID *string `locationName:"RoleId" type:"string"` - RoleName *string `type:"string"` + CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + Path *string `type:"string" required:"true"` + RoleID *string `locationName:"RoleId" type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataRole `json:"-", xml:"-"` } type metadataRole struct { - SDKShapeTraits bool `type:"structure" required:"Path,RoleName,RoleId,Arn,CreateDate"` + SDKShapeTraits bool `type:"structure"` } type RoleDetail struct { @@ -4715,41 +4715,41 @@ type metadataSAMLProviderListEntry struct { } type ServerCertificate struct { - CertificateBody *string `type:"string"` + CertificateBody *string `type:"string" required:"true"` CertificateChain *string `type:"string"` - ServerCertificateMetadata *ServerCertificateMetadata `type:"structure"` + ServerCertificateMetadata *ServerCertificateMetadata `type:"structure" required:"true"` metadataServerCertificate `json:"-", xml:"-"` } type metadataServerCertificate struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateMetadata,CertificateBody"` + SDKShapeTraits bool `type:"structure"` } type ServerCertificateMetadata struct { - ARN *string `locationName:"Arn" type:"string"` + ARN *string `locationName:"Arn" type:"string" required:"true"` Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Path *string `type:"string"` - ServerCertificateID *string `locationName:"ServerCertificateId" type:"string"` - ServerCertificateName *string `type:"string"` + Path *string `type:"string" required:"true"` + ServerCertificateID *string `locationName:"ServerCertificateId" type:"string" required:"true"` + ServerCertificateName *string `type:"string" required:"true"` UploadDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` metadataServerCertificateMetadata `json:"-", xml:"-"` } type metadataServerCertificateMetadata struct { - SDKShapeTraits bool `type:"structure" required:"Path,ServerCertificateName,ServerCertificateId,Arn"` + SDKShapeTraits bool `type:"structure"` } type SetDefaultPolicyVersionInput struct { - PolicyARN *string `locationName:"PolicyArn" type:"string"` - VersionID *string `locationName:"VersionId" type:"string"` + PolicyARN *string `locationName:"PolicyArn" type:"string" required:"true"` + VersionID *string `locationName:"VersionId" type:"string" required:"true"` metadataSetDefaultPolicyVersionInput `json:"-", xml:"-"` } type metadataSetDefaultPolicyVersionInput struct { - SDKShapeTraits bool `type:"structure" required:"PolicyArn,VersionId"` + SDKShapeTraits bool `type:"structure"` } type SetDefaultPolicyVersionOutput struct { @@ -4761,29 +4761,29 @@ type metadataSetDefaultPolicyVersionOutput struct { } type SigningCertificate struct { - CertificateBody *string `type:"string"` - CertificateID *string `locationName:"CertificateId" type:"string"` - Status *string `type:"string"` + CertificateBody *string `type:"string" required:"true"` + CertificateID *string `locationName:"CertificateId" type:"string" required:"true"` + Status *string `type:"string" required:"true"` UploadDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataSigningCertificate `json:"-", xml:"-"` } type metadataSigningCertificate struct { - SDKShapeTraits bool `type:"structure" required:"UserName,CertificateId,CertificateBody,Status"` + SDKShapeTraits bool `type:"structure"` } type UpdateAccessKeyInput struct { - AccessKeyID *string `locationName:"AccessKeyId" type:"string"` - Status *string `type:"string"` + AccessKeyID *string `locationName:"AccessKeyId" type:"string" required:"true"` + Status *string `type:"string" required:"true"` UserName *string `type:"string"` metadataUpdateAccessKeyInput `json:"-", xml:"-"` } type metadataUpdateAccessKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"AccessKeyId,Status"` + SDKShapeTraits bool `type:"structure"` } type UpdateAccessKeyOutput struct { @@ -4821,14 +4821,14 @@ type metadataUpdateAccountPasswordPolicyOutput struct { } type UpdateAssumeRolePolicyInput struct { - PolicyDocument *string `type:"string"` - RoleName *string `type:"string"` + PolicyDocument *string `type:"string" required:"true"` + RoleName *string `type:"string" required:"true"` metadataUpdateAssumeRolePolicyInput `json:"-", xml:"-"` } type metadataUpdateAssumeRolePolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleName,PolicyDocument"` + SDKShapeTraits bool `type:"structure"` } type UpdateAssumeRolePolicyOutput struct { @@ -4840,7 +4840,7 @@ type metadataUpdateAssumeRolePolicyOutput struct { } type UpdateGroupInput struct { - GroupName *string `type:"string"` + GroupName *string `type:"string" required:"true"` NewGroupName *string `type:"string"` NewPath *string `type:"string"` @@ -4848,7 +4848,7 @@ type UpdateGroupInput struct { } type metadataUpdateGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"GroupName"` + SDKShapeTraits bool `type:"structure"` } type UpdateGroupOutput struct { @@ -4862,13 +4862,13 @@ type metadataUpdateGroupOutput struct { type UpdateLoginProfileInput struct { Password *string `type:"string"` PasswordResetRequired *bool `type:"boolean"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataUpdateLoginProfileInput `json:"-", xml:"-"` } type metadataUpdateLoginProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type UpdateLoginProfileOutput struct { @@ -4880,14 +4880,14 @@ type metadataUpdateLoginProfileOutput struct { } type UpdateOpenIDConnectProviderThumbprintInput struct { - OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string"` - ThumbprintList []*string `type:"list"` + OpenIDConnectProviderARN *string `locationName:"OpenIDConnectProviderArn" type:"string" required:"true"` + ThumbprintList []*string `type:"list" required:"true"` metadataUpdateOpenIDConnectProviderThumbprintInput `json:"-", xml:"-"` } type metadataUpdateOpenIDConnectProviderThumbprintInput struct { - SDKShapeTraits bool `type:"structure" required:"OpenIDConnectProviderArn,ThumbprintList"` + SDKShapeTraits bool `type:"structure"` } type UpdateOpenIDConnectProviderThumbprintOutput struct { @@ -4899,14 +4899,14 @@ type metadataUpdateOpenIDConnectProviderThumbprintOutput struct { } type UpdateSAMLProviderInput struct { - SAMLMetadataDocument *string `type:"string"` - SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string"` + SAMLMetadataDocument *string `type:"string" required:"true"` + SAMLProviderARN *string `locationName:"SAMLProviderArn" type:"string" required:"true"` metadataUpdateSAMLProviderInput `json:"-", xml:"-"` } type metadataUpdateSAMLProviderInput struct { - SDKShapeTraits bool `type:"structure" required:"SAMLMetadataDocument,SAMLProviderArn"` + SDKShapeTraits bool `type:"structure"` } type UpdateSAMLProviderOutput struct { @@ -4922,13 +4922,13 @@ type metadataUpdateSAMLProviderOutput struct { type UpdateServerCertificateInput struct { NewPath *string `type:"string"` NewServerCertificateName *string `type:"string"` - ServerCertificateName *string `type:"string"` + ServerCertificateName *string `type:"string" required:"true"` metadataUpdateServerCertificateInput `json:"-", xml:"-"` } type metadataUpdateServerCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateName"` + SDKShapeTraits bool `type:"structure"` } type UpdateServerCertificateOutput struct { @@ -4940,15 +4940,15 @@ type metadataUpdateServerCertificateOutput struct { } type UpdateSigningCertificateInput struct { - CertificateID *string `locationName:"CertificateId" type:"string"` - Status *string `type:"string"` + CertificateID *string `locationName:"CertificateId" type:"string" required:"true"` + Status *string `type:"string" required:"true"` UserName *string `type:"string"` metadataUpdateSigningCertificateInput `json:"-", xml:"-"` } type metadataUpdateSigningCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"CertificateId,Status"` + SDKShapeTraits bool `type:"structure"` } type UpdateSigningCertificateOutput struct { @@ -4962,13 +4962,13 @@ type metadataUpdateSigningCertificateOutput struct { type UpdateUserInput struct { NewPath *string `type:"string"` NewUserName *string `type:"string"` - UserName *string `type:"string"` + UserName *string `type:"string" required:"true"` metadataUpdateUserInput `json:"-", xml:"-"` } type metadataUpdateUserInput struct { - SDKShapeTraits bool `type:"structure" required:"UserName"` + SDKShapeTraits bool `type:"structure"` } type UpdateUserOutput struct { @@ -4980,17 +4980,17 @@ type metadataUpdateUserOutput struct { } type UploadServerCertificateInput struct { - CertificateBody *string `type:"string"` + CertificateBody *string `type:"string" required:"true"` CertificateChain *string `type:"string"` Path *string `type:"string"` - PrivateKey *string `type:"string"` - ServerCertificateName *string `type:"string"` + PrivateKey *string `type:"string" required:"true"` + ServerCertificateName *string `type:"string" required:"true"` metadataUploadServerCertificateInput `json:"-", xml:"-"` } type metadataUploadServerCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"ServerCertificateName,CertificateBody,PrivateKey"` + SDKShapeTraits bool `type:"structure"` } type UploadServerCertificateOutput struct { @@ -5004,39 +5004,39 @@ type metadataUploadServerCertificateOutput struct { } type UploadSigningCertificateInput struct { - CertificateBody *string `type:"string"` + CertificateBody *string `type:"string" required:"true"` UserName *string `type:"string"` metadataUploadSigningCertificateInput `json:"-", xml:"-"` } type metadataUploadSigningCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"CertificateBody"` + SDKShapeTraits bool `type:"structure"` } type UploadSigningCertificateOutput struct { - Certificate *SigningCertificate `type:"structure"` + Certificate *SigningCertificate `type:"structure" required:"true"` metadataUploadSigningCertificateOutput `json:"-", xml:"-"` } type metadataUploadSigningCertificateOutput struct { - SDKShapeTraits bool `type:"structure" required:"Certificate"` + SDKShapeTraits bool `type:"structure"` } type User struct { - ARN *string `locationName:"Arn" type:"string"` - CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` + ARN *string `locationName:"Arn" type:"string" required:"true"` + CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` PasswordLastUsed *time.Time `type:"timestamp" timestampFormat:"iso8601"` - Path *string `type:"string"` - UserID *string `locationName:"UserId" type:"string"` - UserName *string `type:"string"` + Path *string `type:"string" required:"true"` + UserID *string `locationName:"UserId" type:"string" required:"true"` + UserName *string `type:"string" required:"true"` metadataUser `json:"-", xml:"-"` } type metadataUser struct { - SDKShapeTraits bool `type:"structure" required:"Path,UserName,UserId,Arn,CreateDate"` + SDKShapeTraits bool `type:"structure"` } type UserDetail struct { @@ -5059,12 +5059,12 @@ type VirtualMFADevice struct { Base32StringSeed []byte `type:"blob"` EnableDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` QRCodePNG []byte `type:"blob"` - SerialNumber *string `type:"string"` + SerialNumber *string `type:"string" required:"true"` User *User `type:"structure"` metadataVirtualMFADevice `json:"-", xml:"-"` } type metadataVirtualMFADevice struct { - SDKShapeTraits bool `type:"structure" required:"SerialNumber"` + SDKShapeTraits bool `type:"structure"` } \ No newline at end of file diff --git a/service/kinesis/api.go b/service/kinesis/api.go index c5b10ac4eea..9498970c1a0 100644 --- a/service/kinesis/api.go +++ b/service/kinesis/api.go @@ -332,14 +332,14 @@ func (c *Kinesis) SplitShard(input *SplitShardInput) (output *SplitShardOutput, var opSplitShard *aws.Operation type AddTagsToStreamInput struct { - StreamName *string `type:"string" json:",omitempty"` - Tags *map[string]*string `type:"map" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` + Tags *map[string]*string `type:"map" required:"true"json:",omitempty"` metadataAddTagsToStreamInput `json:"-", xml:"-"` } type metadataAddTagsToStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,Tags" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddTagsToStreamOutput struct { @@ -351,14 +351,14 @@ type metadataAddTagsToStreamOutput struct { } type CreateStreamInput struct { - ShardCount *int `type:"integer" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + ShardCount *int `type:"integer" required:"true"json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataCreateStreamInput `json:"-", xml:"-"` } type metadataCreateStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,ShardCount" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateStreamOutput struct { @@ -370,13 +370,13 @@ type metadataCreateStreamOutput struct { } type DeleteStreamInput struct { - StreamName *string `type:"string" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteStreamInput `json:"-", xml:"-"` } type metadataDeleteStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteStreamOutput struct { @@ -390,58 +390,58 @@ type metadataDeleteStreamOutput struct { type DescribeStreamInput struct { ExclusiveStartShardID *string `locationName:"ExclusiveStartShardId" type:"string" json:"ExclusiveStartShardId,omitempty"` Limit *int `type:"integer" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataDescribeStreamInput `json:"-", xml:"-"` } type metadataDescribeStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeStreamOutput struct { - StreamDescription *StreamDescription `type:"structure" json:",omitempty"` + StreamDescription *StreamDescription `type:"structure" required:"true"json:",omitempty"` metadataDescribeStreamOutput `json:"-", xml:"-"` } type metadataDescribeStreamOutput struct { - SDKShapeTraits bool `type:"structure" required:"StreamDescription" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetRecordsInput struct { Limit *int `type:"integer" json:",omitempty"` - ShardIterator *string `type:"string" json:",omitempty"` + ShardIterator *string `type:"string" required:"true"json:",omitempty"` metadataGetRecordsInput `json:"-", xml:"-"` } type metadataGetRecordsInput struct { - SDKShapeTraits bool `type:"structure" required:"ShardIterator" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetRecordsOutput struct { NextShardIterator *string `type:"string" json:",omitempty"` - Records []*Record `type:"list" json:",omitempty"` + Records []*Record `type:"list" required:"true"json:",omitempty"` metadataGetRecordsOutput `json:"-", xml:"-"` } type metadataGetRecordsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Records" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetShardIteratorInput struct { - ShardID *string `locationName:"ShardId" type:"string" json:"ShardId,omitempty"` - ShardIteratorType *string `type:"string" json:",omitempty"` + ShardID *string `locationName:"ShardId" type:"string" required:"true"json:"ShardId,omitempty"` + ShardIteratorType *string `type:"string" required:"true"json:",omitempty"` StartingSequenceNumber *string `type:"string" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataGetShardIteratorInput `json:"-", xml:"-"` } type metadataGetShardIteratorInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,ShardId,ShardIteratorType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetShardIteratorOutput struct { @@ -455,14 +455,14 @@ type metadataGetShardIteratorOutput struct { } type HashKeyRange struct { - EndingHashKey *string `type:"string" json:",omitempty"` - StartingHashKey *string `type:"string" json:",omitempty"` + EndingHashKey *string `type:"string" required:"true"json:",omitempty"` + StartingHashKey *string `type:"string" required:"true"json:",omitempty"` metadataHashKeyRange `json:"-", xml:"-"` } type metadataHashKeyRange struct { - SDKShapeTraits bool `type:"structure" required:"StartingHashKey,EndingHashKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListStreamsInput struct { @@ -477,49 +477,49 @@ type metadataListStreamsInput struct { } type ListStreamsOutput struct { - HasMoreStreams *bool `type:"boolean" json:",omitempty"` - StreamNames []*string `type:"list" json:",omitempty"` + HasMoreStreams *bool `type:"boolean" required:"true"json:",omitempty"` + StreamNames []*string `type:"list" required:"true"json:",omitempty"` metadataListStreamsOutput `json:"-", xml:"-"` } type metadataListStreamsOutput struct { - SDKShapeTraits bool `type:"structure" required:"StreamNames,HasMoreStreams" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListTagsForStreamInput struct { ExclusiveStartTagKey *string `type:"string" json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataListTagsForStreamInput `json:"-", xml:"-"` } type metadataListTagsForStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListTagsForStreamOutput struct { - HasMoreTags *bool `type:"boolean" json:",omitempty"` - Tags []*Tag `type:"list" json:",omitempty"` + HasMoreTags *bool `type:"boolean" required:"true"json:",omitempty"` + Tags []*Tag `type:"list" required:"true"json:",omitempty"` metadataListTagsForStreamOutput `json:"-", xml:"-"` } type metadataListTagsForStreamOutput struct { - SDKShapeTraits bool `type:"structure" required:"Tags,HasMoreTags" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type MergeShardsInput struct { - AdjacentShardToMerge *string `type:"string" json:",omitempty"` - ShardToMerge *string `type:"string" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + AdjacentShardToMerge *string `type:"string" required:"true"json:",omitempty"` + ShardToMerge *string `type:"string" required:"true"json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataMergeShardsInput `json:"-", xml:"-"` } type metadataMergeShardsInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,ShardToMerge,AdjacentShardToMerge" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type MergeShardsOutput struct { @@ -531,62 +531,62 @@ type metadataMergeShardsOutput struct { } type PutRecordInput struct { - Data []byte `type:"blob" json:",omitempty"` + Data []byte `type:"blob" required:"true"json:",omitempty"` ExplicitHashKey *string `type:"string" json:",omitempty"` - PartitionKey *string `type:"string" json:",omitempty"` + PartitionKey *string `type:"string" required:"true"json:",omitempty"` SequenceNumberForOrdering *string `type:"string" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataPutRecordInput `json:"-", xml:"-"` } type metadataPutRecordInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,Data,PartitionKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRecordOutput struct { - SequenceNumber *string `type:"string" json:",omitempty"` - ShardID *string `locationName:"ShardId" type:"string" json:"ShardId,omitempty"` + SequenceNumber *string `type:"string" required:"true"json:",omitempty"` + ShardID *string `locationName:"ShardId" type:"string" required:"true"json:"ShardId,omitempty"` metadataPutRecordOutput `json:"-", xml:"-"` } type metadataPutRecordOutput struct { - SDKShapeTraits bool `type:"structure" required:"ShardId,SequenceNumber" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRecordsInput struct { - Records []*PutRecordsRequestEntry `type:"list" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + Records []*PutRecordsRequestEntry `type:"list" required:"true"json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataPutRecordsInput `json:"-", xml:"-"` } type metadataPutRecordsInput struct { - SDKShapeTraits bool `type:"structure" required:"Records,StreamName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRecordsOutput struct { FailedRecordCount *int `type:"integer" json:",omitempty"` - Records []*PutRecordsResultEntry `type:"list" json:",omitempty"` + Records []*PutRecordsResultEntry `type:"list" required:"true"json:",omitempty"` metadataPutRecordsOutput `json:"-", xml:"-"` } type metadataPutRecordsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Records" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRecordsRequestEntry struct { - Data []byte `type:"blob" json:",omitempty"` + Data []byte `type:"blob" required:"true"json:",omitempty"` ExplicitHashKey *string `type:"string" json:",omitempty"` - PartitionKey *string `type:"string" json:",omitempty"` + PartitionKey *string `type:"string" required:"true"json:",omitempty"` metadataPutRecordsRequestEntry `json:"-", xml:"-"` } type metadataPutRecordsRequestEntry struct { - SDKShapeTraits bool `type:"structure" required:"Data,PartitionKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutRecordsResultEntry struct { @@ -603,26 +603,26 @@ type metadataPutRecordsResultEntry struct { } type Record struct { - Data []byte `type:"blob" json:",omitempty"` - PartitionKey *string `type:"string" json:",omitempty"` - SequenceNumber *string `type:"string" json:",omitempty"` + Data []byte `type:"blob" required:"true"json:",omitempty"` + PartitionKey *string `type:"string" required:"true"json:",omitempty"` + SequenceNumber *string `type:"string" required:"true"json:",omitempty"` metadataRecord `json:"-", xml:"-"` } type metadataRecord struct { - SDKShapeTraits bool `type:"structure" required:"SequenceNumber,Data,PartitionKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RemoveTagsFromStreamInput struct { - StreamName *string `type:"string" json:",omitempty"` - TagKeys []*string `type:"list" json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` + TagKeys []*string `type:"list" required:"true"json:",omitempty"` metadataRemoveTagsFromStreamInput `json:"-", xml:"-"` } type metadataRemoveTagsFromStreamInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,TagKeys" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RemoveTagsFromStreamOutput struct { @@ -635,39 +635,39 @@ type metadataRemoveTagsFromStreamOutput struct { type SequenceNumberRange struct { EndingSequenceNumber *string `type:"string" json:",omitempty"` - StartingSequenceNumber *string `type:"string" json:",omitempty"` + StartingSequenceNumber *string `type:"string" required:"true"json:",omitempty"` metadataSequenceNumberRange `json:"-", xml:"-"` } type metadataSequenceNumberRange struct { - SDKShapeTraits bool `type:"structure" required:"StartingSequenceNumber" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Shard struct { AdjacentParentShardID *string `locationName:"AdjacentParentShardId" type:"string" json:"AdjacentParentShardId,omitempty"` - HashKeyRange *HashKeyRange `type:"structure" json:",omitempty"` + HashKeyRange *HashKeyRange `type:"structure" required:"true"json:",omitempty"` ParentShardID *string `locationName:"ParentShardId" type:"string" json:"ParentShardId,omitempty"` - SequenceNumberRange *SequenceNumberRange `type:"structure" json:",omitempty"` - ShardID *string `locationName:"ShardId" type:"string" json:"ShardId,omitempty"` + SequenceNumberRange *SequenceNumberRange `type:"structure" required:"true"json:",omitempty"` + ShardID *string `locationName:"ShardId" type:"string" required:"true"json:"ShardId,omitempty"` metadataShard `json:"-", xml:"-"` } type metadataShard struct { - SDKShapeTraits bool `type:"structure" required:"ShardId,HashKeyRange,SequenceNumberRange" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SplitShardInput struct { - NewStartingHashKey *string `type:"string" json:",omitempty"` - ShardToSplit *string `type:"string" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` + NewStartingHashKey *string `type:"string" required:"true"json:",omitempty"` + ShardToSplit *string `type:"string" required:"true"json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` metadataSplitShardInput `json:"-", xml:"-"` } type metadataSplitShardInput struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,ShardToSplit,NewStartingHashKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SplitShardOutput struct { @@ -679,26 +679,26 @@ type metadataSplitShardOutput struct { } type StreamDescription struct { - HasMoreShards *bool `type:"boolean" json:",omitempty"` - Shards []*Shard `type:"list" json:",omitempty"` - StreamARN *string `type:"string" json:",omitempty"` - StreamName *string `type:"string" json:",omitempty"` - StreamStatus *string `type:"string" json:",omitempty"` + HasMoreShards *bool `type:"boolean" required:"true"json:",omitempty"` + Shards []*Shard `type:"list" required:"true"json:",omitempty"` + StreamARN *string `type:"string" required:"true"json:",omitempty"` + StreamName *string `type:"string" required:"true"json:",omitempty"` + StreamStatus *string `type:"string" required:"true"json:",omitempty"` metadataStreamDescription `json:"-", xml:"-"` } type metadataStreamDescription struct { - SDKShapeTraits bool `type:"structure" required:"StreamName,StreamARN,StreamStatus,Shards,HasMoreShards" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Tag struct { - Key *string `type:"string" json:",omitempty"` + Key *string `type:"string" required:"true"json:",omitempty"` Value *string `type:"string" json:",omitempty"` metadataTag `json:"-", xml:"-"` } type metadataTag struct { - SDKShapeTraits bool `type:"structure" required:"Key" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } \ No newline at end of file diff --git a/service/kms/api.go b/service/kms/api.go index 2f51aaea5bb..d1ee3583821 100644 --- a/service/kms/api.go +++ b/service/kms/api.go @@ -646,14 +646,14 @@ type metadataAliasListEntry struct { } type CreateAliasInput struct { - AliasName *string `type:"string" json:",omitempty"` - TargetKeyID *string `locationName:"TargetKeyId" type:"string" json:"TargetKeyId,omitempty"` + AliasName *string `type:"string" required:"true"json:",omitempty"` + TargetKeyID *string `locationName:"TargetKeyId" type:"string" required:"true"json:"TargetKeyId,omitempty"` metadataCreateAliasInput `json:"-", xml:"-"` } type metadataCreateAliasInput struct { - SDKShapeTraits bool `type:"structure" required:"AliasName,TargetKeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateAliasOutput struct { @@ -667,8 +667,8 @@ type metadataCreateAliasOutput struct { type CreateGrantInput struct { Constraints *GrantConstraints `type:"structure" json:",omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` - GranteePrincipal *string `type:"string" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + GranteePrincipal *string `type:"string" required:"true"json:",omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` Operations []*string `type:"list" json:",omitempty"` RetiringPrincipal *string `type:"string" json:",omitempty"` @@ -676,7 +676,7 @@ type CreateGrantInput struct { } type metadataCreateGrantInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,GranteePrincipal" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateGrantOutput struct { @@ -713,7 +713,7 @@ type metadataCreateKeyOutput struct { } type DecryptInput struct { - CiphertextBlob []byte `type:"blob" json:",omitempty"` + CiphertextBlob []byte `type:"blob" required:"true"json:",omitempty"` EncryptionContext *map[string]*string `type:"map" json:",omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` @@ -721,7 +721,7 @@ type DecryptInput struct { } type metadataDecryptInput struct { - SDKShapeTraits bool `type:"structure" required:"CiphertextBlob" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DecryptOutput struct { @@ -736,13 +736,13 @@ type metadataDecryptOutput struct { } type DeleteAliasInput struct { - AliasName *string `type:"string" json:",omitempty"` + AliasName *string `type:"string" required:"true"json:",omitempty"` metadataDeleteAliasInput `json:"-", xml:"-"` } type metadataDeleteAliasInput struct { - SDKShapeTraits bool `type:"structure" required:"AliasName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteAliasOutput struct { @@ -754,13 +754,13 @@ type metadataDeleteAliasOutput struct { } type DescribeKeyInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataDescribeKeyInput `json:"-", xml:"-"` } type metadataDescribeKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeKeyOutput struct { @@ -774,13 +774,13 @@ type metadataDescribeKeyOutput struct { } type DisableKeyInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataDisableKeyInput `json:"-", xml:"-"` } type metadataDisableKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisableKeyOutput struct { @@ -792,13 +792,13 @@ type metadataDisableKeyOutput struct { } type DisableKeyRotationInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataDisableKeyRotationInput `json:"-", xml:"-"` } type metadataDisableKeyRotationInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisableKeyRotationOutput struct { @@ -810,13 +810,13 @@ type metadataDisableKeyRotationOutput struct { } type EnableKeyInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataEnableKeyInput `json:"-", xml:"-"` } type metadataEnableKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EnableKeyOutput struct { @@ -828,13 +828,13 @@ type metadataEnableKeyOutput struct { } type EnableKeyRotationInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataEnableKeyRotationInput `json:"-", xml:"-"` } type metadataEnableKeyRotationInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EnableKeyRotationOutput struct { @@ -848,14 +848,14 @@ type metadataEnableKeyRotationOutput struct { type EncryptInput struct { EncryptionContext *map[string]*string `type:"map" json:",omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` - Plaintext []byte `type:"blob" json:",omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` + Plaintext []byte `type:"blob" required:"true"json:",omitempty"` metadataEncryptInput `json:"-", xml:"-"` } type metadataEncryptInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,Plaintext" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EncryptOutput struct { @@ -872,7 +872,7 @@ type metadataEncryptOutput struct { type GenerateDataKeyInput struct { EncryptionContext *map[string]*string `type:"map" json:",omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` KeySpec *string `type:"string" json:",omitempty"` NumberOfBytes *int `type:"integer" json:",omitempty"` @@ -880,7 +880,7 @@ type GenerateDataKeyInput struct { } type metadataGenerateDataKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GenerateDataKeyOutput struct { @@ -898,7 +898,7 @@ type metadataGenerateDataKeyOutput struct { type GenerateDataKeyWithoutPlaintextInput struct { EncryptionContext *map[string]*string `type:"map" json:",omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` KeySpec *string `type:"string" json:",omitempty"` NumberOfBytes *int `type:"integer" json:",omitempty"` @@ -906,7 +906,7 @@ type GenerateDataKeyWithoutPlaintextInput struct { } type metadataGenerateDataKeyWithoutPlaintextInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GenerateDataKeyWithoutPlaintextOutput struct { @@ -941,14 +941,14 @@ type metadataGenerateRandomOutput struct { } type GetKeyPolicyInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` - PolicyName *string `type:"string" json:",omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` + PolicyName *string `type:"string" required:"true"json:",omitempty"` metadataGetKeyPolicyInput `json:"-", xml:"-"` } type metadataGetKeyPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,PolicyName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetKeyPolicyOutput struct { @@ -962,13 +962,13 @@ type metadataGetKeyPolicyOutput struct { } type GetKeyRotationStatusInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataGetKeyRotationStatusInput `json:"-", xml:"-"` } type metadataGetKeyRotationStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetKeyRotationStatusOutput struct { @@ -1024,14 +1024,14 @@ type KeyMetadata struct { CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` Description *string `type:"string" json:",omitempty"` Enabled *bool `type:"boolean" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` KeyUsage *string `type:"string" json:",omitempty"` metadataKeyMetadata `json:"-", xml:"-"` } type metadataKeyMetadata struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListAliasesInput struct { @@ -1058,7 +1058,7 @@ type metadataListAliasesOutput struct { } type ListGrantsInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` @@ -1066,7 +1066,7 @@ type ListGrantsInput struct { } type metadataListGrantsInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListGrantsOutput struct { @@ -1082,7 +1082,7 @@ type metadataListGrantsOutput struct { } type ListKeyPoliciesInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` @@ -1090,7 +1090,7 @@ type ListKeyPoliciesInput struct { } type metadataListKeyPoliciesInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListKeyPoliciesOutput struct { @@ -1129,15 +1129,15 @@ type metadataListKeysOutput struct { } type PutKeyPolicyInput struct { - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` - Policy *string `type:"string" json:",omitempty"` - PolicyName *string `type:"string" json:",omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` + Policy *string `type:"string" required:"true"json:",omitempty"` + PolicyName *string `type:"string" required:"true"json:",omitempty"` metadataPutKeyPolicyInput `json:"-", xml:"-"` } type metadataPutKeyPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,PolicyName,Policy" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PutKeyPolicyOutput struct { @@ -1149,9 +1149,9 @@ type metadataPutKeyPolicyOutput struct { } type ReEncryptInput struct { - CiphertextBlob []byte `type:"blob" json:",omitempty"` + CiphertextBlob []byte `type:"blob" required:"true"json:",omitempty"` DestinationEncryptionContext *map[string]*string `type:"map" json:",omitempty"` - DestinationKeyID *string `locationName:"DestinationKeyId" type:"string" json:"DestinationKeyId,omitempty"` + DestinationKeyID *string `locationName:"DestinationKeyId" type:"string" required:"true"json:"DestinationKeyId,omitempty"` GrantTokens []*string `type:"list" json:",omitempty"` SourceEncryptionContext *map[string]*string `type:"map" json:",omitempty"` @@ -1159,7 +1159,7 @@ type ReEncryptInput struct { } type metadataReEncryptInput struct { - SDKShapeTraits bool `type:"structure" required:"CiphertextBlob,DestinationKeyId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ReEncryptOutput struct { @@ -1175,13 +1175,13 @@ type metadataReEncryptOutput struct { } type RetireGrantInput struct { - GrantToken *string `type:"string" json:",omitempty"` + GrantToken *string `type:"string" required:"true"json:",omitempty"` metadataRetireGrantInput `json:"-", xml:"-"` } type metadataRetireGrantInput struct { - SDKShapeTraits bool `type:"structure" required:"GrantToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RetireGrantOutput struct { @@ -1193,14 +1193,14 @@ type metadataRetireGrantOutput struct { } type RevokeGrantInput struct { - GrantID *string `locationName:"GrantId" type:"string" json:"GrantId,omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + GrantID *string `locationName:"GrantId" type:"string" required:"true"json:"GrantId,omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataRevokeGrantInput `json:"-", xml:"-"` } type metadataRevokeGrantInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,GrantId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RevokeGrantOutput struct { @@ -1212,14 +1212,14 @@ type metadataRevokeGrantOutput struct { } type UpdateKeyDescriptionInput struct { - Description *string `type:"string" json:",omitempty"` - KeyID *string `locationName:"KeyId" type:"string" json:"KeyId,omitempty"` + Description *string `type:"string" required:"true"json:",omitempty"` + KeyID *string `locationName:"KeyId" type:"string" required:"true"json:"KeyId,omitempty"` metadataUpdateKeyDescriptionInput `json:"-", xml:"-"` } type metadataUpdateKeyDescriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"KeyId,Description" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateKeyDescriptionOutput struct { diff --git a/service/lambda/api.go b/service/lambda/api.go index 0cf0d4094d4..d42ca8f41e6 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -285,26 +285,26 @@ var opUploadFunction *aws.Operation type AddEventSourceInput struct { BatchSize *int `type:"integer" json:",omitempty"` - EventSource *string `type:"string" json:",omitempty"` - FunctionName *string `type:"string" json:",omitempty"` + EventSource *string `type:"string" required:"true"json:",omitempty"` + FunctionName *string `type:"string" required:"true"json:",omitempty"` Parameters *map[string]*string `type:"map" json:",omitempty"` - Role *string `type:"string" json:",omitempty"` + Role *string `type:"string" required:"true"json:",omitempty"` metadataAddEventSourceInput `json:"-", xml:"-"` } type metadataAddEventSourceInput struct { - SDKShapeTraits bool `type:"structure" required:"EventSource,FunctionName,Role" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteFunctionInput struct { - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteFunctionInput `json:"-", xml:"-"` } type metadataDeleteFunctionInput struct { - SDKShapeTraits bool `type:"structure" required:"FunctionName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteFunctionOutput struct { @@ -366,33 +366,33 @@ type metadataFunctionConfiguration struct { } type GetEventSourceInput struct { - UUID *string `location:"uri" locationName:"UUID" type:"string" json:"-" xml:"-"` + UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"json:"-" xml:"-"` metadataGetEventSourceInput `json:"-", xml:"-"` } type metadataGetEventSourceInput struct { - SDKShapeTraits bool `type:"structure" required:"UUID" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetFunctionConfigurationInput struct { - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` metadataGetFunctionConfigurationInput `json:"-", xml:"-"` } type metadataGetFunctionConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"FunctionName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetFunctionInput struct { - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` metadataGetFunctionInput `json:"-", xml:"-"` } type metadataGetFunctionInput struct { - SDKShapeTraits bool `type:"structure" required:"FunctionName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetFunctionOutput struct { @@ -407,14 +407,14 @@ type metadataGetFunctionOutput struct { } type InvokeAsyncInput struct { - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` - InvokeArgs []byte `type:"blob" json:",omitempty"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` + InvokeArgs []byte `type:"blob" required:"true"json:",omitempty"` metadataInvokeAsyncInput `json:"-", xml:"-"` } type metadataInvokeAsyncInput struct { - SDKShapeTraits bool `type:"structure" payload:"InvokeArgs" required:"FunctionName,InvokeArgs" json:",omitempty"` + SDKShapeTraits bool `type:"structure" payload:"InvokeArgs" json:",omitempty"` } type InvokeAsyncOutput struct { @@ -474,13 +474,13 @@ type metadataListFunctionsOutput struct { } type RemoveEventSourceInput struct { - UUID *string `location:"uri" locationName:"UUID" type:"string" json:"-" xml:"-"` + UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"json:"-" xml:"-"` metadataRemoveEventSourceInput `json:"-", xml:"-"` } type metadataRemoveEventSourceInput struct { - SDKShapeTraits bool `type:"structure" required:"UUID" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RemoveEventSourceOutput struct { @@ -493,7 +493,7 @@ type metadataRemoveEventSourceOutput struct { type UpdateFunctionConfigurationInput struct { Description *string `location:"querystring" locationName:"Description" type:"string" json:"-" xml:"-"` - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` Handler *string `location:"querystring" locationName:"Handler" type:"string" json:"-" xml:"-"` MemorySize *int `location:"querystring" locationName:"MemorySize" type:"integer" json:"-" xml:"-"` Role *string `location:"querystring" locationName:"Role" type:"string" json:"-" xml:"-"` @@ -503,23 +503,23 @@ type UpdateFunctionConfigurationInput struct { } type metadataUpdateFunctionConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"FunctionName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UploadFunctionInput struct { Description *string `location:"querystring" locationName:"Description" type:"string" json:"-" xml:"-"` - FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" json:"-" xml:"-"` - FunctionZip []byte `type:"blob" json:",omitempty"` - Handler *string `location:"querystring" locationName:"Handler" type:"string" json:"-" xml:"-"` + FunctionName *string `location:"uri" locationName:"FunctionName" type:"string" required:"true"json:"-" xml:"-"` + FunctionZip []byte `type:"blob" required:"true"json:",omitempty"` + Handler *string `location:"querystring" locationName:"Handler" type:"string" required:"true"json:"-" xml:"-"` MemorySize *int `location:"querystring" locationName:"MemorySize" type:"integer" json:"-" xml:"-"` - Mode *string `location:"querystring" locationName:"Mode" type:"string" json:"-" xml:"-"` - Role *string `location:"querystring" locationName:"Role" type:"string" json:"-" xml:"-"` - Runtime *string `location:"querystring" locationName:"Runtime" type:"string" json:"-" xml:"-"` + Mode *string `location:"querystring" locationName:"Mode" type:"string" required:"true"json:"-" xml:"-"` + Role *string `location:"querystring" locationName:"Role" type:"string" required:"true"json:"-" xml:"-"` + Runtime *string `location:"querystring" locationName:"Runtime" type:"string" required:"true"json:"-" xml:"-"` Timeout *int `location:"querystring" locationName:"Timeout" type:"integer" json:"-" xml:"-"` metadataUploadFunctionInput `json:"-", xml:"-"` } type metadataUploadFunctionInput struct { - SDKShapeTraits bool `type:"structure" payload:"FunctionZip" required:"FunctionName,FunctionZip,Runtime,Role,Handler,Mode" json:",omitempty"` + SDKShapeTraits bool `type:"structure" payload:"FunctionZip" json:",omitempty"` } \ No newline at end of file diff --git a/service/opsworks/api.go b/service/opsworks/api.go index c42f71c79dc..031aad77b80 100644 --- a/service/opsworks/api.go +++ b/service/opsworks/api.go @@ -1655,14 +1655,14 @@ type metadataApp struct { } type AssignInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - LayerIDs []*string `locationName:"LayerIds" type:"list" json:"LayerIds,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` + LayerIDs []*string `locationName:"LayerIds" type:"list" required:"true"json:"LayerIds,omitempty"` metadataAssignInstanceInput `json:"-", xml:"-"` } type metadataAssignInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId,LayerIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AssignInstanceOutput struct { @@ -1675,13 +1675,13 @@ type metadataAssignInstanceOutput struct { type AssignVolumeInput struct { InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - VolumeID *string `locationName:"VolumeId" type:"string" json:"VolumeId,omitempty"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"json:"VolumeId,omitempty"` metadataAssignVolumeInput `json:"-", xml:"-"` } type metadataAssignVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AssignVolumeOutput struct { @@ -1693,14 +1693,14 @@ type metadataAssignVolumeOutput struct { } type AssociateElasticIPInput struct { - ElasticIP *string `locationName:"ElasticIp" type:"string" json:"ElasticIp,omitempty"` + ElasticIP *string `locationName:"ElasticIp" type:"string" required:"true"json:"ElasticIp,omitempty"` InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` metadataAssociateElasticIPInput `json:"-", xml:"-"` } type metadataAssociateElasticIPInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticIp" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AssociateElasticIPOutput struct { @@ -1712,14 +1712,14 @@ type metadataAssociateElasticIPOutput struct { } type AttachElasticLoadBalancerInput struct { - ElasticLoadBalancerName *string `type:"string" json:",omitempty"` - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + ElasticLoadBalancerName *string `type:"string" required:"true"json:",omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` metadataAttachElasticLoadBalancerInput `json:"-", xml:"-"` } type metadataAttachElasticLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticLoadBalancerName,LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AttachElasticLoadBalancerOutput struct { @@ -1773,8 +1773,8 @@ type CloneStackInput struct { HostnameTheme *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` Region *string `type:"string" json:",omitempty"` - ServiceRoleARN *string `locationName:"ServiceRoleArn" type:"string" json:"ServiceRoleArn,omitempty"` - SourceStackID *string `locationName:"SourceStackId" type:"string" json:"SourceStackId,omitempty"` + ServiceRoleARN *string `locationName:"ServiceRoleArn" type:"string" required:"true"json:"ServiceRoleArn,omitempty"` + SourceStackID *string `locationName:"SourceStackId" type:"string" required:"true"json:"SourceStackId,omitempty"` UseCustomCookbooks *bool `type:"boolean" json:",omitempty"` UseOpsWorksSecurityGroups *bool `locationName:"UseOpsworksSecurityGroups" type:"boolean" json:"UseOpsworksSecurityGroups,omitempty"` VPCID *string `locationName:"VpcId" type:"string" json:"VpcId,omitempty"` @@ -1783,7 +1783,7 @@ type CloneStackInput struct { } type metadataCloneStackInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceStackId,ServiceRoleArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CloneStackOutput struct { @@ -1823,17 +1823,17 @@ type CreateAppInput struct { Domains []*string `type:"list" json:",omitempty"` EnableSSL *bool `locationName:"EnableSsl" type:"boolean" json:"EnableSsl,omitempty"` Environment []*EnvironmentVariable `type:"list" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` SSLConfiguration *SSLConfiguration `locationName:"SslConfiguration" type:"structure" json:"SslConfiguration,omitempty"` Shortname *string `type:"string" json:",omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` - Type *string `type:"string" json:",omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` + Type *string `type:"string" required:"true"json:",omitempty"` metadataCreateAppInput `json:"-", xml:"-"` } type metadataCreateAppInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,Name,Type" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateAppOutput struct { @@ -1848,17 +1848,17 @@ type metadataCreateAppOutput struct { type CreateDeploymentInput struct { AppID *string `locationName:"AppId" type:"string" json:"AppId,omitempty"` - Command *DeploymentCommand `type:"structure" json:",omitempty"` + Command *DeploymentCommand `type:"structure" required:"true"json:",omitempty"` Comment *string `type:"string" json:",omitempty"` CustomJSON *string `locationName:"CustomJson" type:"string" json:"CustomJson,omitempty"` InstanceIDs []*string `locationName:"InstanceIds" type:"list" json:"InstanceIds,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataCreateDeploymentInput `json:"-", xml:"-"` } type metadataCreateDeploymentInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,Command" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateDeploymentOutput struct { @@ -1879,12 +1879,12 @@ type CreateInstanceInput struct { EBSOptimized *bool `locationName:"EbsOptimized" type:"boolean" json:"EbsOptimized,omitempty"` Hostname *string `type:"string" json:",omitempty"` InstallUpdatesOnBoot *bool `type:"boolean" json:",omitempty"` - InstanceType *string `type:"string" json:",omitempty"` - LayerIDs []*string `locationName:"LayerIds" type:"list" json:"LayerIds,omitempty"` + InstanceType *string `type:"string" required:"true"json:",omitempty"` + LayerIDs []*string `locationName:"LayerIds" type:"list" required:"true"json:"LayerIds,omitempty"` Os *string `type:"string" json:",omitempty"` RootDeviceType *string `type:"string" json:",omitempty"` SSHKeyName *string `locationName:"SshKeyName" type:"string" json:"SshKeyName,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` SubnetID *string `locationName:"SubnetId" type:"string" json:"SubnetId,omitempty"` VirtualizationType *string `type:"string" json:",omitempty"` @@ -1892,7 +1892,7 @@ type CreateInstanceInput struct { } type metadataCreateInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,LayerIds,InstanceType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateInstanceOutput struct { @@ -1915,11 +1915,11 @@ type CreateLayerInput struct { EnableAutoHealing *bool `type:"boolean" json:",omitempty"` InstallUpdatesOnBoot *bool `type:"boolean" json:",omitempty"` LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` Packages []*string `type:"list" json:",omitempty"` - Shortname *string `type:"string" json:",omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` - Type *string `type:"string" json:",omitempty"` + Shortname *string `type:"string" required:"true"json:",omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` + Type *string `type:"string" required:"true"json:",omitempty"` UseEBSOptimizedInstances *bool `locationName:"UseEbsOptimizedInstances" type:"boolean" json:"UseEbsOptimizedInstances,omitempty"` VolumeConfigurations []*VolumeConfiguration `type:"list" json:",omitempty"` @@ -1927,7 +1927,7 @@ type CreateLayerInput struct { } type metadataCreateLayerInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,Type,Name,Shortname" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateLayerOutput struct { @@ -1947,15 +1947,15 @@ type CreateStackInput struct { CustomCookbooksSource *Source `type:"structure" json:",omitempty"` CustomJSON *string `locationName:"CustomJson" type:"string" json:"CustomJson,omitempty"` DefaultAvailabilityZone *string `type:"string" json:",omitempty"` - DefaultInstanceProfileARN *string `locationName:"DefaultInstanceProfileArn" type:"string" json:"DefaultInstanceProfileArn,omitempty"` + DefaultInstanceProfileARN *string `locationName:"DefaultInstanceProfileArn" type:"string" required:"true"json:"DefaultInstanceProfileArn,omitempty"` DefaultOs *string `type:"string" json:",omitempty"` DefaultRootDeviceType *string `type:"string" json:",omitempty"` DefaultSSHKeyName *string `locationName:"DefaultSshKeyName" type:"string" json:"DefaultSshKeyName,omitempty"` DefaultSubnetID *string `locationName:"DefaultSubnetId" type:"string" json:"DefaultSubnetId,omitempty"` HostnameTheme *string `type:"string" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` - Region *string `type:"string" json:",omitempty"` - ServiceRoleARN *string `locationName:"ServiceRoleArn" type:"string" json:"ServiceRoleArn,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` + Region *string `type:"string" required:"true"json:",omitempty"` + ServiceRoleARN *string `locationName:"ServiceRoleArn" type:"string" required:"true"json:"ServiceRoleArn,omitempty"` UseCustomCookbooks *bool `type:"boolean" json:",omitempty"` UseOpsWorksSecurityGroups *bool `locationName:"UseOpsworksSecurityGroups" type:"boolean" json:"UseOpsworksSecurityGroups,omitempty"` VPCID *string `locationName:"VpcId" type:"string" json:"VpcId,omitempty"` @@ -1964,7 +1964,7 @@ type CreateStackInput struct { } type metadataCreateStackInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,Region,ServiceRoleArn,DefaultInstanceProfileArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateStackOutput struct { @@ -1979,7 +1979,7 @@ type metadataCreateStackOutput struct { type CreateUserProfileInput struct { AllowSelfManagement *bool `type:"boolean" json:",omitempty"` - IAMUserARN *string `locationName:"IamUserArn" type:"string" json:"IamUserArn,omitempty"` + IAMUserARN *string `locationName:"IamUserArn" type:"string" required:"true"json:"IamUserArn,omitempty"` SSHPublicKey *string `locationName:"SshPublicKey" type:"string" json:"SshPublicKey,omitempty"` SSHUsername *string `locationName:"SshUsername" type:"string" json:"SshUsername,omitempty"` @@ -1987,7 +1987,7 @@ type CreateUserProfileInput struct { } type metadataCreateUserProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"IamUserArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateUserProfileOutput struct { @@ -2013,13 +2013,13 @@ type metadataDataSource struct { } type DeleteAppInput struct { - AppID *string `locationName:"AppId" type:"string" json:"AppId,omitempty"` + AppID *string `locationName:"AppId" type:"string" required:"true"json:"AppId,omitempty"` metadataDeleteAppInput `json:"-", xml:"-"` } type metadataDeleteAppInput struct { - SDKShapeTraits bool `type:"structure" required:"AppId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteAppOutput struct { @@ -2033,13 +2033,13 @@ type metadataDeleteAppOutput struct { type DeleteInstanceInput struct { DeleteElasticIP *bool `locationName:"DeleteElasticIp" type:"boolean" json:"DeleteElasticIp,omitempty"` DeleteVolumes *bool `type:"boolean" json:",omitempty"` - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataDeleteInstanceInput `json:"-", xml:"-"` } type metadataDeleteInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteInstanceOutput struct { @@ -2051,13 +2051,13 @@ type metadataDeleteInstanceOutput struct { } type DeleteLayerInput struct { - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` metadataDeleteLayerInput `json:"-", xml:"-"` } type metadataDeleteLayerInput struct { - SDKShapeTraits bool `type:"structure" required:"LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteLayerOutput struct { @@ -2069,13 +2069,13 @@ type metadataDeleteLayerOutput struct { } type DeleteStackInput struct { - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataDeleteStackInput `json:"-", xml:"-"` } type metadataDeleteStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteStackOutput struct { @@ -2087,13 +2087,13 @@ type metadataDeleteStackOutput struct { } type DeleteUserProfileInput struct { - IAMUserARN *string `locationName:"IamUserArn" type:"string" json:"IamUserArn,omitempty"` + IAMUserARN *string `locationName:"IamUserArn" type:"string" required:"true"json:"IamUserArn,omitempty"` metadataDeleteUserProfileInput `json:"-", xml:"-"` } type metadataDeleteUserProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"IamUserArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteUserProfileOutput struct { @@ -2127,23 +2127,23 @@ type metadataDeployment struct { type DeploymentCommand struct { Args *map[string][]*string `type:"map" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDeploymentCommand `json:"-", xml:"-"` } type metadataDeploymentCommand struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterElasticIPInput struct { - ElasticIP *string `locationName:"ElasticIp" type:"string" json:"ElasticIp,omitempty"` + ElasticIP *string `locationName:"ElasticIp" type:"string" required:"true"json:"ElasticIp,omitempty"` metadataDeregisterElasticIPInput `json:"-", xml:"-"` } type metadataDeregisterElasticIPInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticIp" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterElasticIPOutput struct { @@ -2155,13 +2155,13 @@ type metadataDeregisterElasticIPOutput struct { } type DeregisterInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataDeregisterInstanceInput `json:"-", xml:"-"` } type metadataDeregisterInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterInstanceOutput struct { @@ -2173,13 +2173,13 @@ type metadataDeregisterInstanceOutput struct { } type DeregisterRDSDBInstanceInput struct { - RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" json:"RdsDbInstanceArn,omitempty"` + RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" required:"true"json:"RdsDbInstanceArn,omitempty"` metadataDeregisterRDSDBInstanceInput `json:"-", xml:"-"` } type metadataDeregisterRDSDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"RdsDbInstanceArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterRDSDBInstanceOutput struct { @@ -2191,13 +2191,13 @@ type metadataDeregisterRDSDBInstanceOutput struct { } type DeregisterVolumeInput struct { - VolumeID *string `locationName:"VolumeId" type:"string" json:"VolumeId,omitempty"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"json:"VolumeId,omitempty"` metadataDeregisterVolumeInput `json:"-", xml:"-"` } type metadataDeregisterVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeregisterVolumeOutput struct { @@ -2360,13 +2360,13 @@ type metadataDescribeLayersOutput struct { } type DescribeLoadBasedAutoScalingInput struct { - LayerIDs []*string `locationName:"LayerIds" type:"list" json:"LayerIds,omitempty"` + LayerIDs []*string `locationName:"LayerIds" type:"list" required:"true"json:"LayerIds,omitempty"` metadataDescribeLoadBasedAutoScalingInput `json:"-", xml:"-"` } type metadataDescribeLoadBasedAutoScalingInput struct { - SDKShapeTraits bool `type:"structure" required:"LayerIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeLoadBasedAutoScalingOutput struct { @@ -2442,13 +2442,13 @@ type metadataDescribeRAIDArraysOutput struct { type DescribeRDSDBInstancesInput struct { RDSDBInstanceARNs []*string `locationName:"RdsDbInstanceArns" type:"list" json:"RdsDbInstanceArns,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataDescribeRDSDBInstancesInput `json:"-", xml:"-"` } type metadataDescribeRDSDBInstancesInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeRDSDBInstancesOutput struct { @@ -2484,13 +2484,13 @@ type metadataDescribeServiceErrorsOutput struct { } type DescribeStackProvisioningParametersInput struct { - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataDescribeStackProvisioningParametersInput `json:"-", xml:"-"` } type metadataDescribeStackProvisioningParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeStackProvisioningParametersOutput struct { @@ -2505,13 +2505,13 @@ type metadataDescribeStackProvisioningParametersOutput struct { } type DescribeStackSummaryInput struct { - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataDescribeStackSummaryInput `json:"-", xml:"-"` } type metadataDescribeStackSummaryInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeStackSummaryOutput struct { @@ -2545,13 +2545,13 @@ type metadataDescribeStacksOutput struct { } type DescribeTimeBasedAutoScalingInput struct { - InstanceIDs []*string `locationName:"InstanceIds" type:"list" json:"InstanceIds,omitempty"` + InstanceIDs []*string `locationName:"InstanceIds" type:"list" required:"true"json:"InstanceIds,omitempty"` metadataDescribeTimeBasedAutoScalingInput `json:"-", xml:"-"` } type metadataDescribeTimeBasedAutoScalingInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTimeBasedAutoScalingOutput struct { @@ -2608,14 +2608,14 @@ type metadataDescribeVolumesOutput struct { } type DetachElasticLoadBalancerInput struct { - ElasticLoadBalancerName *string `type:"string" json:",omitempty"` - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + ElasticLoadBalancerName *string `type:"string" required:"true"json:",omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` metadataDetachElasticLoadBalancerInput `json:"-", xml:"-"` } type metadataDetachElasticLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticLoadBalancerName,LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DetachElasticLoadBalancerOutput struct { @@ -2627,13 +2627,13 @@ type metadataDetachElasticLoadBalancerOutput struct { } type DisassociateElasticIPInput struct { - ElasticIP *string `locationName:"ElasticIp" type:"string" json:"ElasticIp,omitempty"` + ElasticIP *string `locationName:"ElasticIp" type:"string" required:"true"json:"ElasticIp,omitempty"` metadataDisassociateElasticIPInput `json:"-", xml:"-"` } type metadataDisassociateElasticIPInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticIp" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisassociateElasticIPOutput struct { @@ -2677,25 +2677,25 @@ type metadataElasticLoadBalancer struct { } type EnvironmentVariable struct { - Key *string `type:"string" json:",omitempty"` + Key *string `type:"string" required:"true"json:",omitempty"` Secure *bool `type:"boolean" json:",omitempty"` - Value *string `type:"string" json:",omitempty"` + Value *string `type:"string" required:"true"json:",omitempty"` metadataEnvironmentVariable `json:"-", xml:"-"` } type metadataEnvironmentVariable struct { - SDKShapeTraits bool `type:"structure" required:"Key,Value" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetHostnameSuggestionInput struct { - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` metadataGetHostnameSuggestionInput `json:"-", xml:"-"` } type metadataGetHostnameSuggestionInput struct { - SDKShapeTraits bool `type:"structure" required:"LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetHostnameSuggestionOutput struct { @@ -2897,13 +2897,13 @@ type metadataRDSDBInstance struct { } type RebootInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataRebootInstanceInput `json:"-", xml:"-"` } type metadataRebootInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RebootInstanceOutput struct { @@ -2929,14 +2929,14 @@ type metadataRecipes struct { } type RegisterElasticIPInput struct { - ElasticIP *string `locationName:"ElasticIp" type:"string" json:"ElasticIp,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + ElasticIP *string `locationName:"ElasticIp" type:"string" required:"true"json:"ElasticIp,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataRegisterElasticIPInput `json:"-", xml:"-"` } type metadataRegisterElasticIPInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticIp,StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterElasticIPOutput struct { @@ -2956,13 +2956,13 @@ type RegisterInstanceInput struct { PublicIP *string `locationName:"PublicIp" type:"string" json:"PublicIp,omitempty"` RSAPublicKey *string `locationName:"RsaPublicKey" type:"string" json:"RsaPublicKey,omitempty"` RSAPublicKeyFingerprint *string `locationName:"RsaPublicKeyFingerprint" type:"string" json:"RsaPublicKeyFingerprint,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataRegisterInstanceInput `json:"-", xml:"-"` } type metadataRegisterInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterInstanceOutput struct { @@ -2976,16 +2976,16 @@ type metadataRegisterInstanceOutput struct { } type RegisterRDSDBInstanceInput struct { - DBPassword *string `locationName:"DbPassword" type:"string" json:"DbPassword,omitempty"` - DBUser *string `locationName:"DbUser" type:"string" json:"DbUser,omitempty"` - RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" json:"RdsDbInstanceArn,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + DBPassword *string `locationName:"DbPassword" type:"string" required:"true"json:"DbPassword,omitempty"` + DBUser *string `locationName:"DbUser" type:"string" required:"true"json:"DbUser,omitempty"` + RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" required:"true"json:"RdsDbInstanceArn,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataRegisterRDSDBInstanceInput `json:"-", xml:"-"` } type metadataRegisterRDSDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,RdsDbInstanceArn,DbUser,DbPassword" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterRDSDBInstanceOutput struct { @@ -2998,13 +2998,13 @@ type metadataRegisterRDSDBInstanceOutput struct { type RegisterVolumeInput struct { EC2VolumeID *string `locationName:"Ec2VolumeId" type:"string" json:"Ec2VolumeId,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataRegisterVolumeInput `json:"-", xml:"-"` } type metadataRegisterVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterVolumeOutput struct { @@ -3030,15 +3030,15 @@ type metadataReportedOs struct { } type SSLConfiguration struct { - Certificate *string `type:"string" json:",omitempty"` + Certificate *string `type:"string" required:"true"json:",omitempty"` Chain *string `type:"string" json:",omitempty"` - PrivateKey *string `type:"string" json:",omitempty"` + PrivateKey *string `type:"string" required:"true"json:",omitempty"` metadataSSLConfiguration `json:"-", xml:"-"` } type metadataSSLConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"Certificate,PrivateKey" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SelfUserProfile struct { @@ -3072,14 +3072,14 @@ type metadataServiceError struct { type SetLoadBasedAutoScalingInput struct { DownScaling *AutoScalingThresholds `type:"structure" json:",omitempty"` Enable *bool `type:"boolean" json:",omitempty"` - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` UpScaling *AutoScalingThresholds `type:"structure" json:",omitempty"` metadataSetLoadBasedAutoScalingInput `json:"-", xml:"-"` } type metadataSetLoadBasedAutoScalingInput struct { - SDKShapeTraits bool `type:"structure" required:"LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetLoadBasedAutoScalingOutput struct { @@ -3093,15 +3093,15 @@ type metadataSetLoadBasedAutoScalingOutput struct { type SetPermissionInput struct { AllowSSH *bool `locationName:"AllowSsh" type:"boolean" json:"AllowSsh,omitempty"` AllowSudo *bool `type:"boolean" json:",omitempty"` - IAMUserARN *string `locationName:"IamUserArn" type:"string" json:"IamUserArn,omitempty"` + IAMUserARN *string `locationName:"IamUserArn" type:"string" required:"true"json:"IamUserArn,omitempty"` Level *string `type:"string" json:",omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataSetPermissionInput `json:"-", xml:"-"` } type metadataSetPermissionInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId,IamUserArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetPermissionOutput struct { @@ -3114,13 +3114,13 @@ type metadataSetPermissionOutput struct { type SetTimeBasedAutoScalingInput struct { AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure" json:",omitempty"` - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataSetTimeBasedAutoScalingInput `json:"-", xml:"-"` } type metadataSetTimeBasedAutoScalingInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SetTimeBasedAutoScalingOutput struct { @@ -3214,13 +3214,13 @@ type metadataStackSummary struct { } type StartInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataStartInstanceInput `json:"-", xml:"-"` } type metadataStartInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartInstanceOutput struct { @@ -3232,13 +3232,13 @@ type metadataStartInstanceOutput struct { } type StartStackInput struct { - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataStartStackInput `json:"-", xml:"-"` } type metadataStartStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartStackOutput struct { @@ -3250,13 +3250,13 @@ type metadataStartStackOutput struct { } type StopInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataStopInstanceInput `json:"-", xml:"-"` } type metadataStopInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopInstanceOutput struct { @@ -3268,13 +3268,13 @@ type metadataStopInstanceOutput struct { } type StopStackInput struct { - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` metadataStopStackInput `json:"-", xml:"-"` } type metadataStopStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StopStackOutput struct { @@ -3297,13 +3297,13 @@ type metadataTimeBasedAutoScalingConfiguration struct { } type UnassignInstanceInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` metadataUnassignInstanceInput `json:"-", xml:"-"` } type metadataUnassignInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UnassignInstanceOutput struct { @@ -3315,13 +3315,13 @@ type metadataUnassignInstanceOutput struct { } type UnassignVolumeInput struct { - VolumeID *string `locationName:"VolumeId" type:"string" json:"VolumeId,omitempty"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"json:"VolumeId,omitempty"` metadataUnassignVolumeInput `json:"-", xml:"-"` } type metadataUnassignVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UnassignVolumeOutput struct { @@ -3333,7 +3333,7 @@ type metadataUnassignVolumeOutput struct { } type UpdateAppInput struct { - AppID *string `locationName:"AppId" type:"string" json:"AppId,omitempty"` + AppID *string `locationName:"AppId" type:"string" required:"true"json:"AppId,omitempty"` AppSource *Source `type:"structure" json:",omitempty"` Attributes *map[string]*string `type:"map" json:",omitempty"` DataSources []*DataSource `type:"list" json:",omitempty"` @@ -3349,7 +3349,7 @@ type UpdateAppInput struct { } type metadataUpdateAppInput struct { - SDKShapeTraits bool `type:"structure" required:"AppId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateAppOutput struct { @@ -3361,14 +3361,14 @@ type metadataUpdateAppOutput struct { } type UpdateElasticIPInput struct { - ElasticIP *string `locationName:"ElasticIp" type:"string" json:"ElasticIp,omitempty"` + ElasticIP *string `locationName:"ElasticIp" type:"string" required:"true"json:"ElasticIp,omitempty"` Name *string `type:"string" json:",omitempty"` metadataUpdateElasticIPInput `json:"-", xml:"-"` } type metadataUpdateElasticIPInput struct { - SDKShapeTraits bool `type:"structure" required:"ElasticIp" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateElasticIPOutput struct { @@ -3386,7 +3386,7 @@ type UpdateInstanceInput struct { EBSOptimized *bool `locationName:"EbsOptimized" type:"boolean" json:"EbsOptimized,omitempty"` Hostname *string `type:"string" json:",omitempty"` InstallUpdatesOnBoot *bool `type:"boolean" json:",omitempty"` - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` InstanceType *string `type:"string" json:",omitempty"` LayerIDs []*string `locationName:"LayerIds" type:"list" json:"LayerIds,omitempty"` Os *string `type:"string" json:",omitempty"` @@ -3396,7 +3396,7 @@ type UpdateInstanceInput struct { } type metadataUpdateInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateInstanceOutput struct { @@ -3416,7 +3416,7 @@ type UpdateLayerInput struct { CustomSecurityGroupIDs []*string `locationName:"CustomSecurityGroupIds" type:"list" json:"CustomSecurityGroupIds,omitempty"` EnableAutoHealing *bool `type:"boolean" json:",omitempty"` InstallUpdatesOnBoot *bool `type:"boolean" json:",omitempty"` - LayerID *string `locationName:"LayerId" type:"string" json:"LayerId,omitempty"` + LayerID *string `locationName:"LayerId" type:"string" required:"true"json:"LayerId,omitempty"` LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure" json:",omitempty"` Name *string `type:"string" json:",omitempty"` Packages []*string `type:"list" json:",omitempty"` @@ -3428,7 +3428,7 @@ type UpdateLayerInput struct { } type metadataUpdateLayerInput struct { - SDKShapeTraits bool `type:"structure" required:"LayerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateLayerOutput struct { @@ -3460,13 +3460,13 @@ type metadataUpdateMyUserProfileOutput struct { type UpdateRDSDBInstanceInput struct { DBPassword *string `locationName:"DbPassword" type:"string" json:"DbPassword,omitempty"` DBUser *string `locationName:"DbUser" type:"string" json:"DbUser,omitempty"` - RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" json:"RdsDbInstanceArn,omitempty"` + RDSDBInstanceARN *string `locationName:"RdsDbInstanceArn" type:"string" required:"true"json:"RdsDbInstanceArn,omitempty"` metadataUpdateRDSDBInstanceInput `json:"-", xml:"-"` } type metadataUpdateRDSDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"RdsDbInstanceArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateRDSDBInstanceOutput struct { @@ -3492,7 +3492,7 @@ type UpdateStackInput struct { HostnameTheme *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` ServiceRoleARN *string `locationName:"ServiceRoleArn" type:"string" json:"ServiceRoleArn,omitempty"` - StackID *string `locationName:"StackId" type:"string" json:"StackId,omitempty"` + StackID *string `locationName:"StackId" type:"string" required:"true"json:"StackId,omitempty"` UseCustomCookbooks *bool `type:"boolean" json:",omitempty"` UseOpsWorksSecurityGroups *bool `locationName:"UseOpsworksSecurityGroups" type:"boolean" json:"UseOpsworksSecurityGroups,omitempty"` @@ -3500,7 +3500,7 @@ type UpdateStackInput struct { } type metadataUpdateStackInput struct { - SDKShapeTraits bool `type:"structure" required:"StackId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateStackOutput struct { @@ -3513,7 +3513,7 @@ type metadataUpdateStackOutput struct { type UpdateUserProfileInput struct { AllowSelfManagement *bool `type:"boolean" json:",omitempty"` - IAMUserARN *string `locationName:"IamUserArn" type:"string" json:"IamUserArn,omitempty"` + IAMUserARN *string `locationName:"IamUserArn" type:"string" required:"true"json:"IamUserArn,omitempty"` SSHPublicKey *string `locationName:"SshPublicKey" type:"string" json:"SshPublicKey,omitempty"` SSHUsername *string `locationName:"SshUsername" type:"string" json:"SshUsername,omitempty"` @@ -3521,7 +3521,7 @@ type UpdateUserProfileInput struct { } type metadataUpdateUserProfileInput struct { - SDKShapeTraits bool `type:"structure" required:"IamUserArn" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateUserProfileOutput struct { @@ -3535,13 +3535,13 @@ type metadataUpdateUserProfileOutput struct { type UpdateVolumeInput struct { MountPoint *string `type:"string" json:",omitempty"` Name *string `type:"string" json:",omitempty"` - VolumeID *string `locationName:"VolumeId" type:"string" json:"VolumeId,omitempty"` + VolumeID *string `locationName:"VolumeId" type:"string" required:"true"json:"VolumeId,omitempty"` metadataUpdateVolumeInput `json:"-", xml:"-"` } type metadataUpdateVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateVolumeOutput struct { @@ -3590,17 +3590,17 @@ type metadataVolume struct { type VolumeConfiguration struct { IOPS *int `locationName:"Iops" type:"integer" json:"Iops,omitempty"` - MountPoint *string `type:"string" json:",omitempty"` - NumberOfDisks *int `type:"integer" json:",omitempty"` + MountPoint *string `type:"string" required:"true"json:",omitempty"` + NumberOfDisks *int `type:"integer" required:"true"json:",omitempty"` RAIDLevel *int `locationName:"RaidLevel" type:"integer" json:"RaidLevel,omitempty"` - Size *int `type:"integer" json:",omitempty"` + Size *int `type:"integer" required:"true"json:",omitempty"` VolumeType *string `type:"string" json:",omitempty"` metadataVolumeConfiguration `json:"-", xml:"-"` } type metadataVolumeConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"MountPoint,NumberOfDisks,Size" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WeeklyAutoScalingSchedule struct { diff --git a/service/rds/api.go b/service/rds/api.go index a2abb5b7bef..afb3853da59 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -1409,14 +1409,14 @@ func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressIn var opRevokeDBSecurityGroupIngress *aws.Operation type AddSourceIdentifierToSubscriptionInput struct { - SourceIdentifier *string `type:"string"` - SubscriptionName *string `type:"string"` + SourceIdentifier *string `type:"string" required:"true"` + SubscriptionName *string `type:"string" required:"true"` metadataAddSourceIdentifierToSubscriptionInput `json:"-", xml:"-"` } type metadataAddSourceIdentifierToSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName,SourceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type AddSourceIdentifierToSubscriptionOutput struct { @@ -1430,14 +1430,14 @@ type metadataAddSourceIdentifierToSubscriptionOutput struct { } type AddTagsToResourceInput struct { - ResourceName *string `type:"string"` - Tags []*Tag `locationNameList:"Tag" type:"list"` + ResourceName *string `type:"string" required:"true"` + Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` metadataAddTagsToResourceInput `json:"-", xml:"-"` } type metadataAddTagsToResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,Tags"` + SDKShapeTraits bool `type:"structure"` } type AddTagsToResourceOutput struct { @@ -1449,15 +1449,15 @@ type metadataAddTagsToResourceOutput struct { } type ApplyPendingMaintenanceActionInput struct { - ApplyAction *string `type:"string"` - OptInType *string `type:"string"` - ResourceIdentifier *string `type:"string"` + ApplyAction *string `type:"string" required:"true"` + OptInType *string `type:"string" required:"true"` + ResourceIdentifier *string `type:"string" required:"true"` metadataApplyPendingMaintenanceActionInput `json:"-", xml:"-"` } type metadataApplyPendingMaintenanceActionInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceIdentifier,ApplyAction,OptInType"` + SDKShapeTraits bool `type:"structure"` } type ApplyPendingMaintenanceActionOutput struct { @@ -1472,7 +1472,7 @@ type metadataApplyPendingMaintenanceActionOutput struct { type AuthorizeDBSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` - DBSecurityGroupName *string `type:"string"` + DBSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupID *string `locationName:"EC2SecurityGroupId" type:"string"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` @@ -1481,7 +1481,7 @@ type AuthorizeDBSecurityGroupIngressInput struct { } type metadataAuthorizeDBSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeDBSecurityGroupIngressOutput struct { @@ -1516,16 +1516,16 @@ type metadataCharacterSet struct { } type CopyDBParameterGroupInput struct { - SourceDBParameterGroupIdentifier *string `type:"string"` + SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` - TargetDBParameterGroupDescription *string `type:"string"` - TargetDBParameterGroupIdentifier *string `type:"string"` + TargetDBParameterGroupDescription *string `type:"string" required:"true"` + TargetDBParameterGroupIdentifier *string `type:"string" required:"true"` metadataCopyDBParameterGroupInput `json:"-", xml:"-"` } type metadataCopyDBParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceDBParameterGroupIdentifier,TargetDBParameterGroupIdentifier,TargetDBParameterGroupDescription"` + SDKShapeTraits bool `type:"structure"` } type CopyDBParameterGroupOutput struct { @@ -1539,15 +1539,15 @@ type metadataCopyDBParameterGroupOutput struct { } type CopyDBSnapshotInput struct { - SourceDBSnapshotIdentifier *string `type:"string"` + SourceDBSnapshotIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` - TargetDBSnapshotIdentifier *string `type:"string"` + TargetDBSnapshotIdentifier *string `type:"string" required:"true"` metadataCopyDBSnapshotInput `json:"-", xml:"-"` } type metadataCopyDBSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceDBSnapshotIdentifier,TargetDBSnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CopyDBSnapshotOutput struct { @@ -1561,16 +1561,16 @@ type metadataCopyDBSnapshotOutput struct { } type CopyOptionGroupInput struct { - SourceOptionGroupIdentifier *string `type:"string"` + SourceOptionGroupIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` - TargetOptionGroupDescription *string `type:"string"` - TargetOptionGroupIdentifier *string `type:"string"` + TargetOptionGroupDescription *string `type:"string" required:"true"` + TargetOptionGroupIdentifier *string `type:"string" required:"true"` metadataCopyOptionGroupInput `json:"-", xml:"-"` } type metadataCopyOptionGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceOptionGroupIdentifier,TargetOptionGroupIdentifier,TargetOptionGroupDescription"` + SDKShapeTraits bool `type:"structure"` } type CopyOptionGroupOutput struct { @@ -1584,24 +1584,24 @@ type metadataCopyOptionGroupOutput struct { } type CreateDBInstanceInput struct { - AllocatedStorage *int `type:"integer"` + AllocatedStorage *int `type:"integer" required:"true"` AutoMinorVersionUpgrade *bool `type:"boolean"` AvailabilityZone *string `type:"string"` BackupRetentionPeriod *int `type:"integer"` CharacterSetName *string `type:"string"` - DBInstanceClass *string `type:"string"` - DBInstanceIdentifier *string `type:"string"` + DBInstanceClass *string `type:"string" required:"true"` + DBInstanceIdentifier *string `type:"string" required:"true"` DBName *string `type:"string"` DBParameterGroupName *string `type:"string"` DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"` DBSubnetGroupName *string `type:"string"` - Engine *string `type:"string"` + Engine *string `type:"string" required:"true"` EngineVersion *string `type:"string"` IOPS *int `locationName:"Iops" type:"integer"` KMSKeyID *string `locationName:"KmsKeyId" type:"string"` LicenseModel *string `type:"string"` - MasterUserPassword *string `type:"string"` - MasterUsername *string `type:"string"` + MasterUserPassword *string `type:"string" required:"true"` + MasterUsername *string `type:"string" required:"true"` MultiAZ *bool `type:"boolean"` OptionGroupName *string `type:"string"` Port *int `type:"integer"` @@ -1619,7 +1619,7 @@ type CreateDBInstanceInput struct { } type metadataCreateDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier,AllocatedStorage,DBInstanceClass,Engine,MasterUsername,MasterUserPassword"` + SDKShapeTraits bool `type:"structure"` } type CreateDBInstanceOutput struct { @@ -1636,13 +1636,13 @@ type CreateDBInstanceReadReplicaInput struct { AutoMinorVersionUpgrade *bool `type:"boolean"` AvailabilityZone *string `type:"string"` DBInstanceClass *string `type:"string"` - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` DBSubnetGroupName *string `type:"string"` IOPS *int `locationName:"Iops" type:"integer"` OptionGroupName *string `type:"string"` Port *int `type:"integer"` PubliclyAccessible *bool `type:"boolean"` - SourceDBInstanceIdentifier *string `type:"string"` + SourceDBInstanceIdentifier *string `type:"string" required:"true"` StorageType *string `type:"string"` Tags []*Tag `locationNameList:"Tag" type:"list"` @@ -1650,7 +1650,7 @@ type CreateDBInstanceReadReplicaInput struct { } type metadataCreateDBInstanceReadReplicaInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier,SourceDBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CreateDBInstanceReadReplicaOutput struct { @@ -1664,16 +1664,16 @@ type metadataCreateDBInstanceReadReplicaOutput struct { } type CreateDBParameterGroupInput struct { - DBParameterGroupFamily *string `type:"string"` - DBParameterGroupName *string `type:"string"` - Description *string `type:"string"` + DBParameterGroupFamily *string `type:"string" required:"true"` + DBParameterGroupName *string `type:"string" required:"true"` + Description *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateDBParameterGroupInput `json:"-", xml:"-"` } type metadataCreateDBParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupName,DBParameterGroupFamily,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateDBParameterGroupOutput struct { @@ -1687,15 +1687,15 @@ type metadataCreateDBParameterGroupOutput struct { } type CreateDBSecurityGroupInput struct { - DBSecurityGroupDescription *string `type:"string"` - DBSecurityGroupName *string `type:"string"` + DBSecurityGroupDescription *string `type:"string" required:"true"` + DBSecurityGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateDBSecurityGroupInput `json:"-", xml:"-"` } type metadataCreateDBSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSecurityGroupName,DBSecurityGroupDescription"` + SDKShapeTraits bool `type:"structure"` } type CreateDBSecurityGroupOutput struct { @@ -1709,15 +1709,15 @@ type metadataCreateDBSecurityGroupOutput struct { } type CreateDBSnapshotInput struct { - DBInstanceIdentifier *string `type:"string"` - DBSnapshotIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` + DBSnapshotIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateDBSnapshotInput `json:"-", xml:"-"` } type metadataCreateDBSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSnapshotIdentifier,DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CreateDBSnapshotOutput struct { @@ -1731,16 +1731,16 @@ type metadataCreateDBSnapshotOutput struct { } type CreateDBSubnetGroupInput struct { - DBSubnetGroupDescription *string `type:"string"` - DBSubnetGroupName *string `type:"string"` - SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` + DBSubnetGroupDescription *string `type:"string" required:"true"` + DBSubnetGroupName *string `type:"string" required:"true"` + SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateDBSubnetGroupInput `json:"-", xml:"-"` } type metadataCreateDBSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSubnetGroupName,DBSubnetGroupDescription,SubnetIds"` + SDKShapeTraits bool `type:"structure"` } type CreateDBSubnetGroupOutput struct { @@ -1756,17 +1756,17 @@ type metadataCreateDBSubnetGroupOutput struct { type CreateEventSubscriptionInput struct { Enabled *bool `type:"boolean"` EventCategories []*string `locationNameList:"EventCategory" type:"list"` - SNSTopicARN *string `locationName:"SnsTopicArn" type:"string"` + SNSTopicARN *string `locationName:"SnsTopicArn" type:"string" required:"true"` SourceIDs []*string `locationName:"SourceIds" locationNameList:"SourceId" type:"list"` SourceType *string `type:"string"` - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateEventSubscriptionInput `json:"-", xml:"-"` } type metadataCreateEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName,SnsTopicArn"` + SDKShapeTraits bool `type:"structure"` } type CreateEventSubscriptionOutput struct { @@ -1780,17 +1780,17 @@ type metadataCreateEventSubscriptionOutput struct { } type CreateOptionGroupInput struct { - EngineName *string `type:"string"` - MajorEngineVersion *string `type:"string"` - OptionGroupDescription *string `type:"string"` - OptionGroupName *string `type:"string"` + EngineName *string `type:"string" required:"true"` + MajorEngineVersion *string `type:"string" required:"true"` + OptionGroupDescription *string `type:"string" required:"true"` + OptionGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateOptionGroupInput `json:"-", xml:"-"` } type metadataCreateOptionGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"OptionGroupName,EngineName,MajorEngineVersion,OptionGroupDescription"` + SDKShapeTraits bool `type:"structure"` } type CreateOptionGroupOutput struct { @@ -1982,7 +1982,7 @@ type metadataDBSubnetGroup struct { } type DeleteDBInstanceInput struct { - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` FinalDBSnapshotIdentifier *string `type:"string"` SkipFinalSnapshot *bool `type:"boolean"` @@ -1990,7 +1990,7 @@ type DeleteDBInstanceInput struct { } type metadataDeleteDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteDBInstanceOutput struct { @@ -2004,13 +2004,13 @@ type metadataDeleteDBInstanceOutput struct { } type DeleteDBParameterGroupInput struct { - DBParameterGroupName *string `type:"string"` + DBParameterGroupName *string `type:"string" required:"true"` metadataDeleteDBParameterGroupInput `json:"-", xml:"-"` } type metadataDeleteDBParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteDBParameterGroupOutput struct { @@ -2022,13 +2022,13 @@ type metadataDeleteDBParameterGroupOutput struct { } type DeleteDBSecurityGroupInput struct { - DBSecurityGroupName *string `type:"string"` + DBSecurityGroupName *string `type:"string" required:"true"` metadataDeleteDBSecurityGroupInput `json:"-", xml:"-"` } type metadataDeleteDBSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteDBSecurityGroupOutput struct { @@ -2040,13 +2040,13 @@ type metadataDeleteDBSecurityGroupOutput struct { } type DeleteDBSnapshotInput struct { - DBSnapshotIdentifier *string `type:"string"` + DBSnapshotIdentifier *string `type:"string" required:"true"` metadataDeleteDBSnapshotInput `json:"-", xml:"-"` } type metadataDeleteDBSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteDBSnapshotOutput struct { @@ -2060,13 +2060,13 @@ type metadataDeleteDBSnapshotOutput struct { } type DeleteDBSubnetGroupInput struct { - DBSubnetGroupName *string `type:"string"` + DBSubnetGroupName *string `type:"string" required:"true"` metadataDeleteDBSubnetGroupInput `json:"-", xml:"-"` } type metadataDeleteDBSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSubnetGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteDBSubnetGroupOutput struct { @@ -2078,13 +2078,13 @@ type metadataDeleteDBSubnetGroupOutput struct { } type DeleteEventSubscriptionInput struct { - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` metadataDeleteEventSubscriptionInput `json:"-", xml:"-"` } type metadataDeleteEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName"` + SDKShapeTraits bool `type:"structure"` } type DeleteEventSubscriptionOutput struct { @@ -2098,13 +2098,13 @@ type metadataDeleteEventSubscriptionOutput struct { } type DeleteOptionGroupInput struct { - OptionGroupName *string `type:"string"` + OptionGroupName *string `type:"string" required:"true"` metadataDeleteOptionGroupInput `json:"-", xml:"-"` } type metadataDeleteOptionGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"OptionGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteOptionGroupOutput struct { @@ -2180,7 +2180,7 @@ type metadataDescribeDBLogFilesDetails struct { } type DescribeDBLogFilesInput struct { - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` FileLastWritten *int64 `type:"long"` FileSize *int64 `type:"long"` FilenameContains *string `type:"string"` @@ -2192,7 +2192,7 @@ type DescribeDBLogFilesInput struct { } type metadataDescribeDBLogFilesInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DescribeDBLogFilesOutput struct { @@ -2231,7 +2231,7 @@ type metadataDescribeDBParameterGroupsOutput struct { } type DescribeDBParametersInput struct { - DBParameterGroupName *string `type:"string"` + DBParameterGroupName *string `type:"string" required:"true"` Filters []*Filter `locationNameList:"Filter" type:"list"` Marker *string `type:"string"` MaxRecords *int `type:"integer"` @@ -2241,7 +2241,7 @@ type DescribeDBParametersInput struct { } type metadataDescribeDBParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DescribeDBParametersOutput struct { @@ -2330,7 +2330,7 @@ type metadataDescribeDBSubnetGroupsOutput struct { } type DescribeEngineDefaultParametersInput struct { - DBParameterGroupFamily *string `type:"string"` + DBParameterGroupFamily *string `type:"string" required:"true"` Filters []*Filter `locationNameList:"Filter" type:"list"` Marker *string `type:"string"` MaxRecords *int `type:"integer"` @@ -2339,7 +2339,7 @@ type DescribeEngineDefaultParametersInput struct { } type metadataDescribeEngineDefaultParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupFamily"` + SDKShapeTraits bool `type:"structure"` } type DescribeEngineDefaultParametersOutput struct { @@ -2427,7 +2427,7 @@ type metadataDescribeEventsOutput struct { } type DescribeOptionGroupOptionsInput struct { - EngineName *string `type:"string"` + EngineName *string `type:"string" required:"true"` Filters []*Filter `locationNameList:"Filter" type:"list"` MajorEngineVersion *string `type:"string"` Marker *string `type:"string"` @@ -2437,7 +2437,7 @@ type DescribeOptionGroupOptionsInput struct { } type metadataDescribeOptionGroupOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"EngineName"` + SDKShapeTraits bool `type:"structure"` } type DescribeOptionGroupOptionsOutput struct { @@ -2479,7 +2479,7 @@ type metadataDescribeOptionGroupsOutput struct { type DescribeOrderableDBInstanceOptionsInput struct { DBInstanceClass *string `type:"string"` - Engine *string `type:"string"` + Engine *string `type:"string" required:"true"` EngineVersion *string `type:"string"` Filters []*Filter `locationNameList:"Filter" type:"list"` LicenseModel *string `type:"string"` @@ -2491,7 +2491,7 @@ type DescribeOrderableDBInstanceOptionsInput struct { } type metadataDescribeOrderableDBInstanceOptionsInput struct { - SDKShapeTraits bool `type:"structure" required:"Engine"` + SDKShapeTraits bool `type:"structure"` } type DescribeOrderableDBInstanceOptionsOutput struct { @@ -2589,8 +2589,8 @@ type metadataDescribeReservedDBInstancesOutput struct { } type DownloadDBLogFilePortionInput struct { - DBInstanceIdentifier *string `type:"string"` - LogFileName *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` + LogFileName *string `type:"string" required:"true"` Marker *string `type:"string"` NumberOfLines *int `type:"integer"` @@ -2598,7 +2598,7 @@ type DownloadDBLogFilePortionInput struct { } type metadataDownloadDBLogFilePortionInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier,LogFileName"` + SDKShapeTraits bool `type:"structure"` } type DownloadDBLogFilePortionOutput struct { @@ -2693,14 +2693,14 @@ type metadataEventSubscription struct { } type Filter struct { - Name *string `type:"string"` - Values []*string `locationNameList:"Value" type:"list"` + Name *string `type:"string" required:"true"` + Values []*string `locationNameList:"Value" type:"list" required:"true"` metadataFilter `json:"-", xml:"-"` } type metadataFilter struct { - SDKShapeTraits bool `type:"structure" required:"Name,Values"` + SDKShapeTraits bool `type:"structure"` } type IPRange struct { @@ -2716,13 +2716,13 @@ type metadataIPRange struct { type ListTagsForResourceInput struct { Filters []*Filter `locationNameList:"Filter" type:"list"` - ResourceName *string `type:"string"` + ResourceName *string `type:"string" required:"true"` metadataListTagsForResourceInput `json:"-", xml:"-"` } type metadataListTagsForResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName"` + SDKShapeTraits bool `type:"structure"` } type ListTagsForResourceOutput struct { @@ -2742,7 +2742,7 @@ type ModifyDBInstanceInput struct { AutoMinorVersionUpgrade *bool `type:"boolean"` BackupRetentionPeriod *int `type:"integer"` DBInstanceClass *string `type:"string"` - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` DBParameterGroupName *string `type:"string"` DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"` EngineVersion *string `type:"string"` @@ -2762,7 +2762,7 @@ type ModifyDBInstanceInput struct { } type metadataModifyDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type ModifyDBInstanceOutput struct { @@ -2776,26 +2776,26 @@ type metadataModifyDBInstanceOutput struct { } type ModifyDBParameterGroupInput struct { - DBParameterGroupName *string `type:"string"` - Parameters []*Parameter `locationNameList:"Parameter" type:"list"` + DBParameterGroupName *string `type:"string" required:"true"` + Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` metadataModifyDBParameterGroupInput `json:"-", xml:"-"` } type metadataModifyDBParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupName,Parameters"` + SDKShapeTraits bool `type:"structure"` } type ModifyDBSubnetGroupInput struct { DBSubnetGroupDescription *string `type:"string"` - DBSubnetGroupName *string `type:"string"` - SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` + DBSubnetGroupName *string `type:"string" required:"true"` + SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list" required:"true"` metadataModifyDBSubnetGroupInput `json:"-", xml:"-"` } type metadataModifyDBSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSubnetGroupName,SubnetIds"` + SDKShapeTraits bool `type:"structure"` } type ModifyDBSubnetGroupOutput struct { @@ -2813,13 +2813,13 @@ type ModifyEventSubscriptionInput struct { EventCategories []*string `locationNameList:"EventCategory" type:"list"` SNSTopicARN *string `locationName:"SnsTopicArn" type:"string"` SourceType *string `type:"string"` - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` metadataModifyEventSubscriptionInput `json:"-", xml:"-"` } type metadataModifyEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName"` + SDKShapeTraits bool `type:"structure"` } type ModifyEventSubscriptionOutput struct { @@ -2834,7 +2834,7 @@ type metadataModifyEventSubscriptionOutput struct { type ModifyOptionGroupInput struct { ApplyImmediately *bool `type:"boolean"` - OptionGroupName *string `type:"string"` + OptionGroupName *string `type:"string" required:"true"` OptionsToInclude []*OptionConfiguration `locationNameList:"OptionConfiguration" type:"list"` OptionsToRemove []*string `type:"list"` @@ -2842,7 +2842,7 @@ type ModifyOptionGroupInput struct { } type metadataModifyOptionGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"OptionGroupName"` + SDKShapeTraits bool `type:"structure"` } type ModifyOptionGroupOutput struct { @@ -2874,7 +2874,7 @@ type metadataOption struct { type OptionConfiguration struct { DBSecurityGroupMemberships []*string `locationNameList:"DBSecurityGroupName" type:"list"` - OptionName *string `type:"string"` + OptionName *string `type:"string" required:"true"` OptionSettings []*OptionSetting `locationNameList:"OptionSetting" type:"list"` Port *int `type:"integer"` VPCSecurityGroupMemberships []*string `locationName:"VpcSecurityGroupMemberships" locationNameList:"VpcSecurityGroupId" type:"list"` @@ -2883,7 +2883,7 @@ type OptionConfiguration struct { } type metadataOptionConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"OptionName"` + SDKShapeTraits bool `type:"structure"` } type OptionGroup struct { @@ -3040,14 +3040,14 @@ type metadataPendingModifiedValues struct { type PromoteReadReplicaInput struct { BackupRetentionPeriod *int `type:"integer"` - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` PreferredBackupWindow *string `type:"string"` metadataPromoteReadReplicaInput `json:"-", xml:"-"` } type metadataPromoteReadReplicaInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type PromoteReadReplicaOutput struct { @@ -3063,14 +3063,14 @@ type metadataPromoteReadReplicaOutput struct { type PurchaseReservedDBInstancesOfferingInput struct { DBInstanceCount *int `type:"integer"` ReservedDBInstanceID *string `locationName:"ReservedDBInstanceId" type:"string"` - ReservedDBInstancesOfferingID *string `locationName:"ReservedDBInstancesOfferingId" type:"string"` + ReservedDBInstancesOfferingID *string `locationName:"ReservedDBInstancesOfferingId" type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataPurchaseReservedDBInstancesOfferingInput `json:"-", xml:"-"` } type metadataPurchaseReservedDBInstancesOfferingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedDBInstancesOfferingId"` + SDKShapeTraits bool `type:"structure"` } type PurchaseReservedDBInstancesOfferingOutput struct { @@ -3084,14 +3084,14 @@ type metadataPurchaseReservedDBInstancesOfferingOutput struct { } type RebootDBInstanceInput struct { - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` ForceFailover *bool `type:"boolean"` metadataRebootDBInstanceInput `json:"-", xml:"-"` } type metadataRebootDBInstanceInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RebootDBInstanceOutput struct { @@ -3116,14 +3116,14 @@ type metadataRecurringCharge struct { } type RemoveSourceIdentifierFromSubscriptionInput struct { - SourceIdentifier *string `type:"string"` - SubscriptionName *string `type:"string"` + SourceIdentifier *string `type:"string" required:"true"` + SubscriptionName *string `type:"string" required:"true"` metadataRemoveSourceIdentifierFromSubscriptionInput `json:"-", xml:"-"` } type metadataRemoveSourceIdentifierFromSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName,SourceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RemoveSourceIdentifierFromSubscriptionOutput struct { @@ -3137,14 +3137,14 @@ type metadataRemoveSourceIdentifierFromSubscriptionOutput struct { } type RemoveTagsFromResourceInput struct { - ResourceName *string `type:"string"` - TagKeys []*string `type:"list"` + ResourceName *string `type:"string" required:"true"` + TagKeys []*string `type:"list" required:"true"` metadataRemoveTagsFromResourceInput `json:"-", xml:"-"` } type metadataRemoveTagsFromResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,TagKeys"` + SDKShapeTraits bool `type:"structure"` } type RemoveTagsFromResourceOutput struct { @@ -3198,7 +3198,7 @@ type metadataReservedDBInstancesOffering struct { } type ResetDBParameterGroupInput struct { - DBParameterGroupName *string `type:"string"` + DBParameterGroupName *string `type:"string" required:"true"` Parameters []*Parameter `locationNameList:"Parameter" type:"list"` ResetAllParameters *bool `type:"boolean"` @@ -3206,7 +3206,7 @@ type ResetDBParameterGroupInput struct { } type metadataResetDBParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"DBParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type ResourcePendingMaintenanceActions struct { @@ -3224,9 +3224,9 @@ type RestoreDBInstanceFromDBSnapshotInput struct { AutoMinorVersionUpgrade *bool `type:"boolean"` AvailabilityZone *string `type:"string"` DBInstanceClass *string `type:"string"` - DBInstanceIdentifier *string `type:"string"` + DBInstanceIdentifier *string `type:"string" required:"true"` DBName *string `type:"string"` - DBSnapshotIdentifier *string `type:"string"` + DBSnapshotIdentifier *string `type:"string" required:"true"` DBSubnetGroupName *string `type:"string"` Engine *string `type:"string"` IOPS *int `locationName:"Iops" type:"integer"` @@ -3244,7 +3244,7 @@ type RestoreDBInstanceFromDBSnapshotInput struct { } type metadataRestoreDBInstanceFromDBSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"DBInstanceIdentifier,DBSnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RestoreDBInstanceFromDBSnapshotOutput struct { @@ -3271,19 +3271,19 @@ type RestoreDBInstanceToPointInTimeInput struct { Port *int `type:"integer"` PubliclyAccessible *bool `type:"boolean"` RestoreTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - SourceDBInstanceIdentifier *string `type:"string"` + SourceDBInstanceIdentifier *string `type:"string" required:"true"` StorageType *string `type:"string"` TDECredentialARN *string `locationName:"TdeCredentialArn" type:"string"` TDECredentialPassword *string `locationName:"TdeCredentialPassword" type:"string"` Tags []*Tag `locationNameList:"Tag" type:"list"` - TargetDBInstanceIdentifier *string `type:"string"` + TargetDBInstanceIdentifier *string `type:"string" required:"true"` UseLatestRestorableTime *bool `type:"boolean"` metadataRestoreDBInstanceToPointInTimeInput `json:"-", xml:"-"` } type metadataRestoreDBInstanceToPointInTimeInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceDBInstanceIdentifier,TargetDBInstanceIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RestoreDBInstanceToPointInTimeOutput struct { @@ -3298,7 +3298,7 @@ type metadataRestoreDBInstanceToPointInTimeOutput struct { type RevokeDBSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` - DBSecurityGroupName *string `type:"string"` + DBSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupID *string `locationName:"EC2SecurityGroupId" type:"string"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` @@ -3307,7 +3307,7 @@ type RevokeDBSecurityGroupIngressInput struct { } type metadataRevokeDBSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"DBSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type RevokeDBSecurityGroupIngressOutput struct { diff --git a/service/redshift/api.go b/service/redshift/api.go index f8ea1765198..998687357b4 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -1420,7 +1420,7 @@ type metadataAccountWithRestoreAccess struct { type AuthorizeClusterSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` - ClusterSecurityGroupName *string `type:"string"` + ClusterSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` @@ -1428,7 +1428,7 @@ type AuthorizeClusterSecurityGroupIngressInput struct { } type metadataAuthorizeClusterSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeClusterSecurityGroupIngressOutput struct { @@ -1442,15 +1442,15 @@ type metadataAuthorizeClusterSecurityGroupIngressOutput struct { } type AuthorizeSnapshotAccessInput struct { - AccountWithRestoreAccess *string `type:"string"` + AccountWithRestoreAccess *string `type:"string" required:"true"` SnapshotClusterIdentifier *string `type:"string"` - SnapshotIdentifier *string `type:"string"` + SnapshotIdentifier *string `type:"string" required:"true"` metadataAuthorizeSnapshotAccessInput `json:"-", xml:"-"` } type metadataAuthorizeSnapshotAccessInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotIdentifier,AccountWithRestoreAccess"` + SDKShapeTraits bool `type:"structure"` } type AuthorizeSnapshotAccessOutput struct { @@ -1625,14 +1625,14 @@ type metadataClusterVersion struct { type CopyClusterSnapshotInput struct { SourceSnapshotClusterIdentifier *string `type:"string"` - SourceSnapshotIdentifier *string `type:"string"` - TargetSnapshotIdentifier *string `type:"string"` + SourceSnapshotIdentifier *string `type:"string" required:"true"` + TargetSnapshotIdentifier *string `type:"string" required:"true"` metadataCopyClusterSnapshotInput `json:"-", xml:"-"` } type metadataCopyClusterSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SourceSnapshotIdentifier,TargetSnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CopyClusterSnapshotOutput struct { @@ -1649,7 +1649,7 @@ type CreateClusterInput struct { AllowVersionUpgrade *bool `type:"boolean"` AutomatedSnapshotRetentionPeriod *int `type:"integer"` AvailabilityZone *string `type:"string"` - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` ClusterParameterGroupName *string `type:"string"` ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"` ClusterSubnetGroupName *string `type:"string"` @@ -1661,9 +1661,9 @@ type CreateClusterInput struct { HSMClientCertificateIdentifier *string `locationName:"HsmClientCertificateIdentifier" type:"string"` HSMConfigurationIdentifier *string `locationName:"HsmConfigurationIdentifier" type:"string"` KMSKeyID *string `locationName:"KmsKeyId" type:"string"` - MasterUserPassword *string `type:"string"` - MasterUsername *string `type:"string"` - NodeType *string `type:"string"` + MasterUserPassword *string `type:"string" required:"true"` + MasterUsername *string `type:"string" required:"true"` + NodeType *string `type:"string" required:"true"` NumberOfNodes *int `type:"integer"` Port *int `type:"integer"` PreferredMaintenanceWindow *string `type:"string"` @@ -1675,7 +1675,7 @@ type CreateClusterInput struct { } type metadataCreateClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier,NodeType,MasterUsername,MasterUserPassword"` + SDKShapeTraits bool `type:"structure"` } type CreateClusterOutput struct { @@ -1689,16 +1689,16 @@ type metadataCreateClusterOutput struct { } type CreateClusterParameterGroupInput struct { - Description *string `type:"string"` - ParameterGroupFamily *string `type:"string"` - ParameterGroupName *string `type:"string"` + Description *string `type:"string" required:"true"` + ParameterGroupFamily *string `type:"string" required:"true"` + ParameterGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateClusterParameterGroupInput `json:"-", xml:"-"` } type metadataCreateClusterParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupName,ParameterGroupFamily,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateClusterParameterGroupOutput struct { @@ -1712,15 +1712,15 @@ type metadataCreateClusterParameterGroupOutput struct { } type CreateClusterSecurityGroupInput struct { - ClusterSecurityGroupName *string `type:"string"` - Description *string `type:"string"` + ClusterSecurityGroupName *string `type:"string" required:"true"` + Description *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateClusterSecurityGroupInput `json:"-", xml:"-"` } type metadataCreateClusterSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSecurityGroupName,Description"` + SDKShapeTraits bool `type:"structure"` } type CreateClusterSecurityGroupOutput struct { @@ -1734,15 +1734,15 @@ type metadataCreateClusterSecurityGroupOutput struct { } type CreateClusterSnapshotInput struct { - ClusterIdentifier *string `type:"string"` - SnapshotIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` + SnapshotIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateClusterSnapshotInput `json:"-", xml:"-"` } type metadataCreateClusterSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotIdentifier,ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CreateClusterSnapshotOutput struct { @@ -1756,16 +1756,16 @@ type metadataCreateClusterSnapshotOutput struct { } type CreateClusterSubnetGroupInput struct { - ClusterSubnetGroupName *string `type:"string"` - Description *string `type:"string"` - SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` + ClusterSubnetGroupName *string `type:"string" required:"true"` + Description *string `type:"string" required:"true"` + SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateClusterSubnetGroupInput `json:"-", xml:"-"` } type metadataCreateClusterSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSubnetGroupName,Description,SubnetIds"` + SDKShapeTraits bool `type:"structure"` } type CreateClusterSubnetGroupOutput struct { @@ -1781,18 +1781,18 @@ type metadataCreateClusterSubnetGroupOutput struct { type CreateEventSubscriptionInput struct { Enabled *bool `type:"boolean"` EventCategories []*string `locationNameList:"EventCategory" type:"list"` - SNSTopicARN *string `locationName:"SnsTopicArn" type:"string"` + SNSTopicARN *string `locationName:"SnsTopicArn" type:"string" required:"true"` Severity *string `type:"string"` SourceIDs []*string `locationName:"SourceIds" locationNameList:"SourceId" type:"list"` SourceType *string `type:"string"` - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateEventSubscriptionInput `json:"-", xml:"-"` } type metadataCreateEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName,SnsTopicArn"` + SDKShapeTraits bool `type:"structure"` } type CreateEventSubscriptionOutput struct { @@ -1806,14 +1806,14 @@ type metadataCreateEventSubscriptionOutput struct { } type CreateHSMClientCertificateInput struct { - HSMClientCertificateIdentifier *string `locationName:"HsmClientCertificateIdentifier" type:"string"` + HSMClientCertificateIdentifier *string `locationName:"HsmClientCertificateIdentifier" type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateHSMClientCertificateInput `json:"-", xml:"-"` } type metadataCreateHSMClientCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"HsmClientCertificateIdentifier"` + SDKShapeTraits bool `type:"structure"` } type CreateHSMClientCertificateOutput struct { @@ -1827,19 +1827,19 @@ type metadataCreateHSMClientCertificateOutput struct { } type CreateHSMConfigurationInput struct { - Description *string `type:"string"` - HSMConfigurationIdentifier *string `locationName:"HsmConfigurationIdentifier" type:"string"` - HSMIPAddress *string `locationName:"HsmIpAddress" type:"string"` - HSMPartitionName *string `locationName:"HsmPartitionName" type:"string"` - HSMPartitionPassword *string `locationName:"HsmPartitionPassword" type:"string"` - HSMServerPublicCertificate *string `locationName:"HsmServerPublicCertificate" type:"string"` + Description *string `type:"string" required:"true"` + HSMConfigurationIdentifier *string `locationName:"HsmConfigurationIdentifier" type:"string" required:"true"` + HSMIPAddress *string `locationName:"HsmIpAddress" type:"string" required:"true"` + HSMPartitionName *string `locationName:"HsmPartitionName" type:"string" required:"true"` + HSMPartitionPassword *string `locationName:"HsmPartitionPassword" type:"string" required:"true"` + HSMServerPublicCertificate *string `locationName:"HsmServerPublicCertificate" type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` metadataCreateHSMConfigurationInput `json:"-", xml:"-"` } type metadataCreateHSMConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"HsmConfigurationIdentifier,Description,HsmIpAddress,HsmPartitionName,HsmPartitionPassword,HsmServerPublicCertificate"` + SDKShapeTraits bool `type:"structure"` } type CreateHSMConfigurationOutput struct { @@ -1853,14 +1853,14 @@ type metadataCreateHSMConfigurationOutput struct { } type CreateTagsInput struct { - ResourceName *string `type:"string"` - Tags []*Tag `locationNameList:"Tag" type:"list"` + ResourceName *string `type:"string" required:"true"` + Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` metadataCreateTagsInput `json:"-", xml:"-"` } type metadataCreateTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,Tags"` + SDKShapeTraits bool `type:"structure"` } type CreateTagsOutput struct { @@ -1884,7 +1884,7 @@ type metadataDefaultClusterParameters struct { } type DeleteClusterInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` FinalClusterSnapshotIdentifier *string `type:"string"` SkipFinalClusterSnapshot *bool `type:"boolean"` @@ -1892,7 +1892,7 @@ type DeleteClusterInput struct { } type metadataDeleteClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteClusterOutput struct { @@ -1906,13 +1906,13 @@ type metadataDeleteClusterOutput struct { } type DeleteClusterParameterGroupInput struct { - ParameterGroupName *string `type:"string"` + ParameterGroupName *string `type:"string" required:"true"` metadataDeleteClusterParameterGroupInput `json:"-", xml:"-"` } type metadataDeleteClusterParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteClusterParameterGroupOutput struct { @@ -1924,13 +1924,13 @@ type metadataDeleteClusterParameterGroupOutput struct { } type DeleteClusterSecurityGroupInput struct { - ClusterSecurityGroupName *string `type:"string"` + ClusterSecurityGroupName *string `type:"string" required:"true"` metadataDeleteClusterSecurityGroupInput `json:"-", xml:"-"` } type metadataDeleteClusterSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteClusterSecurityGroupOutput struct { @@ -1943,13 +1943,13 @@ type metadataDeleteClusterSecurityGroupOutput struct { type DeleteClusterSnapshotInput struct { SnapshotClusterIdentifier *string `type:"string"` - SnapshotIdentifier *string `type:"string"` + SnapshotIdentifier *string `type:"string" required:"true"` metadataDeleteClusterSnapshotInput `json:"-", xml:"-"` } type metadataDeleteClusterSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteClusterSnapshotOutput struct { @@ -1963,13 +1963,13 @@ type metadataDeleteClusterSnapshotOutput struct { } type DeleteClusterSubnetGroupInput struct { - ClusterSubnetGroupName *string `type:"string"` + ClusterSubnetGroupName *string `type:"string" required:"true"` metadataDeleteClusterSubnetGroupInput `json:"-", xml:"-"` } type metadataDeleteClusterSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSubnetGroupName"` + SDKShapeTraits bool `type:"structure"` } type DeleteClusterSubnetGroupOutput struct { @@ -1981,13 +1981,13 @@ type metadataDeleteClusterSubnetGroupOutput struct { } type DeleteEventSubscriptionInput struct { - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` metadataDeleteEventSubscriptionInput `json:"-", xml:"-"` } type metadataDeleteEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName"` + SDKShapeTraits bool `type:"structure"` } type DeleteEventSubscriptionOutput struct { @@ -1999,13 +1999,13 @@ type metadataDeleteEventSubscriptionOutput struct { } type DeleteHSMClientCertificateInput struct { - HSMClientCertificateIdentifier *string `locationName:"HsmClientCertificateIdentifier" type:"string"` + HSMClientCertificateIdentifier *string `locationName:"HsmClientCertificateIdentifier" type:"string" required:"true"` metadataDeleteHSMClientCertificateInput `json:"-", xml:"-"` } type metadataDeleteHSMClientCertificateInput struct { - SDKShapeTraits bool `type:"structure" required:"HsmClientCertificateIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteHSMClientCertificateOutput struct { @@ -2017,13 +2017,13 @@ type metadataDeleteHSMClientCertificateOutput struct { } type DeleteHSMConfigurationInput struct { - HSMConfigurationIdentifier *string `locationName:"HsmConfigurationIdentifier" type:"string"` + HSMConfigurationIdentifier *string `locationName:"HsmConfigurationIdentifier" type:"string" required:"true"` metadataDeleteHSMConfigurationInput `json:"-", xml:"-"` } type metadataDeleteHSMConfigurationInput struct { - SDKShapeTraits bool `type:"structure" required:"HsmConfigurationIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DeleteHSMConfigurationOutput struct { @@ -2035,14 +2035,14 @@ type metadataDeleteHSMConfigurationOutput struct { } type DeleteTagsInput struct { - ResourceName *string `type:"string"` - TagKeys []*string `locationNameList:"TagKey" type:"list"` + ResourceName *string `type:"string" required:"true"` + TagKeys []*string `locationNameList:"TagKey" type:"list" required:"true"` metadataDeleteTagsInput `json:"-", xml:"-"` } type metadataDeleteTagsInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceName,TagKeys"` + SDKShapeTraits bool `type:"structure"` } type DeleteTagsOutput struct { @@ -2081,14 +2081,14 @@ type metadataDescribeClusterParameterGroupsOutput struct { type DescribeClusterParametersInput struct { Marker *string `type:"string"` MaxRecords *int `type:"integer"` - ParameterGroupName *string `type:"string"` + ParameterGroupName *string `type:"string" required:"true"` Source *string `type:"string"` metadataDescribeClusterParametersInput `json:"-", xml:"-"` } type metadataDescribeClusterParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type DescribeClusterParametersOutput struct { @@ -2234,13 +2234,13 @@ type metadataDescribeClustersOutput struct { type DescribeDefaultClusterParametersInput struct { Marker *string `type:"string"` MaxRecords *int `type:"integer"` - ParameterGroupFamily *string `type:"string"` + ParameterGroupFamily *string `type:"string" required:"true"` metadataDescribeDefaultClusterParametersInput `json:"-", xml:"-"` } type metadataDescribeDefaultClusterParametersInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupFamily"` + SDKShapeTraits bool `type:"structure"` } type DescribeDefaultClusterParametersOutput struct { @@ -2374,13 +2374,13 @@ type metadataDescribeHSMConfigurationsOutput struct { } type DescribeLoggingStatusInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataDescribeLoggingStatusInput `json:"-", xml:"-"` } type metadataDescribeLoggingStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DescribeOrderableClusterOptionsInput struct { @@ -2454,13 +2454,13 @@ type metadataDescribeReservedNodesOutput struct { } type DescribeResizeInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataDescribeResizeInput `json:"-", xml:"-"` } type metadataDescribeResizeInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DescribeResizeOutput struct { @@ -2511,23 +2511,23 @@ type metadataDescribeTagsOutput struct { } type DisableLoggingInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataDisableLoggingInput `json:"-", xml:"-"` } type metadataDisableLoggingInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DisableSnapshotCopyInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataDisableSnapshotCopyInput `json:"-", xml:"-"` } type metadataDisableSnapshotCopyInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type DisableSnapshotCopyOutput struct { @@ -2565,27 +2565,27 @@ type metadataElasticIPStatus struct { } type EnableLoggingInput struct { - BucketName *string `type:"string"` - ClusterIdentifier *string `type:"string"` + BucketName *string `type:"string" required:"true"` + ClusterIdentifier *string `type:"string" required:"true"` S3KeyPrefix *string `type:"string"` metadataEnableLoggingInput `json:"-", xml:"-"` } type metadataEnableLoggingInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier,BucketName"` + SDKShapeTraits bool `type:"structure"` } type EnableSnapshotCopyInput struct { - ClusterIdentifier *string `type:"string"` - DestinationRegion *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` + DestinationRegion *string `type:"string" required:"true"` RetentionPeriod *int `type:"integer"` metadataEnableSnapshotCopyInput `json:"-", xml:"-"` } type metadataEnableSnapshotCopyInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier,DestinationRegion"` + SDKShapeTraits bool `type:"structure"` } type EnableSnapshotCopyOutput struct { @@ -2737,7 +2737,7 @@ type metadataLoggingStatus struct { type ModifyClusterInput struct { AllowVersionUpgrade *bool `type:"boolean"` AutomatedSnapshotRetentionPeriod *int `type:"integer"` - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` ClusterParameterGroupName *string `type:"string"` ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"` ClusterType *string `type:"string"` @@ -2755,7 +2755,7 @@ type ModifyClusterInput struct { } type metadataModifyClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type ModifyClusterOutput struct { @@ -2769,26 +2769,26 @@ type metadataModifyClusterOutput struct { } type ModifyClusterParameterGroupInput struct { - ParameterGroupName *string `type:"string"` - Parameters []*Parameter `locationNameList:"Parameter" type:"list"` + ParameterGroupName *string `type:"string" required:"true"` + Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` metadataModifyClusterParameterGroupInput `json:"-", xml:"-"` } type metadataModifyClusterParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupName,Parameters"` + SDKShapeTraits bool `type:"structure"` } type ModifyClusterSubnetGroupInput struct { - ClusterSubnetGroupName *string `type:"string"` + ClusterSubnetGroupName *string `type:"string" required:"true"` Description *string `type:"string"` - SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list"` + SubnetIDs []*string `locationName:"SubnetIds" locationNameList:"SubnetIdentifier" type:"list" required:"true"` metadataModifyClusterSubnetGroupInput `json:"-", xml:"-"` } type metadataModifyClusterSubnetGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSubnetGroupName,SubnetIds"` + SDKShapeTraits bool `type:"structure"` } type ModifyClusterSubnetGroupOutput struct { @@ -2808,13 +2808,13 @@ type ModifyEventSubscriptionInput struct { Severity *string `type:"string"` SourceIDs []*string `locationName:"SourceIds" locationNameList:"SourceId" type:"list"` SourceType *string `type:"string"` - SubscriptionName *string `type:"string"` + SubscriptionName *string `type:"string" required:"true"` metadataModifyEventSubscriptionInput `json:"-", xml:"-"` } type metadataModifyEventSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionName"` + SDKShapeTraits bool `type:"structure"` } type ModifyEventSubscriptionOutput struct { @@ -2828,14 +2828,14 @@ type metadataModifyEventSubscriptionOutput struct { } type ModifySnapshotCopyRetentionPeriodInput struct { - ClusterIdentifier *string `type:"string"` - RetentionPeriod *int `type:"integer"` + ClusterIdentifier *string `type:"string" required:"true"` + RetentionPeriod *int `type:"integer" required:"true"` metadataModifySnapshotCopyRetentionPeriodInput `json:"-", xml:"-"` } type metadataModifySnapshotCopyRetentionPeriodInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier,RetentionPeriod"` + SDKShapeTraits bool `type:"structure"` } type ModifySnapshotCopyRetentionPeriodOutput struct { @@ -2896,13 +2896,13 @@ type metadataPendingModifiedValues struct { type PurchaseReservedNodeOfferingInput struct { NodeCount *int `type:"integer"` - ReservedNodeOfferingID *string `locationName:"ReservedNodeOfferingId" type:"string"` + ReservedNodeOfferingID *string `locationName:"ReservedNodeOfferingId" type:"string" required:"true"` metadataPurchaseReservedNodeOfferingInput `json:"-", xml:"-"` } type metadataPurchaseReservedNodeOfferingInput struct { - SDKShapeTraits bool `type:"structure" required:"ReservedNodeOfferingId"` + SDKShapeTraits bool `type:"structure"` } type PurchaseReservedNodeOfferingOutput struct { @@ -2916,13 +2916,13 @@ type metadataPurchaseReservedNodeOfferingOutput struct { } type RebootClusterInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataRebootClusterInput `json:"-", xml:"-"` } type metadataRebootClusterInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RebootClusterOutput struct { @@ -2985,7 +2985,7 @@ type metadataReservedNodeOffering struct { } type ResetClusterParameterGroupInput struct { - ParameterGroupName *string `type:"string"` + ParameterGroupName *string `type:"string" required:"true"` Parameters []*Parameter `locationNameList:"Parameter" type:"list"` ResetAllParameters *bool `type:"boolean"` @@ -2993,14 +2993,14 @@ type ResetClusterParameterGroupInput struct { } type metadataResetClusterParameterGroupInput struct { - SDKShapeTraits bool `type:"structure" required:"ParameterGroupName"` + SDKShapeTraits bool `type:"structure"` } type RestoreFromClusterSnapshotInput struct { AllowVersionUpgrade *bool `type:"boolean"` AutomatedSnapshotRetentionPeriod *int `type:"integer"` AvailabilityZone *string `type:"string"` - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` ClusterParameterGroupName *string `type:"string"` ClusterSecurityGroups []*string `locationNameList:"ClusterSecurityGroupName" type:"list"` ClusterSubnetGroupName *string `type:"string"` @@ -3013,14 +3013,14 @@ type RestoreFromClusterSnapshotInput struct { PreferredMaintenanceWindow *string `type:"string"` PubliclyAccessible *bool `type:"boolean"` SnapshotClusterIdentifier *string `type:"string"` - SnapshotIdentifier *string `type:"string"` + SnapshotIdentifier *string `type:"string" required:"true"` VPCSecurityGroupIDs []*string `locationName:"VpcSecurityGroupIds" locationNameList:"VpcSecurityGroupId" type:"list"` metadataRestoreFromClusterSnapshotInput `json:"-", xml:"-"` } type metadataRestoreFromClusterSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier,SnapshotIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RestoreFromClusterSnapshotOutput struct { @@ -3050,7 +3050,7 @@ type metadataRestoreStatus struct { type RevokeClusterSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` - ClusterSecurityGroupName *string `type:"string"` + ClusterSecurityGroupName *string `type:"string" required:"true"` EC2SecurityGroupName *string `type:"string"` EC2SecurityGroupOwnerID *string `locationName:"EC2SecurityGroupOwnerId" type:"string"` @@ -3058,7 +3058,7 @@ type RevokeClusterSecurityGroupIngressInput struct { } type metadataRevokeClusterSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterSecurityGroupName"` + SDKShapeTraits bool `type:"structure"` } type RevokeClusterSecurityGroupIngressOutput struct { @@ -3072,15 +3072,15 @@ type metadataRevokeClusterSecurityGroupIngressOutput struct { } type RevokeSnapshotAccessInput struct { - AccountWithRestoreAccess *string `type:"string"` + AccountWithRestoreAccess *string `type:"string" required:"true"` SnapshotClusterIdentifier *string `type:"string"` - SnapshotIdentifier *string `type:"string"` + SnapshotIdentifier *string `type:"string" required:"true"` metadataRevokeSnapshotAccessInput `json:"-", xml:"-"` } type metadataRevokeSnapshotAccessInput struct { - SDKShapeTraits bool `type:"structure" required:"SnapshotIdentifier,AccountWithRestoreAccess"` + SDKShapeTraits bool `type:"structure"` } type RevokeSnapshotAccessOutput struct { @@ -3094,13 +3094,13 @@ type metadataRevokeSnapshotAccessOutput struct { } type RotateEncryptionKeyInput struct { - ClusterIdentifier *string `type:"string"` + ClusterIdentifier *string `type:"string" required:"true"` metadataRotateEncryptionKeyInput `json:"-", xml:"-"` } type metadataRotateEncryptionKeyInput struct { - SDKShapeTraits bool `type:"structure" required:"ClusterIdentifier"` + SDKShapeTraits bool `type:"structure"` } type RotateEncryptionKeyOutput struct { diff --git a/service/route53/api.go b/service/route53/api.go index 3da86c7c437..ae55cd75c59 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -709,106 +709,106 @@ func (c *Route53) UpdateHostedZoneComment(input *UpdateHostedZoneCommentInput) ( var opUpdateHostedZoneComment *aws.Operation type AliasTarget struct { - DNSName *string `type:"string"` - EvaluateTargetHealth *bool `type:"boolean"` - HostedZoneID *string `locationName:"HostedZoneId" type:"string"` + DNSName *string `type:"string" required:"true"` + EvaluateTargetHealth *bool `type:"boolean" required:"true"` + HostedZoneID *string `locationName:"HostedZoneId" type:"string" required:"true"` metadataAliasTarget `json:"-", xml:"-"` } type metadataAliasTarget struct { - SDKShapeTraits bool `type:"structure" required:"HostedZoneId,DNSName,EvaluateTargetHealth"` + SDKShapeTraits bool `type:"structure"` } type AssociateVPCWithHostedZoneInput struct { Comment *string `type:"string"` - HostedZoneID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` - VPC *VPC `type:"structure"` + HostedZoneID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` + VPC *VPC `type:"structure" required:"true"` metadataAssociateVPCWithHostedZoneInput `json:"-", xml:"-"` } type metadataAssociateVPCWithHostedZoneInput struct { - SDKShapeTraits bool `locationName:"AssociateVPCWithHostedZoneRequest" type:"structure" required:"HostedZoneId,VPC" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"AssociateVPCWithHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type AssociateVPCWithHostedZoneOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` metadataAssociateVPCWithHostedZoneOutput `json:"-", xml:"-"` } type metadataAssociateVPCWithHostedZoneOutput struct { - SDKShapeTraits bool `type:"structure" required:"ChangeInfo"` + SDKShapeTraits bool `type:"structure"` } type Change struct { - Action *string `type:"string"` - ResourceRecordSet *ResourceRecordSet `type:"structure"` + Action *string `type:"string" required:"true"` + ResourceRecordSet *ResourceRecordSet `type:"structure" required:"true"` metadataChange `json:"-", xml:"-"` } type metadataChange struct { - SDKShapeTraits bool `type:"structure" required:"Action,ResourceRecordSet"` + SDKShapeTraits bool `type:"structure"` } type ChangeBatch struct { - Changes []*Change `locationNameList:"Change" type:"list"` + Changes []*Change `locationNameList:"Change" type:"list" required:"true"` Comment *string `type:"string"` metadataChangeBatch `json:"-", xml:"-"` } type metadataChangeBatch struct { - SDKShapeTraits bool `type:"structure" required:"Changes"` + SDKShapeTraits bool `type:"structure"` } type ChangeInfo struct { Comment *string `type:"string"` - ID *string `locationName:"Id" type:"string"` - Status *string `type:"string"` - SubmittedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` + ID *string `locationName:"Id" type:"string" required:"true"` + Status *string `type:"string" required:"true"` + SubmittedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` metadataChangeInfo `json:"-", xml:"-"` } type metadataChangeInfo struct { - SDKShapeTraits bool `type:"structure" required:"Id,Status,SubmittedAt"` + SDKShapeTraits bool `type:"structure"` } type ChangeResourceRecordSetsInput struct { - ChangeBatch *ChangeBatch `type:"structure"` - HostedZoneID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ChangeBatch *ChangeBatch `type:"structure" required:"true"` + HostedZoneID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataChangeResourceRecordSetsInput `json:"-", xml:"-"` } type metadataChangeResourceRecordSetsInput struct { - SDKShapeTraits bool `locationName:"ChangeResourceRecordSetsRequest" type:"structure" required:"HostedZoneId,ChangeBatch" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"ChangeResourceRecordSetsRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type ChangeResourceRecordSetsOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` metadataChangeResourceRecordSetsOutput `json:"-", xml:"-"` } type metadataChangeResourceRecordSetsOutput struct { - SDKShapeTraits bool `type:"structure" required:"ChangeInfo"` + SDKShapeTraits bool `type:"structure"` } type ChangeTagsForResourceInput struct { AddTags []*Tag `locationNameList:"Tag" type:"list"` RemoveTagKeys []*string `locationNameList:"Key" type:"list"` - ResourceID *string `location:"uri" locationName:"ResourceId" type:"string" json:"-" xml:"-"` - ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" json:"-" xml:"-"` + ResourceID *string `location:"uri" locationName:"ResourceId" type:"string" required:"true"json:"-" xml:"-"` + ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true"json:"-" xml:"-"` metadataChangeTagsForResourceInput `json:"-", xml:"-"` } type metadataChangeTagsForResourceInput struct { - SDKShapeTraits bool `locationName:"ChangeTagsForResourceRequest" type:"structure" required:"ResourceType,ResourceId" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"ChangeTagsForResourceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type ChangeTagsForResourceOutput struct { @@ -820,97 +820,97 @@ type metadataChangeTagsForResourceOutput struct { } type CreateHealthCheckInput struct { - CallerReference *string `type:"string"` - HealthCheckConfig *HealthCheckConfig `type:"structure"` + CallerReference *string `type:"string" required:"true"` + HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` metadataCreateHealthCheckInput `json:"-", xml:"-"` } type metadataCreateHealthCheckInput struct { - SDKShapeTraits bool `locationName:"CreateHealthCheckRequest" type:"structure" required:"CallerReference,HealthCheckConfig" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"CreateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type CreateHealthCheckOutput struct { - HealthCheck *HealthCheck `type:"structure"` - Location *string `location:"header" locationName:"Location" type:"string" json:"-" xml:"-"` + HealthCheck *HealthCheck `type:"structure" required:"true"` + Location *string `location:"header" locationName:"Location" type:"string" required:"true"json:"-" xml:"-"` metadataCreateHealthCheckOutput `json:"-", xml:"-"` } type metadataCreateHealthCheckOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheck,Location"` + SDKShapeTraits bool `type:"structure"` } type CreateHostedZoneInput struct { - CallerReference *string `type:"string"` + CallerReference *string `type:"string" required:"true"` DelegationSetID *string `locationName:"DelegationSetId" type:"string"` HostedZoneConfig *HostedZoneConfig `type:"structure"` - Name *string `type:"string"` + Name *string `type:"string" required:"true"` VPC *VPC `type:"structure"` metadataCreateHostedZoneInput `json:"-", xml:"-"` } type metadataCreateHostedZoneInput struct { - SDKShapeTraits bool `locationName:"CreateHostedZoneRequest" type:"structure" required:"Name,CallerReference" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"CreateHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type CreateHostedZoneOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` - DelegationSet *DelegationSet `type:"structure"` - HostedZone *HostedZone `type:"structure"` - Location *string `location:"header" locationName:"Location" type:"string" json:"-" xml:"-"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` + DelegationSet *DelegationSet `type:"structure" required:"true"` + HostedZone *HostedZone `type:"structure" required:"true"` + Location *string `location:"header" locationName:"Location" type:"string" required:"true"json:"-" xml:"-"` VPC *VPC `type:"structure"` metadataCreateHostedZoneOutput `json:"-", xml:"-"` } type metadataCreateHostedZoneOutput struct { - SDKShapeTraits bool `type:"structure" required:"HostedZone,ChangeInfo,DelegationSet,Location"` + SDKShapeTraits bool `type:"structure"` } type CreateReusableDelegationSetInput struct { - CallerReference *string `type:"string"` + CallerReference *string `type:"string" required:"true"` HostedZoneID *string `locationName:"HostedZoneId" type:"string"` metadataCreateReusableDelegationSetInput `json:"-", xml:"-"` } type metadataCreateReusableDelegationSetInput struct { - SDKShapeTraits bool `locationName:"CreateReusableDelegationSetRequest" type:"structure" required:"CallerReference" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"CreateReusableDelegationSetRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type CreateReusableDelegationSetOutput struct { - DelegationSet *DelegationSet `type:"structure"` - Location *string `location:"header" locationName:"Location" type:"string" json:"-" xml:"-"` + DelegationSet *DelegationSet `type:"structure" required:"true"` + Location *string `location:"header" locationName:"Location" type:"string" required:"true"json:"-" xml:"-"` metadataCreateReusableDelegationSetOutput `json:"-", xml:"-"` } type metadataCreateReusableDelegationSetOutput struct { - SDKShapeTraits bool `type:"structure" required:"DelegationSet,Location"` + SDKShapeTraits bool `type:"structure"` } type DelegationSet struct { CallerReference *string `type:"string"` ID *string `locationName:"Id" type:"string"` - NameServers []*string `locationNameList:"NameServer" type:"list"` + NameServers []*string `locationNameList:"NameServer" type:"list" required:"true"` metadataDelegationSet `json:"-", xml:"-"` } type metadataDelegationSet struct { - SDKShapeTraits bool `type:"structure" required:"NameServers"` + SDKShapeTraits bool `type:"structure"` } type DeleteHealthCheckInput struct { - HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" json:"-" xml:"-"` + HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteHealthCheckInput `json:"-", xml:"-"` } type metadataDeleteHealthCheckInput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckId"` + SDKShapeTraits bool `type:"structure"` } type DeleteHealthCheckOutput struct { @@ -922,33 +922,33 @@ type metadataDeleteHealthCheckOutput struct { } type DeleteHostedZoneInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteHostedZoneInput `json:"-", xml:"-"` } type metadataDeleteHostedZoneInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteHostedZoneOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` metadataDeleteHostedZoneOutput `json:"-", xml:"-"` } type metadataDeleteHostedZoneOutput struct { - SDKShapeTraits bool `type:"structure" required:"ChangeInfo"` + SDKShapeTraits bool `type:"structure"` } type DeleteReusableDelegationSetInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteReusableDelegationSetInput `json:"-", xml:"-"` } type metadataDeleteReusableDelegationSetInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteReusableDelegationSetOutput struct { @@ -961,24 +961,24 @@ type metadataDeleteReusableDelegationSetOutput struct { type DisassociateVPCFromHostedZoneInput struct { Comment *string `type:"string"` - HostedZoneID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` - VPC *VPC `type:"structure"` + HostedZoneID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` + VPC *VPC `type:"structure" required:"true"` metadataDisassociateVPCFromHostedZoneInput `json:"-", xml:"-"` } type metadataDisassociateVPCFromHostedZoneInput struct { - SDKShapeTraits bool `locationName:"DisassociateVPCFromHostedZoneRequest" type:"structure" required:"HostedZoneId,VPC" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"DisassociateVPCFromHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type DisassociateVPCFromHostedZoneOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` metadataDisassociateVPCFromHostedZoneOutput `json:"-", xml:"-"` } type metadataDisassociateVPCFromHostedZoneOutput struct { - SDKShapeTraits bool `type:"structure" required:"ChangeInfo"` + SDKShapeTraits bool `type:"structure"` } type GeoLocation struct { @@ -1009,23 +1009,23 @@ type metadataGeoLocationDetails struct { } type GetChangeInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetChangeInput `json:"-", xml:"-"` } type metadataGetChangeInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetChangeOutput struct { - ChangeInfo *ChangeInfo `type:"structure"` + ChangeInfo *ChangeInfo `type:"structure" required:"true"` metadataGetChangeOutput `json:"-", xml:"-"` } type metadataGetChangeOutput struct { - SDKShapeTraits bool `type:"structure" required:"ChangeInfo"` + SDKShapeTraits bool `type:"structure"` } type GetCheckerIPRangesInput struct { @@ -1037,13 +1037,13 @@ type metadataGetCheckerIPRangesInput struct { } type GetCheckerIPRangesOutput struct { - CheckerIPRanges []*string `locationName:"CheckerIpRanges" type:"list"` + CheckerIPRanges []*string `locationName:"CheckerIpRanges" type:"list" required:"true"` metadataGetCheckerIPRangesOutput `json:"-", xml:"-"` } type metadataGetCheckerIPRangesOutput struct { - SDKShapeTraits bool `type:"structure" required:"CheckerIpRanges"` + SDKShapeTraits bool `type:"structure"` } type GetGeoLocationInput struct { @@ -1059,13 +1059,13 @@ type metadataGetGeoLocationInput struct { } type GetGeoLocationOutput struct { - GeoLocationDetails *GeoLocationDetails `type:"structure"` + GeoLocationDetails *GeoLocationDetails `type:"structure" required:"true"` metadataGetGeoLocationOutput `json:"-", xml:"-"` } type metadataGetGeoLocationOutput struct { - SDKShapeTraits bool `type:"structure" required:"GeoLocationDetails"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckCountInput struct { @@ -1077,128 +1077,128 @@ type metadataGetHealthCheckCountInput struct { } type GetHealthCheckCountOutput struct { - HealthCheckCount *int64 `type:"long"` + HealthCheckCount *int64 `type:"long" required:"true"` metadataGetHealthCheckCountOutput `json:"-", xml:"-"` } type metadataGetHealthCheckCountOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckCount"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckInput struct { - HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" json:"-" xml:"-"` + HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"json:"-" xml:"-"` metadataGetHealthCheckInput `json:"-", xml:"-"` } type metadataGetHealthCheckInput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckId"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckLastFailureReasonInput struct { - HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" json:"-" xml:"-"` + HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"json:"-" xml:"-"` metadataGetHealthCheckLastFailureReasonInput `json:"-", xml:"-"` } type metadataGetHealthCheckLastFailureReasonInput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckId"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckLastFailureReasonOutput struct { - HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list"` + HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` metadataGetHealthCheckLastFailureReasonOutput `json:"-", xml:"-"` } type metadataGetHealthCheckLastFailureReasonOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckObservations"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckOutput struct { - HealthCheck *HealthCheck `type:"structure"` + HealthCheck *HealthCheck `type:"structure" required:"true"` metadataGetHealthCheckOutput `json:"-", xml:"-"` } type metadataGetHealthCheckOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheck"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckStatusInput struct { - HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" json:"-" xml:"-"` + HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"json:"-" xml:"-"` metadataGetHealthCheckStatusInput `json:"-", xml:"-"` } type metadataGetHealthCheckStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckId"` + SDKShapeTraits bool `type:"structure"` } type GetHealthCheckStatusOutput struct { - HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list"` + HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` metadataGetHealthCheckStatusOutput `json:"-", xml:"-"` } type metadataGetHealthCheckStatusOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheckObservations"` + SDKShapeTraits bool `type:"structure"` } type GetHostedZoneInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetHostedZoneInput `json:"-", xml:"-"` } type metadataGetHostedZoneInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetHostedZoneOutput struct { DelegationSet *DelegationSet `type:"structure"` - HostedZone *HostedZone `type:"structure"` + HostedZone *HostedZone `type:"structure" required:"true"` VPCs []*VPC `locationNameList:"VPC" type:"list"` metadataGetHostedZoneOutput `json:"-", xml:"-"` } type metadataGetHostedZoneOutput struct { - SDKShapeTraits bool `type:"structure" required:"HostedZone"` + SDKShapeTraits bool `type:"structure"` } type GetReusableDelegationSetInput struct { - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataGetReusableDelegationSetInput `json:"-", xml:"-"` } type metadataGetReusableDelegationSetInput struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type GetReusableDelegationSetOutput struct { - DelegationSet *DelegationSet `type:"structure"` + DelegationSet *DelegationSet `type:"structure" required:"true"` metadataGetReusableDelegationSetOutput `json:"-", xml:"-"` } type metadataGetReusableDelegationSetOutput struct { - SDKShapeTraits bool `type:"structure" required:"DelegationSet"` + SDKShapeTraits bool `type:"structure"` } type HealthCheck struct { - CallerReference *string `type:"string"` - HealthCheckConfig *HealthCheckConfig `type:"structure"` - HealthCheckVersion *int64 `type:"long"` - ID *string `locationName:"Id" type:"string"` + CallerReference *string `type:"string" required:"true"` + HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` + HealthCheckVersion *int64 `type:"long" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` metadataHealthCheck `json:"-", xml:"-"` } type metadataHealthCheck struct { - SDKShapeTraits bool `type:"structure" required:"Id,CallerReference,HealthCheckConfig,HealthCheckVersion"` + SDKShapeTraits bool `type:"structure"` } type HealthCheckConfig struct { @@ -1209,13 +1209,13 @@ type HealthCheckConfig struct { RequestInterval *int `type:"integer"` ResourcePath *string `type:"string"` SearchString *string `type:"string"` - Type *string `type:"string"` + Type *string `type:"string" required:"true"` metadataHealthCheckConfig `json:"-", xml:"-"` } type metadataHealthCheckConfig struct { - SDKShapeTraits bool `type:"structure" required:"Type"` + SDKShapeTraits bool `type:"structure"` } type HealthCheckObservation struct { @@ -1230,17 +1230,17 @@ type metadataHealthCheckObservation struct { } type HostedZone struct { - CallerReference *string `type:"string"` + CallerReference *string `type:"string" required:"true"` Config *HostedZoneConfig `type:"structure"` - ID *string `locationName:"Id" type:"string"` - Name *string `type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` + Name *string `type:"string" required:"true"` ResourceRecordSetCount *int64 `type:"long"` metadataHostedZone `json:"-", xml:"-"` } type metadataHostedZone struct { - SDKShapeTraits bool `type:"structure" required:"Id,Name,CallerReference"` + SDKShapeTraits bool `type:"structure"` } type HostedZoneConfig struct { @@ -1268,9 +1268,9 @@ type metadataListGeoLocationsInput struct { } type ListGeoLocationsOutput struct { - GeoLocationDetailsList []*GeoLocationDetails `locationNameList:"GeoLocationDetails" type:"list"` - IsTruncated *bool `type:"boolean"` - MaxItems *string `type:"string"` + GeoLocationDetailsList []*GeoLocationDetails `locationNameList:"GeoLocationDetails" type:"list" required:"true"` + IsTruncated *bool `type:"boolean" required:"true"` + MaxItems *string `type:"string" required:"true"` NextContinentCode *string `type:"string"` NextCountryCode *string `type:"string"` NextSubdivisionCode *string `type:"string"` @@ -1279,7 +1279,7 @@ type ListGeoLocationsOutput struct { } type metadataListGeoLocationsOutput struct { - SDKShapeTraits bool `type:"structure" required:"GeoLocationDetailsList,IsTruncated,MaxItems"` + SDKShapeTraits bool `type:"structure"` } type ListHealthChecksInput struct { @@ -1294,17 +1294,17 @@ type metadataListHealthChecksInput struct { } type ListHealthChecksOutput struct { - HealthChecks []*HealthCheck `locationNameList:"HealthCheck" type:"list"` - IsTruncated *bool `type:"boolean"` - Marker *string `type:"string"` - MaxItems *string `type:"string"` + HealthChecks []*HealthCheck `locationNameList:"HealthCheck" type:"list" required:"true"` + IsTruncated *bool `type:"boolean" required:"true"` + Marker *string `type:"string" required:"true"` + MaxItems *string `type:"string" required:"true"` NextMarker *string `type:"string"` metadataListHealthChecksOutput `json:"-", xml:"-"` } type metadataListHealthChecksOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthChecks,Marker,IsTruncated,MaxItems"` + SDKShapeTraits bool `type:"structure"` } type ListHostedZonesInput struct { @@ -1320,21 +1320,21 @@ type metadataListHostedZonesInput struct { } type ListHostedZonesOutput struct { - HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list"` - IsTruncated *bool `type:"boolean"` - Marker *string `type:"string"` - MaxItems *string `type:"string"` + HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` + IsTruncated *bool `type:"boolean" required:"true"` + Marker *string `type:"string" required:"true"` + MaxItems *string `type:"string" required:"true"` NextMarker *string `type:"string"` metadataListHostedZonesOutput `json:"-", xml:"-"` } type metadataListHostedZonesOutput struct { - SDKShapeTraits bool `type:"structure" required:"HostedZones,Marker,IsTruncated,MaxItems"` + SDKShapeTraits bool `type:"structure"` } type ListResourceRecordSetsInput struct { - HostedZoneID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + HostedZoneID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string" json:"-" xml:"-"` StartRecordIdentifier *string `location:"querystring" locationName:"identifier" type:"string" json:"-" xml:"-"` StartRecordName *string `location:"querystring" locationName:"name" type:"string" json:"-" xml:"-"` @@ -1344,22 +1344,22 @@ type ListResourceRecordSetsInput struct { } type metadataListResourceRecordSetsInput struct { - SDKShapeTraits bool `type:"structure" required:"HostedZoneId"` + SDKShapeTraits bool `type:"structure"` } type ListResourceRecordSetsOutput struct { - IsTruncated *bool `type:"boolean"` - MaxItems *string `type:"string"` + IsTruncated *bool `type:"boolean" required:"true"` + MaxItems *string `type:"string" required:"true"` NextRecordIdentifier *string `type:"string"` NextRecordName *string `type:"string"` NextRecordType *string `type:"string"` - ResourceRecordSets []*ResourceRecordSet `locationNameList:"ResourceRecordSet" type:"list"` + ResourceRecordSets []*ResourceRecordSet `locationNameList:"ResourceRecordSet" type:"list" required:"true"` metadataListResourceRecordSetsOutput `json:"-", xml:"-"` } type metadataListResourceRecordSetsOutput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceRecordSets,IsTruncated,MaxItems"` + SDKShapeTraits bool `type:"structure"` } type ListReusableDelegationSetsInput struct { @@ -1374,69 +1374,69 @@ type metadataListReusableDelegationSetsInput struct { } type ListReusableDelegationSetsOutput struct { - DelegationSets []*DelegationSet `locationNameList:"DelegationSet" type:"list"` - IsTruncated *bool `type:"boolean"` - Marker *string `type:"string"` - MaxItems *string `type:"string"` + DelegationSets []*DelegationSet `locationNameList:"DelegationSet" type:"list" required:"true"` + IsTruncated *bool `type:"boolean" required:"true"` + Marker *string `type:"string" required:"true"` + MaxItems *string `type:"string" required:"true"` NextMarker *string `type:"string"` metadataListReusableDelegationSetsOutput `json:"-", xml:"-"` } type metadataListReusableDelegationSetsOutput struct { - SDKShapeTraits bool `type:"structure" required:"DelegationSets,Marker,IsTruncated,MaxItems"` + SDKShapeTraits bool `type:"structure"` } type ListTagsForResourceInput struct { - ResourceID *string `location:"uri" locationName:"ResourceId" type:"string" json:"-" xml:"-"` - ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" json:"-" xml:"-"` + ResourceID *string `location:"uri" locationName:"ResourceId" type:"string" required:"true"json:"-" xml:"-"` + ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true"json:"-" xml:"-"` metadataListTagsForResourceInput `json:"-", xml:"-"` } type metadataListTagsForResourceInput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceType,ResourceId"` + SDKShapeTraits bool `type:"structure"` } type ListTagsForResourceOutput struct { - ResourceTagSet *ResourceTagSet `type:"structure"` + ResourceTagSet *ResourceTagSet `type:"structure" required:"true"` metadataListTagsForResourceOutput `json:"-", xml:"-"` } type metadataListTagsForResourceOutput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceTagSet"` + SDKShapeTraits bool `type:"structure"` } type ListTagsForResourcesInput struct { - ResourceIDs []*string `locationName:"ResourceIds" locationNameList:"ResourceId" type:"list"` - ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" json:"-" xml:"-"` + ResourceIDs []*string `locationName:"ResourceIds" locationNameList:"ResourceId" type:"list" required:"true"` + ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true"json:"-" xml:"-"` metadataListTagsForResourcesInput `json:"-", xml:"-"` } type metadataListTagsForResourcesInput struct { - SDKShapeTraits bool `locationName:"ListTagsForResourcesRequest" type:"structure" required:"ResourceType,ResourceIds" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"ListTagsForResourcesRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type ListTagsForResourcesOutput struct { - ResourceTagSets []*ResourceTagSet `locationNameList:"ResourceTagSet" type:"list"` + ResourceTagSets []*ResourceTagSet `locationNameList:"ResourceTagSet" type:"list" required:"true"` metadataListTagsForResourcesOutput `json:"-", xml:"-"` } type metadataListTagsForResourcesOutput struct { - SDKShapeTraits bool `type:"structure" required:"ResourceTagSets"` + SDKShapeTraits bool `type:"structure"` } type ResourceRecord struct { - Value *string `type:"string"` + Value *string `type:"string" required:"true"` metadataResourceRecord `json:"-", xml:"-"` } type metadataResourceRecord struct { - SDKShapeTraits bool `type:"structure" required:"Value"` + SDKShapeTraits bool `type:"structure"` } type ResourceRecordSet struct { @@ -1444,19 +1444,19 @@ type ResourceRecordSet struct { Failover *string `type:"string"` GeoLocation *GeoLocation `type:"structure"` HealthCheckID *string `locationName:"HealthCheckId" type:"string"` - Name *string `type:"string"` + Name *string `type:"string" required:"true"` Region *string `type:"string"` ResourceRecords []*ResourceRecord `locationNameList:"ResourceRecord" type:"list"` SetIdentifier *string `type:"string"` TTL *int64 `type:"long"` - Type *string `type:"string"` + Type *string `type:"string" required:"true"` Weight *int64 `type:"long"` metadataResourceRecordSet `json:"-", xml:"-"` } type metadataResourceRecordSet struct { - SDKShapeTraits bool `type:"structure" required:"Name,Type"` + SDKShapeTraits bool `type:"structure"` } type ResourceTagSet struct { @@ -1496,7 +1496,7 @@ type metadataTag struct { type UpdateHealthCheckInput struct { FailureThreshold *int `type:"integer"` FullyQualifiedDomainName *string `type:"string"` - HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" json:"-" xml:"-"` + HealthCheckID *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"json:"-" xml:"-"` HealthCheckVersion *int64 `type:"long"` IPAddress *string `type:"string"` Port *int `type:"integer"` @@ -1507,38 +1507,38 @@ type UpdateHealthCheckInput struct { } type metadataUpdateHealthCheckInput struct { - SDKShapeTraits bool `locationName:"UpdateHealthCheckRequest" type:"structure" required:"HealthCheckId" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"UpdateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type UpdateHealthCheckOutput struct { - HealthCheck *HealthCheck `type:"structure"` + HealthCheck *HealthCheck `type:"structure" required:"true"` metadataUpdateHealthCheckOutput `json:"-", xml:"-"` } type metadataUpdateHealthCheckOutput struct { - SDKShapeTraits bool `type:"structure" required:"HealthCheck"` + SDKShapeTraits bool `type:"structure"` } type UpdateHostedZoneCommentInput struct { Comment *string `type:"string"` - ID *string `location:"uri" locationName:"Id" type:"string" json:"-" xml:"-"` + ID *string `location:"uri" locationName:"Id" type:"string" required:"true"json:"-" xml:"-"` metadataUpdateHostedZoneCommentInput `json:"-", xml:"-"` } type metadataUpdateHostedZoneCommentInput struct { - SDKShapeTraits bool `locationName:"UpdateHostedZoneCommentRequest" type:"structure" required:"Id" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` + SDKShapeTraits bool `locationName:"UpdateHostedZoneCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` } type UpdateHostedZoneCommentOutput struct { - HostedZone *HostedZone `type:"structure"` + HostedZone *HostedZone `type:"structure" required:"true"` metadataUpdateHostedZoneCommentOutput `json:"-", xml:"-"` } type metadataUpdateHostedZoneCommentOutput struct { - SDKShapeTraits bool `type:"structure" required:"HostedZone"` + SDKShapeTraits bool `type:"structure"` } type VPC struct { diff --git a/service/route53domains/api.go b/service/route53domains/api.go index 45314261a48..1c1a91a292b 100644 --- a/service/route53domains/api.go +++ b/service/route53domains/api.go @@ -459,24 +459,24 @@ func (c *Route53Domains) UpdateTagsForDomain(input *UpdateTagsForDomainInput) (o var opUpdateTagsForDomain *aws.Operation type CheckDomainAvailabilityInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` IDNLangCode *string `locationName:"IdnLangCode" type:"string" json:"IdnLangCode,omitempty"` metadataCheckDomainAvailabilityInput `json:"-", xml:"-"` } type metadataCheckDomainAvailabilityInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CheckDomainAvailabilityOutput struct { - Availability *string `type:"string" json:",omitempty"` + Availability *string `type:"string" required:"true"json:",omitempty"` metadataCheckDomainAvailabilityOutput `json:"-", xml:"-"` } type metadataCheckDomainAvailabilityOutput struct { - SDKShapeTraits bool `type:"structure" required:"Availability" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ContactDetail struct { @@ -503,14 +503,14 @@ type metadataContactDetail struct { } type DeleteTagsForDomainInput struct { - DomainName *string `type:"string" json:",omitempty"` - TagsToDelete []*string `type:"list" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` + TagsToDelete []*string `type:"list" required:"true"json:",omitempty"` metadataDeleteTagsForDomainInput `json:"-", xml:"-"` } type metadataDeleteTagsForDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,TagsToDelete" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTagsForDomainOutput struct { @@ -522,13 +522,13 @@ type metadataDeleteTagsForDomainOutput struct { } type DisableDomainAutoRenewInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataDisableDomainAutoRenewInput `json:"-", xml:"-"` } type metadataDisableDomainAutoRenewInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisableDomainAutoRenewOutput struct { @@ -540,28 +540,28 @@ type metadataDisableDomainAutoRenewOutput struct { } type DisableDomainTransferLockInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataDisableDomainTransferLockInput `json:"-", xml:"-"` } type metadataDisableDomainTransferLockInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisableDomainTransferLockOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataDisableDomainTransferLockOutput `json:"-", xml:"-"` } type metadataDisableDomainTransferLockOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DomainSummary struct { AutoRenew *bool `type:"boolean" json:",omitempty"` - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` Expiry *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` TransferLock *bool `type:"boolean" json:",omitempty"` @@ -569,17 +569,17 @@ type DomainSummary struct { } type metadataDomainSummary struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EnableDomainAutoRenewInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataEnableDomainAutoRenewInput `json:"-", xml:"-"` } type metadataEnableDomainAutoRenewInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EnableDomainAutoRenewOutput struct { @@ -591,65 +591,65 @@ type metadataEnableDomainAutoRenewOutput struct { } type EnableDomainTransferLockInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataEnableDomainTransferLockInput `json:"-", xml:"-"` } type metadataEnableDomainTransferLockInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type EnableDomainTransferLockOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataEnableDomainTransferLockOutput `json:"-", xml:"-"` } type metadataEnableDomainTransferLockOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ExtraParam struct { - Name *string `type:"string" json:",omitempty"` - Value *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` + Value *string `type:"string" required:"true"json:",omitempty"` metadataExtraParam `json:"-", xml:"-"` } type metadataExtraParam struct { - SDKShapeTraits bool `type:"structure" required:"Name,Value" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDomainDetailInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataGetDomainDetailInput `json:"-", xml:"-"` } type metadataGetDomainDetailInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDomainDetailOutput struct { AbuseContactEmail *string `type:"string" json:",omitempty"` AbuseContactPhone *string `type:"string" json:",omitempty"` - AdminContact *ContactDetail `type:"structure" json:",omitempty"` + AdminContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` AdminPrivacy *bool `type:"boolean" json:",omitempty"` AutoRenew *bool `type:"boolean" json:",omitempty"` CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` DNSSec *string `locationName:"DnsSec" type:"string" json:"DnsSec,omitempty"` - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` ExpirationDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - Nameservers []*Nameserver `type:"list" json:",omitempty"` - RegistrantContact *ContactDetail `type:"structure" json:",omitempty"` + Nameservers []*Nameserver `type:"list" required:"true"json:",omitempty"` + RegistrantContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` RegistrantPrivacy *bool `type:"boolean" json:",omitempty"` RegistrarName *string `type:"string" json:",omitempty"` RegistrarURL *string `locationName:"RegistrarUrl" type:"string" json:"RegistrarUrl,omitempty"` RegistryDomainID *string `locationName:"RegistryDomainId" type:"string" json:"RegistryDomainId,omitempty"` Reseller *string `type:"string" json:",omitempty"` StatusList []*string `type:"list" json:",omitempty"` - TechContact *ContactDetail `type:"structure" json:",omitempty"` + TechContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` TechPrivacy *bool `type:"boolean" json:",omitempty"` UpdatedDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` WhoIsServer *string `type:"string" json:",omitempty"` @@ -658,17 +658,17 @@ type GetDomainDetailOutput struct { } type metadataGetDomainDetailOutput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,Nameservers,AdminContact,RegistrantContact,TechContact" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetOperationDetailInput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataGetOperationDetailInput `json:"-", xml:"-"` } type metadataGetOperationDetailInput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetOperationDetailOutput struct { @@ -698,14 +698,14 @@ type metadataListDomainsInput struct { } type ListDomainsOutput struct { - Domains []*DomainSummary `type:"list" json:",omitempty"` + Domains []*DomainSummary `type:"list" required:"true"json:",omitempty"` NextPageMarker *string `type:"string" json:",omitempty"` metadataListDomainsOutput `json:"-", xml:"-"` } type metadataListDomainsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Domains" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListOperationsInput struct { @@ -721,106 +721,106 @@ type metadataListOperationsInput struct { type ListOperationsOutput struct { NextPageMarker *string `type:"string" json:",omitempty"` - Operations []*OperationSummary `type:"list" json:",omitempty"` + Operations []*OperationSummary `type:"list" required:"true"json:",omitempty"` metadataListOperationsOutput `json:"-", xml:"-"` } type metadataListOperationsOutput struct { - SDKShapeTraits bool `type:"structure" required:"Operations" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListTagsForDomainInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataListTagsForDomainInput `json:"-", xml:"-"` } type metadataListTagsForDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListTagsForDomainOutput struct { - TagList []*Tag `type:"list" json:",omitempty"` + TagList []*Tag `type:"list" required:"true"json:",omitempty"` metadataListTagsForDomainOutput `json:"-", xml:"-"` } type metadataListTagsForDomainOutput struct { - SDKShapeTraits bool `type:"structure" required:"TagList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Nameserver struct { GlueIPs []*string `locationName:"GlueIps" type:"list" json:"GlueIps,omitempty"` - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataNameserver `json:"-", xml:"-"` } type metadataNameserver struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type OperationSummary struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` - Status *string `type:"string" json:",omitempty"` - SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - Type *string `type:"string" json:",omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` + Status *string `type:"string" required:"true"json:",omitempty"` + SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"json:",omitempty"` + Type *string `type:"string" required:"true"json:",omitempty"` metadataOperationSummary `json:"-", xml:"-"` } type metadataOperationSummary struct { - SDKShapeTraits bool `type:"structure" required:"OperationId,Status,Type,SubmittedDate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterDomainInput struct { - AdminContact *ContactDetail `type:"structure" json:",omitempty"` + AdminContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` AutoRenew *bool `type:"boolean" json:",omitempty"` - DomainName *string `type:"string" json:",omitempty"` - DurationInYears *int `type:"integer" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` + DurationInYears *int `type:"integer" required:"true"json:",omitempty"` IDNLangCode *string `locationName:"IdnLangCode" type:"string" json:"IdnLangCode,omitempty"` PrivacyProtectAdminContact *bool `type:"boolean" json:",omitempty"` PrivacyProtectRegistrantContact *bool `type:"boolean" json:",omitempty"` PrivacyProtectTechContact *bool `type:"boolean" json:",omitempty"` - RegistrantContact *ContactDetail `type:"structure" json:",omitempty"` - TechContact *ContactDetail `type:"structure" json:",omitempty"` + RegistrantContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` + TechContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` metadataRegisterDomainInput `json:"-", xml:"-"` } type metadataRegisterDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,DurationInYears,AdminContact,RegistrantContact,TechContact" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterDomainOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataRegisterDomainOutput `json:"-", xml:"-"` } type metadataRegisterDomainOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RetrieveDomainAuthCodeInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` metadataRetrieveDomainAuthCodeInput `json:"-", xml:"-"` } type metadataRetrieveDomainAuthCodeInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RetrieveDomainAuthCodeOutput struct { - AuthCode *string `type:"string" json:",omitempty"` + AuthCode *string `type:"string" required:"true"json:",omitempty"` metadataRetrieveDomainAuthCodeOutput `json:"-", xml:"-"` } type metadataRetrieveDomainAuthCodeOutput struct { - SDKShapeTraits bool `type:"structure" required:"AuthCode" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Tag struct { @@ -835,39 +835,39 @@ type metadataTag struct { } type TransferDomainInput struct { - AdminContact *ContactDetail `type:"structure" json:",omitempty"` + AdminContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` AuthCode *string `type:"string" json:",omitempty"` AutoRenew *bool `type:"boolean" json:",omitempty"` - DomainName *string `type:"string" json:",omitempty"` - DurationInYears *int `type:"integer" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` + DurationInYears *int `type:"integer" required:"true"json:",omitempty"` IDNLangCode *string `locationName:"IdnLangCode" type:"string" json:"IdnLangCode,omitempty"` Nameservers []*Nameserver `type:"list" json:",omitempty"` PrivacyProtectAdminContact *bool `type:"boolean" json:",omitempty"` PrivacyProtectRegistrantContact *bool `type:"boolean" json:",omitempty"` PrivacyProtectTechContact *bool `type:"boolean" json:",omitempty"` - RegistrantContact *ContactDetail `type:"structure" json:",omitempty"` - TechContact *ContactDetail `type:"structure" json:",omitempty"` + RegistrantContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` + TechContact *ContactDetail `type:"structure" required:"true"json:",omitempty"` metadataTransferDomainInput `json:"-", xml:"-"` } type metadataTransferDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,DurationInYears,AdminContact,RegistrantContact,TechContact" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TransferDomainOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataTransferDomainOutput `json:"-", xml:"-"` } type metadataTransferDomainOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainContactInput struct { AdminContact *ContactDetail `type:"structure" json:",omitempty"` - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` RegistrantContact *ContactDetail `type:"structure" json:",omitempty"` TechContact *ContactDetail `type:"structure" json:",omitempty"` @@ -875,22 +875,22 @@ type UpdateDomainContactInput struct { } type metadataUpdateDomainContactInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainContactOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataUpdateDomainContactOutput `json:"-", xml:"-"` } type metadataUpdateDomainContactOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainContactPrivacyInput struct { AdminPrivacy *bool `type:"boolean" json:",omitempty"` - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` RegistrantPrivacy *bool `type:"boolean" json:",omitempty"` TechPrivacy *bool `type:"boolean" json:",omitempty"` @@ -898,50 +898,50 @@ type UpdateDomainContactPrivacyInput struct { } type metadataUpdateDomainContactPrivacyInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainContactPrivacyOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataUpdateDomainContactPrivacyOutput `json:"-", xml:"-"` } type metadataUpdateDomainContactPrivacyOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainNameserversInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` FIAuthKey *string `type:"string" json:",omitempty"` - Nameservers []*Nameserver `type:"list" json:",omitempty"` + Nameservers []*Nameserver `type:"list" required:"true"json:",omitempty"` metadataUpdateDomainNameserversInput `json:"-", xml:"-"` } type metadataUpdateDomainNameserversInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName,Nameservers" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateDomainNameserversOutput struct { - OperationID *string `locationName:"OperationId" type:"string" json:"OperationId,omitempty"` + OperationID *string `locationName:"OperationId" type:"string" required:"true"json:"OperationId,omitempty"` metadataUpdateDomainNameserversOutput `json:"-", xml:"-"` } type metadataUpdateDomainNameserversOutput struct { - SDKShapeTraits bool `type:"structure" required:"OperationId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateTagsForDomainInput struct { - DomainName *string `type:"string" json:",omitempty"` + DomainName *string `type:"string" required:"true"json:",omitempty"` TagsToUpdate []*Tag `type:"list" json:",omitempty"` metadataUpdateTagsForDomainInput `json:"-", xml:"-"` } type metadataUpdateTagsForDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"DomainName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateTagsForDomainOutput struct { diff --git a/service/s3/api.go b/service/s3/api.go index 189ca4bc515..765dfaa0d90 100644 --- a/service/s3/api.go +++ b/service/s3/api.go @@ -1235,15 +1235,15 @@ func (c *S3) UploadPartCopy(input *UploadPartCopyInput) (output *UploadPartCopyO var opUploadPartCopy *aws.Operation type AbortMultipartUploadInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` - UploadID *string `location:"querystring" locationName:"uploadId" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` + UploadID *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"json:"-" xml:"-"` metadataAbortMultipartUploadInput `json:"-", xml:"-"` } type metadataAbortMultipartUploadInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key,UploadId"` + SDKShapeTraits bool `type:"structure"` } type AbortMultipartUploadOutput struct { @@ -1335,16 +1335,16 @@ type metadataCommonPrefix struct { } type CompleteMultipartUploadInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure"` - UploadID *string `location:"querystring" locationName:"uploadId" type:"string" json:"-" xml:"-"` + UploadID *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"json:"-" xml:"-"` metadataCompleteMultipartUploadInput `json:"-", xml:"-"` } type metadataCompleteMultipartUploadInput struct { - SDKShapeTraits bool `type:"structure" payload:"MultipartUpload" required:"Bucket,Key,UploadId"` + SDKShapeTraits bool `type:"structure" payload:"MultipartUpload"` } type CompleteMultipartUploadOutput struct { @@ -1398,13 +1398,13 @@ type metadataCondition struct { type CopyObjectInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` CacheControl *string `location:"header" locationName:"Cache-Control" type:"string" json:"-" xml:"-"` ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string" json:"-" xml:"-"` ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string" json:"-" xml:"-"` ContentLanguage *string `location:"header" locationName:"Content-Language" type:"string" json:"-" xml:"-"` ContentType *string `location:"header" locationName:"Content-Type" type:"string" json:"-" xml:"-"` - CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" json:"-" xml:"-"` + CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"json:"-" xml:"-"` CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string" json:"-" xml:"-"` CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string" json:"-" xml:"-"` @@ -1417,7 +1417,7 @@ type CopyObjectInput struct { GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string" json:"-" xml:"-"` GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` Metadata *map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map" json:"-" xml:"-"` MetadataDirective *string `location:"header" locationName:"x-amz-metadata-directive" type:"string" json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` @@ -1432,7 +1432,7 @@ type CopyObjectInput struct { } type metadataCopyObjectInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,CopySource,Key"` + SDKShapeTraits bool `type:"structure"` } type CopyObjectOutput struct { @@ -1485,7 +1485,7 @@ type metadataCreateBucketConfiguration struct { type CreateBucketInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure"` GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string" json:"-" xml:"-"` GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` @@ -1497,7 +1497,7 @@ type CreateBucketInput struct { } type metadataCreateBucketInput struct { - SDKShapeTraits bool `type:"structure" payload:"CreateBucketConfiguration" required:"Bucket"` + SDKShapeTraits bool `type:"structure" payload:"CreateBucketConfiguration"` } type CreateBucketOutput struct { @@ -1512,7 +1512,7 @@ type metadataCreateBucketOutput struct { type CreateMultipartUploadInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` CacheControl *string `location:"header" locationName:"Cache-Control" type:"string" json:"-" xml:"-"` ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string" json:"-" xml:"-"` ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string" json:"-" xml:"-"` @@ -1523,7 +1523,7 @@ type CreateMultipartUploadInput struct { GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string" json:"-" xml:"-"` GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` Metadata *map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map" json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` @@ -1537,7 +1537,7 @@ type CreateMultipartUploadInput struct { } type metadataCreateMultipartUploadInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type CreateMultipartUploadOutput struct { @@ -1557,24 +1557,24 @@ type metadataCreateMultipartUploadOutput struct { } type Delete struct { - Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true"` + Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"` Quiet *bool `type:"boolean"` metadataDelete `json:"-", xml:"-"` } type metadataDelete struct { - SDKShapeTraits bool `type:"structure" required:"Objects"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketCORSInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketCORSInput `json:"-", xml:"-"` } type metadataDeleteBucketCORSInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketCORSOutput struct { @@ -1586,23 +1586,23 @@ type metadataDeleteBucketCORSOutput struct { } type DeleteBucketInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketInput `json:"-", xml:"-"` } type metadataDeleteBucketInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketLifecycleInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketLifecycleInput `json:"-", xml:"-"` } type metadataDeleteBucketLifecycleInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketLifecycleOutput struct { @@ -1622,13 +1622,13 @@ type metadataDeleteBucketOutput struct { } type DeleteBucketPolicyInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketPolicyInput `json:"-", xml:"-"` } type metadataDeleteBucketPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketPolicyOutput struct { @@ -1640,13 +1640,13 @@ type metadataDeleteBucketPolicyOutput struct { } type DeleteBucketTaggingInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketTaggingInput `json:"-", xml:"-"` } type metadataDeleteBucketTaggingInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketTaggingOutput struct { @@ -1658,13 +1658,13 @@ type metadataDeleteBucketTaggingOutput struct { } type DeleteBucketWebsiteInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataDeleteBucketWebsiteInput `json:"-", xml:"-"` } type metadataDeleteBucketWebsiteInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type DeleteBucketWebsiteOutput struct { @@ -1690,8 +1690,8 @@ type metadataDeleteMarkerEntry struct { } type DeleteObjectInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` MFA *string `location:"header" locationName:"x-amz-mfa" type:"string" json:"-" xml:"-"` VersionID *string `location:"querystring" locationName:"versionId" type:"string" json:"-" xml:"-"` @@ -1699,7 +1699,7 @@ type DeleteObjectInput struct { } type metadataDeleteObjectInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type DeleteObjectOutput struct { @@ -1714,15 +1714,15 @@ type metadataDeleteObjectOutput struct { } type DeleteObjectsInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Delete *Delete `locationName:"Delete" type:"structure"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Delete *Delete `locationName:"Delete" type:"structure" required:"true"` MFA *string `location:"header" locationName:"x-amz-mfa" type:"string" json:"-" xml:"-"` metadataDeleteObjectsInput `json:"-", xml:"-"` } type metadataDeleteObjectsInput struct { - SDKShapeTraits bool `type:"structure" payload:"Delete" required:"Bucket,Delete"` + SDKShapeTraits bool `type:"structure" payload:"Delete"` } type DeleteObjectsOutput struct { @@ -1763,23 +1763,23 @@ type metadataError struct { } type ErrorDocument struct { - Key *string `type:"string"` + Key *string `type:"string" required:"true"` metadataErrorDocument `json:"-", xml:"-"` } type metadataErrorDocument struct { - SDKShapeTraits bool `type:"structure" required:"Key"` + SDKShapeTraits bool `type:"structure"` } type GetBucketACLInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketACLInput `json:"-", xml:"-"` } type metadataGetBucketACLInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketACLOutput struct { @@ -1794,13 +1794,13 @@ type metadataGetBucketACLOutput struct { } type GetBucketCORSInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketCORSInput `json:"-", xml:"-"` } type metadataGetBucketCORSInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketCORSOutput struct { @@ -1814,13 +1814,13 @@ type metadataGetBucketCORSOutput struct { } type GetBucketLifecycleInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketLifecycleInput `json:"-", xml:"-"` } type metadataGetBucketLifecycleInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketLifecycleOutput struct { @@ -1834,13 +1834,13 @@ type metadataGetBucketLifecycleOutput struct { } type GetBucketLocationInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketLocationInput `json:"-", xml:"-"` } type metadataGetBucketLocationInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketLocationOutput struct { @@ -1854,13 +1854,13 @@ type metadataGetBucketLocationOutput struct { } type GetBucketLoggingInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketLoggingInput `json:"-", xml:"-"` } type metadataGetBucketLoggingInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketLoggingOutput struct { @@ -1874,13 +1874,13 @@ type metadataGetBucketLoggingOutput struct { } type GetBucketNotificationInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketNotificationInput `json:"-", xml:"-"` } type metadataGetBucketNotificationInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketNotificationOutput struct { @@ -1896,13 +1896,13 @@ type metadataGetBucketNotificationOutput struct { } type GetBucketPolicyInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketPolicyInput `json:"-", xml:"-"` } type metadataGetBucketPolicyInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketPolicyOutput struct { @@ -1916,13 +1916,13 @@ type metadataGetBucketPolicyOutput struct { } type GetBucketRequestPaymentInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketRequestPaymentInput `json:"-", xml:"-"` } type metadataGetBucketRequestPaymentInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketRequestPaymentOutput struct { @@ -1936,33 +1936,33 @@ type metadataGetBucketRequestPaymentOutput struct { } type GetBucketTaggingInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketTaggingInput `json:"-", xml:"-"` } type metadataGetBucketTaggingInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketTaggingOutput struct { - TagSet []*Tag `locationNameList:"Tag" type:"list"` + TagSet []*Tag `locationNameList:"Tag" type:"list" required:"true"` metadataGetBucketTaggingOutput `json:"-", xml:"-"` } type metadataGetBucketTaggingOutput struct { - SDKShapeTraits bool `type:"structure" required:"TagSet"` + SDKShapeTraits bool `type:"structure"` } type GetBucketVersioningInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketVersioningInput `json:"-", xml:"-"` } type metadataGetBucketVersioningInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketVersioningOutput struct { @@ -1977,13 +1977,13 @@ type metadataGetBucketVersioningOutput struct { } type GetBucketWebsiteInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataGetBucketWebsiteInput `json:"-", xml:"-"` } type metadataGetBucketWebsiteInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type GetBucketWebsiteOutput struct { @@ -2000,15 +2000,15 @@ type metadataGetBucketWebsiteOutput struct { } type GetObjectACLInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` VersionID *string `location:"querystring" locationName:"versionId" type:"string" json:"-" xml:"-"` metadataGetObjectACLInput `json:"-", xml:"-"` } type metadataGetObjectACLInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type GetObjectACLOutput struct { @@ -2023,12 +2023,12 @@ type metadataGetObjectACLOutput struct { } type GetObjectInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` IfNoneMatch *string `location:"header" locationName:"If-None-Match" type:"string" json:"-" xml:"-"` IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` Range *string `location:"header" locationName:"Range" type:"string" json:"-" xml:"-"` ResponseCacheControl *string `location:"querystring" locationName:"response-cache-control" type:"string" json:"-" xml:"-"` ResponseContentDisposition *string `location:"querystring" locationName:"response-content-disposition" type:"string" json:"-" xml:"-"` @@ -2045,7 +2045,7 @@ type GetObjectInput struct { } type metadataGetObjectInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type GetObjectOutput struct { @@ -2080,14 +2080,14 @@ type metadataGetObjectOutput struct { } type GetObjectTorrentInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` metadataGetObjectTorrentInput `json:"-", xml:"-"` } type metadataGetObjectTorrentInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type GetObjectTorrentOutput struct { @@ -2115,24 +2115,24 @@ type Grantee struct { DisplayName *string `type:"string"` EmailAddress *string `type:"string"` ID *string `type:"string"` - Type *string `locationName:"xsi:type" type:"string"` + Type *string `locationName:"xsi:type" type:"string" required:"true"` URI *string `type:"string"` metadataGrantee `json:"-", xml:"-"` } type metadataGrantee struct { - SDKShapeTraits bool `type:"structure" required:"Type" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` + SDKShapeTraits bool `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` } type HeadBucketInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` metadataHeadBucketInput `json:"-", xml:"-"` } type metadataHeadBucketInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type HeadBucketOutput struct { @@ -2144,12 +2144,12 @@ type metadataHeadBucketOutput struct { } type HeadObjectInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` IfMatch *string `location:"header" locationName:"If-Match" type:"string" json:"-" xml:"-"` IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` IfNoneMatch *string `location:"header" locationName:"If-None-Match" type:"string" json:"-" xml:"-"` IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` Range *string `location:"header" locationName:"Range" type:"string" json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` @@ -2160,7 +2160,7 @@ type HeadObjectInput struct { } type metadataHeadObjectInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure"` } type HeadObjectOutput struct { @@ -2194,13 +2194,13 @@ type metadataHeadObjectOutput struct { } type IndexDocument struct { - Suffix *string `type:"string"` + Suffix *string `type:"string" required:"true"` metadataIndexDocument `json:"-", xml:"-"` } type metadataIndexDocument struct { - SDKShapeTraits bool `type:"structure" required:"Suffix"` + SDKShapeTraits bool `type:"structure"` } type Initiator struct { @@ -2215,13 +2215,13 @@ type metadataInitiator struct { } type LifecycleConfiguration struct { - Rules []*Rule `locationName:"Rule" type:"list" flattened:"true"` + Rules []*Rule `locationName:"Rule" type:"list" flattened:"true" required:"true"` metadataLifecycleConfiguration `json:"-", xml:"-"` } type metadataLifecycleConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"Rules"` + SDKShapeTraits bool `type:"structure"` } type LifecycleExpiration struct { @@ -2255,7 +2255,7 @@ type metadataListBucketsOutput struct { } type ListMultipartUploadsInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` Delimiter *string `location:"querystring" locationName:"delimiter" type:"string" json:"-" xml:"-"` EncodingType *string `location:"querystring" locationName:"encoding-type" type:"string" json:"-" xml:"-"` KeyMarker *string `location:"querystring" locationName:"key-marker" type:"string" json:"-" xml:"-"` @@ -2267,7 +2267,7 @@ type ListMultipartUploadsInput struct { } type metadataListMultipartUploadsInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type ListMultipartUploadsOutput struct { @@ -2292,7 +2292,7 @@ type metadataListMultipartUploadsOutput struct { } type ListObjectVersionsInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` Delimiter *string `location:"querystring" locationName:"delimiter" type:"string" json:"-" xml:"-"` EncodingType *string `location:"querystring" locationName:"encoding-type" type:"string" json:"-" xml:"-"` KeyMarker *string `location:"querystring" locationName:"key-marker" type:"string" json:"-" xml:"-"` @@ -2304,7 +2304,7 @@ type ListObjectVersionsInput struct { } type metadataListObjectVersionsInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type ListObjectVersionsOutput struct { @@ -2330,7 +2330,7 @@ type metadataListObjectVersionsOutput struct { } type ListObjectsInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` Delimiter *string `location:"querystring" locationName:"delimiter" type:"string" json:"-" xml:"-"` EncodingType *string `location:"querystring" locationName:"encoding-type" type:"string" json:"-" xml:"-"` Marker *string `location:"querystring" locationName:"marker" type:"string" json:"-" xml:"-"` @@ -2341,7 +2341,7 @@ type ListObjectsInput struct { } type metadataListObjectsInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket"` + SDKShapeTraits bool `type:"structure"` } type ListObjectsOutput struct { @@ -2364,17 +2364,17 @@ type metadataListObjectsOutput struct { } type ListPartsInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` MaxParts *int `location:"querystring" locationName:"max-parts" type:"integer" json:"-" xml:"-"` PartNumberMarker *int `location:"querystring" locationName:"part-number-marker" type:"integer" json:"-" xml:"-"` - UploadID *string `location:"querystring" locationName:"uploadId" type:"string" json:"-" xml:"-"` + UploadID *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"json:"-" xml:"-"` metadataListPartsInput `json:"-", xml:"-"` } type metadataListPartsInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,Key,UploadId"` + SDKShapeTraits bool `type:"structure"` } type ListPartsOutput struct { @@ -2473,14 +2473,14 @@ type metadataObject struct { } type ObjectIdentifier struct { - Key *string `type:"string"` + Key *string `type:"string" required:"true"` VersionID *string `locationName:"VersionId" type:"string"` metadataObjectIdentifier `json:"-", xml:"-"` } type metadataObjectIdentifier struct { - SDKShapeTraits bool `type:"structure" required:"Key"` + SDKShapeTraits bool `type:"structure"` } type ObjectVersion struct { @@ -2527,7 +2527,7 @@ type metadataPart struct { type PutBucketACLInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string" json:"-" xml:"-"` GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` @@ -2539,7 +2539,7 @@ type PutBucketACLInput struct { } type metadataPutBucketACLInput struct { - SDKShapeTraits bool `type:"structure" payload:"AccessControlPolicy" required:"Bucket"` + SDKShapeTraits bool `type:"structure" payload:"AccessControlPolicy"` } type PutBucketACLOutput struct { @@ -2551,7 +2551,7 @@ type metadataPutBucketACLOutput struct { } type PutBucketCORSInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` CORSConfiguration *CORSConfiguration `locationName:"CORSConfiguration" type:"structure"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` @@ -2559,7 +2559,7 @@ type PutBucketCORSInput struct { } type metadataPutBucketCORSInput struct { - SDKShapeTraits bool `type:"structure" payload:"CORSConfiguration" required:"Bucket"` + SDKShapeTraits bool `type:"structure" payload:"CORSConfiguration"` } type PutBucketCORSOutput struct { @@ -2571,7 +2571,7 @@ type metadataPutBucketCORSOutput struct { } type PutBucketLifecycleInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure"` @@ -2579,7 +2579,7 @@ type PutBucketLifecycleInput struct { } type metadataPutBucketLifecycleInput struct { - SDKShapeTraits bool `type:"structure" payload:"LifecycleConfiguration" required:"Bucket"` + SDKShapeTraits bool `type:"structure" payload:"LifecycleConfiguration"` } type PutBucketLifecycleOutput struct { @@ -2591,15 +2591,15 @@ type metadataPutBucketLifecycleOutput struct { } type PutBucketLoggingInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure" required:"true"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` metadataPutBucketLoggingInput `json:"-", xml:"-"` } type metadataPutBucketLoggingInput struct { - SDKShapeTraits bool `type:"structure" payload:"BucketLoggingStatus" required:"Bucket,BucketLoggingStatus"` + SDKShapeTraits bool `type:"structure" payload:"BucketLoggingStatus"` } type PutBucketLoggingOutput struct { @@ -2611,15 +2611,15 @@ type metadataPutBucketLoggingOutput struct { } type PutBucketNotificationInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - NotificationConfiguration *NotificationConfiguration `locationName:"NotificationConfiguration" type:"structure"` + NotificationConfiguration *NotificationConfiguration `locationName:"NotificationConfiguration" type:"structure" required:"true"` metadataPutBucketNotificationInput `json:"-", xml:"-"` } type metadataPutBucketNotificationInput struct { - SDKShapeTraits bool `type:"structure" payload:"NotificationConfiguration" required:"Bucket,NotificationConfiguration"` + SDKShapeTraits bool `type:"structure" payload:"NotificationConfiguration"` } type PutBucketNotificationOutput struct { @@ -2631,15 +2631,15 @@ type metadataPutBucketNotificationOutput struct { } type PutBucketPolicyInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - Policy *string `type:"string"` + Policy *string `type:"string" required:"true"` metadataPutBucketPolicyInput `json:"-", xml:"-"` } type metadataPutBucketPolicyInput struct { - SDKShapeTraits bool `type:"structure" payload:"Policy" required:"Bucket,Policy"` + SDKShapeTraits bool `type:"structure" payload:"Policy"` } type PutBucketPolicyOutput struct { @@ -2651,15 +2651,15 @@ type metadataPutBucketPolicyOutput struct { } type PutBucketRequestPaymentInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure"` + RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure" required:"true"` metadataPutBucketRequestPaymentInput `json:"-", xml:"-"` } type metadataPutBucketRequestPaymentInput struct { - SDKShapeTraits bool `type:"structure" payload:"RequestPaymentConfiguration" required:"Bucket,RequestPaymentConfiguration"` + SDKShapeTraits bool `type:"structure" payload:"RequestPaymentConfiguration"` } type PutBucketRequestPaymentOutput struct { @@ -2671,15 +2671,15 @@ type metadataPutBucketRequestPaymentOutput struct { } type PutBucketTaggingInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - Tagging *Tagging `locationName:"Tagging" type:"structure"` + Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true"` metadataPutBucketTaggingInput `json:"-", xml:"-"` } type metadataPutBucketTaggingInput struct { - SDKShapeTraits bool `type:"structure" payload:"Tagging" required:"Bucket,Tagging"` + SDKShapeTraits bool `type:"structure" payload:"Tagging"` } type PutBucketTaggingOutput struct { @@ -2691,16 +2691,16 @@ type metadataPutBucketTaggingOutput struct { } type PutBucketVersioningInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` MFA *string `location:"header" locationName:"x-amz-mfa" type:"string" json:"-" xml:"-"` - VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure"` + VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure" required:"true"` metadataPutBucketVersioningInput `json:"-", xml:"-"` } type metadataPutBucketVersioningInput struct { - SDKShapeTraits bool `type:"structure" payload:"VersioningConfiguration" required:"Bucket,VersioningConfiguration"` + SDKShapeTraits bool `type:"structure" payload:"VersioningConfiguration"` } type PutBucketVersioningOutput struct { @@ -2712,15 +2712,15 @@ type metadataPutBucketVersioningOutput struct { } type PutBucketWebsiteInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure"` + WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure" required:"true"` metadataPutBucketWebsiteInput `json:"-", xml:"-"` } type metadataPutBucketWebsiteInput struct { - SDKShapeTraits bool `type:"structure" payload:"WebsiteConfiguration" required:"Bucket,WebsiteConfiguration"` + SDKShapeTraits bool `type:"structure" payload:"WebsiteConfiguration"` } type PutBucketWebsiteOutput struct { @@ -2734,20 +2734,20 @@ type metadataPutBucketWebsiteOutput struct { type PutObjectACLInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string" json:"-" xml:"-"` GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string" json:"-" xml:"-"` GrantWrite *string `location:"header" locationName:"x-amz-grant-write" type:"string" json:"-" xml:"-"` GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` metadataPutObjectACLInput `json:"-", xml:"-"` } type metadataPutObjectACLInput struct { - SDKShapeTraits bool `type:"structure" payload:"AccessControlPolicy" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure" payload:"AccessControlPolicy"` } type PutObjectACLOutput struct { @@ -2761,7 +2761,7 @@ type metadataPutObjectACLOutput struct { type PutObjectInput struct { ACL *string `location:"header" locationName:"x-amz-acl" type:"string" json:"-" xml:"-"` Body io.ReadSeeker `type:"blob"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` CacheControl *string `location:"header" locationName:"Cache-Control" type:"string" json:"-" xml:"-"` ContentDisposition *string `location:"header" locationName:"Content-Disposition" type:"string" json:"-" xml:"-"` ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string" json:"-" xml:"-"` @@ -2774,7 +2774,7 @@ type PutObjectInput struct { GrantRead *string `location:"header" locationName:"x-amz-grant-read" type:"string" json:"-" xml:"-"` GrantReadACP *string `location:"header" locationName:"x-amz-grant-read-acp" type:"string" json:"-" xml:"-"` GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` Metadata *map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map" json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` @@ -2788,7 +2788,7 @@ type PutObjectInput struct { } type metadataPutObjectInput struct { - SDKShapeTraits bool `type:"structure" payload:"Body" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure" payload:"Body"` } type PutObjectOutput struct { @@ -2835,29 +2835,29 @@ type metadataRedirect struct { } type RedirectAllRequestsTo struct { - HostName *string `type:"string"` + HostName *string `type:"string" required:"true"` Protocol *string `type:"string"` metadataRedirectAllRequestsTo `json:"-", xml:"-"` } type metadataRedirectAllRequestsTo struct { - SDKShapeTraits bool `type:"structure" required:"HostName"` + SDKShapeTraits bool `type:"structure"` } type RequestPaymentConfiguration struct { - Payer *string `type:"string"` + Payer *string `type:"string" required:"true"` metadataRequestPaymentConfiguration `json:"-", xml:"-"` } type metadataRequestPaymentConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"Payer"` + SDKShapeTraits bool `type:"structure"` } type RestoreObjectInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` RestoreRequest *RestoreRequest `locationName:"RestoreRequest" type:"structure"` VersionID *string `location:"querystring" locationName:"versionId" type:"string" json:"-" xml:"-"` @@ -2865,7 +2865,7 @@ type RestoreObjectInput struct { } type metadataRestoreObjectInput struct { - SDKShapeTraits bool `type:"structure" payload:"RestoreRequest" required:"Bucket,Key"` + SDKShapeTraits bool `type:"structure" payload:"RestoreRequest"` } type RestoreObjectOutput struct { @@ -2877,24 +2877,24 @@ type metadataRestoreObjectOutput struct { } type RestoreRequest struct { - Days *int `type:"integer"` + Days *int `type:"integer" required:"true"` metadataRestoreRequest `json:"-", xml:"-"` } type metadataRestoreRequest struct { - SDKShapeTraits bool `type:"structure" required:"Days"` + SDKShapeTraits bool `type:"structure"` } type RoutingRule struct { Condition *Condition `type:"structure"` - Redirect *Redirect `type:"structure"` + Redirect *Redirect `type:"structure" required:"true"` metadataRoutingRule `json:"-", xml:"-"` } type metadataRoutingRule struct { - SDKShapeTraits bool `type:"structure" required:"Redirect"` + SDKShapeTraits bool `type:"structure"` } type Rule struct { @@ -2902,36 +2902,36 @@ type Rule struct { ID *string `type:"string"` NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"` NoncurrentVersionTransition *NoncurrentVersionTransition `type:"structure"` - Prefix *string `type:"string"` - Status *string `type:"string"` + Prefix *string `type:"string" required:"true"` + Status *string `type:"string" required:"true"` Transition *Transition `type:"structure"` metadataRule `json:"-", xml:"-"` } type metadataRule struct { - SDKShapeTraits bool `type:"structure" required:"Prefix,Status"` + SDKShapeTraits bool `type:"structure"` } type Tag struct { - Key *string `type:"string"` - Value *string `type:"string"` + Key *string `type:"string" required:"true"` + Value *string `type:"string" required:"true"` metadataTag `json:"-", xml:"-"` } type metadataTag struct { - SDKShapeTraits bool `type:"structure" required:"Key,Value"` + SDKShapeTraits bool `type:"structure"` } type Tagging struct { - TagSet []*Tag `locationNameList:"Tag" type:"list"` + TagSet []*Tag `locationNameList:"Tag" type:"list" required:"true"` metadataTagging `json:"-", xml:"-"` } type metadataTagging struct { - SDKShapeTraits bool `type:"structure" required:"TagSet"` + SDKShapeTraits bool `type:"structure"` } type TargetGrant struct { @@ -2971,8 +2971,8 @@ type metadataTransition struct { } type UploadPartCopyInput struct { - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` - CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` + CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"json:"-" xml:"-"` CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string" json:"-" xml:"-"` CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822" json:"-" xml:"-"` CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string" json:"-" xml:"-"` @@ -2981,18 +2981,18 @@ type UploadPartCopyInput struct { CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` CopySourceSSECustomerKey *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` - PartNumber *int `location:"querystring" locationName:"partNumber" type:"integer" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` + PartNumber *int `location:"querystring" locationName:"partNumber" type:"integer" required:"true"json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string" json:"-" xml:"-"` - UploadID *string `location:"querystring" locationName:"uploadId" type:"string" json:"-" xml:"-"` + UploadID *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"json:"-" xml:"-"` metadataUploadPartCopyInput `json:"-", xml:"-"` } type metadataUploadPartCopyInput struct { - SDKShapeTraits bool `type:"structure" required:"Bucket,CopySource,Key,PartNumber,UploadId"` + SDKShapeTraits bool `type:"structure"` } type UploadPartCopyOutput struct { @@ -3012,21 +3012,21 @@ type metadataUploadPartCopyOutput struct { type UploadPartInput struct { Body io.ReadSeeker `type:"blob"` - Bucket *string `location:"uri" locationName:"Bucket" type:"string" json:"-" xml:"-"` + Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"json:"-" xml:"-"` ContentLength *int `location:"header" locationName:"Content-Length" type:"integer" json:"-" xml:"-"` ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string" json:"-" xml:"-"` - Key *string `location:"uri" locationName:"Key" type:"string" json:"-" xml:"-"` - PartNumber *int `location:"querystring" locationName:"partNumber" type:"integer" json:"-" xml:"-"` + Key *string `location:"uri" locationName:"Key" type:"string" required:"true"json:"-" xml:"-"` + PartNumber *int `location:"querystring" locationName:"partNumber" type:"integer" required:"true"json:"-" xml:"-"` SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string" json:"-" xml:"-"` SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" json:"-" xml:"-"` SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string" json:"-" xml:"-"` - UploadID *string `location:"querystring" locationName:"uploadId" type:"string" json:"-" xml:"-"` + UploadID *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"json:"-" xml:"-"` metadataUploadPartInput `json:"-", xml:"-"` } type metadataUploadPartInput struct { - SDKShapeTraits bool `type:"structure" payload:"Body" required:"Bucket,Key,PartNumber,UploadId"` + SDKShapeTraits bool `type:"structure" payload:"Body"` } type UploadPartOutput struct { diff --git a/service/ses/api.go b/service/ses/api.go index e352bbfc5b3..da715b99bf7 100644 --- a/service/ses/api.go +++ b/service/ses/api.go @@ -471,23 +471,23 @@ type metadataBody struct { type Content struct { Charset *string `type:"string"` - Data *string `type:"string"` + Data *string `type:"string" required:"true"` metadataContent `json:"-", xml:"-"` } type metadataContent struct { - SDKShapeTraits bool `type:"structure" required:"Data"` + SDKShapeTraits bool `type:"structure"` } type DeleteIdentityInput struct { - Identity *string `type:"string"` + Identity *string `type:"string" required:"true"` metadataDeleteIdentityInput `json:"-", xml:"-"` } type metadataDeleteIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"Identity"` + SDKShapeTraits bool `type:"structure"` } type DeleteIdentityOutput struct { @@ -499,13 +499,13 @@ type metadataDeleteIdentityOutput struct { } type DeleteVerifiedEmailAddressInput struct { - EmailAddress *string `type:"string"` + EmailAddress *string `type:"string" required:"true"` metadataDeleteVerifiedEmailAddressInput `json:"-", xml:"-"` } type metadataDeleteVerifiedEmailAddressInput struct { - SDKShapeTraits bool `type:"structure" required:"EmailAddress"` + SDKShapeTraits bool `type:"structure"` } type DeleteVerifiedEmailAddressOutput struct { @@ -529,63 +529,63 @@ type metadataDestination struct { } type GetIdentityDKIMAttributesInput struct { - Identities []*string `type:"list"` + Identities []*string `type:"list" required:"true"` metadataGetIdentityDKIMAttributesInput `json:"-", xml:"-"` } type metadataGetIdentityDKIMAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"Identities"` + SDKShapeTraits bool `type:"structure"` } type GetIdentityDKIMAttributesOutput struct { - DKIMAttributes *map[string]*IdentityDKIMAttributes `locationName:"DkimAttributes" type:"map"` + DKIMAttributes *map[string]*IdentityDKIMAttributes `locationName:"DkimAttributes" type:"map" required:"true"` metadataGetIdentityDKIMAttributesOutput `json:"-", xml:"-"` } type metadataGetIdentityDKIMAttributesOutput struct { - SDKShapeTraits bool `type:"structure" required:"DkimAttributes"` + SDKShapeTraits bool `type:"structure"` } type GetIdentityNotificationAttributesInput struct { - Identities []*string `type:"list"` + Identities []*string `type:"list" required:"true"` metadataGetIdentityNotificationAttributesInput `json:"-", xml:"-"` } type metadataGetIdentityNotificationAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"Identities"` + SDKShapeTraits bool `type:"structure"` } type GetIdentityNotificationAttributesOutput struct { - NotificationAttributes *map[string]*IdentityNotificationAttributes `type:"map"` + NotificationAttributes *map[string]*IdentityNotificationAttributes `type:"map" required:"true"` metadataGetIdentityNotificationAttributesOutput `json:"-", xml:"-"` } type metadataGetIdentityNotificationAttributesOutput struct { - SDKShapeTraits bool `type:"structure" required:"NotificationAttributes"` + SDKShapeTraits bool `type:"structure"` } type GetIdentityVerificationAttributesInput struct { - Identities []*string `type:"list"` + Identities []*string `type:"list" required:"true"` metadataGetIdentityVerificationAttributesInput `json:"-", xml:"-"` } type metadataGetIdentityVerificationAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"Identities"` + SDKShapeTraits bool `type:"structure"` } type GetIdentityVerificationAttributesOutput struct { - VerificationAttributes *map[string]*IdentityVerificationAttributes `type:"map"` + VerificationAttributes *map[string]*IdentityVerificationAttributes `type:"map" required:"true"` metadataGetIdentityVerificationAttributesOutput `json:"-", xml:"-"` } type metadataGetIdentityVerificationAttributesOutput struct { - SDKShapeTraits bool `type:"structure" required:"VerificationAttributes"` + SDKShapeTraits bool `type:"structure"` } type GetSendQuotaInput struct { @@ -627,39 +627,39 @@ type metadataGetSendStatisticsOutput struct { } type IdentityDKIMAttributes struct { - DKIMEnabled *bool `locationName:"DkimEnabled" type:"boolean"` + DKIMEnabled *bool `locationName:"DkimEnabled" type:"boolean" required:"true"` DKIMTokens []*string `locationName:"DkimTokens" type:"list"` - DKIMVerificationStatus *string `locationName:"DkimVerificationStatus" type:"string"` + DKIMVerificationStatus *string `locationName:"DkimVerificationStatus" type:"string" required:"true"` metadataIdentityDKIMAttributes `json:"-", xml:"-"` } type metadataIdentityDKIMAttributes struct { - SDKShapeTraits bool `type:"structure" required:"DkimEnabled,DkimVerificationStatus"` + SDKShapeTraits bool `type:"structure"` } type IdentityNotificationAttributes struct { - BounceTopic *string `type:"string"` - ComplaintTopic *string `type:"string"` - DeliveryTopic *string `type:"string"` - ForwardingEnabled *bool `type:"boolean"` + BounceTopic *string `type:"string" required:"true"` + ComplaintTopic *string `type:"string" required:"true"` + DeliveryTopic *string `type:"string" required:"true"` + ForwardingEnabled *bool `type:"boolean" required:"true"` metadataIdentityNotificationAttributes `json:"-", xml:"-"` } type metadataIdentityNotificationAttributes struct { - SDKShapeTraits bool `type:"structure" required:"BounceTopic,ComplaintTopic,DeliveryTopic,ForwardingEnabled"` + SDKShapeTraits bool `type:"structure"` } type IdentityVerificationAttributes struct { - VerificationStatus *string `type:"string"` + VerificationStatus *string `type:"string" required:"true"` VerificationToken *string `type:"string"` metadataIdentityVerificationAttributes `json:"-", xml:"-"` } type metadataIdentityVerificationAttributes struct { - SDKShapeTraits bool `type:"structure" required:"VerificationStatus"` + SDKShapeTraits bool `type:"structure"` } type ListIdentitiesInput struct { @@ -675,14 +675,14 @@ type metadataListIdentitiesInput struct { } type ListIdentitiesOutput struct { - Identities []*string `type:"list"` + Identities []*string `type:"list" required:"true"` NextToken *string `type:"string"` metadataListIdentitiesOutput `json:"-", xml:"-"` } type metadataListIdentitiesOutput struct { - SDKShapeTraits bool `type:"structure" required:"Identities"` + SDKShapeTraits bool `type:"structure"` } type ListVerifiedEmailAddressesInput struct { @@ -704,24 +704,24 @@ type metadataListVerifiedEmailAddressesOutput struct { } type Message struct { - Body *Body `type:"structure"` - Subject *Content `type:"structure"` + Body *Body `type:"structure" required:"true"` + Subject *Content `type:"structure" required:"true"` metadataMessage `json:"-", xml:"-"` } type metadataMessage struct { - SDKShapeTraits bool `type:"structure" required:"Subject,Body"` + SDKShapeTraits bool `type:"structure"` } type RawMessage struct { - Data []byte `type:"blob"` + Data []byte `type:"blob" required:"true"` metadataRawMessage `json:"-", xml:"-"` } type metadataRawMessage struct { - SDKShapeTraits bool `type:"structure" required:"Data"` + SDKShapeTraits bool `type:"structure"` } type SendDataPoint struct { @@ -739,60 +739,60 @@ type metadataSendDataPoint struct { } type SendEmailInput struct { - Destination *Destination `type:"structure"` - Message *Message `type:"structure"` + Destination *Destination `type:"structure" required:"true"` + Message *Message `type:"structure" required:"true"` ReplyToAddresses []*string `type:"list"` ReturnPath *string `type:"string"` - Source *string `type:"string"` + Source *string `type:"string" required:"true"` metadataSendEmailInput `json:"-", xml:"-"` } type metadataSendEmailInput struct { - SDKShapeTraits bool `type:"structure" required:"Source,Destination,Message"` + SDKShapeTraits bool `type:"structure"` } type SendEmailOutput struct { - MessageID *string `locationName:"MessageId" type:"string"` + MessageID *string `locationName:"MessageId" type:"string" required:"true"` metadataSendEmailOutput `json:"-", xml:"-"` } type metadataSendEmailOutput struct { - SDKShapeTraits bool `type:"structure" required:"MessageId"` + SDKShapeTraits bool `type:"structure"` } type SendRawEmailInput struct { Destinations []*string `type:"list"` - RawMessage *RawMessage `type:"structure"` + RawMessage *RawMessage `type:"structure" required:"true"` Source *string `type:"string"` metadataSendRawEmailInput `json:"-", xml:"-"` } type metadataSendRawEmailInput struct { - SDKShapeTraits bool `type:"structure" required:"RawMessage"` + SDKShapeTraits bool `type:"structure"` } type SendRawEmailOutput struct { - MessageID *string `locationName:"MessageId" type:"string"` + MessageID *string `locationName:"MessageId" type:"string" required:"true"` metadataSendRawEmailOutput `json:"-", xml:"-"` } type metadataSendRawEmailOutput struct { - SDKShapeTraits bool `type:"structure" required:"MessageId"` + SDKShapeTraits bool `type:"structure"` } type SetIdentityDKIMEnabledInput struct { - DKIMEnabled *bool `locationName:"DkimEnabled" type:"boolean"` - Identity *string `type:"string"` + DKIMEnabled *bool `locationName:"DkimEnabled" type:"boolean" required:"true"` + Identity *string `type:"string" required:"true"` metadataSetIdentityDKIMEnabledInput `json:"-", xml:"-"` } type metadataSetIdentityDKIMEnabledInput struct { - SDKShapeTraits bool `type:"structure" required:"Identity,DkimEnabled"` + SDKShapeTraits bool `type:"structure"` } type SetIdentityDKIMEnabledOutput struct { @@ -804,14 +804,14 @@ type metadataSetIdentityDKIMEnabledOutput struct { } type SetIdentityFeedbackForwardingEnabledInput struct { - ForwardingEnabled *bool `type:"boolean"` - Identity *string `type:"string"` + ForwardingEnabled *bool `type:"boolean" required:"true"` + Identity *string `type:"string" required:"true"` metadataSetIdentityFeedbackForwardingEnabledInput `json:"-", xml:"-"` } type metadataSetIdentityFeedbackForwardingEnabledInput struct { - SDKShapeTraits bool `type:"structure" required:"Identity,ForwardingEnabled"` + SDKShapeTraits bool `type:"structure"` } type SetIdentityFeedbackForwardingEnabledOutput struct { @@ -823,15 +823,15 @@ type metadataSetIdentityFeedbackForwardingEnabledOutput struct { } type SetIdentityNotificationTopicInput struct { - Identity *string `type:"string"` - NotificationType *string `type:"string"` + Identity *string `type:"string" required:"true"` + NotificationType *string `type:"string" required:"true"` SNSTopic *string `locationName:"SnsTopic" type:"string"` metadataSetIdentityNotificationTopicInput `json:"-", xml:"-"` } type metadataSetIdentityNotificationTopicInput struct { - SDKShapeTraits bool `type:"structure" required:"Identity,NotificationType"` + SDKShapeTraits bool `type:"structure"` } type SetIdentityNotificationTopicOutput struct { @@ -843,53 +843,53 @@ type metadataSetIdentityNotificationTopicOutput struct { } type VerifyDomainDKIMInput struct { - Domain *string `type:"string"` + Domain *string `type:"string" required:"true"` metadataVerifyDomainDKIMInput `json:"-", xml:"-"` } type metadataVerifyDomainDKIMInput struct { - SDKShapeTraits bool `type:"structure" required:"Domain"` + SDKShapeTraits bool `type:"structure"` } type VerifyDomainDKIMOutput struct { - DKIMTokens []*string `locationName:"DkimTokens" type:"list"` + DKIMTokens []*string `locationName:"DkimTokens" type:"list" required:"true"` metadataVerifyDomainDKIMOutput `json:"-", xml:"-"` } type metadataVerifyDomainDKIMOutput struct { - SDKShapeTraits bool `type:"structure" required:"DkimTokens"` + SDKShapeTraits bool `type:"structure"` } type VerifyDomainIdentityInput struct { - Domain *string `type:"string"` + Domain *string `type:"string" required:"true"` metadataVerifyDomainIdentityInput `json:"-", xml:"-"` } type metadataVerifyDomainIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"Domain"` + SDKShapeTraits bool `type:"structure"` } type VerifyDomainIdentityOutput struct { - VerificationToken *string `type:"string"` + VerificationToken *string `type:"string" required:"true"` metadataVerifyDomainIdentityOutput `json:"-", xml:"-"` } type metadataVerifyDomainIdentityOutput struct { - SDKShapeTraits bool `type:"structure" required:"VerificationToken"` + SDKShapeTraits bool `type:"structure"` } type VerifyEmailAddressInput struct { - EmailAddress *string `type:"string"` + EmailAddress *string `type:"string" required:"true"` metadataVerifyEmailAddressInput `json:"-", xml:"-"` } type metadataVerifyEmailAddressInput struct { - SDKShapeTraits bool `type:"structure" required:"EmailAddress"` + SDKShapeTraits bool `type:"structure"` } type VerifyEmailAddressOutput struct { @@ -901,13 +901,13 @@ type metadataVerifyEmailAddressOutput struct { } type VerifyEmailIdentityInput struct { - EmailAddress *string `type:"string"` + EmailAddress *string `type:"string" required:"true"` metadataVerifyEmailIdentityInput `json:"-", xml:"-"` } type metadataVerifyEmailIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"EmailAddress"` + SDKShapeTraits bool `type:"structure"` } type VerifyEmailIdentityOutput struct { diff --git a/service/sns/api.go b/service/sns/api.go index 797a692d858..9cb7be002aa 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -632,16 +632,16 @@ func (c *SNS) Unsubscribe(input *UnsubscribeInput) (output *UnsubscribeOutput, e var opUnsubscribe *aws.Operation type AddPermissionInput struct { - AWSAccountID []*string `locationName:"AWSAccountId" type:"list"` - ActionName []*string `type:"list"` - Label *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + AWSAccountID []*string `locationName:"AWSAccountId" type:"list" required:"true"` + ActionName []*string `type:"list" required:"true"` + Label *string `type:"string" required:"true"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataAddPermissionInput `json:"-", xml:"-"` } type metadataAddPermissionInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn,Label,AWSAccountId,ActionName"` + SDKShapeTraits bool `type:"structure"` } type AddPermissionOutput struct { @@ -654,14 +654,14 @@ type metadataAddPermissionOutput struct { type ConfirmSubscriptionInput struct { AuthenticateOnUnsubscribe *string `type:"string"` - Token *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + Token *string `type:"string" required:"true"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataConfirmSubscriptionInput `json:"-", xml:"-"` } type metadataConfirmSubscriptionInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn,Token"` + SDKShapeTraits bool `type:"structure"` } type ConfirmSubscriptionOutput struct { @@ -675,15 +675,15 @@ type metadataConfirmSubscriptionOutput struct { } type CreatePlatformApplicationInput struct { - Attributes *map[string]*string `type:"map"` - Name *string `type:"string"` - Platform *string `type:"string"` + Attributes *map[string]*string `type:"map" required:"true"` + Name *string `type:"string" required:"true"` + Platform *string `type:"string" required:"true"` metadataCreatePlatformApplicationInput `json:"-", xml:"-"` } type metadataCreatePlatformApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,Platform,Attributes"` + SDKShapeTraits bool `type:"structure"` } type CreatePlatformApplicationOutput struct { @@ -699,14 +699,14 @@ type metadataCreatePlatformApplicationOutput struct { type CreatePlatformEndpointInput struct { Attributes *map[string]*string `type:"map"` CustomUserData *string `type:"string"` - PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string"` - Token *string `type:"string"` + PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string" required:"true"` + Token *string `type:"string" required:"true"` metadataCreatePlatformEndpointInput `json:"-", xml:"-"` } type metadataCreatePlatformEndpointInput struct { - SDKShapeTraits bool `type:"structure" required:"PlatformApplicationArn,Token"` + SDKShapeTraits bool `type:"structure"` } type CreatePlatformEndpointOutput struct { @@ -720,13 +720,13 @@ type metadataCreatePlatformEndpointOutput struct { } type CreateTopicInput struct { - Name *string `type:"string"` + Name *string `type:"string" required:"true"` metadataCreateTopicInput `json:"-", xml:"-"` } type metadataCreateTopicInput struct { - SDKShapeTraits bool `type:"structure" required:"Name"` + SDKShapeTraits bool `type:"structure"` } type CreateTopicOutput struct { @@ -740,13 +740,13 @@ type metadataCreateTopicOutput struct { } type DeleteEndpointInput struct { - EndpointARN *string `locationName:"EndpointArn" type:"string"` + EndpointARN *string `locationName:"EndpointArn" type:"string" required:"true"` metadataDeleteEndpointInput `json:"-", xml:"-"` } type metadataDeleteEndpointInput struct { - SDKShapeTraits bool `type:"structure" required:"EndpointArn"` + SDKShapeTraits bool `type:"structure"` } type DeleteEndpointOutput struct { @@ -758,13 +758,13 @@ type metadataDeleteEndpointOutput struct { } type DeletePlatformApplicationInput struct { - PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string"` + PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string" required:"true"` metadataDeletePlatformApplicationInput `json:"-", xml:"-"` } type metadataDeletePlatformApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"PlatformApplicationArn"` + SDKShapeTraits bool `type:"structure"` } type DeletePlatformApplicationOutput struct { @@ -776,13 +776,13 @@ type metadataDeletePlatformApplicationOutput struct { } type DeleteTopicInput struct { - TopicARN *string `locationName:"TopicArn" type:"string"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataDeleteTopicInput `json:"-", xml:"-"` } type metadataDeleteTopicInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn"` + SDKShapeTraits bool `type:"structure"` } type DeleteTopicOutput struct { @@ -805,13 +805,13 @@ type metadataEndpoint struct { } type GetEndpointAttributesInput struct { - EndpointARN *string `locationName:"EndpointArn" type:"string"` + EndpointARN *string `locationName:"EndpointArn" type:"string" required:"true"` metadataGetEndpointAttributesInput `json:"-", xml:"-"` } type metadataGetEndpointAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"EndpointArn"` + SDKShapeTraits bool `type:"structure"` } type GetEndpointAttributesOutput struct { @@ -825,13 +825,13 @@ type metadataGetEndpointAttributesOutput struct { } type GetPlatformApplicationAttributesInput struct { - PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string"` + PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string" required:"true"` metadataGetPlatformApplicationAttributesInput `json:"-", xml:"-"` } type metadataGetPlatformApplicationAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"PlatformApplicationArn"` + SDKShapeTraits bool `type:"structure"` } type GetPlatformApplicationAttributesOutput struct { @@ -845,13 +845,13 @@ type metadataGetPlatformApplicationAttributesOutput struct { } type GetSubscriptionAttributesInput struct { - SubscriptionARN *string `locationName:"SubscriptionArn" type:"string"` + SubscriptionARN *string `locationName:"SubscriptionArn" type:"string" required:"true"` metadataGetSubscriptionAttributesInput `json:"-", xml:"-"` } type metadataGetSubscriptionAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionArn"` + SDKShapeTraits bool `type:"structure"` } type GetSubscriptionAttributesOutput struct { @@ -865,13 +865,13 @@ type metadataGetSubscriptionAttributesOutput struct { } type GetTopicAttributesInput struct { - TopicARN *string `locationName:"TopicArn" type:"string"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataGetTopicAttributesInput `json:"-", xml:"-"` } type metadataGetTopicAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn"` + SDKShapeTraits bool `type:"structure"` } type GetTopicAttributesOutput struct { @@ -886,13 +886,13 @@ type metadataGetTopicAttributesOutput struct { type ListEndpointsByPlatformApplicationInput struct { NextToken *string `type:"string"` - PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string"` + PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string" required:"true"` metadataListEndpointsByPlatformApplicationInput `json:"-", xml:"-"` } type metadataListEndpointsByPlatformApplicationInput struct { - SDKShapeTraits bool `type:"structure" required:"PlatformApplicationArn"` + SDKShapeTraits bool `type:"structure"` } type ListEndpointsByPlatformApplicationOutput struct { @@ -929,13 +929,13 @@ type metadataListPlatformApplicationsOutput struct { type ListSubscriptionsByTopicInput struct { NextToken *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataListSubscriptionsByTopicInput `json:"-", xml:"-"` } type metadataListSubscriptionsByTopicInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn"` + SDKShapeTraits bool `type:"structure"` } type ListSubscriptionsByTopicOutput struct { @@ -993,14 +993,14 @@ type metadataListTopicsOutput struct { type MessageAttributeValue struct { BinaryValue []byte `type:"blob"` - DataType *string `type:"string"` + DataType *string `type:"string" required:"true"` StringValue *string `type:"string"` metadataMessageAttributeValue `json:"-", xml:"-"` } type metadataMessageAttributeValue struct { - SDKShapeTraits bool `type:"structure" required:"DataType"` + SDKShapeTraits bool `type:"structure"` } type PlatformApplication struct { @@ -1015,7 +1015,7 @@ type metadataPlatformApplication struct { } type PublishInput struct { - Message *string `type:"string"` + Message *string `type:"string" required:"true"` MessageAttributes *map[string]*MessageAttributeValue `locationNameKey:"Name" locationNameValue:"Value" type:"map"` MessageStructure *string `type:"string"` Subject *string `type:"string"` @@ -1026,7 +1026,7 @@ type PublishInput struct { } type metadataPublishInput struct { - SDKShapeTraits bool `type:"structure" required:"Message"` + SDKShapeTraits bool `type:"structure"` } type PublishOutput struct { @@ -1040,14 +1040,14 @@ type metadataPublishOutput struct { } type RemovePermissionInput struct { - Label *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + Label *string `type:"string" required:"true"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataRemovePermissionInput `json:"-", xml:"-"` } type metadataRemovePermissionInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn,Label"` + SDKShapeTraits bool `type:"structure"` } type RemovePermissionOutput struct { @@ -1059,14 +1059,14 @@ type metadataRemovePermissionOutput struct { } type SetEndpointAttributesInput struct { - Attributes *map[string]*string `type:"map"` - EndpointARN *string `locationName:"EndpointArn" type:"string"` + Attributes *map[string]*string `type:"map" required:"true"` + EndpointARN *string `locationName:"EndpointArn" type:"string" required:"true"` metadataSetEndpointAttributesInput `json:"-", xml:"-"` } type metadataSetEndpointAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"EndpointArn,Attributes"` + SDKShapeTraits bool `type:"structure"` } type SetEndpointAttributesOutput struct { @@ -1078,14 +1078,14 @@ type metadataSetEndpointAttributesOutput struct { } type SetPlatformApplicationAttributesInput struct { - Attributes *map[string]*string `type:"map"` - PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string"` + Attributes *map[string]*string `type:"map" required:"true"` + PlatformApplicationARN *string `locationName:"PlatformApplicationArn" type:"string" required:"true"` metadataSetPlatformApplicationAttributesInput `json:"-", xml:"-"` } type metadataSetPlatformApplicationAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"PlatformApplicationArn,Attributes"` + SDKShapeTraits bool `type:"structure"` } type SetPlatformApplicationAttributesOutput struct { @@ -1097,15 +1097,15 @@ type metadataSetPlatformApplicationAttributesOutput struct { } type SetSubscriptionAttributesInput struct { - AttributeName *string `type:"string"` + AttributeName *string `type:"string" required:"true"` AttributeValue *string `type:"string"` - SubscriptionARN *string `locationName:"SubscriptionArn" type:"string"` + SubscriptionARN *string `locationName:"SubscriptionArn" type:"string" required:"true"` metadataSetSubscriptionAttributesInput `json:"-", xml:"-"` } type metadataSetSubscriptionAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionArn,AttributeName"` + SDKShapeTraits bool `type:"structure"` } type SetSubscriptionAttributesOutput struct { @@ -1117,15 +1117,15 @@ type metadataSetSubscriptionAttributesOutput struct { } type SetTopicAttributesInput struct { - AttributeName *string `type:"string"` + AttributeName *string `type:"string" required:"true"` AttributeValue *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataSetTopicAttributesInput `json:"-", xml:"-"` } type metadataSetTopicAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn,AttributeName"` + SDKShapeTraits bool `type:"structure"` } type SetTopicAttributesOutput struct { @@ -1138,14 +1138,14 @@ type metadataSetTopicAttributesOutput struct { type SubscribeInput struct { Endpoint *string `type:"string"` - Protocol *string `type:"string"` - TopicARN *string `locationName:"TopicArn" type:"string"` + Protocol *string `type:"string" required:"true"` + TopicARN *string `locationName:"TopicArn" type:"string" required:"true"` metadataSubscribeInput `json:"-", xml:"-"` } type metadataSubscribeInput struct { - SDKShapeTraits bool `type:"structure" required:"TopicArn,Protocol"` + SDKShapeTraits bool `type:"structure"` } type SubscribeOutput struct { @@ -1183,13 +1183,13 @@ type metadataTopic struct { } type UnsubscribeInput struct { - SubscriptionARN *string `locationName:"SubscriptionArn" type:"string"` + SubscriptionARN *string `locationName:"SubscriptionArn" type:"string" required:"true"` metadataUnsubscribeInput `json:"-", xml:"-"` } type metadataUnsubscribeInput struct { - SDKShapeTraits bool `type:"structure" required:"SubscriptionArn"` + SDKShapeTraits bool `type:"structure"` } type UnsubscribeOutput struct { diff --git a/service/sqs/api.go b/service/sqs/api.go index be736103443..6a30b98bdc7 100644 --- a/service/sqs/api.go +++ b/service/sqs/api.go @@ -432,16 +432,16 @@ func (c *SQS) SetQueueAttributes(input *SetQueueAttributesInput) (output *SetQue var opSetQueueAttributes *aws.Operation type AddPermissionInput struct { - AWSAccountIDs []*string `locationName:"AWSAccountIds" locationNameList:"AWSAccountId" type:"list" flattened:"true"` - Actions []*string `locationNameList:"ActionName" type:"list" flattened:"true"` - Label *string `type:"string"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + AWSAccountIDs []*string `locationName:"AWSAccountIds" locationNameList:"AWSAccountId" type:"list" flattened:"true" required:"true"` + Actions []*string `locationNameList:"ActionName" type:"list" flattened:"true" required:"true"` + Label *string `type:"string" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataAddPermissionInput `json:"-", xml:"-"` } type metadataAddPermissionInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Label,AWSAccountIds,Actions"` + SDKShapeTraits bool `type:"structure"` } type AddPermissionOutput struct { @@ -453,72 +453,72 @@ type metadataAddPermissionOutput struct { } type BatchResultErrorEntry struct { - Code *string `type:"string"` - ID *string `locationName:"Id" type:"string"` + Code *string `type:"string" required:"true"` + ID *string `locationName:"Id" type:"string" required:"true"` Message *string `type:"string"` - SenderFault *bool `type:"boolean"` + SenderFault *bool `type:"boolean" required:"true"` metadataBatchResultErrorEntry `json:"-", xml:"-"` } type metadataBatchResultErrorEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id,SenderFault,Code"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityBatchInput struct { - Entries []*ChangeMessageVisibilityBatchRequestEntry `locationNameList:"ChangeMessageVisibilityBatchRequestEntry" type:"list" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + Entries []*ChangeMessageVisibilityBatchRequestEntry `locationNameList:"ChangeMessageVisibilityBatchRequestEntry" type:"list" flattened:"true" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataChangeMessageVisibilityBatchInput `json:"-", xml:"-"` } type metadataChangeMessageVisibilityBatchInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Entries"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityBatchOutput struct { - Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true"` - Successful []*ChangeMessageVisibilityBatchResultEntry `locationNameList:"ChangeMessageVisibilityBatchResultEntry" type:"list" flattened:"true"` + Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` + Successful []*ChangeMessageVisibilityBatchResultEntry `locationNameList:"ChangeMessageVisibilityBatchResultEntry" type:"list" flattened:"true" required:"true"` metadataChangeMessageVisibilityBatchOutput `json:"-", xml:"-"` } type metadataChangeMessageVisibilityBatchOutput struct { - SDKShapeTraits bool `type:"structure" required:"Successful,Failed"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityBatchRequestEntry struct { - ID *string `locationName:"Id" type:"string"` - ReceiptHandle *string `type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` + ReceiptHandle *string `type:"string" required:"true"` VisibilityTimeout *int `type:"integer"` metadataChangeMessageVisibilityBatchRequestEntry `json:"-", xml:"-"` } type metadataChangeMessageVisibilityBatchRequestEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id,ReceiptHandle"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityBatchResultEntry struct { - ID *string `locationName:"Id" type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` metadataChangeMessageVisibilityBatchResultEntry `json:"-", xml:"-"` } type metadataChangeMessageVisibilityBatchResultEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityInput struct { - QueueURL *string `locationName:"QueueUrl" type:"string"` - ReceiptHandle *string `type:"string"` - VisibilityTimeout *int `type:"integer"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` + ReceiptHandle *string `type:"string" required:"true"` + VisibilityTimeout *int `type:"integer" required:"true"` metadataChangeMessageVisibilityInput `json:"-", xml:"-"` } type metadataChangeMessageVisibilityInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,ReceiptHandle,VisibilityTimeout"` + SDKShapeTraits bool `type:"structure"` } type ChangeMessageVisibilityOutput struct { @@ -531,13 +531,13 @@ type metadataChangeMessageVisibilityOutput struct { type CreateQueueInput struct { Attributes *map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` - QueueName *string `type:"string"` + QueueName *string `type:"string" required:"true"` metadataCreateQueueInput `json:"-", xml:"-"` } type metadataCreateQueueInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueName"` + SDKShapeTraits bool `type:"structure"` } type CreateQueueOutput struct { @@ -551,57 +551,57 @@ type metadataCreateQueueOutput struct { } type DeleteMessageBatchInput struct { - Entries []*DeleteMessageBatchRequestEntry `locationNameList:"DeleteMessageBatchRequestEntry" type:"list" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + Entries []*DeleteMessageBatchRequestEntry `locationNameList:"DeleteMessageBatchRequestEntry" type:"list" flattened:"true" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataDeleteMessageBatchInput `json:"-", xml:"-"` } type metadataDeleteMessageBatchInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Entries"` + SDKShapeTraits bool `type:"structure"` } type DeleteMessageBatchOutput struct { - Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true"` - Successful []*DeleteMessageBatchResultEntry `locationNameList:"DeleteMessageBatchResultEntry" type:"list" flattened:"true"` + Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` + Successful []*DeleteMessageBatchResultEntry `locationNameList:"DeleteMessageBatchResultEntry" type:"list" flattened:"true" required:"true"` metadataDeleteMessageBatchOutput `json:"-", xml:"-"` } type metadataDeleteMessageBatchOutput struct { - SDKShapeTraits bool `type:"structure" required:"Successful,Failed"` + SDKShapeTraits bool `type:"structure"` } type DeleteMessageBatchRequestEntry struct { - ID *string `locationName:"Id" type:"string"` - ReceiptHandle *string `type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` + ReceiptHandle *string `type:"string" required:"true"` metadataDeleteMessageBatchRequestEntry `json:"-", xml:"-"` } type metadataDeleteMessageBatchRequestEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id,ReceiptHandle"` + SDKShapeTraits bool `type:"structure"` } type DeleteMessageBatchResultEntry struct { - ID *string `locationName:"Id" type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` metadataDeleteMessageBatchResultEntry `json:"-", xml:"-"` } type metadataDeleteMessageBatchResultEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id"` + SDKShapeTraits bool `type:"structure"` } type DeleteMessageInput struct { - QueueURL *string `locationName:"QueueUrl" type:"string"` - ReceiptHandle *string `type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` + ReceiptHandle *string `type:"string" required:"true"` metadataDeleteMessageInput `json:"-", xml:"-"` } type metadataDeleteMessageInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,ReceiptHandle"` + SDKShapeTraits bool `type:"structure"` } type DeleteMessageOutput struct { @@ -613,13 +613,13 @@ type metadataDeleteMessageOutput struct { } type DeleteQueueInput struct { - QueueURL *string `locationName:"QueueUrl" type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataDeleteQueueInput `json:"-", xml:"-"` } type metadataDeleteQueueInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl"` + SDKShapeTraits bool `type:"structure"` } type DeleteQueueOutput struct { @@ -632,13 +632,13 @@ type metadataDeleteQueueOutput struct { type GetQueueAttributesInput struct { AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataGetQueueAttributesInput `json:"-", xml:"-"` } type metadataGetQueueAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl"` + SDKShapeTraits bool `type:"structure"` } type GetQueueAttributesOutput struct { @@ -652,14 +652,14 @@ type metadataGetQueueAttributesOutput struct { } type GetQueueURLInput struct { - QueueName *string `type:"string"` + QueueName *string `type:"string" required:"true"` QueueOwnerAWSAccountID *string `locationName:"QueueOwnerAWSAccountId" type:"string"` metadataGetQueueURLInput `json:"-", xml:"-"` } type metadataGetQueueURLInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueName"` + SDKShapeTraits bool `type:"structure"` } type GetQueueURLOutput struct { @@ -673,23 +673,23 @@ type metadataGetQueueURLOutput struct { } type ListDeadLetterSourceQueuesInput struct { - QueueURL *string `locationName:"QueueUrl" type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataListDeadLetterSourceQueuesInput `json:"-", xml:"-"` } type metadataListDeadLetterSourceQueuesInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl"` + SDKShapeTraits bool `type:"structure"` } type ListDeadLetterSourceQueuesOutput struct { - QueueURLs []*string `locationName:"queueUrls" locationNameList:"QueueUrl" type:"list" flattened:"true"` + QueueURLs []*string `locationName:"queueUrls" locationNameList:"QueueUrl" type:"list" flattened:"true" required:"true"` metadataListDeadLetterSourceQueuesOutput `json:"-", xml:"-"` } type metadataListDeadLetterSourceQueuesOutput struct { - SDKShapeTraits bool `type:"structure" required:"queueUrls"` + SDKShapeTraits bool `type:"structure"` } type ListQueuesInput struct { @@ -731,7 +731,7 @@ type metadataMessage struct { type MessageAttributeValue struct { BinaryListValues [][]byte `locationName:"BinaryListValue" locationNameList:"BinaryListValue" type:"list" flattened:"true"` BinaryValue []byte `type:"blob"` - DataType *string `type:"string"` + DataType *string `type:"string" required:"true"` StringListValues []*string `locationName:"StringListValue" locationNameList:"StringListValue" type:"list" flattened:"true"` StringValue *string `type:"string"` @@ -739,17 +739,17 @@ type MessageAttributeValue struct { } type metadataMessageAttributeValue struct { - SDKShapeTraits bool `type:"structure" required:"DataType"` + SDKShapeTraits bool `type:"structure"` } type PurgeQueueInput struct { - QueueURL *string `locationName:"QueueUrl" type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataPurgeQueueInput `json:"-", xml:"-"` } type metadataPurgeQueueInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl"` + SDKShapeTraits bool `type:"structure"` } type PurgeQueueOutput struct { @@ -764,7 +764,7 @@ type ReceiveMessageInput struct { AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"` MaxNumberOfMessages *int `type:"integer"` MessageAttributeNames []*string `locationNameList:"MessageAttributeName" type:"list" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` VisibilityTimeout *int `type:"integer"` WaitTimeSeconds *int `type:"integer"` @@ -772,7 +772,7 @@ type ReceiveMessageInput struct { } type metadataReceiveMessageInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl"` + SDKShapeTraits bool `type:"structure"` } type ReceiveMessageOutput struct { @@ -786,14 +786,14 @@ type metadataReceiveMessageOutput struct { } type RemovePermissionInput struct { - Label *string `type:"string"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + Label *string `type:"string" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataRemovePermissionInput `json:"-", xml:"-"` } type metadataRemovePermissionInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Label"` + SDKShapeTraits bool `type:"structure"` } type RemovePermissionOutput struct { @@ -805,64 +805,64 @@ type metadataRemovePermissionOutput struct { } type SendMessageBatchInput struct { - Entries []*SendMessageBatchRequestEntry `locationNameList:"SendMessageBatchRequestEntry" type:"list" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + Entries []*SendMessageBatchRequestEntry `locationNameList:"SendMessageBatchRequestEntry" type:"list" flattened:"true" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataSendMessageBatchInput `json:"-", xml:"-"` } type metadataSendMessageBatchInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Entries"` + SDKShapeTraits bool `type:"structure"` } type SendMessageBatchOutput struct { - Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true"` - Successful []*SendMessageBatchResultEntry `locationNameList:"SendMessageBatchResultEntry" type:"list" flattened:"true"` + Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` + Successful []*SendMessageBatchResultEntry `locationNameList:"SendMessageBatchResultEntry" type:"list" flattened:"true" required:"true"` metadataSendMessageBatchOutput `json:"-", xml:"-"` } type metadataSendMessageBatchOutput struct { - SDKShapeTraits bool `type:"structure" required:"Successful,Failed"` + SDKShapeTraits bool `type:"structure"` } type SendMessageBatchRequestEntry struct { DelaySeconds *int `type:"integer"` - ID *string `locationName:"Id" type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` MessageAttributes *map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` - MessageBody *string `type:"string"` + MessageBody *string `type:"string" required:"true"` metadataSendMessageBatchRequestEntry `json:"-", xml:"-"` } type metadataSendMessageBatchRequestEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id,MessageBody"` + SDKShapeTraits bool `type:"structure"` } type SendMessageBatchResultEntry struct { - ID *string `locationName:"Id" type:"string"` + ID *string `locationName:"Id" type:"string" required:"true"` MD5OfMessageAttributes *string `type:"string"` - MD5OfMessageBody *string `type:"string"` - MessageID *string `locationName:"MessageId" type:"string"` + MD5OfMessageBody *string `type:"string" required:"true"` + MessageID *string `locationName:"MessageId" type:"string" required:"true"` metadataSendMessageBatchResultEntry `json:"-", xml:"-"` } type metadataSendMessageBatchResultEntry struct { - SDKShapeTraits bool `type:"structure" required:"Id,MessageId,MD5OfMessageBody"` + SDKShapeTraits bool `type:"structure"` } type SendMessageInput struct { DelaySeconds *int `type:"integer"` MessageAttributes *map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` - MessageBody *string `type:"string"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + MessageBody *string `type:"string" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataSendMessageInput `json:"-", xml:"-"` } type metadataSendMessageInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,MessageBody"` + SDKShapeTraits bool `type:"structure"` } type SendMessageOutput struct { @@ -878,14 +878,14 @@ type metadataSendMessageOutput struct { } type SetQueueAttributesInput struct { - Attributes *map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` - QueueURL *string `locationName:"QueueUrl" type:"string"` + Attributes *map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true" required:"true"` + QueueURL *string `locationName:"QueueUrl" type:"string" required:"true"` metadataSetQueueAttributesInput `json:"-", xml:"-"` } type metadataSetQueueAttributesInput struct { - SDKShapeTraits bool `type:"structure" required:"QueueUrl,Attributes"` + SDKShapeTraits bool `type:"structure"` } type SetQueueAttributesOutput struct { diff --git a/service/ssm/api.go b/service/ssm/api.go index 28d2e5ae4e2..3697320d2a7 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -308,37 +308,37 @@ type metadataAssociationDescription struct { } type AssociationFilter struct { - Key *string `locationName:"key" type:"string" json:"key,omitempty"` - Value *string `locationName:"value" type:"string" json:"value,omitempty"` + Key *string `locationName:"key" type:"string" required:"true"json:"key,omitempty"` + Value *string `locationName:"value" type:"string" required:"true"json:"value,omitempty"` metadataAssociationFilter `json:"-", xml:"-"` } type metadataAssociationFilter struct { - SDKShapeTraits bool `type:"structure" required:"key,value" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AssociationStatus struct { AdditionalInfo *string `type:"string" json:",omitempty"` - Date *time.Time `type:"timestamp" timestampFormat:"unix" json:",omitempty"` - Message *string `type:"string" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Date *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"json:",omitempty"` + Message *string `type:"string" required:"true"json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataAssociationStatus `json:"-", xml:"-"` } type metadataAssociationStatus struct { - SDKShapeTraits bool `type:"structure" required:"Date,Name,Message" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateAssociationBatchInput struct { - Entries []*CreateAssociationBatchRequestEntry `locationNameList:"entries" type:"list" json:",omitempty"` + Entries []*CreateAssociationBatchRequestEntry `locationNameList:"entries" type:"list" required:"true"json:",omitempty"` metadataCreateAssociationBatchInput `json:"-", xml:"-"` } type metadataCreateAssociationBatchInput struct { - SDKShapeTraits bool `type:"structure" required:"Entries" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateAssociationBatchOutput struct { @@ -364,14 +364,14 @@ type metadataCreateAssociationBatchRequestEntry struct { } type CreateAssociationInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - Name *string `type:"string" json:",omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataCreateAssociationInput `json:"-", xml:"-"` } type metadataCreateAssociationInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateAssociationOutput struct { @@ -385,14 +385,14 @@ type metadataCreateAssociationOutput struct { } type CreateDocumentInput struct { - Content *string `type:"string" json:",omitempty"` - Name *string `type:"string" json:",omitempty"` + Content *string `type:"string" required:"true"json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataCreateDocumentInput `json:"-", xml:"-"` } type metadataCreateDocumentInput struct { - SDKShapeTraits bool `type:"structure" required:"Content,Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateDocumentOutput struct { @@ -406,14 +406,14 @@ type metadataCreateDocumentOutput struct { } type DeleteAssociationInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - Name *string `type:"string" json:",omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDeleteAssociationInput `json:"-", xml:"-"` } type metadataDeleteAssociationInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteAssociationOutput struct { @@ -425,13 +425,13 @@ type metadataDeleteAssociationOutput struct { } type DeleteDocumentInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDeleteDocumentInput `json:"-", xml:"-"` } type metadataDeleteDocumentInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteDocumentOutput struct { @@ -443,14 +443,14 @@ type metadataDeleteDocumentOutput struct { } type DescribeAssociationInput struct { - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - Name *string `type:"string" json:",omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDescribeAssociationInput `json:"-", xml:"-"` } type metadataDescribeAssociationInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,InstanceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeAssociationOutput struct { @@ -464,13 +464,13 @@ type metadataDescribeAssociationOutput struct { } type DescribeDocumentInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataDescribeDocumentInput `json:"-", xml:"-"` } type metadataDescribeDocumentInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeDocumentOutput struct { @@ -497,14 +497,14 @@ type metadataDocumentDescription struct { } type DocumentFilter struct { - Key *string `locationName:"key" type:"string" json:"key,omitempty"` - Value *string `locationName:"value" type:"string" json:"value,omitempty"` + Key *string `locationName:"key" type:"string" required:"true"json:"key,omitempty"` + Value *string `locationName:"value" type:"string" required:"true"json:"value,omitempty"` metadataDocumentFilter `json:"-", xml:"-"` } type metadataDocumentFilter struct { - SDKShapeTraits bool `type:"structure" required:"key,value" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DocumentIdentifier struct { @@ -530,13 +530,13 @@ type metadataFailedCreateAssociation struct { } type GetDocumentInput struct { - Name *string `type:"string" json:",omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataGetDocumentInput `json:"-", xml:"-"` } type metadataGetDocumentInput struct { - SDKShapeTraits bool `type:"structure" required:"Name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetDocumentOutput struct { @@ -551,7 +551,7 @@ type metadataGetDocumentOutput struct { } type ListAssociationsInput struct { - AssociationFilterList []*AssociationFilter `locationNameList:"AssociationFilter" type:"list" json:",omitempty"` + AssociationFilterList []*AssociationFilter `locationNameList:"AssociationFilter" type:"list" required:"true"json:",omitempty"` MaxResults *int `type:"integer" json:",omitempty"` NextToken *string `type:"string" json:",omitempty"` @@ -559,7 +559,7 @@ type ListAssociationsInput struct { } type metadataListAssociationsInput struct { - SDKShapeTraits bool `type:"structure" required:"AssociationFilterList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListAssociationsOutput struct { @@ -597,15 +597,15 @@ type metadataListDocumentsOutput struct { } type UpdateAssociationStatusInput struct { - AssociationStatus *AssociationStatus `type:"structure" json:",omitempty"` - InstanceID *string `locationName:"InstanceId" type:"string" json:"InstanceId,omitempty"` - Name *string `type:"string" json:",omitempty"` + AssociationStatus *AssociationStatus `type:"structure" required:"true"json:",omitempty"` + InstanceID *string `locationName:"InstanceId" type:"string" required:"true"json:"InstanceId,omitempty"` + Name *string `type:"string" required:"true"json:",omitempty"` metadataUpdateAssociationStatusInput `json:"-", xml:"-"` } type metadataUpdateAssociationStatusInput struct { - SDKShapeTraits bool `type:"structure" required:"Name,InstanceId,AssociationStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateAssociationStatusOutput struct { diff --git a/service/storagegateway/api.go b/service/storagegateway/api.go index 7464d7f340d..a3b99b859ad 100644 --- a/service/storagegateway/api.go +++ b/service/storagegateway/api.go @@ -1234,10 +1234,10 @@ func (c *StorageGateway) UpdateVTLDeviceType(input *UpdateVTLDeviceTypeInput) (o var opUpdateVTLDeviceType *aws.Operation type ActivateGatewayInput struct { - ActivationKey *string `type:"string" json:",omitempty"` - GatewayName *string `type:"string" json:",omitempty"` - GatewayRegion *string `type:"string" json:",omitempty"` - GatewayTimezone *string `type:"string" json:",omitempty"` + ActivationKey *string `type:"string" required:"true"json:",omitempty"` + GatewayName *string `type:"string" required:"true"json:",omitempty"` + GatewayRegion *string `type:"string" required:"true"json:",omitempty"` + GatewayTimezone *string `type:"string" required:"true"json:",omitempty"` GatewayType *string `type:"string" json:",omitempty"` MediumChangerType *string `type:"string" json:",omitempty"` TapeDriveType *string `type:"string" json:",omitempty"` @@ -1246,7 +1246,7 @@ type ActivateGatewayInput struct { } type metadataActivateGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"ActivationKey,GatewayName,GatewayTimezone,GatewayRegion" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivateGatewayOutput struct { @@ -1260,14 +1260,14 @@ type metadataActivateGatewayOutput struct { } type AddCacheInput struct { - DiskIDs []*string `locationName:"DiskIds" type:"list" json:"DiskIds,omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` + DiskIDs []*string `locationName:"DiskIds" type:"list" required:"true"json:"DiskIds,omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataAddCacheInput `json:"-", xml:"-"` } type metadataAddCacheInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,DiskIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddCacheOutput struct { @@ -1281,14 +1281,14 @@ type metadataAddCacheOutput struct { } type AddUploadBufferInput struct { - DiskIDs []*string `locationName:"DiskIds" type:"list" json:"DiskIds,omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` + DiskIDs []*string `locationName:"DiskIds" type:"list" required:"true"json:"DiskIds,omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataAddUploadBufferInput `json:"-", xml:"-"` } type metadataAddUploadBufferInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,DiskIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddUploadBufferOutput struct { @@ -1302,14 +1302,14 @@ type metadataAddUploadBufferOutput struct { } type AddWorkingStorageInput struct { - DiskIDs []*string `locationName:"DiskIds" type:"list" json:"DiskIds,omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` + DiskIDs []*string `locationName:"DiskIds" type:"list" required:"true"json:"DiskIds,omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataAddWorkingStorageInput `json:"-", xml:"-"` } type metadataAddWorkingStorageInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,DiskIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddWorkingStorageOutput struct { @@ -1340,14 +1340,14 @@ type metadataCachediSCSIVolume struct { } type CancelArchivalInput struct { - GatewayARN *string `type:"string" json:",omitempty"` - TapeARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataCancelArchivalInput `json:"-", xml:"-"` } type metadataCancelArchivalInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,TapeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelArchivalOutput struct { @@ -1361,14 +1361,14 @@ type metadataCancelArchivalOutput struct { } type CancelRetrievalInput struct { - GatewayARN *string `type:"string" json:",omitempty"` - TapeARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataCancelRetrievalInput `json:"-", xml:"-"` } type metadataCancelRetrievalInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,TapeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelRetrievalOutput struct { @@ -1395,18 +1395,18 @@ type metadataChapInfo struct { } type CreateCachediSCSIVolumeInput struct { - ClientToken *string `type:"string" json:",omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` - NetworkInterfaceID *string `locationName:"NetworkInterfaceId" type:"string" json:"NetworkInterfaceId,omitempty"` + ClientToken *string `type:"string" required:"true"json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + NetworkInterfaceID *string `locationName:"NetworkInterfaceId" type:"string" required:"true"json:"NetworkInterfaceId,omitempty"` SnapshotID *string `locationName:"SnapshotId" type:"string" json:"SnapshotId,omitempty"` - TargetName *string `type:"string" json:",omitempty"` - VolumeSizeInBytes *int64 `type:"long" json:",omitempty"` + TargetName *string `type:"string" required:"true"json:",omitempty"` + VolumeSizeInBytes *int64 `type:"long" required:"true"json:",omitempty"` metadataCreateCachediSCSIVolumeInput `json:"-", xml:"-"` } type metadataCreateCachediSCSIVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,VolumeSizeInBytes,TargetName,NetworkInterfaceId,ClientToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateCachediSCSIVolumeOutput struct { @@ -1421,14 +1421,14 @@ type metadataCreateCachediSCSIVolumeOutput struct { } type CreateSnapshotFromVolumeRecoveryPointInput struct { - SnapshotDescription *string `type:"string" json:",omitempty"` - VolumeARN *string `type:"string" json:",omitempty"` + SnapshotDescription *string `type:"string" required:"true"json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataCreateSnapshotFromVolumeRecoveryPointInput `json:"-", xml:"-"` } type metadataCreateSnapshotFromVolumeRecoveryPointInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN,SnapshotDescription" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateSnapshotFromVolumeRecoveryPointOutput struct { @@ -1444,14 +1444,14 @@ type metadataCreateSnapshotFromVolumeRecoveryPointOutput struct { } type CreateSnapshotInput struct { - SnapshotDescription *string `type:"string" json:",omitempty"` - VolumeARN *string `type:"string" json:",omitempty"` + SnapshotDescription *string `type:"string" required:"true"json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataCreateSnapshotInput `json:"-", xml:"-"` } type metadataCreateSnapshotInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN,SnapshotDescription" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateSnapshotOutput struct { @@ -1466,18 +1466,18 @@ type metadataCreateSnapshotOutput struct { } type CreateStorediSCSIVolumeInput struct { - DiskID *string `locationName:"DiskId" type:"string" json:"DiskId,omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` - NetworkInterfaceID *string `locationName:"NetworkInterfaceId" type:"string" json:"NetworkInterfaceId,omitempty"` - PreserveExistingData *bool `type:"boolean" json:",omitempty"` + DiskID *string `locationName:"DiskId" type:"string" required:"true"json:"DiskId,omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + NetworkInterfaceID *string `locationName:"NetworkInterfaceId" type:"string" required:"true"json:"NetworkInterfaceId,omitempty"` + PreserveExistingData *bool `type:"boolean" required:"true"json:",omitempty"` SnapshotID *string `locationName:"SnapshotId" type:"string" json:"SnapshotId,omitempty"` - TargetName *string `type:"string" json:",omitempty"` + TargetName *string `type:"string" required:"true"json:",omitempty"` metadataCreateStorediSCSIVolumeInput `json:"-", xml:"-"` } type metadataCreateStorediSCSIVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,DiskId,PreserveExistingData,TargetName,NetworkInterfaceId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateStorediSCSIVolumeOutput struct { @@ -1493,17 +1493,17 @@ type metadataCreateStorediSCSIVolumeOutput struct { } type CreateTapesInput struct { - ClientToken *string `type:"string" json:",omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` - NumTapesToCreate *int `type:"integer" json:",omitempty"` - TapeBarcodePrefix *string `type:"string" json:",omitempty"` - TapeSizeInBytes *int64 `type:"long" json:",omitempty"` + ClientToken *string `type:"string" required:"true"json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + NumTapesToCreate *int `type:"integer" required:"true"json:",omitempty"` + TapeBarcodePrefix *string `type:"string" required:"true"json:",omitempty"` + TapeSizeInBytes *int64 `type:"long" required:"true"json:",omitempty"` metadataCreateTapesInput `json:"-", xml:"-"` } type metadataCreateTapesInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,TapeSizeInBytes,ClientToken,NumTapesToCreate,TapeBarcodePrefix" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateTapesOutput struct { @@ -1517,14 +1517,14 @@ type metadataCreateTapesOutput struct { } type DeleteBandwidthRateLimitInput struct { - BandwidthType *string `type:"string" json:",omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` + BandwidthType *string `type:"string" required:"true"json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteBandwidthRateLimitInput `json:"-", xml:"-"` } type metadataDeleteBandwidthRateLimitInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,BandwidthType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteBandwidthRateLimitOutput struct { @@ -1538,14 +1538,14 @@ type metadataDeleteBandwidthRateLimitOutput struct { } type DeleteChapCredentialsInput struct { - InitiatorName *string `type:"string" json:",omitempty"` - TargetARN *string `type:"string" json:",omitempty"` + InitiatorName *string `type:"string" required:"true"json:",omitempty"` + TargetARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteChapCredentialsInput `json:"-", xml:"-"` } type metadataDeleteChapCredentialsInput struct { - SDKShapeTraits bool `type:"structure" required:"TargetARN,InitiatorName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteChapCredentialsOutput struct { @@ -1560,13 +1560,13 @@ type metadataDeleteChapCredentialsOutput struct { } type DeleteGatewayInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteGatewayInput `json:"-", xml:"-"` } type metadataDeleteGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteGatewayOutput struct { @@ -1580,13 +1580,13 @@ type metadataDeleteGatewayOutput struct { } type DeleteSnapshotScheduleInput struct { - VolumeARN *string `type:"string" json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteSnapshotScheduleInput `json:"-", xml:"-"` } type metadataDeleteSnapshotScheduleInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteSnapshotScheduleOutput struct { @@ -1600,13 +1600,13 @@ type metadataDeleteSnapshotScheduleOutput struct { } type DeleteTapeArchiveInput struct { - TapeARN *string `type:"string" json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteTapeArchiveInput `json:"-", xml:"-"` } type metadataDeleteTapeArchiveInput struct { - SDKShapeTraits bool `type:"structure" required:"TapeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTapeArchiveOutput struct { @@ -1620,14 +1620,14 @@ type metadataDeleteTapeArchiveOutput struct { } type DeleteTapeInput struct { - GatewayARN *string `type:"string" json:",omitempty"` - TapeARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteTapeInput `json:"-", xml:"-"` } type metadataDeleteTapeInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,TapeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteTapeOutput struct { @@ -1641,13 +1641,13 @@ type metadataDeleteTapeOutput struct { } type DeleteVolumeInput struct { - VolumeARN *string `type:"string" json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataDeleteVolumeInput `json:"-", xml:"-"` } type metadataDeleteVolumeInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeleteVolumeOutput struct { @@ -1661,13 +1661,13 @@ type metadataDeleteVolumeOutput struct { } type DescribeBandwidthRateLimitInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeBandwidthRateLimitInput `json:"-", xml:"-"` } type metadataDescribeBandwidthRateLimitInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeBandwidthRateLimitOutput struct { @@ -1683,13 +1683,13 @@ type metadataDescribeBandwidthRateLimitOutput struct { } type DescribeCacheInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeCacheInput `json:"-", xml:"-"` } type metadataDescribeCacheInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeCacheOutput struct { @@ -1709,13 +1709,13 @@ type metadataDescribeCacheOutput struct { } type DescribeCachediSCSIVolumesInput struct { - VolumeARNs []*string `type:"list" json:",omitempty"` + VolumeARNs []*string `type:"list" required:"true"json:",omitempty"` metadataDescribeCachediSCSIVolumesInput `json:"-", xml:"-"` } type metadataDescribeCachediSCSIVolumesInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARNs" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeCachediSCSIVolumesOutput struct { @@ -1729,13 +1729,13 @@ type metadataDescribeCachediSCSIVolumesOutput struct { } type DescribeChapCredentialsInput struct { - TargetARN *string `type:"string" json:",omitempty"` + TargetARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeChapCredentialsInput `json:"-", xml:"-"` } type metadataDescribeChapCredentialsInput struct { - SDKShapeTraits bool `type:"structure" required:"TargetARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeChapCredentialsOutput struct { @@ -1749,13 +1749,13 @@ type metadataDescribeChapCredentialsOutput struct { } type DescribeGatewayInformationInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeGatewayInformationInput `json:"-", xml:"-"` } type metadataDescribeGatewayInformationInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeGatewayInformationOutput struct { @@ -1775,13 +1775,13 @@ type metadataDescribeGatewayInformationOutput struct { } type DescribeMaintenanceStartTimeInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeMaintenanceStartTimeInput `json:"-", xml:"-"` } type metadataDescribeMaintenanceStartTimeInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeMaintenanceStartTimeOutput struct { @@ -1799,13 +1799,13 @@ type metadataDescribeMaintenanceStartTimeOutput struct { } type DescribeSnapshotScheduleInput struct { - VolumeARN *string `type:"string" json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeSnapshotScheduleInput `json:"-", xml:"-"` } type metadataDescribeSnapshotScheduleInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeSnapshotScheduleOutput struct { @@ -1823,13 +1823,13 @@ type metadataDescribeSnapshotScheduleOutput struct { } type DescribeStorediSCSIVolumesInput struct { - VolumeARNs []*string `type:"list" json:",omitempty"` + VolumeARNs []*string `type:"list" required:"true"json:",omitempty"` metadataDescribeStorediSCSIVolumesInput `json:"-", xml:"-"` } type metadataDescribeStorediSCSIVolumesInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARNs" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeStorediSCSIVolumesOutput struct { @@ -1866,7 +1866,7 @@ type metadataDescribeTapeArchivesOutput struct { } type DescribeTapeRecoveryPointsInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` @@ -1874,7 +1874,7 @@ type DescribeTapeRecoveryPointsInput struct { } type metadataDescribeTapeRecoveryPointsInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTapeRecoveryPointsOutput struct { @@ -1890,7 +1890,7 @@ type metadataDescribeTapeRecoveryPointsOutput struct { } type DescribeTapesInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` TapeARNs []*string `type:"list" json:",omitempty"` @@ -1899,7 +1899,7 @@ type DescribeTapesInput struct { } type metadataDescribeTapesInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTapesOutput struct { @@ -1914,13 +1914,13 @@ type metadataDescribeTapesOutput struct { } type DescribeUploadBufferInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeUploadBufferInput `json:"-", xml:"-"` } type metadataDescribeUploadBufferInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeUploadBufferOutput struct { @@ -1937,7 +1937,7 @@ type metadataDescribeUploadBufferOutput struct { } type DescribeVTLDevicesInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` VTLDeviceARNs []*string `type:"list" json:",omitempty"` @@ -1946,7 +1946,7 @@ type DescribeVTLDevicesInput struct { } type metadataDescribeVTLDevicesInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeVTLDevicesOutput struct { @@ -1962,13 +1962,13 @@ type metadataDescribeVTLDevicesOutput struct { } type DescribeWorkingStorageInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDescribeWorkingStorageInput `json:"-", xml:"-"` } type metadataDescribeWorkingStorageInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeWorkingStorageOutput struct { @@ -1998,13 +1998,13 @@ type metadataDeviceiSCSIAttributes struct { } type DisableGatewayInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataDisableGatewayInput `json:"-", xml:"-"` } type metadataDisableGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DisableGatewayOutput struct { @@ -2068,13 +2068,13 @@ type metadataListGatewaysOutput struct { } type ListLocalDisksInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataListLocalDisksInput `json:"-", xml:"-"` } type metadataListLocalDisksInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListLocalDisksOutput struct { @@ -2089,13 +2089,13 @@ type metadataListLocalDisksOutput struct { } type ListVolumeRecoveryPointsInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataListVolumeRecoveryPointsInput `json:"-", xml:"-"` } type metadataListVolumeRecoveryPointsInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListVolumeRecoveryPointsOutput struct { @@ -2110,7 +2110,7 @@ type metadataListVolumeRecoveryPointsOutput struct { } type ListVolumesInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` Limit *int `type:"integer" json:",omitempty"` Marker *string `type:"string" json:",omitempty"` @@ -2118,7 +2118,7 @@ type ListVolumesInput struct { } type metadataListVolumesInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListVolumesOutput struct { @@ -2146,13 +2146,13 @@ type metadataNetworkInterface struct { } type ResetCacheInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataResetCacheInput `json:"-", xml:"-"` } type metadataResetCacheInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ResetCacheOutput struct { @@ -2166,14 +2166,14 @@ type metadataResetCacheOutput struct { } type RetrieveTapeArchiveInput struct { - GatewayARN *string `type:"string" json:",omitempty"` - TapeARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataRetrieveTapeArchiveInput `json:"-", xml:"-"` } type metadataRetrieveTapeArchiveInput struct { - SDKShapeTraits bool `type:"structure" required:"TapeARN,GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RetrieveTapeArchiveOutput struct { @@ -2187,14 +2187,14 @@ type metadataRetrieveTapeArchiveOutput struct { } type RetrieveTapeRecoveryPointInput struct { - GatewayARN *string `type:"string" json:",omitempty"` - TapeARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + TapeARN *string `type:"string" required:"true"json:",omitempty"` metadataRetrieveTapeRecoveryPointInput `json:"-", xml:"-"` } type metadataRetrieveTapeRecoveryPointInput struct { - SDKShapeTraits bool `type:"structure" required:"TapeARN,GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RetrieveTapeRecoveryPointOutput struct { @@ -2208,13 +2208,13 @@ type metadataRetrieveTapeRecoveryPointOutput struct { } type ShutdownGatewayInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataShutdownGatewayInput `json:"-", xml:"-"` } type metadataShutdownGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ShutdownGatewayOutput struct { @@ -2228,13 +2228,13 @@ type metadataShutdownGatewayOutput struct { } type StartGatewayInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataStartGatewayInput `json:"-", xml:"-"` } type metadataStartGatewayInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartGatewayOutput struct { @@ -2323,13 +2323,13 @@ type metadataTapeRecoveryPointInfo struct { type UpdateBandwidthRateLimitInput struct { AverageDownloadRateLimitInBitsPerSec *int64 `type:"long" json:",omitempty"` AverageUploadRateLimitInBitsPerSec *int64 `type:"long" json:",omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataUpdateBandwidthRateLimitInput `json:"-", xml:"-"` } type metadataUpdateBandwidthRateLimitInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateBandwidthRateLimitOutput struct { @@ -2343,16 +2343,16 @@ type metadataUpdateBandwidthRateLimitOutput struct { } type UpdateChapCredentialsInput struct { - InitiatorName *string `type:"string" json:",omitempty"` - SecretToAuthenticateInitiator *string `type:"string" json:",omitempty"` + InitiatorName *string `type:"string" required:"true"json:",omitempty"` + SecretToAuthenticateInitiator *string `type:"string" required:"true"json:",omitempty"` SecretToAuthenticateTarget *string `type:"string" json:",omitempty"` - TargetARN *string `type:"string" json:",omitempty"` + TargetARN *string `type:"string" required:"true"json:",omitempty"` metadataUpdateChapCredentialsInput `json:"-", xml:"-"` } type metadataUpdateChapCredentialsInput struct { - SDKShapeTraits bool `type:"structure" required:"TargetARN,SecretToAuthenticateInitiator,InitiatorName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateChapCredentialsOutput struct { @@ -2367,7 +2367,7 @@ type metadataUpdateChapCredentialsOutput struct { } type UpdateGatewayInformationInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` GatewayName *string `type:"string" json:",omitempty"` GatewayTimezone *string `type:"string" json:",omitempty"` @@ -2375,7 +2375,7 @@ type UpdateGatewayInformationInput struct { } type metadataUpdateGatewayInformationInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateGatewayInformationOutput struct { @@ -2389,13 +2389,13 @@ type metadataUpdateGatewayInformationOutput struct { } type UpdateGatewaySoftwareNowInput struct { - GatewayARN *string `type:"string" json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` metadataUpdateGatewaySoftwareNowInput `json:"-", xml:"-"` } type metadataUpdateGatewaySoftwareNowInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateGatewaySoftwareNowOutput struct { @@ -2409,16 +2409,16 @@ type metadataUpdateGatewaySoftwareNowOutput struct { } type UpdateMaintenanceStartTimeInput struct { - DayOfWeek *int `type:"integer" json:",omitempty"` - GatewayARN *string `type:"string" json:",omitempty"` - HourOfDay *int `type:"integer" json:",omitempty"` - MinuteOfHour *int `type:"integer" json:",omitempty"` + DayOfWeek *int `type:"integer" required:"true"json:",omitempty"` + GatewayARN *string `type:"string" required:"true"json:",omitempty"` + HourOfDay *int `type:"integer" required:"true"json:",omitempty"` + MinuteOfHour *int `type:"integer" required:"true"json:",omitempty"` metadataUpdateMaintenanceStartTimeInput `json:"-", xml:"-"` } type metadataUpdateMaintenanceStartTimeInput struct { - SDKShapeTraits bool `type:"structure" required:"GatewayARN,HourOfDay,MinuteOfHour,DayOfWeek" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateMaintenanceStartTimeOutput struct { @@ -2433,15 +2433,15 @@ type metadataUpdateMaintenanceStartTimeOutput struct { type UpdateSnapshotScheduleInput struct { Description *string `type:"string" json:",omitempty"` - RecurrenceInHours *int `type:"integer" json:",omitempty"` - StartAt *int `type:"integer" json:",omitempty"` - VolumeARN *string `type:"string" json:",omitempty"` + RecurrenceInHours *int `type:"integer" required:"true"json:",omitempty"` + StartAt *int `type:"integer" required:"true"json:",omitempty"` + VolumeARN *string `type:"string" required:"true"json:",omitempty"` metadataUpdateSnapshotScheduleInput `json:"-", xml:"-"` } type metadataUpdateSnapshotScheduleInput struct { - SDKShapeTraits bool `type:"structure" required:"VolumeARN,StartAt,RecurrenceInHours" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateSnapshotScheduleOutput struct { @@ -2455,14 +2455,14 @@ type metadataUpdateSnapshotScheduleOutput struct { } type UpdateVTLDeviceTypeInput struct { - DeviceType *string `type:"string" json:",omitempty"` - VTLDeviceARN *string `type:"string" json:",omitempty"` + DeviceType *string `type:"string" required:"true"json:",omitempty"` + VTLDeviceARN *string `type:"string" required:"true"json:",omitempty"` metadataUpdateVTLDeviceTypeInput `json:"-", xml:"-"` } type metadataUpdateVTLDeviceTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"VTLDeviceARN,DeviceType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type UpdateVTLDeviceTypeOutput struct { diff --git a/service/sts/api.go b/service/sts/api.go index 549dfe5e126..a132708ab5b 100644 --- a/service/sts/api.go +++ b/service/sts/api.go @@ -162,8 +162,8 @@ type AssumeRoleInput struct { DurationSeconds *int `type:"integer"` ExternalID *string `locationName:"ExternalId" type:"string"` Policy *string `type:"string"` - RoleARN *string `locationName:"RoleArn" type:"string"` - RoleSessionName *string `type:"string"` + RoleARN *string `locationName:"RoleArn" type:"string" required:"true"` + RoleSessionName *string `type:"string" required:"true"` SerialNumber *string `type:"string"` TokenCode *string `type:"string"` @@ -171,7 +171,7 @@ type AssumeRoleInput struct { } type metadataAssumeRoleInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleArn,RoleSessionName"` + SDKShapeTraits bool `type:"structure"` } type AssumeRoleOutput struct { @@ -189,15 +189,15 @@ type metadataAssumeRoleOutput struct { type AssumeRoleWithSAMLInput struct { DurationSeconds *int `type:"integer"` Policy *string `type:"string"` - PrincipalARN *string `locationName:"PrincipalArn" type:"string"` - RoleARN *string `locationName:"RoleArn" type:"string"` - SAMLAssertion *string `type:"string"` + PrincipalARN *string `locationName:"PrincipalArn" type:"string" required:"true"` + RoleARN *string `locationName:"RoleArn" type:"string" required:"true"` + SAMLAssertion *string `type:"string" required:"true"` metadataAssumeRoleWithSAMLInput `json:"-", xml:"-"` } type metadataAssumeRoleWithSAMLInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleArn,PrincipalArn,SAMLAssertion"` + SDKShapeTraits bool `type:"structure"` } type AssumeRoleWithSAMLOutput struct { @@ -221,15 +221,15 @@ type AssumeRoleWithWebIdentityInput struct { DurationSeconds *int `type:"integer"` Policy *string `type:"string"` ProviderID *string `locationName:"ProviderId" type:"string"` - RoleARN *string `locationName:"RoleArn" type:"string"` - RoleSessionName *string `type:"string"` - WebIdentityToken *string `type:"string"` + RoleARN *string `locationName:"RoleArn" type:"string" required:"true"` + RoleSessionName *string `type:"string" required:"true"` + WebIdentityToken *string `type:"string" required:"true"` metadataAssumeRoleWithWebIdentityInput `json:"-", xml:"-"` } type metadataAssumeRoleWithWebIdentityInput struct { - SDKShapeTraits bool `type:"structure" required:"RoleArn,RoleSessionName,WebIdentityToken"` + SDKShapeTraits bool `type:"structure"` } type AssumeRoleWithWebIdentityOutput struct { @@ -248,37 +248,37 @@ type metadataAssumeRoleWithWebIdentityOutput struct { } type AssumedRoleUser struct { - ARN *string `locationName:"Arn" type:"string"` - AssumedRoleID *string `locationName:"AssumedRoleId" type:"string"` + ARN *string `locationName:"Arn" type:"string" required:"true"` + AssumedRoleID *string `locationName:"AssumedRoleId" type:"string" required:"true"` metadataAssumedRoleUser `json:"-", xml:"-"` } type metadataAssumedRoleUser struct { - SDKShapeTraits bool `type:"structure" required:"AssumedRoleId,Arn"` + SDKShapeTraits bool `type:"structure"` } type Credentials struct { - AccessKeyID *string `locationName:"AccessKeyId" type:"string"` - Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601"` - SecretAccessKey *string `type:"string"` - SessionToken *string `type:"string"` + AccessKeyID *string `locationName:"AccessKeyId" type:"string" required:"true"` + Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + SecretAccessKey *string `type:"string" required:"true"` + SessionToken *string `type:"string" required:"true"` metadataCredentials `json:"-", xml:"-"` } type metadataCredentials struct { - SDKShapeTraits bool `type:"structure" required:"AccessKeyId,SecretAccessKey,SessionToken,Expiration"` + SDKShapeTraits bool `type:"structure"` } type DecodeAuthorizationMessageInput struct { - EncodedMessage *string `type:"string"` + EncodedMessage *string `type:"string" required:"true"` metadataDecodeAuthorizationMessageInput `json:"-", xml:"-"` } type metadataDecodeAuthorizationMessageInput struct { - SDKShapeTraits bool `type:"structure" required:"EncodedMessage"` + SDKShapeTraits bool `type:"structure"` } type DecodeAuthorizationMessageOutput struct { @@ -292,26 +292,26 @@ type metadataDecodeAuthorizationMessageOutput struct { } type FederatedUser struct { - ARN *string `locationName:"Arn" type:"string"` - FederatedUserID *string `locationName:"FederatedUserId" type:"string"` + ARN *string `locationName:"Arn" type:"string" required:"true"` + FederatedUserID *string `locationName:"FederatedUserId" type:"string" required:"true"` metadataFederatedUser `json:"-", xml:"-"` } type metadataFederatedUser struct { - SDKShapeTraits bool `type:"structure" required:"FederatedUserId,Arn"` + SDKShapeTraits bool `type:"structure"` } type GetFederationTokenInput struct { DurationSeconds *int `type:"integer"` - Name *string `type:"string"` + Name *string `type:"string" required:"true"` Policy *string `type:"string"` metadataGetFederationTokenInput `json:"-", xml:"-"` } type metadataGetFederationTokenInput struct { - SDKShapeTraits bool `type:"structure" required:"Name"` + SDKShapeTraits bool `type:"structure"` } type GetFederationTokenOutput struct { diff --git a/service/support/api.go b/service/support/api.go index 4f197bc28c7..919b29ad2f1 100644 --- a/service/support/api.go +++ b/service/support/api.go @@ -358,13 +358,13 @@ var opResolveCase *aws.Operation type AddAttachmentsToSetInput struct { AttachmentSetID *string `locationName:"attachmentSetId" type:"string" json:"attachmentSetId,omitempty"` - Attachments []*Attachment `locationName:"attachments" type:"list" json:"attachments,omitempty"` + Attachments []*Attachment `locationName:"attachments" type:"list" required:"true"json:"attachments,omitempty"` metadataAddAttachmentsToSetInput `json:"-", xml:"-"` } type metadataAddAttachmentsToSetInput struct { - SDKShapeTraits bool `type:"structure" required:"attachments" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddAttachmentsToSetOutput struct { @@ -382,13 +382,13 @@ type AddCommunicationToCaseInput struct { AttachmentSetID *string `locationName:"attachmentSetId" type:"string" json:"attachmentSetId,omitempty"` CCEmailAddresses []*string `locationName:"ccEmailAddresses" type:"list" json:"ccEmailAddresses,omitempty"` CaseID *string `locationName:"caseId" type:"string" json:"caseId,omitempty"` - CommunicationBody *string `locationName:"communicationBody" type:"string" json:"communicationBody,omitempty"` + CommunicationBody *string `locationName:"communicationBody" type:"string" required:"true"json:"communicationBody,omitempty"` metadataAddCommunicationToCaseInput `json:"-", xml:"-"` } type metadataAddCommunicationToCaseInput struct { - SDKShapeTraits bool `type:"structure" required:"communicationBody" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type AddCommunicationToCaseOutput struct { @@ -473,18 +473,18 @@ type CreateCaseInput struct { AttachmentSetID *string `locationName:"attachmentSetId" type:"string" json:"attachmentSetId,omitempty"` CCEmailAddresses []*string `locationName:"ccEmailAddresses" type:"list" json:"ccEmailAddresses,omitempty"` CategoryCode *string `locationName:"categoryCode" type:"string" json:"categoryCode,omitempty"` - CommunicationBody *string `locationName:"communicationBody" type:"string" json:"communicationBody,omitempty"` + CommunicationBody *string `locationName:"communicationBody" type:"string" required:"true"json:"communicationBody,omitempty"` IssueType *string `locationName:"issueType" type:"string" json:"issueType,omitempty"` Language *string `locationName:"language" type:"string" json:"language,omitempty"` ServiceCode *string `locationName:"serviceCode" type:"string" json:"serviceCode,omitempty"` SeverityCode *string `locationName:"severityCode" type:"string" json:"severityCode,omitempty"` - Subject *string `locationName:"subject" type:"string" json:"subject,omitempty"` + Subject *string `locationName:"subject" type:"string" required:"true"json:"subject,omitempty"` metadataCreateCaseInput `json:"-", xml:"-"` } type metadataCreateCaseInput struct { - SDKShapeTraits bool `type:"structure" required:"subject,communicationBody" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CreateCaseOutput struct { @@ -498,13 +498,13 @@ type metadataCreateCaseOutput struct { } type DescribeAttachmentInput struct { - AttachmentID *string `locationName:"attachmentId" type:"string" json:"attachmentId,omitempty"` + AttachmentID *string `locationName:"attachmentId" type:"string" required:"true"json:"attachmentId,omitempty"` metadataDescribeAttachmentInput `json:"-", xml:"-"` } type metadataDescribeAttachmentInput struct { - SDKShapeTraits bool `type:"structure" required:"attachmentId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeAttachmentOutput struct { @@ -549,7 +549,7 @@ type metadataDescribeCasesOutput struct { type DescribeCommunicationsInput struct { AfterTime *string `locationName:"afterTime" type:"string" json:"afterTime,omitempty"` BeforeTime *string `locationName:"beforeTime" type:"string" json:"beforeTime,omitempty"` - CaseID *string `locationName:"caseId" type:"string" json:"caseId,omitempty"` + CaseID *string `locationName:"caseId" type:"string" required:"true"json:"caseId,omitempty"` MaxResults *int `locationName:"maxResults" type:"integer" json:"maxResults,omitempty"` NextToken *string `locationName:"nextToken" type:"string" json:"nextToken,omitempty"` @@ -557,7 +557,7 @@ type DescribeCommunicationsInput struct { } type metadataDescribeCommunicationsInput struct { - SDKShapeTraits bool `type:"structure" required:"caseId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeCommunicationsOutput struct { @@ -613,34 +613,34 @@ type metadataDescribeSeverityLevelsOutput struct { } type DescribeTrustedAdvisorCheckRefreshStatusesInput struct { - CheckIDs []*string `locationName:"checkIds" type:"list" json:"checkIds,omitempty"` + CheckIDs []*string `locationName:"checkIds" type:"list" required:"true"json:"checkIds,omitempty"` metadataDescribeTrustedAdvisorCheckRefreshStatusesInput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorCheckRefreshStatusesInput struct { - SDKShapeTraits bool `type:"structure" required:"checkIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorCheckRefreshStatusesOutput struct { - Statuses []*TrustedAdvisorCheckRefreshStatus `locationName:"statuses" type:"list" json:"statuses,omitempty"` + Statuses []*TrustedAdvisorCheckRefreshStatus `locationName:"statuses" type:"list" required:"true"json:"statuses,omitempty"` metadataDescribeTrustedAdvisorCheckRefreshStatusesOutput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorCheckRefreshStatusesOutput struct { - SDKShapeTraits bool `type:"structure" required:"statuses" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorCheckResultInput struct { - CheckID *string `locationName:"checkId" type:"string" json:"checkId,omitempty"` + CheckID *string `locationName:"checkId" type:"string" required:"true"json:"checkId,omitempty"` Language *string `locationName:"language" type:"string" json:"language,omitempty"` metadataDescribeTrustedAdvisorCheckResultInput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorCheckResultInput struct { - SDKShapeTraits bool `type:"structure" required:"checkId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorCheckResultOutput struct { @@ -654,43 +654,43 @@ type metadataDescribeTrustedAdvisorCheckResultOutput struct { } type DescribeTrustedAdvisorCheckSummariesInput struct { - CheckIDs []*string `locationName:"checkIds" type:"list" json:"checkIds,omitempty"` + CheckIDs []*string `locationName:"checkIds" type:"list" required:"true"json:"checkIds,omitempty"` metadataDescribeTrustedAdvisorCheckSummariesInput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorCheckSummariesInput struct { - SDKShapeTraits bool `type:"structure" required:"checkIds" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorCheckSummariesOutput struct { - Summaries []*TrustedAdvisorCheckSummary `locationName:"summaries" type:"list" json:"summaries,omitempty"` + Summaries []*TrustedAdvisorCheckSummary `locationName:"summaries" type:"list" required:"true"json:"summaries,omitempty"` metadataDescribeTrustedAdvisorCheckSummariesOutput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorCheckSummariesOutput struct { - SDKShapeTraits bool `type:"structure" required:"summaries" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorChecksInput struct { - Language *string `locationName:"language" type:"string" json:"language,omitempty"` + Language *string `locationName:"language" type:"string" required:"true"json:"language,omitempty"` metadataDescribeTrustedAdvisorChecksInput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorChecksInput struct { - SDKShapeTraits bool `type:"structure" required:"language" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeTrustedAdvisorChecksOutput struct { - Checks []*TrustedAdvisorCheckDescription `locationName:"checks" type:"list" json:"checks,omitempty"` + Checks []*TrustedAdvisorCheckDescription `locationName:"checks" type:"list" required:"true"json:"checks,omitempty"` metadataDescribeTrustedAdvisorChecksOutput `json:"-", xml:"-"` } type metadataDescribeTrustedAdvisorChecksOutput struct { - SDKShapeTraits bool `type:"structure" required:"checks" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RecentCaseCommunications struct { @@ -705,23 +705,23 @@ type metadataRecentCaseCommunications struct { } type RefreshTrustedAdvisorCheckInput struct { - CheckID *string `locationName:"checkId" type:"string" json:"checkId,omitempty"` + CheckID *string `locationName:"checkId" type:"string" required:"true"json:"checkId,omitempty"` metadataRefreshTrustedAdvisorCheckInput `json:"-", xml:"-"` } type metadataRefreshTrustedAdvisorCheckInput struct { - SDKShapeTraits bool `type:"structure" required:"checkId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RefreshTrustedAdvisorCheckOutput struct { - Status *TrustedAdvisorCheckRefreshStatus `locationName:"status" type:"structure" json:"status,omitempty"` + Status *TrustedAdvisorCheckRefreshStatus `locationName:"status" type:"structure" required:"true"json:"status,omitempty"` metadataRefreshTrustedAdvisorCheckOutput `json:"-", xml:"-"` } type metadataRefreshTrustedAdvisorCheckOutput struct { - SDKShapeTraits bool `type:"structure" required:"status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ResolveCaseInput struct { @@ -779,95 +779,95 @@ type metadataTrustedAdvisorCategorySpecificSummary struct { } type TrustedAdvisorCheckDescription struct { - Category *string `locationName:"category" type:"string" json:"category,omitempty"` - Description *string `locationName:"description" type:"string" json:"description,omitempty"` - ID *string `locationName:"id" type:"string" json:"id,omitempty"` - Metadata []*string `locationName:"metadata" type:"list" json:"metadata,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Category *string `locationName:"category" type:"string" required:"true"json:"category,omitempty"` + Description *string `locationName:"description" type:"string" required:"true"json:"description,omitempty"` + ID *string `locationName:"id" type:"string" required:"true"json:"id,omitempty"` + Metadata []*string `locationName:"metadata" type:"list" required:"true"json:"metadata,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` metadataTrustedAdvisorCheckDescription `json:"-", xml:"-"` } type metadataTrustedAdvisorCheckDescription struct { - SDKShapeTraits bool `type:"structure" required:"id,name,description,category,metadata" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorCheckRefreshStatus struct { - CheckID *string `locationName:"checkId" type:"string" json:"checkId,omitempty"` - MillisUntilNextRefreshable *int64 `locationName:"millisUntilNextRefreshable" type:"long" json:"millisUntilNextRefreshable,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + CheckID *string `locationName:"checkId" type:"string" required:"true"json:"checkId,omitempty"` + MillisUntilNextRefreshable *int64 `locationName:"millisUntilNextRefreshable" type:"long" required:"true"json:"millisUntilNextRefreshable,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataTrustedAdvisorCheckRefreshStatus `json:"-", xml:"-"` } type metadataTrustedAdvisorCheckRefreshStatus struct { - SDKShapeTraits bool `type:"structure" required:"checkId,status,millisUntilNextRefreshable" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorCheckResult struct { - CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" json:"categorySpecificSummary,omitempty"` - CheckID *string `locationName:"checkId" type:"string" json:"checkId,omitempty"` - FlaggedResources []*TrustedAdvisorResourceDetail `locationName:"flaggedResources" type:"list" json:"flaggedResources,omitempty"` - ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" json:"resourcesSummary,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` - Timestamp *string `locationName:"timestamp" type:"string" json:"timestamp,omitempty"` + CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" required:"true"json:"categorySpecificSummary,omitempty"` + CheckID *string `locationName:"checkId" type:"string" required:"true"json:"checkId,omitempty"` + FlaggedResources []*TrustedAdvisorResourceDetail `locationName:"flaggedResources" type:"list" required:"true"json:"flaggedResources,omitempty"` + ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" required:"true"json:"resourcesSummary,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` + Timestamp *string `locationName:"timestamp" type:"string" required:"true"json:"timestamp,omitempty"` metadataTrustedAdvisorCheckResult `json:"-", xml:"-"` } type metadataTrustedAdvisorCheckResult struct { - SDKShapeTraits bool `type:"structure" required:"checkId,timestamp,status,resourcesSummary,categorySpecificSummary,flaggedResources" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorCheckSummary struct { - CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" json:"categorySpecificSummary,omitempty"` - CheckID *string `locationName:"checkId" type:"string" json:"checkId,omitempty"` + CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" required:"true"json:"categorySpecificSummary,omitempty"` + CheckID *string `locationName:"checkId" type:"string" required:"true"json:"checkId,omitempty"` HasFlaggedResources *bool `locationName:"hasFlaggedResources" type:"boolean" json:"hasFlaggedResources,omitempty"` - ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" json:"resourcesSummary,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` - Timestamp *string `locationName:"timestamp" type:"string" json:"timestamp,omitempty"` + ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" required:"true"json:"resourcesSummary,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` + Timestamp *string `locationName:"timestamp" type:"string" required:"true"json:"timestamp,omitempty"` metadataTrustedAdvisorCheckSummary `json:"-", xml:"-"` } type metadataTrustedAdvisorCheckSummary struct { - SDKShapeTraits bool `type:"structure" required:"checkId,timestamp,status,resourcesSummary,categorySpecificSummary" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorCostOptimizingSummary struct { - EstimatedMonthlySavings *float64 `locationName:"estimatedMonthlySavings" type:"double" json:"estimatedMonthlySavings,omitempty"` - EstimatedPercentMonthlySavings *float64 `locationName:"estimatedPercentMonthlySavings" type:"double" json:"estimatedPercentMonthlySavings,omitempty"` + EstimatedMonthlySavings *float64 `locationName:"estimatedMonthlySavings" type:"double" required:"true"json:"estimatedMonthlySavings,omitempty"` + EstimatedPercentMonthlySavings *float64 `locationName:"estimatedPercentMonthlySavings" type:"double" required:"true"json:"estimatedPercentMonthlySavings,omitempty"` metadataTrustedAdvisorCostOptimizingSummary `json:"-", xml:"-"` } type metadataTrustedAdvisorCostOptimizingSummary struct { - SDKShapeTraits bool `type:"structure" required:"estimatedMonthlySavings,estimatedPercentMonthlySavings" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorResourceDetail struct { IsSuppressed *bool `locationName:"isSuppressed" type:"boolean" json:"isSuppressed,omitempty"` - Metadata []*string `locationName:"metadata" type:"list" json:"metadata,omitempty"` - Region *string `locationName:"region" type:"string" json:"region,omitempty"` - ResourceID *string `locationName:"resourceId" type:"string" json:"resourceId,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + Metadata []*string `locationName:"metadata" type:"list" required:"true"json:"metadata,omitempty"` + Region *string `locationName:"region" type:"string" required:"true"json:"region,omitempty"` + ResourceID *string `locationName:"resourceId" type:"string" required:"true"json:"resourceId,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataTrustedAdvisorResourceDetail `json:"-", xml:"-"` } type metadataTrustedAdvisorResourceDetail struct { - SDKShapeTraits bool `type:"structure" required:"status,region,resourceId,metadata" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TrustedAdvisorResourcesSummary struct { - ResourcesFlagged *int64 `locationName:"resourcesFlagged" type:"long" json:"resourcesFlagged,omitempty"` - ResourcesIgnored *int64 `locationName:"resourcesIgnored" type:"long" json:"resourcesIgnored,omitempty"` - ResourcesProcessed *int64 `locationName:"resourcesProcessed" type:"long" json:"resourcesProcessed,omitempty"` - ResourcesSuppressed *int64 `locationName:"resourcesSuppressed" type:"long" json:"resourcesSuppressed,omitempty"` + ResourcesFlagged *int64 `locationName:"resourcesFlagged" type:"long" required:"true"json:"resourcesFlagged,omitempty"` + ResourcesIgnored *int64 `locationName:"resourcesIgnored" type:"long" required:"true"json:"resourcesIgnored,omitempty"` + ResourcesProcessed *int64 `locationName:"resourcesProcessed" type:"long" required:"true"json:"resourcesProcessed,omitempty"` + ResourcesSuppressed *int64 `locationName:"resourcesSuppressed" type:"long" required:"true"json:"resourcesSuppressed,omitempty"` metadataTrustedAdvisorResourcesSummary `json:"-", xml:"-"` } type metadataTrustedAdvisorResourcesSummary struct { - SDKShapeTraits bool `type:"structure" required:"resourcesProcessed,resourcesFlagged,resourcesIgnored,resourcesSuppressed" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } \ No newline at end of file diff --git a/service/swf/api.go b/service/swf/api.go index 204eb1114b2..fe9012dff6f 100644 --- a/service/swf/api.go +++ b/service/swf/api.go @@ -784,107 +784,107 @@ func (c *SWF) TerminateWorkflowExecution(input *TerminateWorkflowExecutionInput) var opTerminateWorkflowExecution *aws.Operation type ActivityTaskCancelRequestedEventAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataActivityTaskCancelRequestedEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskCancelRequestedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"decisionTaskCompletedEventId,activityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskCanceledEventAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` LatestCancelRequestedEventID *int64 `locationName:"latestCancelRequestedEventId" type:"long" json:"latestCancelRequestedEventId,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` metadataActivityTaskCanceledEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskCanceledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskCompletedEventAttributes struct { Result *string `locationName:"result" type:"string" json:"result,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` metadataActivityTaskCompletedEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskCompletedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskFailedEventAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` metadataActivityTaskFailedEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskScheduledEventAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` HeartbeatTimeout *string `locationName:"heartbeatTimeout" type:"string" json:"heartbeatTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` ScheduleToCloseTimeout *string `locationName:"scheduleToCloseTimeout" type:"string" json:"scheduleToCloseTimeout,omitempty"` ScheduleToStartTimeout *string `locationName:"scheduleToStartTimeout" type:"string" json:"scheduleToStartTimeout,omitempty"` StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string" json:"startToCloseTimeout,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` metadataActivityTaskScheduledEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskScheduledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"activityType,activityId,taskList,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskStartedEventAttributes struct { Identity *string `locationName:"identity" type:"string" json:"identity,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` metadataActivityTaskStartedEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskStartedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTaskTimedOutEventAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TimeoutType *string `locationName:"timeoutType" type:"string" json:"timeoutType,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true"json:"timeoutType,omitempty"` metadataActivityTaskTimedOutEventAttributes `json:"-", xml:"-"` } type metadataActivityTaskTimedOutEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timeoutType,scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityType struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - Version *string `locationName:"version" type:"string" json:"version,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + Version *string `locationName:"version" type:"string" required:"true"json:"version,omitempty"` metadataActivityType `json:"-", xml:"-"` } type metadataActivityType struct { - SDKShapeTraits bool `type:"structure" required:"name,version" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ActivityTypeConfiguration struct { @@ -903,39 +903,39 @@ type metadataActivityTypeConfiguration struct { } type ActivityTypeInfo struct { - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" json:"creationDate,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"json:"creationDate,omitempty"` DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix" json:"deprecationDate,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataActivityTypeInfo `json:"-", xml:"-"` } type metadataActivityTypeInfo struct { - SDKShapeTraits bool `type:"structure" required:"activityType,status,creationDate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelTimerDecisionAttributes struct { - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataCancelTimerDecisionAttributes `json:"-", xml:"-"` } type metadataCancelTimerDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelTimerFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataCancelTimerFailedEventAttributes `json:"-", xml:"-"` } type metadataCancelTimerFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CancelWorkflowExecutionDecisionAttributes struct { @@ -949,106 +949,106 @@ type metadataCancelWorkflowExecutionDecisionAttributes struct { } type CancelWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataCancelWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataCancelWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionCanceledEventAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionCanceledEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionCanceledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,initiatedEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionCompletedEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` Result *string `locationName:"result" type:"string" json:"result,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionCompletedEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionCompletedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,initiatedEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionFailedEventAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,initiatedEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionStartedEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionStartedEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionStartedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,initiatedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionTerminatedEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionTerminatedEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionTerminatedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,initiatedEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ChildWorkflowExecutionTimedOutEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TimeoutType *string `locationName:"timeoutType" type:"string" json:"timeoutType,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true"json:"timeoutType,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataChildWorkflowExecutionTimedOutEventAttributes `json:"-", xml:"-"` } type metadataChildWorkflowExecutionTimedOutEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,workflowType,timeoutType,initiatedEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CloseStatusFilter struct { - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataCloseStatusFilter `json:"-", xml:"-"` } type metadataCloseStatusFilter struct { - SDKShapeTraits bool `type:"structure" required:"status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CompleteWorkflowExecutionDecisionAttributes struct { @@ -1062,14 +1062,14 @@ type metadataCompleteWorkflowExecutionDecisionAttributes struct { } type CompleteWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataCompleteWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataCompleteWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ContinueAsNewWorkflowExecutionDecisionAttributes struct { @@ -1090,20 +1090,20 @@ type metadataContinueAsNewWorkflowExecutionDecisionAttributes struct { } type ContinueAsNewWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataContinueAsNewWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataContinueAsNewWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CountClosedWorkflowExecutionsInput struct { CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure" json:"closeStatusFilter,omitempty"` CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure" json:"closeTimeFilter,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure" json:"executionFilter,omitempty"` StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" json:"startTimeFilter,omitempty"` TagFilter *TagFilter `locationName:"tagFilter" type:"structure" json:"tagFilter,omitempty"` @@ -1113,13 +1113,13 @@ type CountClosedWorkflowExecutionsInput struct { } type metadataCountClosedWorkflowExecutionsInput struct { - SDKShapeTraits bool `type:"structure" required:"domain" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CountOpenWorkflowExecutionsInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure" json:"executionFilter,omitempty"` - StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" json:"startTimeFilter,omitempty"` + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"json:"startTimeFilter,omitempty"` TagFilter *TagFilter `locationName:"tagFilter" type:"structure" json:"tagFilter,omitempty"` TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure" json:"typeFilter,omitempty"` @@ -1127,29 +1127,29 @@ type CountOpenWorkflowExecutionsInput struct { } type metadataCountOpenWorkflowExecutionsInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,startTimeFilter" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CountPendingActivityTasksInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` metadataCountPendingActivityTasksInput `json:"-", xml:"-"` } type metadataCountPendingActivityTasksInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,taskList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type CountPendingDecisionTasksInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` metadataCountPendingDecisionTasksInput `json:"-", xml:"-"` } type metadataCountPendingDecisionTasksInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,taskList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type Decision struct { @@ -1157,7 +1157,7 @@ type Decision struct { CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes `locationName:"cancelWorkflowExecutionDecisionAttributes" type:"structure" json:"cancelWorkflowExecutionDecisionAttributes,omitempty"` CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes `locationName:"completeWorkflowExecutionDecisionAttributes" type:"structure" json:"completeWorkflowExecutionDecisionAttributes,omitempty"` ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `locationName:"continueAsNewWorkflowExecutionDecisionAttributes" type:"structure" json:"continueAsNewWorkflowExecutionDecisionAttributes,omitempty"` - DecisionType *string `locationName:"decisionType" type:"string" json:"decisionType,omitempty"` + DecisionType *string `locationName:"decisionType" type:"string" required:"true"json:"decisionType,omitempty"` FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes `locationName:"failWorkflowExecutionDecisionAttributes" type:"structure" json:"failWorkflowExecutionDecisionAttributes,omitempty"` RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes `locationName:"recordMarkerDecisionAttributes" type:"structure" json:"recordMarkerDecisionAttributes,omitempty"` RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes `locationName:"requestCancelActivityTaskDecisionAttributes" type:"structure" json:"requestCancelActivityTaskDecisionAttributes,omitempty"` @@ -1171,65 +1171,65 @@ type Decision struct { } type metadataDecision struct { - SDKShapeTraits bool `type:"structure" required:"decisionType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DecisionTaskCompletedEventAttributes struct { ExecutionContext *string `locationName:"executionContext" type:"string" json:"executionContext,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` metadataDecisionTaskCompletedEventAttributes `json:"-", xml:"-"` } type metadataDecisionTaskCompletedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DecisionTaskScheduledEventAttributes struct { StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string" json:"startToCloseTimeout,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` metadataDecisionTaskScheduledEventAttributes `json:"-", xml:"-"` } type metadataDecisionTaskScheduledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"taskList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DecisionTaskStartedEventAttributes struct { Identity *string `locationName:"identity" type:"string" json:"identity,omitempty"` - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` metadataDecisionTaskStartedEventAttributes `json:"-", xml:"-"` } type metadataDecisionTaskStartedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"scheduledEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DecisionTaskTimedOutEventAttributes struct { - ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" json:"scheduledEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TimeoutType *string `locationName:"timeoutType" type:"string" json:"timeoutType,omitempty"` + ScheduledEventID *int64 `locationName:"scheduledEventId" type:"long" required:"true"json:"scheduledEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true"json:"timeoutType,omitempty"` metadataDecisionTaskTimedOutEventAttributes `json:"-", xml:"-"` } type metadataDecisionTaskTimedOutEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timeoutType,scheduledEventId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeprecateActivityTypeInput struct { - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` metadataDeprecateActivityTypeInput `json:"-", xml:"-"` } type metadataDeprecateActivityTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,activityType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeprecateActivityTypeOutput struct { @@ -1241,13 +1241,13 @@ type metadataDeprecateActivityTypeOutput struct { } type DeprecateDomainInput struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` metadataDeprecateDomainInput `json:"-", xml:"-"` } type metadataDeprecateDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeprecateDomainOutput struct { @@ -1259,14 +1259,14 @@ type metadataDeprecateDomainOutput struct { } type DeprecateWorkflowTypeInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataDeprecateWorkflowTypeInput `json:"-", xml:"-"` } type metadataDeprecateWorkflowTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DeprecateWorkflowTypeOutput struct { @@ -1278,148 +1278,148 @@ type metadataDeprecateWorkflowTypeOutput struct { } type DescribeActivityTypeInput struct { - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` metadataDescribeActivityTypeInput `json:"-", xml:"-"` } type metadataDescribeActivityTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,activityType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeActivityTypeOutput struct { - Configuration *ActivityTypeConfiguration `locationName:"configuration" type:"structure" json:"configuration,omitempty"` - TypeInfo *ActivityTypeInfo `locationName:"typeInfo" type:"structure" json:"typeInfo,omitempty"` + Configuration *ActivityTypeConfiguration `locationName:"configuration" type:"structure" required:"true"json:"configuration,omitempty"` + TypeInfo *ActivityTypeInfo `locationName:"typeInfo" type:"structure" required:"true"json:"typeInfo,omitempty"` metadataDescribeActivityTypeOutput `json:"-", xml:"-"` } type metadataDescribeActivityTypeOutput struct { - SDKShapeTraits bool `type:"structure" required:"typeInfo,configuration" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeDomainInput struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` metadataDescribeDomainInput `json:"-", xml:"-"` } type metadataDescribeDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeDomainOutput struct { - Configuration *DomainConfiguration `locationName:"configuration" type:"structure" json:"configuration,omitempty"` - DomainInfo *DomainInfo `locationName:"domainInfo" type:"structure" json:"domainInfo,omitempty"` + Configuration *DomainConfiguration `locationName:"configuration" type:"structure" required:"true"json:"configuration,omitempty"` + DomainInfo *DomainInfo `locationName:"domainInfo" type:"structure" required:"true"json:"domainInfo,omitempty"` metadataDescribeDomainOutput `json:"-", xml:"-"` } type metadataDescribeDomainOutput struct { - SDKShapeTraits bool `type:"structure" required:"domainInfo,configuration" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeWorkflowExecutionInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - Execution *WorkflowExecution `locationName:"execution" type:"structure" json:"execution,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"json:"execution,omitempty"` metadataDescribeWorkflowExecutionInput `json:"-", xml:"-"` } type metadataDescribeWorkflowExecutionInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,execution" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeWorkflowExecutionOutput struct { - ExecutionConfiguration *WorkflowExecutionConfiguration `locationName:"executionConfiguration" type:"structure" json:"executionConfiguration,omitempty"` - ExecutionInfo *WorkflowExecutionInfo `locationName:"executionInfo" type:"structure" json:"executionInfo,omitempty"` + ExecutionConfiguration *WorkflowExecutionConfiguration `locationName:"executionConfiguration" type:"structure" required:"true"json:"executionConfiguration,omitempty"` + ExecutionInfo *WorkflowExecutionInfo `locationName:"executionInfo" type:"structure" required:"true"json:"executionInfo,omitempty"` LatestActivityTaskTimestamp *time.Time `locationName:"latestActivityTaskTimestamp" type:"timestamp" timestampFormat:"unix" json:"latestActivityTaskTimestamp,omitempty"` LatestExecutionContext *string `locationName:"latestExecutionContext" type:"string" json:"latestExecutionContext,omitempty"` - OpenCounts *WorkflowExecutionOpenCounts `locationName:"openCounts" type:"structure" json:"openCounts,omitempty"` + OpenCounts *WorkflowExecutionOpenCounts `locationName:"openCounts" type:"structure" required:"true"json:"openCounts,omitempty"` metadataDescribeWorkflowExecutionOutput `json:"-", xml:"-"` } type metadataDescribeWorkflowExecutionOutput struct { - SDKShapeTraits bool `type:"structure" required:"executionInfo,executionConfiguration,openCounts" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeWorkflowTypeInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataDescribeWorkflowTypeInput `json:"-", xml:"-"` } type metadataDescribeWorkflowTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DescribeWorkflowTypeOutput struct { - Configuration *WorkflowTypeConfiguration `locationName:"configuration" type:"structure" json:"configuration,omitempty"` - TypeInfo *WorkflowTypeInfo `locationName:"typeInfo" type:"structure" json:"typeInfo,omitempty"` + Configuration *WorkflowTypeConfiguration `locationName:"configuration" type:"structure" required:"true"json:"configuration,omitempty"` + TypeInfo *WorkflowTypeInfo `locationName:"typeInfo" type:"structure" required:"true"json:"typeInfo,omitempty"` metadataDescribeWorkflowTypeOutput `json:"-", xml:"-"` } type metadataDescribeWorkflowTypeOutput struct { - SDKShapeTraits bool `type:"structure" required:"typeInfo,configuration" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DomainConfiguration struct { - WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" type:"string" json:"workflowExecutionRetentionPeriodInDays,omitempty"` + WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" type:"string" required:"true"json:"workflowExecutionRetentionPeriodInDays,omitempty"` metadataDomainConfiguration `json:"-", xml:"-"` } type metadataDomainConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecutionRetentionPeriodInDays" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type DomainInfo struct { Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` metadataDomainInfo `json:"-", xml:"-"` } type metadataDomainInfo struct { - SDKShapeTraits bool `type:"structure" required:"name,status" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ExecutionTimeFilter struct { LatestDate *time.Time `locationName:"latestDate" type:"timestamp" timestampFormat:"unix" json:"latestDate,omitempty"` - OldestDate *time.Time `locationName:"oldestDate" type:"timestamp" timestampFormat:"unix" json:"oldestDate,omitempty"` + OldestDate *time.Time `locationName:"oldestDate" type:"timestamp" timestampFormat:"unix" required:"true"json:"oldestDate,omitempty"` metadataExecutionTimeFilter `json:"-", xml:"-"` } type metadataExecutionTimeFilter struct { - SDKShapeTraits bool `type:"structure" required:"oldestDate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` metadataExternalWorkflowExecutionCancelRequestedEventAttributes `json:"-", xml:"-"` } type metadataExternalWorkflowExecutionCancelRequestedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,initiatedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ExternalWorkflowExecutionSignaledEventAttributes struct { - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` metadataExternalWorkflowExecutionSignaledEventAttributes `json:"-", xml:"-"` } type metadataExternalWorkflowExecutionSignaledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowExecution,initiatedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type FailWorkflowExecutionDecisionAttributes struct { @@ -1434,19 +1434,19 @@ type metadataFailWorkflowExecutionDecisionAttributes struct { } type FailWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataFailWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataFailWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetWorkflowExecutionHistoryInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - Execution *WorkflowExecution `locationName:"execution" type:"structure" json:"execution,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"json:"execution,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` @@ -1455,18 +1455,18 @@ type GetWorkflowExecutionHistoryInput struct { } type metadataGetWorkflowExecutionHistoryInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,execution" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type GetWorkflowExecutionHistoryOutput struct { - Events []*HistoryEvent `locationName:"events" type:"list" json:"events,omitempty"` + Events []*HistoryEvent `locationName:"events" type:"list" required:"true"json:"events,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` metadataGetWorkflowExecutionHistoryOutput `json:"-", xml:"-"` } type metadataGetWorkflowExecutionHistoryOutput struct { - SDKShapeTraits bool `type:"structure" required:"events" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type HistoryEvent struct { @@ -1491,9 +1491,9 @@ type HistoryEvent struct { DecisionTaskScheduledEventAttributes *DecisionTaskScheduledEventAttributes `locationName:"decisionTaskScheduledEventAttributes" type:"structure" json:"decisionTaskScheduledEventAttributes,omitempty"` DecisionTaskStartedEventAttributes *DecisionTaskStartedEventAttributes `locationName:"decisionTaskStartedEventAttributes" type:"structure" json:"decisionTaskStartedEventAttributes,omitempty"` DecisionTaskTimedOutEventAttributes *DecisionTaskTimedOutEventAttributes `locationName:"decisionTaskTimedOutEventAttributes" type:"structure" json:"decisionTaskTimedOutEventAttributes,omitempty"` - EventID *int64 `locationName:"eventId" type:"long" json:"eventId,omitempty"` - EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp" timestampFormat:"unix" json:"eventTimestamp,omitempty"` - EventType *string `locationName:"eventType" type:"string" json:"eventType,omitempty"` + EventID *int64 `locationName:"eventId" type:"long" required:"true"json:"eventId,omitempty"` + EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"json:"eventTimestamp,omitempty"` + EventType *string `locationName:"eventType" type:"string" required:"true"json:"eventType,omitempty"` ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes `locationName:"externalWorkflowExecutionCancelRequestedEventAttributes" type:"structure" json:"externalWorkflowExecutionCancelRequestedEventAttributes,omitempty"` ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes `locationName:"externalWorkflowExecutionSignaledEventAttributes" type:"structure" json:"externalWorkflowExecutionSignaledEventAttributes,omitempty"` FailWorkflowExecutionFailedEventAttributes *FailWorkflowExecutionFailedEventAttributes `locationName:"failWorkflowExecutionFailedEventAttributes" type:"structure" json:"failWorkflowExecutionFailedEventAttributes,omitempty"` @@ -1525,39 +1525,39 @@ type HistoryEvent struct { } type metadataHistoryEvent struct { - SDKShapeTraits bool `type:"structure" required:"eventTimestamp,eventType,eventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListActivityTypesInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` Name *string `locationName:"name" type:"string" json:"name,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` - RegistrationStatus *string `locationName:"registrationStatus" type:"string" json:"registrationStatus,omitempty"` + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true"json:"registrationStatus,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` metadataListActivityTypesInput `json:"-", xml:"-"` } type metadataListActivityTypesInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,registrationStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListActivityTypesOutput struct { NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` - TypeInfos []*ActivityTypeInfo `locationName:"typeInfos" type:"list" json:"typeInfos,omitempty"` + TypeInfos []*ActivityTypeInfo `locationName:"typeInfos" type:"list" required:"true"json:"typeInfos,omitempty"` metadataListActivityTypesOutput `json:"-", xml:"-"` } type metadataListActivityTypesOutput struct { - SDKShapeTraits bool `type:"structure" required:"typeInfos" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListClosedWorkflowExecutionsInput struct { CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure" json:"closeStatusFilter,omitempty"` CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure" json:"closeTimeFilter,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure" json:"executionFilter,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` @@ -1570,40 +1570,40 @@ type ListClosedWorkflowExecutionsInput struct { } type metadataListClosedWorkflowExecutionsInput struct { - SDKShapeTraits bool `type:"structure" required:"domain" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListDomainsInput struct { MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` - RegistrationStatus *string `locationName:"registrationStatus" type:"string" json:"registrationStatus,omitempty"` + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true"json:"registrationStatus,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` metadataListDomainsInput `json:"-", xml:"-"` } type metadataListDomainsInput struct { - SDKShapeTraits bool `type:"structure" required:"registrationStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListDomainsOutput struct { - DomainInfos []*DomainInfo `locationName:"domainInfos" type:"list" json:"domainInfos,omitempty"` + DomainInfos []*DomainInfo `locationName:"domainInfos" type:"list" required:"true"json:"domainInfos,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` metadataListDomainsOutput `json:"-", xml:"-"` } type metadataListDomainsOutput struct { - SDKShapeTraits bool `type:"structure" required:"domainInfos" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListOpenWorkflowExecutionsInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure" json:"executionFilter,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` - StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" json:"startTimeFilter,omitempty"` + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"json:"startTimeFilter,omitempty"` TagFilter *TagFilter `locationName:"tagFilter" type:"structure" json:"tagFilter,omitempty"` TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure" json:"typeFilter,omitempty"` @@ -1611,158 +1611,158 @@ type ListOpenWorkflowExecutionsInput struct { } type metadataListOpenWorkflowExecutionsInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,startTimeFilter" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListWorkflowTypesInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` Name *string `locationName:"name" type:"string" json:"name,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` - RegistrationStatus *string `locationName:"registrationStatus" type:"string" json:"registrationStatus,omitempty"` + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true"json:"registrationStatus,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` metadataListWorkflowTypesInput `json:"-", xml:"-"` } type metadataListWorkflowTypesInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,registrationStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ListWorkflowTypesOutput struct { NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` - TypeInfos []*WorkflowTypeInfo `locationName:"typeInfos" type:"list" json:"typeInfos,omitempty"` + TypeInfos []*WorkflowTypeInfo `locationName:"typeInfos" type:"list" required:"true"json:"typeInfos,omitempty"` metadataListWorkflowTypesOutput `json:"-", xml:"-"` } type metadataListWorkflowTypesOutput struct { - SDKShapeTraits bool `type:"structure" required:"typeInfos" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type MarkerRecordedEventAttributes struct { - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` Details *string `locationName:"details" type:"string" json:"details,omitempty"` - MarkerName *string `locationName:"markerName" type:"string" json:"markerName,omitempty"` + MarkerName *string `locationName:"markerName" type:"string" required:"true"json:"markerName,omitempty"` metadataMarkerRecordedEventAttributes `json:"-", xml:"-"` } type metadataMarkerRecordedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"markerName,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PendingTaskCount struct { - Count *int `locationName:"count" type:"integer" json:"count,omitempty"` + Count *int `locationName:"count" type:"integer" required:"true"json:"count,omitempty"` Truncated *bool `locationName:"truncated" type:"boolean" json:"truncated,omitempty"` metadataPendingTaskCount `json:"-", xml:"-"` } type metadataPendingTaskCount struct { - SDKShapeTraits bool `type:"structure" required:"count" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForActivityTaskInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` Identity *string `locationName:"identity" type:"string" json:"identity,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` metadataPollForActivityTaskInput `json:"-", xml:"-"` } type metadataPollForActivityTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,taskList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForActivityTaskOutput struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` metadataPollForActivityTaskOutput `json:"-", xml:"-"` } type metadataPollForActivityTaskOutput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken,activityId,startedEventId,workflowExecution,activityType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForDecisionTaskInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` Identity *string `locationName:"identity" type:"string" json:"identity,omitempty"` MaximumPageSize *int `locationName:"maximumPageSize" type:"integer" json:"maximumPageSize,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` ReverseOrder *bool `locationName:"reverseOrder" type:"boolean" json:"reverseOrder,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` metadataPollForDecisionTaskInput `json:"-", xml:"-"` } type metadataPollForDecisionTaskInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,taskList" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type PollForDecisionTaskOutput struct { - Events []*HistoryEvent `locationName:"events" type:"list" json:"events,omitempty"` + Events []*HistoryEvent `locationName:"events" type:"list" required:"true"json:"events,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` PreviousStartedEventID *int64 `locationName:"previousStartedEventId" type:"long" json:"previousStartedEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` - WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" json:"workflowExecution,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"json:"workflowExecution,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataPollForDecisionTaskOutput `json:"-", xml:"-"` } type metadataPollForDecisionTaskOutput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken,startedEventId,workflowExecution,workflowType,events" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RecordActivityTaskHeartbeatInput struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` metadataRecordActivityTaskHeartbeatInput `json:"-", xml:"-"` } type metadataRecordActivityTaskHeartbeatInput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RecordActivityTaskHeartbeatOutput struct { - CancelRequested *bool `locationName:"cancelRequested" type:"boolean" json:"cancelRequested,omitempty"` + CancelRequested *bool `locationName:"cancelRequested" type:"boolean" required:"true"json:"cancelRequested,omitempty"` metadataRecordActivityTaskHeartbeatOutput `json:"-", xml:"-"` } type metadataRecordActivityTaskHeartbeatOutput struct { - SDKShapeTraits bool `type:"structure" required:"cancelRequested" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RecordMarkerDecisionAttributes struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - MarkerName *string `locationName:"markerName" type:"string" json:"markerName,omitempty"` + MarkerName *string `locationName:"markerName" type:"string" required:"true"json:"markerName,omitempty"` metadataRecordMarkerDecisionAttributes `json:"-", xml:"-"` } type metadataRecordMarkerDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"markerName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RecordMarkerFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - MarkerName *string `locationName:"markerName" type:"string" json:"markerName,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + MarkerName *string `locationName:"markerName" type:"string" required:"true"json:"markerName,omitempty"` metadataRecordMarkerFailedEventAttributes `json:"-", xml:"-"` } type metadataRecordMarkerFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"markerName,cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterActivityTypeInput struct { @@ -1773,15 +1773,15 @@ type RegisterActivityTypeInput struct { DefaultTaskScheduleToStartTimeout *string `locationName:"defaultTaskScheduleToStartTimeout" type:"string" json:"defaultTaskScheduleToStartTimeout,omitempty"` DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string" json:"defaultTaskStartToCloseTimeout,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - Version *string `locationName:"version" type:"string" json:"version,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + Version *string `locationName:"version" type:"string" required:"true"json:"version,omitempty"` metadataRegisterActivityTypeInput `json:"-", xml:"-"` } type metadataRegisterActivityTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,name,version" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterActivityTypeOutput struct { @@ -1794,14 +1794,14 @@ type metadataRegisterActivityTypeOutput struct { type RegisterDomainInput struct { Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" type:"string" json:"workflowExecutionRetentionPeriodInDays,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" type:"string" required:"true"json:"workflowExecutionRetentionPeriodInDays,omitempty"` metadataRegisterDomainInput `json:"-", xml:"-"` } type metadataRegisterDomainInput struct { - SDKShapeTraits bool `type:"structure" required:"name,workflowExecutionRetentionPeriodInDays" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterDomainOutput struct { @@ -1819,15 +1819,15 @@ type RegisterWorkflowTypeInput struct { DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string" json:"defaultTaskPriority,omitempty"` DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string" json:"defaultTaskStartToCloseTimeout,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - Version *string `locationName:"version" type:"string" json:"version,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + Version *string `locationName:"version" type:"string" required:"true"json:"version,omitempty"` metadataRegisterWorkflowTypeInput `json:"-", xml:"-"` } type metadataRegisterWorkflowTypeInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,name,version" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RegisterWorkflowTypeOutput struct { @@ -1839,77 +1839,77 @@ type metadataRegisterWorkflowTypeOutput struct { } type RequestCancelActivityTaskDecisionAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` metadataRequestCancelActivityTaskDecisionAttributes `json:"-", xml:"-"` } type metadataRequestCancelActivityTaskDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"activityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelActivityTaskFailedEventAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataRequestCancelActivityTaskFailedEventAttributes `json:"-", xml:"-"` } type metadataRequestCancelActivityTaskFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"activityId,cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelExternalWorkflowExecutionDecisionAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataRequestCancelExternalWorkflowExecutionDecisionAttributes `json:"-", xml:"-"` } type metadataRequestCancelExternalWorkflowExecutionDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataRequestCancelExternalWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataRequestCancelExternalWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,cause,initiatedEventId,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataRequestCancelExternalWorkflowExecutionInitiatedEventAttributes `json:"-", xml:"-"` } type metadataRequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelWorkflowExecutionInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataRequestCancelWorkflowExecutionInput `json:"-", xml:"-"` } type metadataRequestCancelWorkflowExecutionInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RequestCancelWorkflowExecutionOutput struct { @@ -1922,13 +1922,13 @@ type metadataRequestCancelWorkflowExecutionOutput struct { type RespondActivityTaskCanceledInput struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` metadataRespondActivityTaskCanceledInput `json:"-", xml:"-"` } type metadataRespondActivityTaskCanceledInput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RespondActivityTaskCanceledOutput struct { @@ -1941,13 +1941,13 @@ type metadataRespondActivityTaskCanceledOutput struct { type RespondActivityTaskCompletedInput struct { Result *string `locationName:"result" type:"string" json:"result,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` metadataRespondActivityTaskCompletedInput `json:"-", xml:"-"` } type metadataRespondActivityTaskCompletedInput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RespondActivityTaskCompletedOutput struct { @@ -1961,13 +1961,13 @@ type metadataRespondActivityTaskCompletedOutput struct { type RespondActivityTaskFailedInput struct { Details *string `locationName:"details" type:"string" json:"details,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` metadataRespondActivityTaskFailedInput `json:"-", xml:"-"` } type metadataRespondActivityTaskFailedInput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RespondActivityTaskFailedOutput struct { @@ -1981,13 +1981,13 @@ type metadataRespondActivityTaskFailedOutput struct { type RespondDecisionTaskCompletedInput struct { Decisions []*Decision `locationName:"decisions" type:"list" json:"decisions,omitempty"` ExecutionContext *string `locationName:"executionContext" type:"string" json:"executionContext,omitempty"` - TaskToken *string `locationName:"taskToken" type:"string" json:"taskToken,omitempty"` + TaskToken *string `locationName:"taskToken" type:"string" required:"true"json:"taskToken,omitempty"` metadataRespondDecisionTaskCompletedInput `json:"-", xml:"-"` } type metadataRespondDecisionTaskCompletedInput struct { - SDKShapeTraits bool `type:"structure" required:"taskToken" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type RespondDecisionTaskCompletedOutput struct { @@ -1999,8 +1999,8 @@ type metadataRespondDecisionTaskCompletedOutput struct { } type ScheduleActivityTaskDecisionAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` HeartbeatTimeout *string `locationName:"heartbeatTimeout" type:"string" json:"heartbeatTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` @@ -2014,78 +2014,78 @@ type ScheduleActivityTaskDecisionAttributes struct { } type metadataScheduleActivityTaskDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"activityType,activityId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type ScheduleActivityTaskFailedEventAttributes struct { - ActivityID *string `locationName:"activityId" type:"string" json:"activityId,omitempty"` - ActivityType *ActivityType `locationName:"activityType" type:"structure" json:"activityType,omitempty"` - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + ActivityID *string `locationName:"activityId" type:"string" required:"true"json:"activityId,omitempty"` + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"json:"activityType,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` metadataScheduleActivityTaskFailedEventAttributes `json:"-", xml:"-"` } type metadataScheduleActivityTaskFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"activityType,activityId,cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SignalExternalWorkflowExecutionDecisionAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - SignalName *string `locationName:"signalName" type:"string" json:"signalName,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + SignalName *string `locationName:"signalName" type:"string" required:"true"json:"signalName,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataSignalExternalWorkflowExecutionDecisionAttributes `json:"-", xml:"-"` } type metadataSignalExternalWorkflowExecutionDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,signalName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SignalExternalWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataSignalExternalWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataSignalExternalWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,cause,initiatedEventId,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - SignalName *string `locationName:"signalName" type:"string" json:"signalName,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + SignalName *string `locationName:"signalName" type:"string" required:"true"json:"signalName,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataSignalExternalWorkflowExecutionInitiatedEventAttributes `json:"-", xml:"-"` } type metadataSignalExternalWorkflowExecutionInitiatedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,signalName,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SignalWorkflowExecutionInput struct { - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - SignalName *string `locationName:"signalName" type:"string" json:"signalName,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + SignalName *string `locationName:"signalName" type:"string" required:"true"json:"signalName,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataSignalWorkflowExecutionInput `json:"-", xml:"-"` } type metadataSignalWorkflowExecutionInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowId,signalName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type SignalWorkflowExecutionOutput struct { @@ -2105,92 +2105,92 @@ type StartChildWorkflowExecutionDecisionAttributes struct { TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataStartChildWorkflowExecutionDecisionAttributes `json:"-", xml:"-"` } type metadataStartChildWorkflowExecutionDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowType,workflowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartChildWorkflowExecutionFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" json:"initiatedEventId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + InitiatedEventID *int64 `locationName:"initiatedEventId" type:"long" required:"true"json:"initiatedEventId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataStartChildWorkflowExecutionFailedEventAttributes `json:"-", xml:"-"` } type metadataStartChildWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowType,cause,workflowId,initiatedEventId,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartChildWorkflowExecutionInitiatedEventAttributes struct { - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" json:"executionStartToCloseTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` TagList []*string `locationName:"tagList" type:"list" json:"tagList,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataStartChildWorkflowExecutionInitiatedEventAttributes `json:"-", xml:"-"` } type metadataStartChildWorkflowExecutionInitiatedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,workflowType,taskList,decisionTaskCompletedEventId,childPolicy" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartTimerDecisionAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` - StartToFireTimeout *string `locationName:"startToFireTimeout" type:"string" json:"startToFireTimeout,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + StartToFireTimeout *string `locationName:"startToFireTimeout" type:"string" required:"true"json:"startToFireTimeout,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataStartTimerDecisionAttributes `json:"-", xml:"-"` } type metadataStartTimerDecisionAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,startToFireTimeout" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartTimerFailedEventAttributes struct { - Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + Cause *string `locationName:"cause" type:"string" required:"true"json:"cause,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataStartTimerFailedEventAttributes `json:"-", xml:"-"` } type metadataStartTimerFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,cause,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartWorkflowExecutionInput struct { ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" json:"executionStartToCloseTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` TagList []*string `locationName:"tagList" type:"list" json:"tagList,omitempty"` TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataStartWorkflowExecutionInput `json:"-", xml:"-"` } type metadataStartWorkflowExecutionInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowId,workflowType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type StartWorkflowExecutionOutput struct { @@ -2204,38 +2204,38 @@ type metadataStartWorkflowExecutionOutput struct { } type TagFilter struct { - Tag *string `locationName:"tag" type:"string" json:"tag,omitempty"` + Tag *string `locationName:"tag" type:"string" required:"true"json:"tag,omitempty"` metadataTagFilter `json:"-", xml:"-"` } type metadataTagFilter struct { - SDKShapeTraits bool `type:"structure" required:"tag" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TaskList struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` metadataTaskList `json:"-", xml:"-"` } type metadataTaskList struct { - SDKShapeTraits bool `type:"structure" required:"name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TerminateWorkflowExecutionInput struct { ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` Details *string `locationName:"details" type:"string" json:"details,omitempty"` - Domain *string `locationName:"domain" type:"string" json:"domain,omitempty"` + Domain *string `locationName:"domain" type:"string" required:"true"json:"domain,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataTerminateWorkflowExecutionInput `json:"-", xml:"-"` } type metadataTerminateWorkflowExecutionInput struct { - SDKShapeTraits bool `type:"structure" required:"domain,workflowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TerminateWorkflowExecutionOutput struct { @@ -2247,50 +2247,50 @@ type metadataTerminateWorkflowExecutionOutput struct { } type TimerCanceledEventAttributes struct { - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataTimerCanceledEventAttributes `json:"-", xml:"-"` } type metadataTimerCanceledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,startedEventId,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TimerFiredEventAttributes struct { - StartedEventID *int64 `locationName:"startedEventId" type:"long" json:"startedEventId,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + StartedEventID *int64 `locationName:"startedEventId" type:"long" required:"true"json:"startedEventId,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataTimerFiredEventAttributes `json:"-", xml:"-"` } type metadataTimerFiredEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,startedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type TimerStartedEventAttributes struct { Control *string `locationName:"control" type:"string" json:"control,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` - StartToFireTimeout *string `locationName:"startToFireTimeout" type:"string" json:"startToFireTimeout,omitempty"` - TimerID *string `locationName:"timerId" type:"string" json:"timerId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` + StartToFireTimeout *string `locationName:"startToFireTimeout" type:"string" required:"true"json:"startToFireTimeout,omitempty"` + TimerID *string `locationName:"timerId" type:"string" required:"true"json:"timerId,omitempty"` metadataTimerStartedEventAttributes `json:"-", xml:"-"` } type metadataTimerStartedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timerId,startToFireTimeout,decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecution struct { - RunID *string `locationName:"runId" type:"string" json:"runId,omitempty"` - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + RunID *string `locationName:"runId" type:"string" required:"true"json:"runId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataWorkflowExecution `json:"-", xml:"-"` } type metadataWorkflowExecution struct { - SDKShapeTraits bool `type:"structure" required:"workflowId,runId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionCancelRequestedEventAttributes struct { @@ -2306,73 +2306,73 @@ type metadataWorkflowExecutionCancelRequestedEventAttributes struct { } type WorkflowExecutionCanceledEventAttributes struct { - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` Details *string `locationName:"details" type:"string" json:"details,omitempty"` metadataWorkflowExecutionCanceledEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionCanceledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionCompletedEventAttributes struct { - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` Result *string `locationName:"result" type:"string" json:"result,omitempty"` metadataWorkflowExecutionCompletedEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionCompletedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionConfiguration struct { - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` - ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" json:"executionStartToCloseTimeout,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" required:"true"json:"executionStartToCloseTimeout,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` - TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" required:"true"json:"taskStartToCloseTimeout,omitempty"` metadataWorkflowExecutionConfiguration `json:"-", xml:"-"` } type metadataWorkflowExecutionConfiguration struct { - SDKShapeTraits bool `type:"structure" required:"taskStartToCloseTimeout,executionStartToCloseTimeout,taskList,childPolicy" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionContinuedAsNewEventAttributes struct { - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" json:"executionStartToCloseTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` - NewExecutionRunID *string `locationName:"newExecutionRunId" type:"string" json:"newExecutionRunId,omitempty"` + NewExecutionRunID *string `locationName:"newExecutionRunId" type:"string" required:"true"json:"newExecutionRunId,omitempty"` TagList []*string `locationName:"tagList" type:"list" json:"tagList,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataWorkflowExecutionContinuedAsNewEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionContinuedAsNewEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"decisionTaskCompletedEventId,newExecutionRunId,taskList,childPolicy,workflowType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionCount struct { - Count *int `locationName:"count" type:"integer" json:"count,omitempty"` + Count *int `locationName:"count" type:"integer" required:"true"json:"count,omitempty"` Truncated *bool `locationName:"truncated" type:"boolean" json:"truncated,omitempty"` metadataWorkflowExecutionCount `json:"-", xml:"-"` } type metadataWorkflowExecutionCount struct { - SDKShapeTraits bool `type:"structure" required:"count" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionFailedEventAttributes struct { - DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" json:"decisionTaskCompletedEventId,omitempty"` + DecisionTaskCompletedEventID *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"json:"decisionTaskCompletedEventId,omitempty"` Details *string `locationName:"details" type:"string" json:"details,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` @@ -2380,97 +2380,97 @@ type WorkflowExecutionFailedEventAttributes struct { } type metadataWorkflowExecutionFailedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"decisionTaskCompletedEventId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionFilter struct { - WorkflowID *string `locationName:"workflowId" type:"string" json:"workflowId,omitempty"` + WorkflowID *string `locationName:"workflowId" type:"string" required:"true"json:"workflowId,omitempty"` metadataWorkflowExecutionFilter `json:"-", xml:"-"` } type metadataWorkflowExecutionFilter struct { - SDKShapeTraits bool `type:"structure" required:"workflowId" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionInfo struct { CancelRequested *bool `locationName:"cancelRequested" type:"boolean" json:"cancelRequested,omitempty"` CloseStatus *string `locationName:"closeStatus" type:"string" json:"closeStatus,omitempty"` CloseTimestamp *time.Time `locationName:"closeTimestamp" type:"timestamp" timestampFormat:"unix" json:"closeTimestamp,omitempty"` - Execution *WorkflowExecution `locationName:"execution" type:"structure" json:"execution,omitempty"` - ExecutionStatus *string `locationName:"executionStatus" type:"string" json:"executionStatus,omitempty"` + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"json:"execution,omitempty"` + ExecutionStatus *string `locationName:"executionStatus" type:"string" required:"true"json:"executionStatus,omitempty"` Parent *WorkflowExecution `locationName:"parent" type:"structure" json:"parent,omitempty"` - StartTimestamp *time.Time `locationName:"startTimestamp" type:"timestamp" timestampFormat:"unix" json:"startTimestamp,omitempty"` + StartTimestamp *time.Time `locationName:"startTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"json:"startTimestamp,omitempty"` TagList []*string `locationName:"tagList" type:"list" json:"tagList,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataWorkflowExecutionInfo `json:"-", xml:"-"` } type metadataWorkflowExecutionInfo struct { - SDKShapeTraits bool `type:"structure" required:"execution,workflowType,startTimestamp,executionStatus" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionInfos struct { - ExecutionInfos []*WorkflowExecutionInfo `locationName:"executionInfos" type:"list" json:"executionInfos,omitempty"` + ExecutionInfos []*WorkflowExecutionInfo `locationName:"executionInfos" type:"list" required:"true"json:"executionInfos,omitempty"` NextPageToken *string `locationName:"nextPageToken" type:"string" json:"nextPageToken,omitempty"` metadataWorkflowExecutionInfos `json:"-", xml:"-"` } type metadataWorkflowExecutionInfos struct { - SDKShapeTraits bool `type:"structure" required:"executionInfos" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionOpenCounts struct { - OpenActivityTasks *int `locationName:"openActivityTasks" type:"integer" json:"openActivityTasks,omitempty"` - OpenChildWorkflowExecutions *int `locationName:"openChildWorkflowExecutions" type:"integer" json:"openChildWorkflowExecutions,omitempty"` - OpenDecisionTasks *int `locationName:"openDecisionTasks" type:"integer" json:"openDecisionTasks,omitempty"` - OpenTimers *int `locationName:"openTimers" type:"integer" json:"openTimers,omitempty"` + OpenActivityTasks *int `locationName:"openActivityTasks" type:"integer" required:"true"json:"openActivityTasks,omitempty"` + OpenChildWorkflowExecutions *int `locationName:"openChildWorkflowExecutions" type:"integer" required:"true"json:"openChildWorkflowExecutions,omitempty"` + OpenDecisionTasks *int `locationName:"openDecisionTasks" type:"integer" required:"true"json:"openDecisionTasks,omitempty"` + OpenTimers *int `locationName:"openTimers" type:"integer" required:"true"json:"openTimers,omitempty"` metadataWorkflowExecutionOpenCounts `json:"-", xml:"-"` } type metadataWorkflowExecutionOpenCounts struct { - SDKShapeTraits bool `type:"structure" required:"openActivityTasks,openDecisionTasks,openTimers,openChildWorkflowExecutions" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionSignaledEventAttributes struct { ExternalInitiatedEventID *int64 `locationName:"externalInitiatedEventId" type:"long" json:"externalInitiatedEventId,omitempty"` ExternalWorkflowExecution *WorkflowExecution `locationName:"externalWorkflowExecution" type:"structure" json:"externalWorkflowExecution,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` - SignalName *string `locationName:"signalName" type:"string" json:"signalName,omitempty"` + SignalName *string `locationName:"signalName" type:"string" required:"true"json:"signalName,omitempty"` metadataWorkflowExecutionSignaledEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionSignaledEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"signalName" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionStartedEventAttributes struct { - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` ContinuedExecutionRunID *string `locationName:"continuedExecutionRunId" type:"string" json:"continuedExecutionRunId,omitempty"` ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string" json:"executionStartToCloseTimeout,omitempty"` Input *string `locationName:"input" type:"string" json:"input,omitempty"` ParentInitiatedEventID *int64 `locationName:"parentInitiatedEventId" type:"long" json:"parentInitiatedEventId,omitempty"` ParentWorkflowExecution *WorkflowExecution `locationName:"parentWorkflowExecution" type:"structure" json:"parentWorkflowExecution,omitempty"` TagList []*string `locationName:"tagList" type:"list" json:"tagList,omitempty"` - TaskList *TaskList `locationName:"taskList" type:"structure" json:"taskList,omitempty"` + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"json:"taskList,omitempty"` TaskPriority *string `locationName:"taskPriority" type:"string" json:"taskPriority,omitempty"` TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string" json:"taskStartToCloseTimeout,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataWorkflowExecutionStartedEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionStartedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"childPolicy,taskList,workflowType" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionTerminatedEventAttributes struct { Cause *string `locationName:"cause" type:"string" json:"cause,omitempty"` - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` Details *string `locationName:"details" type:"string" json:"details,omitempty"` Reason *string `locationName:"reason" type:"string" json:"reason,omitempty"` @@ -2478,29 +2478,29 @@ type WorkflowExecutionTerminatedEventAttributes struct { } type metadataWorkflowExecutionTerminatedEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"childPolicy" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowExecutionTimedOutEventAttributes struct { - ChildPolicy *string `locationName:"childPolicy" type:"string" json:"childPolicy,omitempty"` - TimeoutType *string `locationName:"timeoutType" type:"string" json:"timeoutType,omitempty"` + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true"json:"childPolicy,omitempty"` + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true"json:"timeoutType,omitempty"` metadataWorkflowExecutionTimedOutEventAttributes `json:"-", xml:"-"` } type metadataWorkflowExecutionTimedOutEventAttributes struct { - SDKShapeTraits bool `type:"structure" required:"timeoutType,childPolicy" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowType struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` - Version *string `locationName:"version" type:"string" json:"version,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` + Version *string `locationName:"version" type:"string" required:"true"json:"version,omitempty"` metadataWorkflowType `json:"-", xml:"-"` } type metadataWorkflowType struct { - SDKShapeTraits bool `type:"structure" required:"name,version" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowTypeConfiguration struct { @@ -2518,26 +2518,26 @@ type metadataWorkflowTypeConfiguration struct { } type WorkflowTypeFilter struct { - Name *string `locationName:"name" type:"string" json:"name,omitempty"` + Name *string `locationName:"name" type:"string" required:"true"json:"name,omitempty"` Version *string `locationName:"version" type:"string" json:"version,omitempty"` metadataWorkflowTypeFilter `json:"-", xml:"-"` } type metadataWorkflowTypeFilter struct { - SDKShapeTraits bool `type:"structure" required:"name" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } type WorkflowTypeInfo struct { - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" json:"creationDate,omitempty"` + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"json:"creationDate,omitempty"` DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix" json:"deprecationDate,omitempty"` Description *string `locationName:"description" type:"string" json:"description,omitempty"` - Status *string `locationName:"status" type:"string" json:"status,omitempty"` - WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" json:"workflowType,omitempty"` + Status *string `locationName:"status" type:"string" required:"true"json:"status,omitempty"` + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"json:"workflowType,omitempty"` metadataWorkflowTypeInfo `json:"-", xml:"-"` } type metadataWorkflowTypeInfo struct { - SDKShapeTraits bool `type:"structure" required:"workflowType,status,creationDate" json:",omitempty"` + SDKShapeTraits bool `type:"structure" json:",omitempty"` } \ No newline at end of file