diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 73b073b0cfd..a43a081e630 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -49,58 +49,58 @@ }, { "ImportPath": "github.com/aws/aws-sdk-go/aws", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/endpoints", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/protocol/query", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/protocol/rest", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/signer/v4", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/private/waiter", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/service/autoscaling", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/service/ec2", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/aws/aws-sdk-go/service/elb", - "Comment": "v1.0.2", - "Rev": "9d7bc2d6ca2ada0468f705f0e9725ca97f8550c8" + "Comment": "v1.0.7", + "Rev": "bf2f8fe7f45e68017086d069498638893feddf64" }, { "ImportPath": "github.com/beorn7/perks/quantile", diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/version.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/version.go index 668e406ef38..42227a114ec 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/version.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.0.2" +const SDKVersion = "1.0.7" diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/build.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/build.go index 87352bc60de..ed3c2e03955 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/build.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/build.go @@ -93,7 +93,7 @@ func buildLocationElements(r *request.Request, v reflect.Value) { } func buildBody(r *request.Request, v reflect.Value) { - if field, ok := v.Type().FieldByName("SDKShapeTraits"); ok { + if field, ok := v.Type().FieldByName("_"); ok { if payloadName := field.Tag.Get("payload"); payloadName != "" { pfield, _ := v.Type().FieldByName(payloadName) if ptag := pfield.Tag.Get("type"); ptag != "" && ptag != "structure" { diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/payload.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/payload.go index 1f603bb719f..4366de2e1e8 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/payload.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/payload.go @@ -12,7 +12,7 @@ func PayloadMember(i interface{}) interface{} { if !v.IsValid() { return nil } - if field, ok := v.Type().FieldByName("SDKShapeTraits"); ok { + if field, ok := v.Type().FieldByName("_"); ok { if payloadName := field.Tag.Get("payload"); payloadName != "" { field, _ := v.Type().FieldByName(payloadName) if field.Tag.Get("type") != "structure" { @@ -34,7 +34,7 @@ func PayloadType(i interface{}) string { if !v.IsValid() { return "" } - if field, ok := v.Type().FieldByName("SDKShapeTraits"); ok { + if field, ok := v.Type().FieldByName("_"); ok { if payloadName := field.Tag.Get("payload"); payloadName != "" { if member, ok := v.Type().FieldByName(payloadName); ok { return member.Tag.Get("type") diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go index 06d9accbacb..27f47b02c71 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go @@ -33,7 +33,7 @@ func UnmarshalMeta(r *request.Request) { } func unmarshalBody(r *request.Request, v reflect.Value) { - if field, ok := v.Type().FieldByName("SDKShapeTraits"); ok { + if field, ok := v.Type().FieldByName("_"); ok { if payloadName := field.Tag.Get("payload"); payloadName != "" { pfield, _ := v.Type().FieldByName(payloadName) if ptag := pfield.Tag.Get("type"); ptag != "" && ptag != "structure" { diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/build.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/build.go index d3db250231b..0d76dffbd61 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/build.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/build.go @@ -69,7 +69,7 @@ func (b *xmlBuilder) buildValue(value reflect.Value, current *XMLNode, tag refle switch t { case "structure": - if field, ok := value.Type().FieldByName("SDKShapeTraits"); ok { + if field, ok := value.Type().FieldByName("_"); ok { tag = tag + reflect.StructTag(" ") + field.Tag } return b.buildStruct(value, current, tag) diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/unmarshal.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/unmarshal.go index 5e4fe210b36..49f291a857b 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/unmarshal.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil/unmarshal.go @@ -59,7 +59,7 @@ func parse(r reflect.Value, node *XMLNode, tag reflect.StructTag) error { switch t { case "structure": - if field, ok := rtype.FieldByName("SDKShapeTraits"); ok { + if field, ok := rtype.FieldByName("_"); ok { tag = field.Tag } return parseStruct(r, node, tag) diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/api.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/api.go index 451708f8582..da7fda939e7 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/api.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/api.go @@ -32,6 +32,11 @@ func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req * // Attaches one or more EC2 instances to the specified Auto Scaling group. // +// When you attach instances, Auto Scaling increases the desired capacity of +// the group by the number of instances being attached. If the number of instances +// being attached plus the desired capacity of the group exceeds the maximum +// size of the group, the operation fails. +// // For more information, see Attach EC2 Instances to Your Auto Scaling Group // (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/attach-instance-asg.html) // in the Auto Scaling Developer Guide. @@ -106,7 +111,7 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct // to publish lifecycle notifications to the designated SQS queue or SNS topic. // Create the lifecycle hook. You can create a hook that acts when instances // launch or when instances terminate. If necessary, record the lifecycle action -// heartbeat to keep the instance in a pending state. Complete the lifecycle +// heartbeat to keep the instance in a pending state. Complete the lifecycle // action. For more information, see Auto Scaling Pending State (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingPendingState.html) // and Auto Scaling Terminating State (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingTerminatingState.html) // in the Auto Scaling Developer Guide. @@ -246,10 +251,20 @@ func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGrou // Deletes the specified Auto Scaling group. // -// The group must have no instances and no scaling activities in progress. +// If the group has instances or scaling activities in progress, you must specify +// the option to force the deletion in order for it to succeed. // -// To remove all instances before calling DeleteAutoScalingGroup, call UpdateAutoScalingGroup -// to set the minimum and maximum size of the Auto Scaling group to zero. +// If the group has policies, deleting the group deletes the policies, the +// underlying alarm actions, and any alarm that no longer has an associated +// action. +// +// To remove instances from the Auto Scaling group before deleting it, call +// DetachInstances with the list of instances and the option to decrement the +// desired capacity so that Auto Scaling does not launch replacement instances. +// +// To terminate all instances before deleting the Auto Scaling group, call +// UpdateAutoScalingGroup and set the minimum size and desired capacity of the +// Auto Scaling group to zero. func (c *AutoScaling) DeleteAutoScalingGroup(input *DeleteAutoScalingGroupInput) (*DeleteAutoScalingGroupOutput, error) { req, out := c.DeleteAutoScalingGroupRequest(input) err := req.Send() @@ -365,6 +380,9 @@ func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *reques } // Deletes the specified Auto Scaling policy. +// +// Deleting a policy deletes the underlying alarm action, but does not delete +// the alarm, even if it no longer has an associated action. func (c *AutoScaling) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { req, out := c.DeletePolicyRequest(input) err := req.Send() @@ -1040,9 +1058,13 @@ func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req * return } -// Removes one or more instances from the specified Auto Scaling group. After -// the instances are detached, you can manage them independently from the rest -// of the Auto Scaling group. +// Removes one or more instances from the specified Auto Scaling group. +// +// After the instances are detached, you can manage them independently from +// the rest of the Auto Scaling group. +// +// If you do not specify the option to decrement the desired capacity, Auto +// Scaling launches instances to replace the ones that are detached. // // For more information, see Detach EC2 Instances from Your Auto Scaling Group // (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/detach-instance-asg.html) @@ -1515,6 +1537,36 @@ func (c *AutoScaling) SetInstanceHealth(input *SetInstanceHealthInput) (*SetInst return out, err } +const opSetInstanceProtection = "SetInstanceProtection" + +// SetInstanceProtectionRequest generates a request for the SetInstanceProtection operation. +func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionInput) (req *request.Request, output *SetInstanceProtectionOutput) { + op := &request.Operation{ + Name: opSetInstanceProtection, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &SetInstanceProtectionInput{} + } + + req = c.newRequest(op, input, output) + output = &SetInstanceProtectionOutput{} + req.Data = output + return +} + +// Updates the instance protection settings of the specified instances. +// +// For more information, see Instance Protection (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingBehavior.InstanceTermination.html#instance-protection) +// in the Auto Scaling Developer Guide. +func (c *AutoScaling) SetInstanceProtection(input *SetInstanceProtectionInput) (*SetInstanceProtectionOutput, error) { + req, out := c.SetInstanceProtectionRequest(input) + err := req.Send() + return out, err +} + const opSuspendProcesses = "SuspendProcesses" // SuspendProcessesRequest generates a request for the SuspendProcesses operation. @@ -1637,6 +1689,8 @@ func (c *AutoScaling) UpdateAutoScalingGroup(input *UpdateAutoScalingGroupInput) // a change to your Auto Scaling group, such as changing its size or replacing // an instance. type Activity struct { + _ struct{} `type:"structure"` + // The ID of the activity. ActivityId *string `type:"string" required:"true"` @@ -1666,12 +1720,6 @@ type Activity struct { // A friendly, more verbose description of the activity status. StatusMessage *string `min:"1" type:"string"` - - metadataActivity `json:"-" xml:"-"` -} - -type metadataActivity struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1689,15 +1737,11 @@ func (s Activity) GoString() string { // For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html) // in the Auto Scaling Developer Guide. type AdjustmentType struct { + _ struct{} `type:"structure"` + // The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, // and PercentChangeInCapacity. AdjustmentType *string `min:"1" type:"string"` - - metadataAdjustmentType `json:"-" xml:"-"` -} - -type metadataAdjustmentType struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1712,17 +1756,13 @@ func (s AdjustmentType) GoString() string { // Describes an alarm. type Alarm struct { + _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the alarm. AlarmARN *string `min:"1" type:"string"` // The name of the alarm. AlarmName *string `min:"1" type:"string"` - - metadataAlarm `json:"-" xml:"-"` -} - -type metadataAlarm struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1736,17 +1776,13 @@ func (s Alarm) GoString() string { } type AttachInstancesInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more EC2 instance IDs. InstanceIds []*string `type:"list"` - - metadataAttachInstancesInput `json:"-" xml:"-"` -} - -type metadataAttachInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1760,11 +1796,7 @@ func (s AttachInstancesInput) GoString() string { } type AttachInstancesOutput struct { - metadataAttachInstancesOutput `json:"-" xml:"-"` -} - -type metadataAttachInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1778,17 +1810,13 @@ func (s AttachInstancesOutput) GoString() string { } type AttachLoadBalancersInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` // One or more load balancer names. LoadBalancerNames []*string `type:"list"` - - metadataAttachLoadBalancersInput `json:"-" xml:"-"` -} - -type metadataAttachLoadBalancersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1802,11 +1830,7 @@ func (s AttachLoadBalancersInput) GoString() string { } type AttachLoadBalancersOutput struct { - metadataAttachLoadBalancersOutput `json:"-" xml:"-"` -} - -type metadataAttachLoadBalancersOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1821,6 +1845,8 @@ func (s AttachLoadBalancersOutput) GoString() string { // Describes a block device mapping. type BlockDeviceMapping struct { + _ struct{} `type:"structure"` + // The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). DeviceName *string `min:"1" type:"string" required:"true"` @@ -1836,12 +1862,6 @@ type BlockDeviceMapping struct { // The name of the virtual device (for example, ephemeral0). VirtualName *string `min:"1" type:"string"` - - metadataBlockDeviceMapping `json:"-" xml:"-"` -} - -type metadataBlockDeviceMapping struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1855,6 +1875,8 @@ func (s BlockDeviceMapping) GoString() string { } type CompleteLifecycleActionInput struct { + _ struct{} `type:"structure"` + // The name of the group for the lifecycle hook. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -1869,12 +1891,6 @@ type CompleteLifecycleActionInput struct { // The name of the lifecycle hook. LifecycleHookName *string `min:"1" type:"string" required:"true"` - - metadataCompleteLifecycleActionInput `json:"-" xml:"-"` -} - -type metadataCompleteLifecycleActionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1888,11 +1904,7 @@ func (s CompleteLifecycleActionInput) GoString() string { } type CompleteLifecycleActionOutput struct { - metadataCompleteLifecycleActionOutput `json:"-" xml:"-"` -} - -type metadataCompleteLifecycleActionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1906,6 +1918,8 @@ func (s CompleteLifecycleActionOutput) GoString() string { } type CreateAutoScalingGroupInput struct { + _ struct{} `type:"structure"` + // The name of the group. This name must be unique within the scope of your // AWS account. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -1915,10 +1929,9 @@ type CreateAutoScalingGroupInput struct { AvailabilityZones []*string `min:"1" type:"list"` // The amount of time, in seconds, after a scaling activity completes before - // another scaling activity can start. + // another scaling activity can start. The default is 300. // - // The default is 300. For more information, see Understanding Auto Scaling - // Cooldowns (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html) + // For more information, see Understanding Auto Scaling Cooldowns (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html) // in the Auto Scaling Developer Guide. DefaultCooldown *int64 `type:"integer"` @@ -1927,17 +1940,14 @@ type CreateAutoScalingGroupInput struct { // or equal to the maximum size of the group. DesiredCapacity *int64 `type:"integer"` - // The amount of time, in seconds, after an EC2 instance comes into service - // that Auto Scaling starts checking its health. During this time, any health - // check failures for the instance are ignored. + // The amount of time, in seconds, that Auto Scaling waits before checking the + // health status of an EC2 instance that has come into service. During this + // time, any health check failures for the instance are ignored. The default + // is 300. // - // This parameter is required if you are adding an ELB health check. Frequently, - // new instances need to warm up, briefly, before they can pass a health check. - // To provide ample warm-up time, set the health check grace period of the group - // to match the expected startup period of your application. + // This parameter is required if you are adding an ELB health check. // - // For more information, see Add an Elastic Load Balancing Health Check to - // Your Auto Scaling Group (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-add-elb-healthcheck.html) + // For more information, see Health Checks for Auto Scaling Instances (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html) // in the Auto Scaling Developer Guide. HealthCheckGracePeriod *int64 `type:"integer"` @@ -1978,6 +1988,10 @@ type CreateAutoScalingGroupInput struct { // The minimum size of the group. MinSize *int64 `type:"integer" required:"true"` + // Indicates whether newly launched instances are protected from termination + // by Auto Scaling when scaling in. + NewInstancesProtectedFromScaleIn *bool `type:"boolean"` + // The name of the placement group into which you'll launch your instances, // if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -2009,12 +2023,6 @@ type CreateAutoScalingGroupInput struct { // (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/autoscalingsubnets.html) // in the Auto Scaling Developer Guide. VPCZoneIdentifier *string `min:"1" type:"string"` - - metadataCreateAutoScalingGroupInput `json:"-" xml:"-"` -} - -type metadataCreateAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2028,11 +2036,7 @@ func (s CreateAutoScalingGroupInput) GoString() string { } type CreateAutoScalingGroupOutput struct { - metadataCreateAutoScalingGroupOutput `json:"-" xml:"-"` -} - -type metadataCreateAutoScalingGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2046,6 +2050,8 @@ func (s CreateAutoScalingGroupOutput) GoString() string { } type CreateLaunchConfigurationInput struct { + _ struct{} `type:"structure"` + // Used for groups that launch instances into a virtual private cloud (VPC). // Specifies whether to assign a public IP address to each instance. For more // information, see Auto Scaling and Amazon Virtual Private Cloud (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/autoscalingsubnets.html) @@ -2188,12 +2194,6 @@ type CreateLaunchConfigurationInput struct { // At this time, launch configurations don't support compressed (zipped) user // data files. UserData *string `type:"string"` - - metadataCreateLaunchConfigurationInput `json:"-" xml:"-"` -} - -type metadataCreateLaunchConfigurationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2207,11 +2207,7 @@ func (s CreateLaunchConfigurationInput) GoString() string { } type CreateLaunchConfigurationOutput struct { - metadataCreateLaunchConfigurationOutput `json:"-" xml:"-"` -} - -type metadataCreateLaunchConfigurationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2225,14 +2221,10 @@ func (s CreateLaunchConfigurationOutput) GoString() string { } type CreateOrUpdateTagsInput struct { + _ struct{} `type:"structure"` + // One or more tags. Tags []*Tag `type:"list" required:"true"` - - metadataCreateOrUpdateTagsInput `json:"-" xml:"-"` -} - -type metadataCreateOrUpdateTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2246,11 +2238,7 @@ func (s CreateOrUpdateTagsInput) GoString() string { } type CreateOrUpdateTagsOutput struct { - metadataCreateOrUpdateTagsOutput `json:"-" xml:"-"` -} - -type metadataCreateOrUpdateTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2264,6 +2252,8 @@ func (s CreateOrUpdateTagsOutput) GoString() string { } type DeleteAutoScalingGroupInput struct { + _ struct{} `type:"structure"` + // The name of the group to delete. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -2271,12 +2261,6 @@ type DeleteAutoScalingGroupInput struct { // with the group, without waiting for all instances to be terminated. This // parameter also deletes any lifecycle actions associated with the group. ForceDelete *bool `type:"boolean"` - - metadataDeleteAutoScalingGroupInput `json:"-" xml:"-"` -} - -type metadataDeleteAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2290,11 +2274,7 @@ func (s DeleteAutoScalingGroupInput) GoString() string { } type DeleteAutoScalingGroupOutput struct { - metadataDeleteAutoScalingGroupOutput `json:"-" xml:"-"` -} - -type metadataDeleteAutoScalingGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2308,14 +2288,10 @@ func (s DeleteAutoScalingGroupOutput) GoString() string { } type DeleteLaunchConfigurationInput struct { + _ struct{} `type:"structure"` + // The name of the launch configuration. LaunchConfigurationName *string `min:"1" type:"string" required:"true"` - - metadataDeleteLaunchConfigurationInput `json:"-" xml:"-"` -} - -type metadataDeleteLaunchConfigurationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2329,11 +2305,7 @@ func (s DeleteLaunchConfigurationInput) GoString() string { } type DeleteLaunchConfigurationOutput struct { - metadataDeleteLaunchConfigurationOutput `json:"-" xml:"-"` -} - -type metadataDeleteLaunchConfigurationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2347,17 +2319,13 @@ func (s DeleteLaunchConfigurationOutput) GoString() string { } type DeleteLifecycleHookInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group for the lifecycle hook. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The name of the lifecycle hook. LifecycleHookName *string `min:"1" type:"string" required:"true"` - - metadataDeleteLifecycleHookInput `json:"-" xml:"-"` -} - -type metadataDeleteLifecycleHookInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2371,11 +2339,7 @@ func (s DeleteLifecycleHookInput) GoString() string { } type DeleteLifecycleHookOutput struct { - metadataDeleteLifecycleHookOutput `json:"-" xml:"-"` -} - -type metadataDeleteLifecycleHookOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2389,18 +2353,14 @@ func (s DeleteLifecycleHookOutput) GoString() string { } type DeleteNotificationConfigurationInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) topic. TopicARN *string `min:"1" type:"string" required:"true"` - - metadataDeleteNotificationConfigurationInput `json:"-" xml:"-"` -} - -type metadataDeleteNotificationConfigurationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2414,11 +2374,7 @@ func (s DeleteNotificationConfigurationInput) GoString() string { } type DeleteNotificationConfigurationOutput struct { - metadataDeleteNotificationConfigurationOutput `json:"-" xml:"-"` -} - -type metadataDeleteNotificationConfigurationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2432,17 +2388,13 @@ func (s DeleteNotificationConfigurationOutput) GoString() string { } type DeletePolicyInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The name or Amazon Resource Name (ARN) of the policy. PolicyName *string `min:"1" type:"string" required:"true"` - - metadataDeletePolicyInput `json:"-" xml:"-"` -} - -type metadataDeletePolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2456,11 +2408,7 @@ func (s DeletePolicyInput) GoString() string { } type DeletePolicyOutput struct { - metadataDeletePolicyOutput `json:"-" xml:"-"` -} - -type metadataDeletePolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2474,17 +2422,13 @@ func (s DeletePolicyOutput) GoString() string { } type DeleteScheduledActionInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The name of the action to delete. ScheduledActionName *string `min:"1" type:"string" required:"true"` - - metadataDeleteScheduledActionInput `json:"-" xml:"-"` -} - -type metadataDeleteScheduledActionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2498,11 +2442,7 @@ func (s DeleteScheduledActionInput) GoString() string { } type DeleteScheduledActionOutput struct { - metadataDeleteScheduledActionOutput `json:"-" xml:"-"` -} - -type metadataDeleteScheduledActionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2516,17 +2456,13 @@ func (s DeleteScheduledActionOutput) GoString() string { } type DeleteTagsInput struct { + _ struct{} `type:"structure"` + // Each tag should be defined by its resource type, resource ID, key, value, // and a propagate flag. Valid values are: Resource type = auto-scaling-group, // Resource ID = AutoScalingGroupName, key=value, value=value, propagate=true // or false. Tags []*Tag `type:"list" required:"true"` - - metadataDeleteTagsInput `json:"-" xml:"-"` -} - -type metadataDeleteTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2540,11 +2476,7 @@ func (s DeleteTagsInput) GoString() string { } type DeleteTagsOutput struct { - metadataDeleteTagsOutput `json:"-" xml:"-"` -} - -type metadataDeleteTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2558,11 +2490,7 @@ func (s DeleteTagsOutput) GoString() string { } type DescribeAccountLimitsInput struct { - metadataDescribeAccountLimitsInput `json:"-" xml:"-"` -} - -type metadataDescribeAccountLimitsInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2576,6 +2504,8 @@ func (s DescribeAccountLimitsInput) GoString() string { } type DescribeAccountLimitsOutput struct { + _ struct{} `type:"structure"` + // The maximum number of groups allowed for your AWS account. The default limit // is 20 per region. MaxNumberOfAutoScalingGroups *int64 `type:"integer"` @@ -2584,11 +2514,11 @@ type DescribeAccountLimitsOutput struct { // The default limit is 100 per region. MaxNumberOfLaunchConfigurations *int64 `type:"integer"` - metadataDescribeAccountLimitsOutput `json:"-" xml:"-"` -} + // The current number of groups for your AWS account. + NumberOfAutoScalingGroups *int64 `type:"integer"` -type metadataDescribeAccountLimitsOutput struct { - SDKShapeTraits bool `type:"structure"` + // The current number of launch configurations for your AWS account. + NumberOfLaunchConfigurations *int64 `type:"integer"` } // String returns the string representation @@ -2602,11 +2532,7 @@ func (s DescribeAccountLimitsOutput) GoString() string { } type DescribeAdjustmentTypesInput struct { - metadataDescribeAdjustmentTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeAdjustmentTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2620,14 +2546,10 @@ func (s DescribeAdjustmentTypesInput) GoString() string { } type DescribeAdjustmentTypesOutput struct { + _ struct{} `type:"structure"` + // The policy adjustment types. AdjustmentTypes []*AdjustmentType `type:"list"` - - metadataDescribeAdjustmentTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAdjustmentTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2641,6 +2563,8 @@ func (s DescribeAdjustmentTypesOutput) GoString() string { } type DescribeAutoScalingGroupsInput struct { + _ struct{} `type:"structure"` + // The group names. AutoScalingGroupNames []*string `type:"list"` @@ -2650,12 +2574,6 @@ type DescribeAutoScalingGroupsInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeAutoScalingGroupsInput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingGroupsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2669,18 +2587,14 @@ func (s DescribeAutoScalingGroupsInput) GoString() string { } type DescribeAutoScalingGroupsOutput struct { + _ struct{} `type:"structure"` + // The groups. AutoScalingGroups []*Group `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` - - metadataDescribeAutoScalingGroupsOutput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingGroupsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2694,6 +2608,8 @@ func (s DescribeAutoScalingGroupsOutput) GoString() string { } type DescribeAutoScalingInstancesInput struct { + _ struct{} `type:"structure"` + // One or more Auto Scaling instances to describe, up to 50 instances. If you // omit this parameter, all Auto Scaling instances are described. If you specify // an ID that does not exist, it is ignored with no error. @@ -2705,12 +2621,6 @@ type DescribeAutoScalingInstancesInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeAutoScalingInstancesInput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2724,18 +2634,14 @@ func (s DescribeAutoScalingInstancesInput) GoString() string { } type DescribeAutoScalingInstancesOutput struct { + _ struct{} `type:"structure"` + // The instances. AutoScalingInstances []*InstanceDetails `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` - - metadataDescribeAutoScalingInstancesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2749,11 +2655,7 @@ func (s DescribeAutoScalingInstancesOutput) GoString() string { } type DescribeAutoScalingNotificationTypesInput struct { - metadataDescribeAutoScalingNotificationTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingNotificationTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2767,6 +2669,8 @@ func (s DescribeAutoScalingNotificationTypesInput) GoString() string { } type DescribeAutoScalingNotificationTypesOutput struct { + _ struct{} `type:"structure"` + // One or more of the following notification types: // // autoscaling:EC2_INSTANCE_LAUNCH @@ -2779,12 +2683,6 @@ type DescribeAutoScalingNotificationTypesOutput struct { // // autoscaling:TEST_NOTIFICATION AutoScalingNotificationTypes []*string `type:"list"` - - metadataDescribeAutoScalingNotificationTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAutoScalingNotificationTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2798,6 +2696,8 @@ func (s DescribeAutoScalingNotificationTypesOutput) GoString() string { } type DescribeLaunchConfigurationsInput struct { + _ struct{} `type:"structure"` + // The launch configuration names. LaunchConfigurationNames []*string `type:"list"` @@ -2807,12 +2707,6 @@ type DescribeLaunchConfigurationsInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeLaunchConfigurationsInput `json:"-" xml:"-"` -} - -type metadataDescribeLaunchConfigurationsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2826,18 +2720,14 @@ func (s DescribeLaunchConfigurationsInput) GoString() string { } type DescribeLaunchConfigurationsOutput struct { + _ struct{} `type:"structure"` + // The launch configurations. LaunchConfigurations []*LaunchConfiguration `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` - - metadataDescribeLaunchConfigurationsOutput `json:"-" xml:"-"` -} - -type metadataDescribeLaunchConfigurationsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2851,11 +2741,7 @@ func (s DescribeLaunchConfigurationsOutput) GoString() string { } type DescribeLifecycleHookTypesInput struct { - metadataDescribeLifecycleHookTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeLifecycleHookTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2869,18 +2755,14 @@ func (s DescribeLifecycleHookTypesInput) GoString() string { } type DescribeLifecycleHookTypesOutput struct { + _ struct{} `type:"structure"` + // One or more of the following notification types: // // autoscaling:EC2_INSTANCE_LAUNCHING // // autoscaling:EC2_INSTANCE_TERMINATING LifecycleHookTypes []*string `type:"list"` - - metadataDescribeLifecycleHookTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeLifecycleHookTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2894,17 +2776,13 @@ func (s DescribeLifecycleHookTypesOutput) GoString() string { } type DescribeLifecycleHooksInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The names of one or more lifecycle hooks. LifecycleHookNames []*string `type:"list"` - - metadataDescribeLifecycleHooksInput `json:"-" xml:"-"` -} - -type metadataDescribeLifecycleHooksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2918,14 +2796,10 @@ func (s DescribeLifecycleHooksInput) GoString() string { } type DescribeLifecycleHooksOutput struct { + _ struct{} `type:"structure"` + // The lifecycle hooks for the specified group. LifecycleHooks []*LifecycleHook `type:"list"` - - metadataDescribeLifecycleHooksOutput `json:"-" xml:"-"` -} - -type metadataDescribeLifecycleHooksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2939,6 +2813,8 @@ func (s DescribeLifecycleHooksOutput) GoString() string { } type DescribeLoadBalancersInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -2948,12 +2824,6 @@ type DescribeLoadBalancersInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeLoadBalancersInput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2967,18 +2837,14 @@ func (s DescribeLoadBalancersInput) GoString() string { } type DescribeLoadBalancersOutput struct { + _ struct{} `type:"structure"` + // The load balancers. LoadBalancers []*LoadBalancerState `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` - - metadataDescribeLoadBalancersOutput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancersOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2992,11 +2858,7 @@ func (s DescribeLoadBalancersOutput) GoString() string { } type DescribeMetricCollectionTypesInput struct { - metadataDescribeMetricCollectionTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeMetricCollectionTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3010,17 +2872,13 @@ func (s DescribeMetricCollectionTypesInput) GoString() string { } type DescribeMetricCollectionTypesOutput struct { + _ struct{} `type:"structure"` + // The granularities for the metrics. Granularities []*MetricGranularityType `type:"list"` // One or more metrics. Metrics []*MetricCollectionType `type:"list"` - - metadataDescribeMetricCollectionTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeMetricCollectionTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3034,6 +2892,8 @@ func (s DescribeMetricCollectionTypesOutput) GoString() string { } type DescribeNotificationConfigurationsInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupNames []*string `type:"list"` @@ -3043,12 +2903,6 @@ type DescribeNotificationConfigurationsInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeNotificationConfigurationsInput `json:"-" xml:"-"` -} - -type metadataDescribeNotificationConfigurationsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3062,18 +2916,14 @@ func (s DescribeNotificationConfigurationsInput) GoString() string { } type DescribeNotificationConfigurationsOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` // The notification configurations. NotificationConfigurations []*NotificationConfiguration `type:"list" required:"true"` - - metadataDescribeNotificationConfigurationsOutput `json:"-" xml:"-"` -} - -type metadataDescribeNotificationConfigurationsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3087,6 +2937,8 @@ func (s DescribeNotificationConfigurationsOutput) GoString() string { } type DescribePoliciesInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` @@ -3105,12 +2957,6 @@ type DescribePoliciesInput struct { // One or more policy types. Valid values are SimpleScaling and StepScaling. PolicyTypes []*string `type:"list"` - - metadataDescribePoliciesInput `json:"-" xml:"-"` -} - -type metadataDescribePoliciesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3124,18 +2970,14 @@ func (s DescribePoliciesInput) GoString() string { } type DescribePoliciesOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` // The scaling policies. ScalingPolicies []*ScalingPolicy `type:"list"` - - metadataDescribePoliciesOutput `json:"-" xml:"-"` -} - -type metadataDescribePoliciesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3149,6 +2991,8 @@ func (s DescribePoliciesOutput) GoString() string { } type DescribeScalingActivitiesInput struct { + _ struct{} `type:"structure"` + // The activity IDs of the desired scaling activities. If this list is omitted, // all activities are described. If the AutoScalingGroupName parameter is provided, // the results are limited to that group. The list of requested activities cannot @@ -3165,12 +3009,6 @@ type DescribeScalingActivitiesInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeScalingActivitiesInput `json:"-" xml:"-"` -} - -type metadataDescribeScalingActivitiesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3184,18 +3022,14 @@ func (s DescribeScalingActivitiesInput) GoString() string { } type DescribeScalingActivitiesOutput struct { + _ struct{} `type:"structure"` + // The scaling activities. Activities []*Activity `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` - - metadataDescribeScalingActivitiesOutput `json:"-" xml:"-"` -} - -type metadataDescribeScalingActivitiesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3209,11 +3043,7 @@ func (s DescribeScalingActivitiesOutput) GoString() string { } type DescribeScalingProcessTypesInput struct { - metadataDescribeScalingProcessTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeScalingProcessTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3227,14 +3057,10 @@ func (s DescribeScalingProcessTypesInput) GoString() string { } type DescribeScalingProcessTypesOutput struct { + _ struct{} `type:"structure"` + // The names of the process types. Processes []*ProcessType `type:"list"` - - metadataDescribeScalingProcessTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeScalingProcessTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3248,6 +3074,8 @@ func (s DescribeScalingProcessTypesOutput) GoString() string { } type DescribeScheduledActionsInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` @@ -3274,12 +3102,6 @@ type DescribeScheduledActionsInput struct { // The earliest scheduled start time to return. If scheduled action names are // provided, this parameter is ignored. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - - metadataDescribeScheduledActionsInput `json:"-" xml:"-"` -} - -type metadataDescribeScheduledActionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3293,18 +3115,14 @@ func (s DescribeScheduledActionsInput) GoString() string { } type DescribeScheduledActionsOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` // The scheduled actions. ScheduledUpdateGroupActions []*ScheduledUpdateGroupAction `type:"list"` - - metadataDescribeScheduledActionsOutput `json:"-" xml:"-"` -} - -type metadataDescribeScheduledActionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3318,6 +3136,8 @@ func (s DescribeScheduledActionsOutput) GoString() string { } type DescribeTagsInput struct { + _ struct{} `type:"structure"` + // A filter used to scope the tags to return. Filters []*Filter `type:"list"` @@ -3327,12 +3147,6 @@ type DescribeTagsInput struct { // The token for the next set of items to return. (You received this token from // a previous call.) NextToken *string `type:"string"` - - metadataDescribeTagsInput `json:"-" xml:"-"` -} - -type metadataDescribeTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3346,18 +3160,14 @@ func (s DescribeTagsInput) GoString() string { } type DescribeTagsOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `type:"string"` // The tags. Tags []*TagDescription `type:"list"` - - metadataDescribeTagsOutput `json:"-" xml:"-"` -} - -type metadataDescribeTagsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3371,11 +3181,7 @@ func (s DescribeTagsOutput) GoString() string { } type DescribeTerminationPolicyTypesInput struct { - metadataDescribeTerminationPolicyTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeTerminationPolicyTypesInput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3389,15 +3195,11 @@ func (s DescribeTerminationPolicyTypesInput) GoString() string { } type DescribeTerminationPolicyTypesOutput struct { + _ struct{} `type:"structure"` + // The termination policies supported by Auto Scaling (OldestInstance, OldestLaunchConfiguration, // NewestInstance, ClosestToNextInstanceHour, and Default). TerminationPolicyTypes []*string `type:"list"` - - metadataDescribeTerminationPolicyTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeTerminationPolicyTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3411,6 +3213,8 @@ func (s DescribeTerminationPolicyTypesOutput) GoString() string { } type DetachInstancesInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -3420,12 +3224,6 @@ type DetachInstancesInput struct { // If True, the Auto Scaling group decrements the desired capacity value by // the number of instances detached. ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` - - metadataDetachInstancesInput `json:"-" xml:"-"` -} - -type metadataDetachInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3439,14 +3237,10 @@ func (s DetachInstancesInput) GoString() string { } type DetachInstancesOutput struct { + _ struct{} `type:"structure"` + // The activities related to detaching the instances from the Auto Scaling group. Activities []*Activity `type:"list"` - - metadataDetachInstancesOutput `json:"-" xml:"-"` -} - -type metadataDetachInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3460,17 +3254,13 @@ func (s DetachInstancesOutput) GoString() string { } type DetachLoadBalancersInput struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` // One or more load balancer names. LoadBalancerNames []*string `type:"list"` - - metadataDetachLoadBalancersInput `json:"-" xml:"-"` -} - -type metadataDetachLoadBalancersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3484,11 +3274,7 @@ func (s DetachLoadBalancersInput) GoString() string { } type DetachLoadBalancersOutput struct { - metadataDetachLoadBalancersOutput `json:"-" xml:"-"` -} - -type metadataDetachLoadBalancersOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3502,6 +3288,8 @@ func (s DetachLoadBalancersOutput) GoString() string { } type DisableMetricsCollectionInput struct { + _ struct{} `type:"structure"` + // The name or Amazon Resource Name (ARN) of the group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -3524,12 +3312,6 @@ type DisableMetricsCollectionInput struct { // // GroupTotalInstances Metrics []*string `type:"list"` - - metadataDisableMetricsCollectionInput `json:"-" xml:"-"` -} - -type metadataDisableMetricsCollectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3543,11 +3325,7 @@ func (s DisableMetricsCollectionInput) GoString() string { } type DisableMetricsCollectionOutput struct { - metadataDisableMetricsCollectionOutput `json:"-" xml:"-"` -} - -type metadataDisableMetricsCollectionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3562,6 +3340,8 @@ func (s DisableMetricsCollectionOutput) GoString() string { // Describes an Amazon EBS volume. type Ebs struct { + _ struct{} `type:"structure"` + // Indicates whether to delete the volume on instance termination. // // Default: true @@ -3603,12 +3383,6 @@ type Ebs struct { // // Default: standard VolumeType *string `min:"1" type:"string"` - - metadataEbs `json:"-" xml:"-"` -} - -type metadataEbs struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3622,6 +3396,8 @@ func (s Ebs) GoString() string { } type EnableMetricsCollectionInput struct { + _ struct{} `type:"structure"` + // The name or ARN of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -3651,12 +3427,6 @@ type EnableMetricsCollectionInput struct { // Note that the GroupStandbyInstances metric is not enabled by default. You // must explicitly request this metric. Metrics []*string `type:"list"` - - metadataEnableMetricsCollectionInput `json:"-" xml:"-"` -} - -type metadataEnableMetricsCollectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3670,11 +3440,7 @@ func (s EnableMetricsCollectionInput) GoString() string { } type EnableMetricsCollectionOutput struct { - metadataEnableMetricsCollectionOutput `json:"-" xml:"-"` -} - -type metadataEnableMetricsCollectionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3689,6 +3455,8 @@ func (s EnableMetricsCollectionOutput) GoString() string { // Describes an enabled metric. type EnabledMetric struct { + _ struct{} `type:"structure"` + // The granularity of the metric. The only valid value is 1Minute. Granularity *string `min:"1" type:"string"` @@ -3710,12 +3478,6 @@ type EnabledMetric struct { // // GroupTotalInstances Metric *string `min:"1" type:"string"` - - metadataEnabledMetric `json:"-" xml:"-"` -} - -type metadataEnabledMetric struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3729,6 +3491,8 @@ func (s EnabledMetric) GoString() string { } type EnterStandbyInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -3741,12 +3505,6 @@ type EnterStandbyInput struct { // Auto Scaling group decrements by the number of instances moved to Standby // mode. ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` - - metadataEnterStandbyInput `json:"-" xml:"-"` -} - -type metadataEnterStandbyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3760,14 +3518,10 @@ func (s EnterStandbyInput) GoString() string { } type EnterStandbyOutput struct { + _ struct{} `type:"structure"` + // The activities related to moving instances into Standby mode. Activities []*Activity `type:"list"` - - metadataEnterStandbyOutput `json:"-" xml:"-"` -} - -type metadataEnterStandbyOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3781,6 +3535,8 @@ func (s EnterStandbyOutput) GoString() string { } type ExecutePolicyInput struct { + _ struct{} `type:"structure"` + // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` @@ -3815,12 +3571,6 @@ type ExecutePolicyInput struct { // The name or ARN of the policy. PolicyName *string `min:"1" type:"string" required:"true"` - - metadataExecutePolicyInput `json:"-" xml:"-"` -} - -type metadataExecutePolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3834,11 +3584,7 @@ func (s ExecutePolicyInput) GoString() string { } type ExecutePolicyOutput struct { - metadataExecutePolicyOutput `json:"-" xml:"-"` -} - -type metadataExecutePolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3852,17 +3598,13 @@ func (s ExecutePolicyOutput) GoString() string { } type ExitStandbyInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instance IDs. You must specify at least one instance ID. InstanceIds []*string `type:"list"` - - metadataExitStandbyInput `json:"-" xml:"-"` -} - -type metadataExitStandbyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3876,14 +3618,10 @@ func (s ExitStandbyInput) GoString() string { } type ExitStandbyOutput struct { + _ struct{} `type:"structure"` + // The activities related to moving instances out of Standby mode. Activities []*Activity `type:"list"` - - metadataExitStandbyOutput `json:"-" xml:"-"` -} - -type metadataExitStandbyOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3898,18 +3636,14 @@ func (s ExitStandbyOutput) GoString() string { // Describes a filter. type Filter struct { + _ struct{} `type:"structure"` + // The name of the filter. The valid values are: "auto-scaling-group", "key", // "value", and "propagate-at-launch". Name *string `type:"string"` // The value of the filter. Values []*string `type:"list"` - - metadataFilter `json:"-" xml:"-"` -} - -type metadataFilter struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3924,6 +3658,8 @@ func (s Filter) GoString() string { // Describes an Auto Scaling group. type Group struct { + _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the group. AutoScalingGroupARN *string `min:"1" type:"string"` @@ -3936,8 +3672,8 @@ type Group struct { // The date and time the group was created. CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` - // The number of seconds after a scaling activity completes before any further - // scaling activities can start. + // The amount of time, in seconds, after a scaling activity completes before + // another scaling activity can start. DefaultCooldown *int64 `type:"integer" required:"true"` // The desired size of the group. @@ -3946,19 +3682,18 @@ type Group struct { // The metrics enabled for the group. EnabledMetrics []*EnabledMetric `type:"list"` - // The amount of time that Auto Scaling waits before checking an instance's - // health status. The grace period begins when an instance comes into service. + // The amount of time, in seconds, that Auto Scaling waits before checking the + // health status of an EC2 instance that has come into service. HealthCheckGracePeriod *int64 `type:"integer"` - // The service of interest for the health status check, which can be either - // EC2 for Amazon EC2 or ELB for Elastic Load Balancing. + // The service to use for the health checks. The valid values are EC2 and ELB. HealthCheckType *string `min:"1" type:"string" required:"true"` // The EC2 instances associated with the group. Instances []*Instance `type:"list"` // The name of the associated launch configuration. - LaunchConfigurationName *string `min:"1" type:"string" required:"true"` + LaunchConfigurationName *string `min:"1" type:"string"` // One or more load balancers associated with the group. LoadBalancerNames []*string `type:"list"` @@ -3969,6 +3704,10 @@ type Group struct { // The minimum size of the group. MinSize *int64 `type:"integer" required:"true"` + // Indicates whether newly launched instances are protected from termination + // by Auto Scaling when scaling in. + NewInstancesProtectedFromScaleIn *bool `type:"boolean"` + // The name of the placement group into which you'll launch your instances, // if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -3991,12 +3730,6 @@ type Group struct { // If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the // Availability Zones of the subnets match the values for AvailabilityZones. VPCZoneIdentifier *string `min:"1" type:"string"` - - metadataGroup `json:"-" xml:"-"` -} - -type metadataGroup struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4011,6 +3744,8 @@ func (s Group) GoString() string { // Describes an EC2 instance. type Instance struct { + _ struct{} `type:"structure"` + // The Availability Zone in which the instance is running. AvailabilityZone *string `min:"1" type:"string" required:"true"` @@ -4027,11 +3762,9 @@ type Instance struct { // is not used. LifecycleState *string `type:"string" required:"true" enum:"LifecycleState"` - metadataInstance `json:"-" xml:"-"` -} - -type metadataInstance struct { - SDKShapeTraits bool `type:"structure"` + // Indicates whether the instance is protected from termination by Auto Scaling + // when scaling in. + ProtectedFromScaleIn *bool `type:"boolean" required:"true"` } // String returns the string representation @@ -4046,6 +3779,8 @@ func (s Instance) GoString() string { // Describes an EC2 instance associated with an Auto Scaling group. type InstanceDetails struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group associated with the instance. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4068,11 +3803,9 @@ type InstanceDetails struct { // in the Auto Scaling Developer Guide. LifecycleState *string `min:"1" type:"string" required:"true"` - metadataInstanceDetails `json:"-" xml:"-"` -} - -type metadataInstanceDetails struct { - SDKShapeTraits bool `type:"structure"` + // Indicates whether the instance is protected from termination by Auto Scaling + // when scaling in. + ProtectedFromScaleIn *bool `type:"boolean" required:"true"` } // String returns the string representation @@ -4087,14 +3820,10 @@ func (s InstanceDetails) GoString() string { // Describes whether instance monitoring is enabled. type InstanceMonitoring struct { + _ struct{} `type:"structure"` + // If True, instance monitoring is enabled. Enabled *bool `type:"boolean"` - - metadataInstanceMonitoring `json:"-" xml:"-"` -} - -type metadataInstanceMonitoring struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4109,6 +3838,8 @@ func (s InstanceMonitoring) GoString() string { // Describes a launch configuration. type LaunchConfiguration struct { + _ struct{} `type:"structure"` + // [EC2-VPC] Indicates whether to assign a public IP address to each instance. AssociatePublicIpAddress *bool `type:"boolean"` @@ -4174,12 +3905,6 @@ type LaunchConfiguration struct { // The user data available to the instances. UserData *string `type:"string"` - - metadataLaunchConfiguration `json:"-" xml:"-"` -} - -type metadataLaunchConfiguration struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4202,6 +3927,8 @@ func (s LaunchConfiguration) GoString() string { // and Auto Scaling Terminating State (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingTerminatingState.html) // in the Auto Scaling Developer Guide. type LifecycleHook struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group for the lifecycle hook. AutoScalingGroupName *string `min:"1" type:"string"` @@ -4243,12 +3970,6 @@ type LifecycleHook struct { // The ARN of the IAM role that allows the Auto Scaling group to publish to // the specified notification target. RoleARN *string `min:"1" type:"string"` - - metadataLifecycleHook `json:"-" xml:"-"` -} - -type metadataLifecycleHook struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4263,6 +3984,8 @@ func (s LifecycleHook) GoString() string { // Describes the state of a load balancer. type LoadBalancerState struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `min:"1" type:"string"` @@ -4279,12 +4002,6 @@ type LoadBalancerState struct { // If connection draining is enabled, Elastic Load Balancing waits for in-flight // requests to complete before deregistering the instances. State *string `min:"1" type:"string"` - - metadataLoadBalancerState `json:"-" xml:"-"` -} - -type metadataLoadBalancerState struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4299,6 +4016,8 @@ func (s LoadBalancerState) GoString() string { // Describes a metric. type MetricCollectionType struct { + _ struct{} `type:"structure"` + // One of the following metrics: // // GroupMinSize @@ -4317,12 +4036,6 @@ type MetricCollectionType struct { // // GroupTotalInstances Metric *string `min:"1" type:"string"` - - metadataMetricCollectionType `json:"-" xml:"-"` -} - -type metadataMetricCollectionType struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4337,14 +4050,10 @@ func (s MetricCollectionType) GoString() string { // Describes a granularity of a metric. type MetricGranularityType struct { + _ struct{} `type:"structure"` + // The granularity. The only valid value is 1Minute. Granularity *string `min:"1" type:"string"` - - metadataMetricGranularityType `json:"-" xml:"-"` -} - -type metadataMetricGranularityType struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4359,6 +4068,8 @@ func (s MetricGranularityType) GoString() string { // Describes a notification. type NotificationConfiguration struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` @@ -4378,12 +4089,6 @@ type NotificationConfiguration struct { // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) topic. TopicARN *string `min:"1" type:"string"` - - metadataNotificationConfiguration `json:"-" xml:"-"` -} - -type metadataNotificationConfiguration struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4401,6 +4106,8 @@ func (s NotificationConfiguration) GoString() string { // For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/US_SuspendResume.html#process-types) // in the Auto Scaling Developer Guide. type ProcessType struct { + _ struct{} `type:"structure"` + // One of the following processes: // // Launch @@ -4419,12 +4126,6 @@ type ProcessType struct { // // ScheduledActions ProcessName *string `min:"1" type:"string" required:"true"` - - metadataProcessType `json:"-" xml:"-"` -} - -type metadataProcessType struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4438,6 +4139,8 @@ func (s ProcessType) GoString() string { } type PutLifecycleHookInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group to which you want to assign the lifecycle // hook. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4478,10 +4181,10 @@ type PutLifecycleHookInput struct { // // The notification message sent to the target will include: // - // LifecycleActionToken. The Lifecycle action token. AccountId. The user - // account ID. AutoScalingGroupName. The name of the Auto Scaling group. LifecycleHookName. - // The lifecycle hook name. EC2InstanceId. The EC2 instance ID. LifecycleTransition. - // The lifecycle transition. NotificationMetadata. The notification metadata. + // LifecycleActionToken. The Lifecycle action token. AccountId. The user account + // ID. AutoScalingGroupName. The name of the Auto Scaling group. LifecycleHookName. + // The lifecycle hook name. EC2InstanceId. The EC2 instance ID. LifecycleTransition. + // The lifecycle transition. NotificationMetadata. The notification metadata. // This operation uses the JSON format when sending notifications to an Amazon // SQS queue, and an email key/value pair format when sending notifications // to an Amazon SNS topic. @@ -4496,12 +4199,6 @@ type PutLifecycleHookInput struct { // This parameter is required for new lifecycle hooks, but optional when updating // existing hooks. RoleARN *string `min:"1" type:"string"` - - metadataPutLifecycleHookInput `json:"-" xml:"-"` -} - -type metadataPutLifecycleHookInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4515,11 +4212,7 @@ func (s PutLifecycleHookInput) GoString() string { } type PutLifecycleHookOutput struct { - metadataPutLifecycleHookOutput `json:"-" xml:"-"` -} - -type metadataPutLifecycleHookOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -4533,6 +4226,8 @@ func (s PutLifecycleHookOutput) GoString() string { } type PutNotificationConfigurationInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4543,12 +4238,6 @@ type PutNotificationConfigurationInput struct { // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) topic. TopicARN *string `min:"1" type:"string" required:"true"` - - metadataPutNotificationConfigurationInput `json:"-" xml:"-"` -} - -type metadataPutNotificationConfigurationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4562,11 +4251,7 @@ func (s PutNotificationConfigurationInput) GoString() string { } type PutNotificationConfigurationOutput struct { - metadataPutNotificationConfigurationOutput `json:"-" xml:"-"` -} - -type metadataPutNotificationConfigurationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -4580,6 +4265,8 @@ func (s PutNotificationConfigurationOutput) GoString() string { } type PutScalingPolicyInput struct { + _ struct{} `type:"structure"` + // The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and // PercentChangeInCapacity. // @@ -4644,12 +4331,6 @@ type PutScalingPolicyInput struct { // This parameter is required if the policy type is StepScaling and not supported // otherwise. StepAdjustments []*StepAdjustment `type:"list"` - - metadataPutScalingPolicyInput `json:"-" xml:"-"` -} - -type metadataPutScalingPolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4663,14 +4344,10 @@ func (s PutScalingPolicyInput) GoString() string { } type PutScalingPolicyOutput struct { + _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the policy. PolicyARN *string `min:"1" type:"string"` - - metadataPutScalingPolicyOutput `json:"-" xml:"-"` -} - -type metadataPutScalingPolicyOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4684,6 +4361,8 @@ func (s PutScalingPolicyOutput) GoString() string { } type PutScheduledUpdateGroupActionInput struct { + _ struct{} `type:"structure"` + // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4725,12 +4404,6 @@ type PutScheduledUpdateGroupActionInput struct { // The time for this action to start. If both Time and StartTime are specified, // their values must be identical. Time *time.Time `type:"timestamp" timestampFormat:"iso8601"` - - metadataPutScheduledUpdateGroupActionInput `json:"-" xml:"-"` -} - -type metadataPutScheduledUpdateGroupActionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4744,11 +4417,7 @@ func (s PutScheduledUpdateGroupActionInput) GoString() string { } type PutScheduledUpdateGroupActionOutput struct { - metadataPutScheduledUpdateGroupActionOutput `json:"-" xml:"-"` -} - -type metadataPutScheduledUpdateGroupActionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -4762,6 +4431,8 @@ func (s PutScheduledUpdateGroupActionOutput) GoString() string { } type RecordLifecycleActionHeartbeatInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group for the hook. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4772,12 +4443,6 @@ type RecordLifecycleActionHeartbeatInput struct { // The name of the lifecycle hook. LifecycleHookName *string `min:"1" type:"string" required:"true"` - - metadataRecordLifecycleActionHeartbeatInput `json:"-" xml:"-"` -} - -type metadataRecordLifecycleActionHeartbeatInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4791,11 +4456,7 @@ func (s RecordLifecycleActionHeartbeatInput) GoString() string { } type RecordLifecycleActionHeartbeatOutput struct { - metadataRecordLifecycleActionHeartbeatOutput `json:"-" xml:"-"` -} - -type metadataRecordLifecycleActionHeartbeatOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -4809,11 +4470,7 @@ func (s RecordLifecycleActionHeartbeatOutput) GoString() string { } type ResumeProcessesOutput struct { - metadataResumeProcessesOutput `json:"-" xml:"-"` -} - -type metadataResumeProcessesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -4828,6 +4485,8 @@ func (s ResumeProcessesOutput) GoString() string { // Describes a scaling policy. type ScalingPolicy struct { + _ struct{} `type:"structure"` + // The adjustment type, which specifies how ScalingAdjustment is interpreted. // Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. AdjustmentType *string `min:"1" type:"string"` @@ -4876,12 +4535,6 @@ type ScalingPolicy struct { // A set of adjustments that enable you to scale based on the size of the alarm // breach. StepAdjustments []*StepAdjustment `type:"list"` - - metadataScalingPolicy `json:"-" xml:"-"` -} - -type metadataScalingPolicy struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4895,6 +4548,8 @@ func (s ScalingPolicy) GoString() string { } type ScalingProcessQuery struct { + _ struct{} `type:"structure"` + // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -4916,12 +4571,6 @@ type ScalingProcessQuery struct { // // AddToLoadBalancer ScalingProcesses []*string `type:"list"` - - metadataScalingProcessQuery `json:"-" xml:"-"` -} - -type metadataScalingProcessQuery struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4936,6 +4585,8 @@ func (s ScalingProcessQuery) GoString() string { // Describes a scheduled update to an Auto Scaling group. type ScheduledUpdateGroupAction struct { + _ struct{} `type:"structure"` + // The name of the group. AutoScalingGroupName *string `min:"1" type:"string"` @@ -4970,12 +4621,6 @@ type ScheduledUpdateGroupAction struct { // This parameter is deprecated; use StartTime instead. Time *time.Time `type:"timestamp" timestampFormat:"iso8601"` - - metadataScheduledUpdateGroupAction `json:"-" xml:"-"` -} - -type metadataScheduledUpdateGroupAction struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -4989,6 +4634,8 @@ func (s ScheduledUpdateGroupAction) GoString() string { } type SetDesiredCapacityInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5000,12 +4647,6 @@ type SetDesiredCapacityInput struct { // cool-down period associated with the Auto Scaling group to complete before // initiating a scaling activity to set your Auto Scaling group to its new capacity. HonorCooldown *bool `type:"boolean"` - - metadataSetDesiredCapacityInput `json:"-" xml:"-"` -} - -type metadataSetDesiredCapacityInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5019,11 +4660,7 @@ func (s SetDesiredCapacityInput) GoString() string { } type SetDesiredCapacityOutput struct { - metadataSetDesiredCapacityOutput `json:"-" xml:"-"` -} - -type metadataSetDesiredCapacityOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -5037,6 +4674,8 @@ func (s SetDesiredCapacityOutput) GoString() string { } type SetInstanceHealthInput struct { + _ struct{} `type:"structure"` + // The health status of the instance. Set to Healthy if you want the instance // to remain in service. Set to Unhealthy if you want the instance to be out // of service. Auto Scaling will terminate and replace the unhealthy instance. @@ -5053,12 +4692,6 @@ type SetInstanceHealthInput struct { // For more information, see the HealthCheckGracePeriod parameter description // for CreateAutoScalingGroup. ShouldRespectGracePeriod *bool `type:"boolean"` - - metadataSetInstanceHealthInput `json:"-" xml:"-"` -} - -type metadataSetInstanceHealthInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5072,11 +4705,7 @@ func (s SetInstanceHealthInput) GoString() string { } type SetInstanceHealthOutput struct { - metadataSetInstanceHealthOutput `json:"-" xml:"-"` -} - -type metadataSetInstanceHealthOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -5089,6 +4718,44 @@ func (s SetInstanceHealthOutput) GoString() string { return s.String() } +type SetInstanceProtectionInput struct { + _ struct{} `type:"structure"` + + // The name of the group. + AutoScalingGroupName *string `min:"1" type:"string" required:"true"` + + // One or more instance IDs. + InstanceIds []*string `type:"list" required:"true"` + + // Indicates whether the instance is protected from termination by Auto Scaling + // when scaling in. + ProtectedFromScaleIn *bool `type:"boolean" required:"true"` +} + +// String returns the string representation +func (s SetInstanceProtectionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SetInstanceProtectionInput) GoString() string { + return s.String() +} + +type SetInstanceProtectionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s SetInstanceProtectionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SetInstanceProtectionOutput) GoString() string { + return s.String() +} + // Describes an adjustment based on the difference between the value of the // aggregated CloudWatch metric and the breach threshold that you've defined // for the alarm. @@ -5118,6 +4785,8 @@ func (s SetInstanceHealthOutput) GoString() string { // // The upper and lower bound can't be null in the same step adjustment. type StepAdjustment struct { + _ struct{} `type:"structure"` + // The lower bound for the difference between the alarm threshold and the CloudWatch // metric. If the metric value is above the breach threshold, the lower bound // is inclusive (the metric must be greater than or equal to the threshold plus @@ -5139,12 +4808,6 @@ type StepAdjustment struct { // value adds to the current capacity while a negative number removes from the // current capacity. ScalingAdjustment *int64 `type:"integer" required:"true"` - - metadataStepAdjustment `json:"-" xml:"-"` -} - -type metadataStepAdjustment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5158,11 +4821,7 @@ func (s StepAdjustment) GoString() string { } type SuspendProcessesOutput struct { - metadataSuspendProcessesOutput `json:"-" xml:"-"` -} - -type metadataSuspendProcessesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -5178,17 +4837,13 @@ func (s SuspendProcessesOutput) GoString() string { // Describes an Auto Scaling process that has been suspended. For more information, // see ProcessType. type SuspendedProcess struct { + _ struct{} `type:"structure"` + // The name of the suspended process. ProcessName *string `min:"1" type:"string"` // The reason that the process was suspended. SuspensionReason *string `min:"1" type:"string"` - - metadataSuspendedProcess `json:"-" xml:"-"` -} - -type metadataSuspendedProcess struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5203,6 +4858,8 @@ func (s SuspendedProcess) GoString() string { // Describes a tag for an Auto Scaling group. type Tag struct { + _ struct{} `type:"structure"` + // The tag key. Key *string `min:"1" type:"string" required:"true"` @@ -5218,12 +4875,6 @@ type Tag struct { // The tag value. Value *string `type:"string"` - - metadataTag `json:"-" xml:"-"` -} - -type metadataTag struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5238,6 +4889,8 @@ func (s Tag) GoString() string { // Describes a tag for an Auto Scaling group. type TagDescription struct { + _ struct{} `type:"structure"` + // The tag key. Key *string `min:"1" type:"string"` @@ -5253,12 +4906,6 @@ type TagDescription struct { // The tag value. Value *string `type:"string"` - - metadataTagDescription `json:"-" xml:"-"` -} - -type metadataTagDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5272,18 +4919,14 @@ func (s TagDescription) GoString() string { } type TerminateInstanceInAutoScalingGroupInput struct { + _ struct{} `type:"structure"` + // The ID of the EC2 instance. InstanceId *string `min:"1" type:"string" required:"true"` // If true, terminating the instance also decrements the size of the Auto Scaling // group. ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` - - metadataTerminateInstanceInAutoScalingGroupInput `json:"-" xml:"-"` -} - -type metadataTerminateInstanceInAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5297,14 +4940,10 @@ func (s TerminateInstanceInAutoScalingGroupInput) GoString() string { } type TerminateInstanceInAutoScalingGroupOutput struct { + _ struct{} `type:"structure"` + // A scaling activity. Activity *Activity `type:"structure"` - - metadataTerminateInstanceInAutoScalingGroupOutput `json:"-" xml:"-"` -} - -type metadataTerminateInstanceInAutoScalingGroupOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5318,6 +4957,8 @@ func (s TerminateInstanceInAutoScalingGroupOutput) GoString() string { } type UpdateAutoScalingGroupInput struct { + _ struct{} `type:"structure"` + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5325,8 +4966,9 @@ type UpdateAutoScalingGroupInput struct { AvailabilityZones []*string `min:"1" type:"list"` // The amount of time, in seconds, after a scaling activity completes before - // another scaling activity can start. For more information, see Understanding - // Auto Scaling Cooldowns (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html) + // another scaling activity can start. The default is 300. + // + // For more information, see Understanding Auto Scaling Cooldowns (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Cooldown.html) // in the Auto Scaling Developer Guide. DefaultCooldown *int64 `type:"integer"` @@ -5336,15 +4978,14 @@ type UpdateAutoScalingGroupInput struct { DesiredCapacity *int64 `type:"integer"` // The amount of time, in seconds, that Auto Scaling waits before checking the - // health status of an instance. The grace period begins when the instance passes - // the system status and instance status checks from Amazon EC2. For more information, - // see Health Checks (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html) + // health status of an EC2 instance that has come into service. The default + // is 300. + // + // For more information, see Health Checks For Auto Scaling Instances (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/healthcheck.html) // in the Auto Scaling Developer Guide. HealthCheckGracePeriod *int64 `type:"integer"` - // The type of health check for the instances in the Auto Scaling group. The - // health check type can either be EC2 for Amazon EC2 or ELB for Elastic Load - // Balancing. + // The service to use for the health checks. The valid values are EC2 and ELB. HealthCheckType *string `min:"1" type:"string"` // The name of the launch configuration. @@ -5356,6 +4997,10 @@ type UpdateAutoScalingGroupInput struct { // The minimum size of the Auto Scaling group. MinSize *int64 `type:"integer"` + // Indicates whether newly launched instances are protected from termination + // by Auto Scaling when scaling in. + NewInstancesProtectedFromScaleIn *bool `type:"boolean"` + // The name of the placement group into which you'll launch your instances, // if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -5380,12 +5025,6 @@ type UpdateAutoScalingGroupInput struct { // (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/autoscalingsubnets.html) // in the Auto Scaling Developer Guide. VPCZoneIdentifier *string `min:"1" type:"string"` - - metadataUpdateAutoScalingGroupInput `json:"-" xml:"-"` -} - -type metadataUpdateAutoScalingGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -5399,11 +5038,7 @@ func (s UpdateAutoScalingGroupInput) GoString() string { } type UpdateAutoScalingGroupOutput struct { - metadataUpdateAutoScalingGroupOutput `json:"-" xml:"-"` -} - -type metadataUpdateAutoScalingGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -5446,6 +5081,8 @@ const ( ) const ( + // @enum ScalingActivityStatusCode + ScalingActivityStatusCodePendingSpotBidPlacement = "PendingSpotBidPlacement" // @enum ScalingActivityStatusCode ScalingActivityStatusCodeWaitingForSpotInstanceRequestId = "WaitingForSpotInstanceRequestId" // @enum ScalingActivityStatusCode diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go index 557894b86ce..5f9ed8e60be 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go @@ -206,6 +206,10 @@ type AutoScalingAPI interface { SetInstanceHealth(*autoscaling.SetInstanceHealthInput) (*autoscaling.SetInstanceHealthOutput, error) + SetInstanceProtectionRequest(*autoscaling.SetInstanceProtectionInput) (*request.Request, *autoscaling.SetInstanceProtectionOutput) + + SetInstanceProtection(*autoscaling.SetInstanceProtectionInput) (*autoscaling.SetInstanceProtectionOutput, error) + SuspendProcessesRequest(*autoscaling.ScalingProcessQuery) (*request.Request, *autoscaling.SuspendProcessesOutput) SuspendProcesses(*autoscaling.ScalingProcessQuery) (*autoscaling.SuspendProcessesOutput, error) diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/api.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/api.go index 084d4d57353..4eab4807170 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -446,20 +446,18 @@ func (c *EC2) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupE return } -// Adds one or more egress rules to a security group for use with a VPC. Specifically, -// this action permits instances to send traffic to one or more destination -// CIDR IP address ranges, or to one or more destination security groups for -// the same VPC. +// [EC2-VPC only] Adds one or more egress rules to a security group for use +// with a VPC. Specifically, this action permits instances to send traffic to +// one or more destination CIDR IP address ranges, or to one or more destination +// security groups for the same VPC. This action doesn't apply to security groups +// for use in EC2-Classic. For more information, see Security Groups for Your +// VPC (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) +// in the Amazon Virtual Private Cloud User Guide. // // You can have up to 50 rules per security group (covering both ingress and // egress rules). // -// A security group is for use with instances either in the EC2-Classic platform -// or in a specific VPC. This action doesn't apply to security groups for use -// in EC2-Classic. For more information, see Security Groups for Your VPC (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) -// in the Amazon Virtual Private Cloud User Guide. -// -// Each rule consists of the protocol (for example, TCP), plus either a CIDR +// Each rule consists of the protocol (for example, TCP), plus either a CIDR // range or a source group. For the TCP and UDP protocols, you must also specify // the destination port or port range. For the ICMP protocol, you must also // specify the ICMP type and code. You can use -1 for the type or code to mean @@ -825,8 +823,7 @@ func (c *EC2) CopyImageRequest(input *CopyImageInput) (req *request.Request, out // Initiates the copy of an AMI from the specified source region to the current // region. You specify the destination region by using its endpoint when making -// the request. AMIs that use encrypted EBS snapshots cannot be copied with -// this method. +// the request. // // For more information, see Copying AMIs (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -1155,6 +1152,38 @@ func (c *EC2) CreateKeyPair(input *CreateKeyPairInput) (*CreateKeyPairOutput, er return out, err } +const opCreateNatGateway = "CreateNatGateway" + +// CreateNatGatewayRequest generates a request for the CreateNatGateway operation. +func (c *EC2) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *request.Request, output *CreateNatGatewayOutput) { + op := &request.Operation{ + Name: opCreateNatGateway, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateNatGatewayInput{} + } + + req = c.newRequest(op, input, output) + output = &CreateNatGatewayOutput{} + req.Data = output + return +} + +// Creates a NAT gateway in the specified subnet. A NAT gateway can be used +// to enable instances in a private subnet to connect to the Internet. This +// action creates a network interface in the specified subnet with a private +// IP address from the IP address range of the subnet. For more information, +// see NAT Gateways (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html) +// in the Amazon Virtual Private Cloud User Guide. +func (c *EC2) CreateNatGateway(input *CreateNatGatewayInput) (*CreateNatGatewayOutput, error) { + req, out := c.CreateNatGatewayRequest(input) + err := req.Send() + return out, err +} + const opCreateNetworkAcl = "CreateNetworkAcl" // CreateNetworkAclRequest generates a request for the CreateNetworkAcl operation. @@ -1325,7 +1354,7 @@ func (c *EC2) CreateReservedInstancesListingRequest(input *CreateReservedInstanc // To sell your Reserved instances, you must first register as a seller in // the Reserved Instance Marketplace. After completing the registration process, // you can create a Reserved Instance Marketplace listing of some or all of -// your Reserved Instances, and specify the upfront price to receive for them. +// your Reserved instances, and specify the upfront price to receive for them. // Your Reserved instance listings then become available for purchase. To view // the details of your Reserved instance listing, you can use the DescribeReservedInstancesListings // operation. @@ -1361,7 +1390,8 @@ func (c *EC2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, // Creates a route in a route table within a VPC. // // You must specify one of the following targets: Internet gateway or virtual -// private gateway, NAT instance, VPC peering connection, or network interface. +// private gateway, NAT instance, NAT gateway, VPC peering connection, or network +// interface. // // When determining how to route traffic, we use the route with the most specific // match. For example, let's say the traffic is destined for 192.0.2.3, and @@ -2036,6 +2066,35 @@ func (c *EC2) DeleteKeyPair(input *DeleteKeyPairInput) (*DeleteKeyPairOutput, er return out, err } +const opDeleteNatGateway = "DeleteNatGateway" + +// DeleteNatGatewayRequest generates a request for the DeleteNatGateway operation. +func (c *EC2) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *request.Request, output *DeleteNatGatewayOutput) { + op := &request.Operation{ + Name: opDeleteNatGateway, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteNatGatewayInput{} + } + + req = c.newRequest(op, input, output) + output = &DeleteNatGatewayOutput{} + req.Data = output + return +} + +// Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its +// Elastic IP address, but does not release the address from your account. Deleting +// a NAT gateway does not delete any NAT gateway routes in your route tables. +func (c *EC2) DeleteNatGateway(input *DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error) { + req, out := c.DeleteNatGatewayRequest(input) + err := req.Send() + return out, err +} + const opDeleteNetworkAcl = "DeleteNetworkAcl" // DeleteNetworkAclRequest generates a request for the DeleteNetworkAcl operation. @@ -2955,7 +3014,7 @@ func (c *EC2) DescribeHostsRequest(input *DescribeHostsInput) (req *request.Requ // // The results describe only the Dedicated hosts in the region you're currently // using. All listed instances consume capacity on your Dedicated host. Dedicated -// hosts that have recently been released will be listed with the status "released". +// hosts that have recently been released will be listed with the state released. func (c *EC2) DescribeHosts(input *DescribeHostsInput) (*DescribeHostsOutput, error) { req, out := c.DescribeHostsRequest(input) err := req.Send() @@ -3346,6 +3405,33 @@ func (c *EC2) DescribeMovingAddresses(input *DescribeMovingAddressesInput) (*Des return out, err } +const opDescribeNatGateways = "DescribeNatGateways" + +// DescribeNatGatewaysRequest generates a request for the DescribeNatGateways operation. +func (c *EC2) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req *request.Request, output *DescribeNatGatewaysOutput) { + op := &request.Operation{ + Name: opDescribeNatGateways, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeNatGatewaysInput{} + } + + req = c.newRequest(op, input, output) + output = &DescribeNatGatewaysOutput{} + req.Data = output + return +} + +// Describes one or more of the your NAT gateways. +func (c *EC2) DescribeNatGateways(input *DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error) { + req, out := c.DescribeNatGatewaysRequest(input) + err := req.Send() + return out, err +} + const opDescribeNetworkAcls = "DescribeNetworkAcls" // DescribeNetworkAclsRequest generates a request for the DescribeNetworkAcls operation. @@ -3626,7 +3712,7 @@ func (c *EC2) DescribeReservedInstancesModificationsRequest(input *DescribeReser } // Describes the modifications made to your Reserved instances. If no parameter -// is specified, information about all your Reserved Instances modification +// is specified, information about all your Reserved instances modification // requests is returned. If a modification ID is specified, only information // about the specific modification is returned. // @@ -3678,6 +3764,10 @@ func (c *EC2) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedI // errors, and you pay a lower usage rate than the rate charged for On-Demand // instances for the actual time used. // +// If you have listed your own Reserved instances for sale in the Reserved +// Instance Marketplace, they will be excluded from these results. This is to +// ensure that you do not purchase your own Reserved instances. +// // For more information, see Reserved Instance Marketplace (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html) // in the Amazon Elastic Compute Cloud User Guide. func (c *EC2) DescribeReservedInstancesOfferings(input *DescribeReservedInstancesOfferingsInput) (*DescribeReservedInstancesOfferingsOutput, error) { @@ -5368,8 +5458,8 @@ func (c *EC2) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput } // Modifies the Availability Zone, instance count, instance type, or network -// platform (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved -// Instances to be modified must be identical, except for Availability Zone, +// platform (EC2-Classic or EC2-VPC) of your Reserved instances. The Reserved +// instances to be modified must be identical, except for Availability Zone, // network platform, and instance type. // // For more information, see Modifying Reserved Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html) @@ -5871,7 +5961,7 @@ func (c *EC2) ReleaseHostsRequest(input *ReleaseHostsInput) (req *request.Reques } // When you no longer want to use a Dedicated host it can be released. On-Demand -// billing is stopped and the host goes into "released" state. The host ID of +// billing is stopped and the host goes into released state. The host ID of // Dedicated hosts that have been released can no longer be specified in another // request, e.g., ModifyHosts. You must stop or terminate all instances on a // host before it can be released. @@ -5969,7 +6059,7 @@ func (c *EC2) ReplaceRouteRequest(input *ReplaceRouteInput) (req *request.Reques // Replaces an existing route within a route table in a VPC. You must provide // only one of the following: Internet gateway or virtual private gateway, NAT -// instance, VPC peering connection, or network interface. +// instance, NAT gateway, VPC peering connection, or network interface. // // For more information about route tables, see Route Tables (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Route_Tables.html) // in the Amazon Virtual Private Cloud User Guide. @@ -6295,9 +6385,10 @@ func (c *EC2) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressI return } -// Removes one or more egress rules from a security group for EC2-VPC. The values -// that you specify in the revoke request (for example, ports) must match the -// existing rule's values for the rule to be revoked. +// [EC2-VPC only] Removes one or more egress rules from a security group for +// EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. +// The values that you specify in the revoke request (for example, ports) must +// match the existing rule's values for the rule to be revoked. // // Each rule consists of the protocol and the CIDR range or source security // group. For the TCP and UDP protocols, you must also specify the destination @@ -6621,6 +6712,8 @@ func (c *EC2) UnmonitorInstances(input *UnmonitorInstancesInput) (*UnmonitorInst } type AcceptVpcPeeringConnectionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -6629,12 +6722,6 @@ type AcceptVpcPeeringConnectionInput struct { // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` - - metadataAcceptVpcPeeringConnectionInput `json:"-" xml:"-"` -} - -type metadataAcceptVpcPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6648,14 +6735,10 @@ func (s AcceptVpcPeeringConnectionInput) GoString() string { } type AcceptVpcPeeringConnectionOutput struct { + _ struct{} `type:"structure"` + // Information about the VPC peering connection. VpcPeeringConnection *VpcPeeringConnection `locationName:"vpcPeeringConnection" type:"structure"` - - metadataAcceptVpcPeeringConnectionOutput `json:"-" xml:"-"` -} - -type metadataAcceptVpcPeeringConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6670,17 +6753,13 @@ func (s AcceptVpcPeeringConnectionOutput) GoString() string { // Describes an account attribute. type AccountAttribute struct { + _ struct{} `type:"structure"` + // The name of the account attribute. AttributeName *string `locationName:"attributeName" type:"string"` // One or more values for the account attribute. AttributeValues []*AccountAttributeValue `locationName:"attributeValueSet" locationNameList:"item" type:"list"` - - metadataAccountAttribute `json:"-" xml:"-"` -} - -type metadataAccountAttribute struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6695,14 +6774,10 @@ func (s AccountAttribute) GoString() string { // Describes a value of an account attribute. type AccountAttributeValue struct { + _ struct{} `type:"structure"` + // The value of the attribute. AttributeValue *string `locationName:"attributeValue" type:"string"` - - metadataAccountAttributeValue `json:"-" xml:"-"` -} - -type metadataAccountAttributeValue struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6717,6 +6792,8 @@ func (s AccountAttributeValue) GoString() string { // Describes a running instance in a Spot fleet. type ActiveInstance struct { + _ struct{} `type:"structure"` + // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` @@ -6725,12 +6802,6 @@ type ActiveInstance struct { // The ID of the Spot instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` - - metadataActiveInstance `json:"-" xml:"-"` -} - -type metadataActiveInstance struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6745,6 +6816,8 @@ func (s ActiveInstance) GoString() string { // Describes an Elastic IP address. type Address struct { + _ struct{} `type:"structure"` + // The ID representing the allocation of the address for use with EC2-VPC. AllocationId *string `locationName:"allocationId" type:"string"` @@ -6770,12 +6843,6 @@ type Address struct { // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` - - metadataAddress `json:"-" xml:"-"` -} - -type metadataAddress struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6789,6 +6856,8 @@ func (s Address) GoString() string { } type AllocateAddressInput struct { + _ struct{} `type:"structure"` + // Set to vpc to allocate the address for use with instances in a VPC. // // Default: The address is for use with instances in EC2-Classic. @@ -6799,12 +6868,6 @@ type AllocateAddressInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataAllocateAddressInput `json:"-" xml:"-"` -} - -type metadataAllocateAddressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6818,6 +6881,8 @@ func (s AllocateAddressInput) GoString() string { } type AllocateAddressOutput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic // IP address for use with instances in a VPC. AllocationId *string `locationName:"allocationId" type:"string"` @@ -6828,12 +6893,6 @@ type AllocateAddressOutput struct { // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` - - metadataAllocateAddressOutput `json:"-" xml:"-"` -} - -type metadataAllocateAddressOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6847,6 +6906,8 @@ func (s AllocateAddressOutput) GoString() string { } type AllocateHostsInput struct { + _ struct{} `type:"structure"` + // This is enabled by default. This property allows instances to be automatically // placed onto available Dedicated hosts, when you are launching instances without // specifying a host ID. @@ -6870,12 +6931,6 @@ type AllocateHostsInput struct { // The number of Dedicated hosts you want to allocate to your account with these // parameters. Quantity *int64 `locationName:"quantity" type:"integer" required:"true"` - - metadataAllocateHostsInput `json:"-" xml:"-"` -} - -type metadataAllocateHostsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6889,15 +6944,11 @@ func (s AllocateHostsInput) GoString() string { } type AllocateHostsOutput struct { + _ struct{} `type:"structure"` + // The ID of the allocated Dedicated host. This is used when you want to launch // an instance onto a specific host. HostIds []*string `locationName:"hostIdSet" locationNameList:"item" type:"list"` - - metadataAllocateHostsOutput `json:"-" xml:"-"` -} - -type metadataAllocateHostsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6911,6 +6962,8 @@ func (s AllocateHostsOutput) GoString() string { } type AssignPrivateIpAddressesInput struct { + _ struct{} `type:"structure"` + // Indicates whether to allow an IP address that is already assigned to another // network interface or instance to be reassigned to the specified network interface. AllowReassignment *bool `locationName:"allowReassignment" type:"boolean"` @@ -6929,12 +6982,6 @@ type AssignPrivateIpAddressesInput struct { // The number of secondary IP addresses to assign to the network interface. // You can't specify this parameter when also specifying private IP addresses. SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` - - metadataAssignPrivateIpAddressesInput `json:"-" xml:"-"` -} - -type metadataAssignPrivateIpAddressesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -6948,11 +6995,7 @@ func (s AssignPrivateIpAddressesInput) GoString() string { } type AssignPrivateIpAddressesOutput struct { - metadataAssignPrivateIpAddressesOutput `json:"-" xml:"-"` -} - -type metadataAssignPrivateIpAddressesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -6966,6 +7009,8 @@ func (s AssignPrivateIpAddressesOutput) GoString() string { } type AssociateAddressInput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] The allocation ID. This is required for EC2-VPC. AllocationId *string `type:"string"` @@ -7000,12 +7045,6 @@ type AssociateAddressInput struct { // The Elastic IP address. This is required for EC2-Classic. PublicIp *string `type:"string"` - - metadataAssociateAddressInput `json:"-" xml:"-"` -} - -type metadataAssociateAddressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7019,15 +7058,11 @@ func (s AssociateAddressInput) GoString() string { } type AssociateAddressOutput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] The ID that represents the association of the Elastic IP address // with an instance. AssociationId *string `locationName:"associationId" type:"string"` - - metadataAssociateAddressOutput `json:"-" xml:"-"` -} - -type metadataAssociateAddressOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7041,6 +7076,8 @@ func (s AssociateAddressOutput) GoString() string { } type AssociateDhcpOptionsInput struct { + _ struct{} `type:"structure"` + // The ID of the DHCP options set, or default to associate no DHCP options with // the VPC. DhcpOptionsId *string `type:"string" required:"true"` @@ -7053,12 +7090,6 @@ type AssociateDhcpOptionsInput struct { // The ID of the VPC. VpcId *string `type:"string" required:"true"` - - metadataAssociateDhcpOptionsInput `json:"-" xml:"-"` -} - -type metadataAssociateDhcpOptionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7072,11 +7103,7 @@ func (s AssociateDhcpOptionsInput) GoString() string { } type AssociateDhcpOptionsOutput struct { - metadataAssociateDhcpOptionsOutput `json:"-" xml:"-"` -} - -type metadataAssociateDhcpOptionsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7090,6 +7117,8 @@ func (s AssociateDhcpOptionsOutput) GoString() string { } type AssociateRouteTableInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -7101,12 +7130,6 @@ type AssociateRouteTableInput struct { // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string" required:"true"` - - metadataAssociateRouteTableInput `json:"-" xml:"-"` -} - -type metadataAssociateRouteTableInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7120,14 +7143,10 @@ func (s AssociateRouteTableInput) GoString() string { } type AssociateRouteTableOutput struct { + _ struct{} `type:"structure"` + // The route table association ID (needed to disassociate the route table). AssociationId *string `locationName:"associationId" type:"string"` - - metadataAssociateRouteTableOutput `json:"-" xml:"-"` -} - -type metadataAssociateRouteTableOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7141,6 +7160,8 @@ func (s AssociateRouteTableOutput) GoString() string { } type AttachClassicLinkVpcInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -7156,12 +7177,6 @@ type AttachClassicLinkVpcInput struct { // The ID of a ClassicLink-enabled VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataAttachClassicLinkVpcInput `json:"-" xml:"-"` -} - -type metadataAttachClassicLinkVpcInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7175,14 +7190,10 @@ func (s AttachClassicLinkVpcInput) GoString() string { } type AttachClassicLinkVpcOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataAttachClassicLinkVpcOutput `json:"-" xml:"-"` -} - -type metadataAttachClassicLinkVpcOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7196,6 +7207,8 @@ func (s AttachClassicLinkVpcOutput) GoString() string { } type AttachInternetGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -7207,12 +7220,6 @@ type AttachInternetGatewayInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataAttachInternetGatewayInput `json:"-" xml:"-"` -} - -type metadataAttachInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7226,11 +7233,7 @@ func (s AttachInternetGatewayInput) GoString() string { } type AttachInternetGatewayOutput struct { - metadataAttachInternetGatewayOutput `json:"-" xml:"-"` -} - -type metadataAttachInternetGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7244,6 +7247,8 @@ func (s AttachInternetGatewayOutput) GoString() string { } type AttachNetworkInterfaceInput struct { + _ struct{} `type:"structure"` + // The index of the device for the network interface attachment. DeviceIndex *int64 `locationName:"deviceIndex" type:"integer" required:"true"` @@ -7258,12 +7263,6 @@ type AttachNetworkInterfaceInput struct { // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` - - metadataAttachNetworkInterfaceInput `json:"-" xml:"-"` -} - -type metadataAttachNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7277,14 +7276,10 @@ func (s AttachNetworkInterfaceInput) GoString() string { } type AttachNetworkInterfaceOutput struct { + _ struct{} `type:"structure"` + // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` - - metadataAttachNetworkInterfaceOutput `json:"-" xml:"-"` -} - -type metadataAttachNetworkInterfaceOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7298,6 +7293,8 @@ func (s AttachNetworkInterfaceOutput) GoString() string { } type AttachVolumeInput struct { + _ struct{} `type:"structure"` + // The device name to expose to the instance (for example, /dev/sdh or xvdh). Device *string `type:"string" required:"true"` @@ -7313,12 +7310,6 @@ type AttachVolumeInput struct { // The ID of the EBS volume. The volume and instance must be within the same // Availability Zone. VolumeId *string `type:"string" required:"true"` - - metadataAttachVolumeInput `json:"-" xml:"-"` -} - -type metadataAttachVolumeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7332,6 +7323,8 @@ func (s AttachVolumeInput) GoString() string { } type AttachVpnGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -7343,12 +7336,6 @@ type AttachVpnGatewayInput struct { // The ID of the virtual private gateway. VpnGatewayId *string `type:"string" required:"true"` - - metadataAttachVpnGatewayInput `json:"-" xml:"-"` -} - -type metadataAttachVpnGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7362,14 +7349,10 @@ func (s AttachVpnGatewayInput) GoString() string { } type AttachVpnGatewayOutput struct { + _ struct{} `type:"structure"` + // Information about the attachment. VpcAttachment *VpcAttachment `locationName:"attachment" type:"structure"` - - metadataAttachVpnGatewayOutput `json:"-" xml:"-"` -} - -type metadataAttachVpnGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7384,14 +7367,10 @@ func (s AttachVpnGatewayOutput) GoString() string { // The value to use when a resource attribute accepts a Boolean value. type AttributeBooleanValue struct { + _ struct{} `type:"structure"` + // Valid values are true or false. Value *bool `locationName:"value" type:"boolean"` - - metadataAttributeBooleanValue `json:"-" xml:"-"` -} - -type metadataAttributeBooleanValue struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7406,14 +7385,10 @@ func (s AttributeBooleanValue) GoString() string { // The value to use for a resource attribute. type AttributeValue struct { + _ struct{} `type:"structure"` + // Valid values are case-sensitive and vary by action. Value *string `locationName:"value" type:"string"` - - metadataAttributeValue `json:"-" xml:"-"` -} - -type metadataAttributeValue struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7427,8 +7402,10 @@ func (s AttributeValue) GoString() string { } type AuthorizeSecurityGroupEgressInput struct { - // The CIDR IP address range. You can't specify this parameter when specifying - // a source security group. + _ struct{} `type:"structure"` + + // The CIDR IP address range. We recommend that you specify the CIDR range in + // a set of IP permissions instead. CidrIp *string `locationName:"cidrIp" type:"string"` // Checks whether you have the required permissions for the action, without @@ -7438,7 +7415,7 @@ type AuthorizeSecurityGroupEgressInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The start of port range for the TCP and UDP protocols, or an ICMP type number. - // For the ICMP type number, use -1 to specify all ICMP types. + // We recommend that you specify the port range in a set of IP permissions instead. FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. @@ -7448,8 +7425,8 @@ type AuthorizeSecurityGroupEgressInput struct { // a CIDR IP address range. IpPermissions []*IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` - // The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - // Use -1 to specify all. + // The IP protocol name or number. We recommend that you specify the protocol + // in a set of IP permissions instead. IpProtocol *string `locationName:"ipProtocol" type:"string"` // The name of a destination security group. To authorize outbound access to @@ -7462,15 +7439,9 @@ type AuthorizeSecurityGroupEgressInput struct { // IP permissions instead. SourceSecurityGroupOwnerId *string `locationName:"sourceSecurityGroupOwnerId" type:"string"` - // The end of port range for the TCP and UDP protocols, or an ICMP code number. - // For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. + // The end of port range for the TCP and UDP protocols, or an ICMP type number. + // We recommend that you specify the port range in a set of IP permissions instead. ToPort *int64 `locationName:"toPort" type:"integer"` - - metadataAuthorizeSecurityGroupEgressInput `json:"-" xml:"-"` -} - -type metadataAuthorizeSecurityGroupEgressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7484,11 +7455,7 @@ func (s AuthorizeSecurityGroupEgressInput) GoString() string { } type AuthorizeSecurityGroupEgressOutput struct { - metadataAuthorizeSecurityGroupEgressOutput `json:"-" xml:"-"` -} - -type metadataAuthorizeSecurityGroupEgressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7502,6 +7469,8 @@ func (s AuthorizeSecurityGroupEgressOutput) GoString() string { } type AuthorizeSecurityGroupIngressInput struct { + _ struct{} `type:"structure"` + // The CIDR IP address range. You can't specify this parameter when specifying // a source security group. CidrIp *string `type:"string"` @@ -7549,12 +7518,6 @@ type AuthorizeSecurityGroupIngressInput struct { // The end of port range for the TCP and UDP protocols, or an ICMP code number. // For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. ToPort *int64 `type:"integer"` - - metadataAuthorizeSecurityGroupIngressInput `json:"-" xml:"-"` -} - -type metadataAuthorizeSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7568,11 +7531,7 @@ func (s AuthorizeSecurityGroupIngressInput) GoString() string { } type AuthorizeSecurityGroupIngressOutput struct { - metadataAuthorizeSecurityGroupIngressOutput `json:"-" xml:"-"` -} - -type metadataAuthorizeSecurityGroupIngressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7587,6 +7546,8 @@ func (s AuthorizeSecurityGroupIngressOutput) GoString() string { // Describes an Availability Zone. type AvailabilityZone struct { + _ struct{} `type:"structure"` + // Any messages about the Availability Zone. Messages []*AvailabilityZoneMessage `locationName:"messageSet" locationNameList:"item" type:"list"` @@ -7598,12 +7559,6 @@ type AvailabilityZone struct { // The name of the Availability Zone. ZoneName *string `locationName:"zoneName" type:"string"` - - metadataAvailabilityZone `json:"-" xml:"-"` -} - -type metadataAvailabilityZone struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7618,14 +7573,10 @@ func (s AvailabilityZone) GoString() string { // Describes a message about an Availability Zone. type AvailabilityZoneMessage struct { + _ struct{} `type:"structure"` + // The message about the Availability Zone. Message *string `locationName:"message" type:"string"` - - metadataAvailabilityZoneMessage `json:"-" xml:"-"` -} - -type metadataAvailabilityZoneMessage struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7638,18 +7589,15 @@ func (s AvailabilityZoneMessage) GoString() string { return s.String() } +// The capacity information for instances launched onto the Dedicated host. type AvailableCapacity struct { + _ struct{} `type:"structure"` + // The total number of instances that the Dedicated host supports. AvailableInstanceCapacity []*InstanceCapacity `locationName:"availableInstanceCapacity" locationNameList:"item" type:"list"` // The number of vCPUs available on the Dedicated host. AvailableVCpus *int64 `locationName:"availableVCpus" type:"integer"` - - metadataAvailableCapacity `json:"-" xml:"-"` -} - -type metadataAvailableCapacity struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7663,13 +7611,9 @@ func (s AvailableCapacity) GoString() string { } type BlobAttributeValue struct { + _ struct{} `type:"structure"` + Value []byte `locationName:"value" type:"blob"` - - metadataBlobAttributeValue `json:"-" xml:"-"` -} - -type metadataBlobAttributeValue struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7684,6 +7628,8 @@ func (s BlobAttributeValue) GoString() string { // Describes a block device mapping. type BlockDeviceMapping struct { + _ struct{} `type:"structure"` + // The device name exposed to the instance (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` @@ -7706,12 +7652,6 @@ type BlockDeviceMapping struct { // we ignore any instance store volumes specified in the block device mapping // for the AMI. VirtualName *string `locationName:"virtualName" type:"string"` - - metadataBlockDeviceMapping `json:"-" xml:"-"` -} - -type metadataBlockDeviceMapping struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7725,6 +7665,8 @@ func (s BlockDeviceMapping) GoString() string { } type BundleInstanceInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -7744,12 +7686,6 @@ type BundleInstanceInput struct { // own or a new bucket that Amazon EC2 creates on your behalf. If you specify // a bucket that belongs to someone else, Amazon EC2 returns an error. Storage *Storage `type:"structure" required:"true"` - - metadataBundleInstanceInput `json:"-" xml:"-"` -} - -type metadataBundleInstanceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7763,14 +7699,10 @@ func (s BundleInstanceInput) GoString() string { } type BundleInstanceOutput struct { + _ struct{} `type:"structure"` + // Information about the bundle task. BundleTask *BundleTask `locationName:"bundleInstanceTask" type:"structure"` - - metadataBundleInstanceOutput `json:"-" xml:"-"` -} - -type metadataBundleInstanceOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7785,6 +7717,8 @@ func (s BundleInstanceOutput) GoString() string { // Describes a bundle task. type BundleTask struct { + _ struct{} `type:"structure"` + // The ID of the bundle task. BundleId *string `locationName:"bundleId" type:"string"` @@ -7808,12 +7742,6 @@ type BundleTask struct { // The time of the most recent update for the task. UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601"` - - metadataBundleTask `json:"-" xml:"-"` -} - -type metadataBundleTask struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7828,17 +7756,13 @@ func (s BundleTask) GoString() string { // Describes an error for BundleInstance. type BundleTaskError struct { + _ struct{} `type:"structure"` + // The error code. Code *string `locationName:"code" type:"string"` // The error message. Message *string `locationName:"message" type:"string"` - - metadataBundleTaskError `json:"-" xml:"-"` -} - -type metadataBundleTaskError struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7852,6 +7776,8 @@ func (s BundleTaskError) GoString() string { } type CancelBundleTaskInput struct { + _ struct{} `type:"structure"` + // The ID of the bundle task. BundleId *string `type:"string" required:"true"` @@ -7860,12 +7786,6 @@ type CancelBundleTaskInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataCancelBundleTaskInput `json:"-" xml:"-"` -} - -type metadataCancelBundleTaskInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7879,14 +7799,10 @@ func (s CancelBundleTaskInput) GoString() string { } type CancelBundleTaskOutput struct { + _ struct{} `type:"structure"` + // Information about the bundle task. BundleTask *BundleTask `locationName:"bundleInstanceTask" type:"structure"` - - metadataCancelBundleTaskOutput `json:"-" xml:"-"` -} - -type metadataCancelBundleTaskOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7900,6 +7816,8 @@ func (s CancelBundleTaskOutput) GoString() string { } type CancelConversionTaskInput struct { + _ struct{} `type:"structure"` + // The ID of the conversion task. ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"` @@ -7911,12 +7829,6 @@ type CancelConversionTaskInput struct { // The reason for canceling the conversion task. ReasonMessage *string `locationName:"reasonMessage" type:"string"` - - metadataCancelConversionTaskInput `json:"-" xml:"-"` -} - -type metadataCancelConversionTaskInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7930,11 +7842,7 @@ func (s CancelConversionTaskInput) GoString() string { } type CancelConversionTaskOutput struct { - metadataCancelConversionTaskOutput `json:"-" xml:"-"` -} - -type metadataCancelConversionTaskOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7948,14 +7856,10 @@ func (s CancelConversionTaskOutput) GoString() string { } type CancelExportTaskInput struct { + _ struct{} `type:"structure"` + // The ID of the export task. This is the ID returned by CreateInstanceExportTask. ExportTaskId *string `locationName:"exportTaskId" type:"string" required:"true"` - - metadataCancelExportTaskInput `json:"-" xml:"-"` -} - -type metadataCancelExportTaskInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -7969,11 +7873,7 @@ func (s CancelExportTaskInput) GoString() string { } type CancelExportTaskOutput struct { - metadataCancelExportTaskOutput `json:"-" xml:"-"` -} - -type metadataCancelExportTaskOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -7987,6 +7887,8 @@ func (s CancelExportTaskOutput) GoString() string { } type CancelImportTaskInput struct { + _ struct{} `type:"structure"` + // The reason for canceling the task. CancelReason *string `type:"string"` @@ -7998,12 +7900,6 @@ type CancelImportTaskInput struct { // The ID of the import image or import snapshot task to be canceled. ImportTaskId *string `type:"string"` - - metadataCancelImportTaskInput `json:"-" xml:"-"` -} - -type metadataCancelImportTaskInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8017,6 +7913,8 @@ func (s CancelImportTaskInput) GoString() string { } type CancelImportTaskOutput struct { + _ struct{} `type:"structure"` + // The ID of the task being canceled. ImportTaskId *string `locationName:"importTaskId" type:"string"` @@ -8025,12 +7923,6 @@ type CancelImportTaskOutput struct { // The current state of the task being canceled. State *string `locationName:"state" type:"string"` - - metadataCancelImportTaskOutput `json:"-" xml:"-"` -} - -type metadataCancelImportTaskOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8044,14 +7936,10 @@ func (s CancelImportTaskOutput) GoString() string { } type CancelReservedInstancesListingInput struct { + _ struct{} `type:"structure"` + // The ID of the Reserved instance listing. ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string" required:"true"` - - metadataCancelReservedInstancesListingInput `json:"-" xml:"-"` -} - -type metadataCancelReservedInstancesListingInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8065,14 +7953,10 @@ func (s CancelReservedInstancesListingInput) GoString() string { } type CancelReservedInstancesListingOutput struct { + _ struct{} `type:"structure"` + // The Reserved instance listing. ReservedInstancesListings []*ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` - - metadataCancelReservedInstancesListingOutput `json:"-" xml:"-"` -} - -type metadataCancelReservedInstancesListingOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8087,17 +7971,13 @@ func (s CancelReservedInstancesListingOutput) GoString() string { // Describes a Spot fleet error. type CancelSpotFleetRequestsError struct { + _ struct{} `type:"structure"` + // The error code. Code *string `locationName:"code" type:"string" required:"true" enum:"CancelBatchErrorCode"` // The description for the error code. Message *string `locationName:"message" type:"string" required:"true"` - - metadataCancelSpotFleetRequestsError `json:"-" xml:"-"` -} - -type metadataCancelSpotFleetRequestsError struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8112,17 +7992,13 @@ func (s CancelSpotFleetRequestsError) GoString() string { // Describes a Spot fleet request that was not successfully canceled. type CancelSpotFleetRequestsErrorItem struct { + _ struct{} `type:"structure"` + // The error. Error *CancelSpotFleetRequestsError `locationName:"error" type:"structure" required:"true"` // The ID of the Spot fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - - metadataCancelSpotFleetRequestsErrorItem `json:"-" xml:"-"` -} - -type metadataCancelSpotFleetRequestsErrorItem struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8137,6 +8013,8 @@ func (s CancelSpotFleetRequestsErrorItem) GoString() string { // Contains the parameters for CancelSpotFleetRequests. type CancelSpotFleetRequestsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -8149,12 +8027,6 @@ type CancelSpotFleetRequestsInput struct { // Indicates whether to terminate instances for a Spot fleet request if it is // canceled successfully. TerminateInstances *bool `locationName:"terminateInstances" type:"boolean" required:"true"` - - metadataCancelSpotFleetRequestsInput `json:"-" xml:"-"` -} - -type metadataCancelSpotFleetRequestsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8169,17 +8041,13 @@ func (s CancelSpotFleetRequestsInput) GoString() string { // Contains the output of CancelSpotFleetRequests. type CancelSpotFleetRequestsOutput struct { + _ struct{} `type:"structure"` + // Information about the Spot fleet requests that are successfully canceled. SuccessfulFleetRequests []*CancelSpotFleetRequestsSuccessItem `locationName:"successfulFleetRequestSet" locationNameList:"item" type:"list"` // Information about the Spot fleet requests that are not successfully canceled. UnsuccessfulFleetRequests []*CancelSpotFleetRequestsErrorItem `locationName:"unsuccessfulFleetRequestSet" locationNameList:"item" type:"list"` - - metadataCancelSpotFleetRequestsOutput `json:"-" xml:"-"` -} - -type metadataCancelSpotFleetRequestsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8194,6 +8062,8 @@ func (s CancelSpotFleetRequestsOutput) GoString() string { // Describes a Spot fleet request that was successfully canceled. type CancelSpotFleetRequestsSuccessItem struct { + _ struct{} `type:"structure"` + // The current state of the Spot fleet request. CurrentSpotFleetRequestState *string `locationName:"currentSpotFleetRequestState" type:"string" required:"true" enum:"BatchState"` @@ -8202,12 +8072,6 @@ type CancelSpotFleetRequestsSuccessItem struct { // The ID of the Spot fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - - metadataCancelSpotFleetRequestsSuccessItem `json:"-" xml:"-"` -} - -type metadataCancelSpotFleetRequestsSuccessItem struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8222,6 +8086,8 @@ func (s CancelSpotFleetRequestsSuccessItem) GoString() string { // Contains the parameters for CancelSpotInstanceRequests. type CancelSpotInstanceRequestsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -8230,12 +8096,6 @@ type CancelSpotInstanceRequestsInput struct { // One or more Spot instance request IDs. SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"` - - metadataCancelSpotInstanceRequestsInput `json:"-" xml:"-"` -} - -type metadataCancelSpotInstanceRequestsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8250,14 +8110,10 @@ func (s CancelSpotInstanceRequestsInput) GoString() string { // Contains the output of CancelSpotInstanceRequests. type CancelSpotInstanceRequestsOutput struct { + _ struct{} `type:"structure"` + // One or more Spot instance requests. CancelledSpotInstanceRequests []*CancelledSpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` - - metadataCancelSpotInstanceRequestsOutput `json:"-" xml:"-"` -} - -type metadataCancelSpotInstanceRequestsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8272,17 +8128,13 @@ func (s CancelSpotInstanceRequestsOutput) GoString() string { // Describes a request to cancel a Spot instance. type CancelledSpotInstanceRequest struct { + _ struct{} `type:"structure"` + // The ID of the Spot instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` // The state of the Spot instance request. State *string `locationName:"state" type:"string" enum:"CancelSpotInstanceRequestState"` - - metadataCancelledSpotInstanceRequest `json:"-" xml:"-"` -} - -type metadataCancelledSpotInstanceRequest struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8297,6 +8149,8 @@ func (s CancelledSpotInstanceRequest) GoString() string { // Describes a linked EC2-Classic instance. type ClassicLinkInstance struct { + _ struct{} `type:"structure"` + // A list of security groups. Groups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` @@ -8308,12 +8162,6 @@ type ClassicLinkInstance struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataClassicLinkInstance `json:"-" xml:"-"` -} - -type metadataClassicLinkInstance struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8328,6 +8176,8 @@ func (s ClassicLinkInstance) GoString() string { // Describes the client-specific data. type ClientData struct { + _ struct{} `type:"structure"` + // A user-defined comment about the disk upload. Comment *string `type:"string"` @@ -8339,12 +8189,6 @@ type ClientData struct { // The time that the disk upload starts. UploadStart *time.Time `type:"timestamp" timestampFormat:"iso8601"` - - metadataClientData `json:"-" xml:"-"` -} - -type metadataClientData struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8358,6 +8202,8 @@ func (s ClientData) GoString() string { } type ConfirmProductInstanceInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -8369,12 +8215,6 @@ type ConfirmProductInstanceInput struct { // The product code. This must be a product code that you own. ProductCode *string `type:"string" required:"true"` - - metadataConfirmProductInstanceInput `json:"-" xml:"-"` -} - -type metadataConfirmProductInstanceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8388,6 +8228,8 @@ func (s ConfirmProductInstanceInput) GoString() string { } type ConfirmProductInstanceOutput struct { + _ struct{} `type:"structure"` + // The AWS account ID of the instance owner. This is only present if the product // code is attached to the instance. OwnerId *string `locationName:"ownerId" type:"string"` @@ -8395,12 +8237,6 @@ type ConfirmProductInstanceOutput struct { // The return value of the request. Returns true if the specified product code // is owned by the requester and associated with the specified instance. Return *bool `locationName:"return" type:"boolean"` - - metadataConfirmProductInstanceOutput `json:"-" xml:"-"` -} - -type metadataConfirmProductInstanceOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8415,6 +8251,8 @@ func (s ConfirmProductInstanceOutput) GoString() string { // Describes a conversion task. type ConversionTask struct { + _ struct{} `type:"structure"` + // The ID of the conversion task. ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"` @@ -8438,12 +8276,6 @@ type ConversionTask struct { // Any tags assigned to the task. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` - - metadataConversionTask `json:"-" xml:"-"` -} - -type metadataConversionTask struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8457,6 +8289,8 @@ func (s ConversionTask) GoString() string { } type CopyImageInput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure idempotency of the // request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -8471,6 +8305,23 @@ type CopyImageInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` + // Specifies whether the destination snapshots of the copied image should be + // encrypted. The default CMK for EBS is used unless a non-default AWS Key Management + // Service (AWS KMS) CMK is specified with KmsKeyId. For more information, see + // Amazon EBS Encryption (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) + // in the Amazon Elastic Compute Cloud User Guide. + Encrypted *bool `locationName:"encrypted" type:"boolean"` + + // The full ARN of the AWS Key Management Service (AWS KMS) CMK to use when + // encrypting the snapshots of an image during a copy operation. This parameter + // is only required if you want to use a non-default CMK; if this parameter + // is not specified, the default CMK for EBS is used. The ARN contains the arn:aws:kms + // namespace, followed by the region of the CMK, the AWS account ID of the CMK + // owner, the key namespace, and then the CMK ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. + // The specified CMK must exist in the region that the snapshot is being copied + // to. If a KmsKeyId is specified, the Encrypted flag must also be set. + KmsKeyId *string `locationName:"kmsKeyId" type:"string"` + // The name of the new AMI in the destination region. Name *string `type:"string" required:"true"` @@ -8479,12 +8330,6 @@ type CopyImageInput struct { // The name of the region that contains the AMI to copy. SourceRegion *string `type:"string" required:"true"` - - metadataCopyImageInput `json:"-" xml:"-"` -} - -type metadataCopyImageInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8498,14 +8343,10 @@ func (s CopyImageInput) GoString() string { } type CopyImageOutput struct { + _ struct{} `type:"structure"` + // The ID of the new AMI. ImageId *string `locationName:"imageId" type:"string"` - - metadataCopyImageOutput `json:"-" xml:"-"` -} - -type metadataCopyImageOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8519,6 +8360,8 @@ func (s CopyImageOutput) GoString() string { } type CopySnapshotInput struct { + _ struct{} `type:"structure"` + // A description for the EBS snapshot. Description *string `type:"string"` @@ -8576,12 +8419,6 @@ type CopySnapshotInput struct { // The ID of the EBS snapshot to copy. SourceSnapshotId *string `type:"string" required:"true"` - - metadataCopySnapshotInput `json:"-" xml:"-"` -} - -type metadataCopySnapshotInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8595,14 +8432,10 @@ func (s CopySnapshotInput) GoString() string { } type CopySnapshotOutput struct { + _ struct{} `type:"structure"` + // The ID of the new snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` - - metadataCopySnapshotOutput `json:"-" xml:"-"` -} - -type metadataCopySnapshotOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8616,6 +8449,8 @@ func (s CopySnapshotOutput) GoString() string { } type CreateCustomerGatewayInput struct { + _ struct{} `type:"structure"` + // For devices that support BGP, the customer gateway's BGP ASN. // // Default: 65000 @@ -8633,12 +8468,6 @@ type CreateCustomerGatewayInput struct { // The type of VPN connection that this customer gateway supports (ipsec.1). Type *string `type:"string" required:"true" enum:"GatewayType"` - - metadataCreateCustomerGatewayInput `json:"-" xml:"-"` -} - -type metadataCreateCustomerGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8652,14 +8481,10 @@ func (s CreateCustomerGatewayInput) GoString() string { } type CreateCustomerGatewayOutput struct { + _ struct{} `type:"structure"` + // Information about the customer gateway. CustomerGateway *CustomerGateway `locationName:"customerGateway" type:"structure"` - - metadataCreateCustomerGatewayOutput `json:"-" xml:"-"` -} - -type metadataCreateCustomerGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8673,6 +8498,8 @@ func (s CreateCustomerGatewayOutput) GoString() string { } type CreateDhcpOptionsInput struct { + _ struct{} `type:"structure"` + // A DHCP configuration option. DhcpConfigurations []*NewDhcpConfiguration `locationName:"dhcpConfiguration" locationNameList:"item" type:"list" required:"true"` @@ -8681,12 +8508,6 @@ type CreateDhcpOptionsInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataCreateDhcpOptionsInput `json:"-" xml:"-"` -} - -type metadataCreateDhcpOptionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8700,14 +8521,10 @@ func (s CreateDhcpOptionsInput) GoString() string { } type CreateDhcpOptionsOutput struct { + _ struct{} `type:"structure"` + // A set of DHCP options. DhcpOptions *DhcpOptions `locationName:"dhcpOptions" type:"structure"` - - metadataCreateDhcpOptionsOutput `json:"-" xml:"-"` -} - -type metadataCreateDhcpOptionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8721,6 +8538,8 @@ func (s CreateDhcpOptionsOutput) GoString() string { } type CreateFlowLogsInput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` @@ -8740,12 +8559,6 @@ type CreateFlowLogsInput struct { // The type of traffic to log. TrafficType *string `type:"string" required:"true" enum:"TrafficType"` - - metadataCreateFlowLogsInput `json:"-" xml:"-"` -} - -type metadataCreateFlowLogsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8759,6 +8572,8 @@ func (s CreateFlowLogsInput) GoString() string { } type CreateFlowLogsOutput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. ClientToken *string `locationName:"clientToken" type:"string"` @@ -8768,12 +8583,6 @@ type CreateFlowLogsOutput struct { // Information about the flow logs that could not be created successfully. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` - - metadataCreateFlowLogsOutput `json:"-" xml:"-"` -} - -type metadataCreateFlowLogsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8787,6 +8596,8 @@ func (s CreateFlowLogsOutput) GoString() string { } type CreateImageInput struct { + _ struct{} `type:"structure"` + // Information about one or more block device mappings. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` @@ -8815,12 +8626,6 @@ type CreateImageInput struct { // down the instance before creating the image. When this option is used, file // system integrity on the created image can't be guaranteed. NoReboot *bool `locationName:"noReboot" type:"boolean"` - - metadataCreateImageInput `json:"-" xml:"-"` -} - -type metadataCreateImageInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8834,14 +8639,10 @@ func (s CreateImageInput) GoString() string { } type CreateImageOutput struct { + _ struct{} `type:"structure"` + // The ID of the new AMI. ImageId *string `locationName:"imageId" type:"string"` - - metadataCreateImageOutput `json:"-" xml:"-"` -} - -type metadataCreateImageOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8855,6 +8656,8 @@ func (s CreateImageOutput) GoString() string { } type CreateInstanceExportTaskInput struct { + _ struct{} `type:"structure"` + // A description for the conversion task or the resource being exported. The // maximum length is 255 bytes. Description *string `locationName:"description" type:"string"` @@ -8867,12 +8670,6 @@ type CreateInstanceExportTaskInput struct { // The target virtualization environment. TargetEnvironment *string `locationName:"targetEnvironment" type:"string" enum:"ExportEnvironment"` - - metadataCreateInstanceExportTaskInput `json:"-" xml:"-"` -} - -type metadataCreateInstanceExportTaskInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8886,14 +8683,10 @@ func (s CreateInstanceExportTaskInput) GoString() string { } type CreateInstanceExportTaskOutput struct { + _ struct{} `type:"structure"` + // Information about the instance export task. ExportTask *ExportTask `locationName:"exportTask" type:"structure"` - - metadataCreateInstanceExportTaskOutput `json:"-" xml:"-"` -} - -type metadataCreateInstanceExportTaskOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8907,17 +8700,13 @@ func (s CreateInstanceExportTaskOutput) GoString() string { } type CreateInternetGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataCreateInternetGatewayInput `json:"-" xml:"-"` -} - -type metadataCreateInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8931,14 +8720,10 @@ func (s CreateInternetGatewayInput) GoString() string { } type CreateInternetGatewayOutput struct { + _ struct{} `type:"structure"` + // Information about the Internet gateway. InternetGateway *InternetGateway `locationName:"internetGateway" type:"structure"` - - metadataCreateInternetGatewayOutput `json:"-" xml:"-"` -} - -type metadataCreateInternetGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8952,6 +8737,8 @@ func (s CreateInternetGatewayOutput) GoString() string { } type CreateKeyPairInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -8962,12 +8749,6 @@ type CreateKeyPairInput struct { // // Constraints: Up to 255 ASCII characters KeyName *string `type:"string" required:"true"` - - metadataCreateKeyPairInput `json:"-" xml:"-"` -} - -type metadataCreateKeyPairInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -8982,6 +8763,8 @@ func (s CreateKeyPairInput) GoString() string { // Describes a key pair. type CreateKeyPairOutput struct { + _ struct{} `type:"structure"` + // The SHA-1 digest of the DER encoded private key. KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` @@ -8990,12 +8773,6 @@ type CreateKeyPairOutput struct { // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` - - metadataCreateKeyPairOutput `json:"-" xml:"-"` -} - -type metadataCreateKeyPairOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9008,7 +8785,58 @@ func (s CreateKeyPairOutput) GoString() string { return s.String() } +type CreateNatGatewayInput struct { + _ struct{} `type:"structure"` + + // The allocation ID of an Elastic IP address to associate with the NAT gateway. + // If the Elastic IP address is associated with another resource, you must first + // disassociate it. + AllocationId *string `type:"string" required:"true"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // + // Constraint: Maximum 64 ASCII characters. + ClientToken *string `type:"string"` + + // The subnet in which to create the NAT gateway. + SubnetId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateNatGatewayInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNatGatewayInput) GoString() string { + return s.String() +} + +type CreateNatGatewayOutput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier to ensure the idempotency of the request. + // Only returned if a client token was provided in the request. + ClientToken *string `locationName:"clientToken" type:"string"` + + // Information about the NAT gateway. + NatGateway *NatGateway `locationName:"natGateway" type:"structure"` +} + +// String returns the string representation +func (s CreateNatGatewayOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNatGatewayOutput) GoString() string { + return s.String() +} + type CreateNetworkAclEntryInput struct { + _ struct{} `type:"structure"` + // The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). CidrBlock *string `locationName:"cidrBlock" type:"string" required:"true"` @@ -9043,12 +8871,6 @@ type CreateNetworkAclEntryInput struct { // // Constraints: Positive integer from 1 to 32766 RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` - - metadataCreateNetworkAclEntryInput `json:"-" xml:"-"` -} - -type metadataCreateNetworkAclEntryInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9062,11 +8884,7 @@ func (s CreateNetworkAclEntryInput) GoString() string { } type CreateNetworkAclEntryOutput struct { - metadataCreateNetworkAclEntryOutput `json:"-" xml:"-"` -} - -type metadataCreateNetworkAclEntryOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -9080,6 +8898,8 @@ func (s CreateNetworkAclEntryOutput) GoString() string { } type CreateNetworkAclInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -9088,12 +8908,6 @@ type CreateNetworkAclInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataCreateNetworkAclInput `json:"-" xml:"-"` -} - -type metadataCreateNetworkAclInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9107,14 +8921,10 @@ func (s CreateNetworkAclInput) GoString() string { } type CreateNetworkAclOutput struct { + _ struct{} `type:"structure"` + // Information about the network ACL. NetworkAcl *NetworkAcl `locationName:"networkAcl" type:"structure"` - - metadataCreateNetworkAclOutput `json:"-" xml:"-"` -} - -type metadataCreateNetworkAclOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9128,6 +8938,8 @@ func (s CreateNetworkAclOutput) GoString() string { } type CreateNetworkInterfaceInput struct { + _ struct{} `type:"structure"` + // A description for the network interface. Description *string `locationName:"description" type:"string"` @@ -9162,12 +8974,6 @@ type CreateNetworkInterfaceInput struct { // The ID of the subnet to associate with the network interface. SubnetId *string `locationName:"subnetId" type:"string" required:"true"` - - metadataCreateNetworkInterfaceInput `json:"-" xml:"-"` -} - -type metadataCreateNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9181,14 +8987,10 @@ func (s CreateNetworkInterfaceInput) GoString() string { } type CreateNetworkInterfaceOutput struct { + _ struct{} `type:"structure"` + // Information about the network interface. NetworkInterface *NetworkInterface `locationName:"networkInterface" type:"structure"` - - metadataCreateNetworkInterfaceOutput `json:"-" xml:"-"` -} - -type metadataCreateNetworkInterfaceOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9202,6 +9004,8 @@ func (s CreateNetworkInterfaceOutput) GoString() string { } type CreatePlacementGroupInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -9215,12 +9019,6 @@ type CreatePlacementGroupInput struct { // The placement strategy. Strategy *string `locationName:"strategy" type:"string" required:"true" enum:"PlacementStrategy"` - - metadataCreatePlacementGroupInput `json:"-" xml:"-"` -} - -type metadataCreatePlacementGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9234,11 +9032,7 @@ func (s CreatePlacementGroupInput) GoString() string { } type CreatePlacementGroupOutput struct { - metadataCreatePlacementGroupOutput `json:"-" xml:"-"` -} - -type metadataCreatePlacementGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -9252,6 +9046,8 @@ func (s CreatePlacementGroupOutput) GoString() string { } type CreateReservedInstancesListingInput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure idempotency of your // listings. This helps avoid duplicate listings. For more information, see // Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). @@ -9269,12 +9065,6 @@ type CreateReservedInstancesListingInput struct { // The ID of the active Reserved instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string" required:"true"` - - metadataCreateReservedInstancesListingInput `json:"-" xml:"-"` -} - -type metadataCreateReservedInstancesListingInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9288,14 +9078,10 @@ func (s CreateReservedInstancesListingInput) GoString() string { } type CreateReservedInstancesListingOutput struct { + _ struct{} `type:"structure"` + // Information about the Reserved instance listing. ReservedInstancesListings []*ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` - - metadataCreateReservedInstancesListingOutput `json:"-" xml:"-"` -} - -type metadataCreateReservedInstancesListingOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9309,6 +9095,8 @@ func (s CreateReservedInstancesListingOutput) GoString() string { } type CreateRouteInput struct { + _ struct{} `type:"structure"` + // The CIDR address block used for the destination match. Routing decisions // are based on the most specific match. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` @@ -9327,6 +9115,9 @@ type CreateRouteInput struct { // an instance ID unless exactly one network interface is attached. InstanceId *string `locationName:"instanceId" type:"string"` + // The ID of a NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` + // The ID of a network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` @@ -9335,12 +9126,6 @@ type CreateRouteInput struct { // The ID of a VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` - - metadataCreateRouteInput `json:"-" xml:"-"` -} - -type metadataCreateRouteInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9354,14 +9139,10 @@ func (s CreateRouteInput) GoString() string { } type CreateRouteOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataCreateRouteOutput `json:"-" xml:"-"` -} - -type metadataCreateRouteOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9375,6 +9156,8 @@ func (s CreateRouteOutput) GoString() string { } type CreateRouteTableInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -9383,12 +9166,6 @@ type CreateRouteTableInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataCreateRouteTableInput `json:"-" xml:"-"` -} - -type metadataCreateRouteTableInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9402,14 +9179,10 @@ func (s CreateRouteTableInput) GoString() string { } type CreateRouteTableOutput struct { + _ struct{} `type:"structure"` + // Information about the route table. RouteTable *RouteTable `locationName:"routeTable" type:"structure"` - - metadataCreateRouteTableOutput `json:"-" xml:"-"` -} - -type metadataCreateRouteTableOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9423,6 +9196,8 @@ func (s CreateRouteTableOutput) GoString() string { } type CreateSecurityGroupInput struct { + _ struct{} `type:"structure"` + // A description for the security group. This is informational only. // // Constraints: Up to 255 characters in length @@ -9449,12 +9224,6 @@ type CreateSecurityGroupInput struct { // [EC2-VPC] The ID of the VPC. Required for EC2-VPC. VpcId *string `type:"string"` - - metadataCreateSecurityGroupInput `json:"-" xml:"-"` -} - -type metadataCreateSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9468,14 +9237,10 @@ func (s CreateSecurityGroupInput) GoString() string { } type CreateSecurityGroupOutput struct { + _ struct{} `type:"structure"` + // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` - - metadataCreateSecurityGroupOutput `json:"-" xml:"-"` -} - -type metadataCreateSecurityGroupOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9489,6 +9254,8 @@ func (s CreateSecurityGroupOutput) GoString() string { } type CreateSnapshotInput struct { + _ struct{} `type:"structure"` + // A description for the snapshot. Description *string `type:"string"` @@ -9500,12 +9267,6 @@ type CreateSnapshotInput struct { // The ID of the EBS volume. VolumeId *string `type:"string" required:"true"` - - metadataCreateSnapshotInput `json:"-" xml:"-"` -} - -type metadataCreateSnapshotInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9520,6 +9281,8 @@ func (s CreateSnapshotInput) GoString() string { // Contains the parameters for CreateSpotDatafeedSubscription. type CreateSpotDatafeedSubscriptionInput struct { + _ struct{} `type:"structure"` + // The Amazon S3 bucket in which to store the Spot instance data feed. Bucket *string `locationName:"bucket" type:"string" required:"true"` @@ -9531,12 +9294,6 @@ type CreateSpotDatafeedSubscriptionInput struct { // A prefix for the data feed file names. Prefix *string `locationName:"prefix" type:"string"` - - metadataCreateSpotDatafeedSubscriptionInput `json:"-" xml:"-"` -} - -type metadataCreateSpotDatafeedSubscriptionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9551,14 +9308,10 @@ func (s CreateSpotDatafeedSubscriptionInput) GoString() string { // Contains the output of CreateSpotDatafeedSubscription. type CreateSpotDatafeedSubscriptionOutput struct { + _ struct{} `type:"structure"` + // The Spot instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` - - metadataCreateSpotDatafeedSubscriptionOutput `json:"-" xml:"-"` -} - -type metadataCreateSpotDatafeedSubscriptionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9572,6 +9325,8 @@ func (s CreateSpotDatafeedSubscriptionOutput) GoString() string { } type CreateSubnetInput struct { + _ struct{} `type:"structure"` + // The Availability Zone for the subnet. // // Default: AWS selects one for you. If you create more than one subnet in @@ -9589,12 +9344,6 @@ type CreateSubnetInput struct { // The ID of the VPC. VpcId *string `type:"string" required:"true"` - - metadataCreateSubnetInput `json:"-" xml:"-"` -} - -type metadataCreateSubnetInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9608,14 +9357,10 @@ func (s CreateSubnetInput) GoString() string { } type CreateSubnetOutput struct { + _ struct{} `type:"structure"` + // Information about the subnet. Subnet *Subnet `locationName:"subnet" type:"structure"` - - metadataCreateSubnetOutput `json:"-" xml:"-"` -} - -type metadataCreateSubnetOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9629,6 +9374,8 @@ func (s CreateSubnetOutput) GoString() string { } type CreateTagsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -9642,12 +9389,6 @@ type CreateTagsInput struct { // the tag to have a value, specify the parameter with no value, and we set // the value to an empty string. Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list" required:"true"` - - metadataCreateTagsInput `json:"-" xml:"-"` -} - -type metadataCreateTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9661,11 +9402,7 @@ func (s CreateTagsInput) GoString() string { } type CreateTagsOutput struct { - metadataCreateTagsOutput `json:"-" xml:"-"` -} - -type metadataCreateTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -9679,6 +9416,8 @@ func (s CreateTagsOutput) GoString() string { } type CreateVolumeInput struct { + _ struct{} `type:"structure"` + // The Availability Zone in which to create the volume. Use DescribeAvailabilityZones // to list the Availability Zones that are currently available to you. AvailabilityZone *string `type:"string" required:"true"` @@ -9732,12 +9471,6 @@ type CreateVolumeInput struct { // // Default: standard VolumeType *string `type:"string" enum:"VolumeType"` - - metadataCreateVolumeInput `json:"-" xml:"-"` -} - -type metadataCreateVolumeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9753,6 +9486,8 @@ func (s CreateVolumeInput) GoString() string { // Describes the user or group to be added or removed from the permissions for // a volume. type CreateVolumePermission struct { + _ struct{} `type:"structure"` + // The specific group that is to be added or removed from a volume's list of // create volume permissions. Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` @@ -9760,12 +9495,6 @@ type CreateVolumePermission struct { // The specific AWS account ID that is to be added or removed from a volume's // list of create volume permissions. UserId *string `locationName:"userId" type:"string"` - - metadataCreateVolumePermission `json:"-" xml:"-"` -} - -type metadataCreateVolumePermission struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9780,6 +9509,8 @@ func (s CreateVolumePermission) GoString() string { // Describes modifications to the permissions for a volume. type CreateVolumePermissionModifications struct { + _ struct{} `type:"structure"` + // Adds a specific AWS account ID or group to a volume's list of create volume // permissions. Add []*CreateVolumePermission `locationNameList:"item" type:"list"` @@ -9787,12 +9518,6 @@ type CreateVolumePermissionModifications struct { // Removes a specific AWS account ID or group from a volume's list of create // volume permissions. Remove []*CreateVolumePermission `locationNameList:"item" type:"list"` - - metadataCreateVolumePermissionModifications `json:"-" xml:"-"` -} - -type metadataCreateVolumePermissionModifications struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9806,6 +9531,8 @@ func (s CreateVolumePermissionModifications) GoString() string { } type CreateVpcEndpointInput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` @@ -9830,12 +9557,6 @@ type CreateVpcEndpointInput struct { // The ID of the VPC in which the endpoint will be used. VpcId *string `type:"string" required:"true"` - - metadataCreateVpcEndpointInput `json:"-" xml:"-"` -} - -type metadataCreateVpcEndpointInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9849,18 +9570,14 @@ func (s CreateVpcEndpointInput) GoString() string { } type CreateVpcEndpointOutput struct { + _ struct{} `type:"structure"` + // Unique, case-sensitive identifier you provide to ensure the idempotency of // the request. ClientToken *string `locationName:"clientToken" type:"string"` // Information about the endpoint. VpcEndpoint *VpcEndpoint `locationName:"vpcEndpoint" type:"structure"` - - metadataCreateVpcEndpointOutput `json:"-" xml:"-"` -} - -type metadataCreateVpcEndpointOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9874,6 +9591,8 @@ func (s CreateVpcEndpointOutput) GoString() string { } type CreateVpcInput struct { + _ struct{} `type:"structure"` + // The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. CidrBlock *string `type:"string" required:"true"` @@ -9894,12 +9613,6 @@ type CreateVpcInput struct { // // Default: default InstanceTenancy *string `locationName:"instanceTenancy" type:"string" enum:"Tenancy"` - - metadataCreateVpcInput `json:"-" xml:"-"` -} - -type metadataCreateVpcInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9913,14 +9626,10 @@ func (s CreateVpcInput) GoString() string { } type CreateVpcOutput struct { + _ struct{} `type:"structure"` + // Information about the VPC. Vpc *Vpc `locationName:"vpc" type:"structure"` - - metadataCreateVpcOutput `json:"-" xml:"-"` -} - -type metadataCreateVpcOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9934,6 +9643,8 @@ func (s CreateVpcOutput) GoString() string { } type CreateVpcPeeringConnectionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -9950,12 +9661,6 @@ type CreateVpcPeeringConnectionInput struct { // The ID of the requester VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataCreateVpcPeeringConnectionInput `json:"-" xml:"-"` -} - -type metadataCreateVpcPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9969,14 +9674,10 @@ func (s CreateVpcPeeringConnectionInput) GoString() string { } type CreateVpcPeeringConnectionOutput struct { + _ struct{} `type:"structure"` + // Information about the VPC peering connection. VpcPeeringConnection *VpcPeeringConnection `locationName:"vpcPeeringConnection" type:"structure"` - - metadataCreateVpcPeeringConnectionOutput `json:"-" xml:"-"` -} - -type metadataCreateVpcPeeringConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -9990,6 +9691,8 @@ func (s CreateVpcPeeringConnectionOutput) GoString() string { } type CreateVpnConnectionInput struct { + _ struct{} `type:"structure"` + // The ID of the customer gateway. CustomerGatewayId *string `type:"string" required:"true"` @@ -10011,12 +9714,6 @@ type CreateVpnConnectionInput struct { // The ID of the virtual private gateway. VpnGatewayId *string `type:"string" required:"true"` - - metadataCreateVpnConnectionInput `json:"-" xml:"-"` -} - -type metadataCreateVpnConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10030,14 +9727,10 @@ func (s CreateVpnConnectionInput) GoString() string { } type CreateVpnConnectionOutput struct { + _ struct{} `type:"structure"` + // Information about the VPN connection. VpnConnection *VpnConnection `locationName:"vpnConnection" type:"structure"` - - metadataCreateVpnConnectionOutput `json:"-" xml:"-"` -} - -type metadataCreateVpnConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10051,17 +9744,13 @@ func (s CreateVpnConnectionOutput) GoString() string { } type CreateVpnConnectionRouteInput struct { + _ struct{} `type:"structure"` + // The CIDR block associated with the local subnet of the customer network. DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. VpnConnectionId *string `type:"string" required:"true"` - - metadataCreateVpnConnectionRouteInput `json:"-" xml:"-"` -} - -type metadataCreateVpnConnectionRouteInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10075,11 +9764,7 @@ func (s CreateVpnConnectionRouteInput) GoString() string { } type CreateVpnConnectionRouteOutput struct { - metadataCreateVpnConnectionRouteOutput `json:"-" xml:"-"` -} - -type metadataCreateVpnConnectionRouteOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10093,6 +9778,8 @@ func (s CreateVpnConnectionRouteOutput) GoString() string { } type CreateVpnGatewayInput struct { + _ struct{} `type:"structure"` + // The Availability Zone for the virtual private gateway. AvailabilityZone *string `type:"string"` @@ -10104,12 +9791,6 @@ type CreateVpnGatewayInput struct { // The type of VPN connection this virtual private gateway supports. Type *string `type:"string" required:"true" enum:"GatewayType"` - - metadataCreateVpnGatewayInput `json:"-" xml:"-"` -} - -type metadataCreateVpnGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10123,14 +9804,10 @@ func (s CreateVpnGatewayInput) GoString() string { } type CreateVpnGatewayOutput struct { + _ struct{} `type:"structure"` + // Information about the virtual private gateway. VpnGateway *VpnGateway `locationName:"vpnGateway" type:"structure"` - - metadataCreateVpnGatewayOutput `json:"-" xml:"-"` -} - -type metadataCreateVpnGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10145,6 +9822,8 @@ func (s CreateVpnGatewayOutput) GoString() string { // Describes a customer gateway. type CustomerGateway struct { + _ struct{} `type:"structure"` + // The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number // (ASN). BgpAsn *string `locationName:"bgpAsn" type:"string"` @@ -10164,12 +9843,6 @@ type CustomerGateway struct { // The type of VPN connection the customer gateway supports (ipsec.1). Type *string `locationName:"type" type:"string"` - - metadataCustomerGateway `json:"-" xml:"-"` -} - -type metadataCustomerGateway struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10183,6 +9856,8 @@ func (s CustomerGateway) GoString() string { } type DeleteCustomerGatewayInput struct { + _ struct{} `type:"structure"` + // The ID of the customer gateway. CustomerGatewayId *string `type:"string" required:"true"` @@ -10191,12 +9866,6 @@ type DeleteCustomerGatewayInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDeleteCustomerGatewayInput `json:"-" xml:"-"` -} - -type metadataDeleteCustomerGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10210,11 +9879,7 @@ func (s DeleteCustomerGatewayInput) GoString() string { } type DeleteCustomerGatewayOutput struct { - metadataDeleteCustomerGatewayOutput `json:"-" xml:"-"` -} - -type metadataDeleteCustomerGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10228,6 +9893,8 @@ func (s DeleteCustomerGatewayOutput) GoString() string { } type DeleteDhcpOptionsInput struct { + _ struct{} `type:"structure"` + // The ID of the DHCP options set. DhcpOptionsId *string `type:"string" required:"true"` @@ -10236,12 +9903,6 @@ type DeleteDhcpOptionsInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDeleteDhcpOptionsInput `json:"-" xml:"-"` -} - -type metadataDeleteDhcpOptionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10255,11 +9916,7 @@ func (s DeleteDhcpOptionsInput) GoString() string { } type DeleteDhcpOptionsOutput struct { - metadataDeleteDhcpOptionsOutput `json:"-" xml:"-"` -} - -type metadataDeleteDhcpOptionsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10273,14 +9930,10 @@ func (s DeleteDhcpOptionsOutput) GoString() string { } type DeleteFlowLogsInput struct { + _ struct{} `type:"structure"` + // One or more flow log IDs. FlowLogIds []*string `locationName:"FlowLogId" locationNameList:"item" type:"list" required:"true"` - - metadataDeleteFlowLogsInput `json:"-" xml:"-"` -} - -type metadataDeleteFlowLogsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10294,14 +9947,10 @@ func (s DeleteFlowLogsInput) GoString() string { } type DeleteFlowLogsOutput struct { + _ struct{} `type:"structure"` + // Information about the flow logs that could not be deleted successfully. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` - - metadataDeleteFlowLogsOutput `json:"-" xml:"-"` -} - -type metadataDeleteFlowLogsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10315,6 +9964,8 @@ func (s DeleteFlowLogsOutput) GoString() string { } type DeleteInternetGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10323,12 +9974,6 @@ type DeleteInternetGatewayInput struct { // The ID of the Internet gateway. InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` - - metadataDeleteInternetGatewayInput `json:"-" xml:"-"` -} - -type metadataDeleteInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10342,11 +9987,7 @@ func (s DeleteInternetGatewayInput) GoString() string { } type DeleteInternetGatewayOutput struct { - metadataDeleteInternetGatewayOutput `json:"-" xml:"-"` -} - -type metadataDeleteInternetGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10360,6 +10001,8 @@ func (s DeleteInternetGatewayOutput) GoString() string { } type DeleteKeyPairInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10368,12 +10011,6 @@ type DeleteKeyPairInput struct { // The name of the key pair. KeyName *string `type:"string" required:"true"` - - metadataDeleteKeyPairInput `json:"-" xml:"-"` -} - -type metadataDeleteKeyPairInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10387,11 +10024,7 @@ func (s DeleteKeyPairInput) GoString() string { } type DeleteKeyPairOutput struct { - metadataDeleteKeyPairOutput `json:"-" xml:"-"` -} - -type metadataDeleteKeyPairOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10404,7 +10037,43 @@ func (s DeleteKeyPairOutput) GoString() string { return s.String() } +type DeleteNatGatewayInput struct { + _ struct{} `type:"structure"` + + // The ID of the NAT gateway. + NatGatewayId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteNatGatewayInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNatGatewayInput) GoString() string { + return s.String() +} + +type DeleteNatGatewayOutput struct { + _ struct{} `type:"structure"` + + // The ID of the NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` +} + +// String returns the string representation +func (s DeleteNatGatewayOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNatGatewayOutput) GoString() string { + return s.String() +} + type DeleteNetworkAclEntryInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10419,12 +10088,6 @@ type DeleteNetworkAclEntryInput struct { // The rule number of the entry to delete. RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` - - metadataDeleteNetworkAclEntryInput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkAclEntryInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10438,11 +10101,7 @@ func (s DeleteNetworkAclEntryInput) GoString() string { } type DeleteNetworkAclEntryOutput struct { - metadataDeleteNetworkAclEntryOutput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkAclEntryOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10456,6 +10115,8 @@ func (s DeleteNetworkAclEntryOutput) GoString() string { } type DeleteNetworkAclInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10464,12 +10125,6 @@ type DeleteNetworkAclInput struct { // The ID of the network ACL. NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` - - metadataDeleteNetworkAclInput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkAclInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10483,11 +10138,7 @@ func (s DeleteNetworkAclInput) GoString() string { } type DeleteNetworkAclOutput struct { - metadataDeleteNetworkAclOutput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkAclOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10501,6 +10152,8 @@ func (s DeleteNetworkAclOutput) GoString() string { } type DeleteNetworkInterfaceInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10509,12 +10162,6 @@ type DeleteNetworkInterfaceInput struct { // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` - - metadataDeleteNetworkInterfaceInput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10528,11 +10175,7 @@ func (s DeleteNetworkInterfaceInput) GoString() string { } type DeleteNetworkInterfaceOutput struct { - metadataDeleteNetworkInterfaceOutput `json:"-" xml:"-"` -} - -type metadataDeleteNetworkInterfaceOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10546,6 +10189,8 @@ func (s DeleteNetworkInterfaceOutput) GoString() string { } type DeletePlacementGroupInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10554,12 +10199,6 @@ type DeletePlacementGroupInput struct { // The name of the placement group. GroupName *string `locationName:"groupName" type:"string" required:"true"` - - metadataDeletePlacementGroupInput `json:"-" xml:"-"` -} - -type metadataDeletePlacementGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10573,11 +10212,7 @@ func (s DeletePlacementGroupInput) GoString() string { } type DeletePlacementGroupOutput struct { - metadataDeletePlacementGroupOutput `json:"-" xml:"-"` -} - -type metadataDeletePlacementGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10591,6 +10226,8 @@ func (s DeletePlacementGroupOutput) GoString() string { } type DeleteRouteInput struct { + _ struct{} `type:"structure"` + // The CIDR range for the route. The value you specify must match the CIDR for // the route exactly. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` @@ -10603,12 +10240,6 @@ type DeleteRouteInput struct { // The ID of the route table. RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` - - metadataDeleteRouteInput `json:"-" xml:"-"` -} - -type metadataDeleteRouteInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10622,11 +10253,7 @@ func (s DeleteRouteInput) GoString() string { } type DeleteRouteOutput struct { - metadataDeleteRouteOutput `json:"-" xml:"-"` -} - -type metadataDeleteRouteOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10640,6 +10267,8 @@ func (s DeleteRouteOutput) GoString() string { } type DeleteRouteTableInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10648,12 +10277,6 @@ type DeleteRouteTableInput struct { // The ID of the route table. RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` - - metadataDeleteRouteTableInput `json:"-" xml:"-"` -} - -type metadataDeleteRouteTableInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10667,11 +10290,7 @@ func (s DeleteRouteTableInput) GoString() string { } type DeleteRouteTableOutput struct { - metadataDeleteRouteTableOutput `json:"-" xml:"-"` -} - -type metadataDeleteRouteTableOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10685,6 +10304,8 @@ func (s DeleteRouteTableOutput) GoString() string { } type DeleteSecurityGroupInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10697,12 +10318,6 @@ type DeleteSecurityGroupInput struct { // [EC2-Classic, default VPC] The name of the security group. You can specify // either the security group name or the security group ID. GroupName *string `type:"string"` - - metadataDeleteSecurityGroupInput `json:"-" xml:"-"` -} - -type metadataDeleteSecurityGroupInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10716,11 +10331,7 @@ func (s DeleteSecurityGroupInput) GoString() string { } type DeleteSecurityGroupOutput struct { - metadataDeleteSecurityGroupOutput `json:"-" xml:"-"` -} - -type metadataDeleteSecurityGroupOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10734,6 +10345,8 @@ func (s DeleteSecurityGroupOutput) GoString() string { } type DeleteSnapshotInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10742,12 +10355,6 @@ type DeleteSnapshotInput struct { // The ID of the EBS snapshot. SnapshotId *string `type:"string" required:"true"` - - metadataDeleteSnapshotInput `json:"-" xml:"-"` -} - -type metadataDeleteSnapshotInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10761,11 +10368,7 @@ func (s DeleteSnapshotInput) GoString() string { } type DeleteSnapshotOutput struct { - metadataDeleteSnapshotOutput `json:"-" xml:"-"` -} - -type metadataDeleteSnapshotOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10780,17 +10383,13 @@ func (s DeleteSnapshotOutput) GoString() string { // Contains the parameters for DeleteSpotDatafeedSubscription. type DeleteSpotDatafeedSubscriptionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDeleteSpotDatafeedSubscriptionInput `json:"-" xml:"-"` -} - -type metadataDeleteSpotDatafeedSubscriptionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10804,11 +10403,7 @@ func (s DeleteSpotDatafeedSubscriptionInput) GoString() string { } type DeleteSpotDatafeedSubscriptionOutput struct { - metadataDeleteSpotDatafeedSubscriptionOutput `json:"-" xml:"-"` -} - -type metadataDeleteSpotDatafeedSubscriptionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10822,6 +10417,8 @@ func (s DeleteSpotDatafeedSubscriptionOutput) GoString() string { } type DeleteSubnetInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10830,12 +10427,6 @@ type DeleteSubnetInput struct { // The ID of the subnet. SubnetId *string `type:"string" required:"true"` - - metadataDeleteSubnetInput `json:"-" xml:"-"` -} - -type metadataDeleteSubnetInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10849,11 +10440,7 @@ func (s DeleteSubnetInput) GoString() string { } type DeleteSubnetOutput struct { - metadataDeleteSubnetOutput `json:"-" xml:"-"` -} - -type metadataDeleteSubnetOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10867,6 +10454,8 @@ func (s DeleteSubnetOutput) GoString() string { } type DeleteTagsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10881,12 +10470,6 @@ type DeleteTagsInput struct { // tag regardless of its value. If you specify this parameter with an empty // string as the value, we delete the key only if its value is an empty string. Tags []*Tag `locationName:"tag" locationNameList:"item" type:"list"` - - metadataDeleteTagsInput `json:"-" xml:"-"` -} - -type metadataDeleteTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10900,11 +10483,7 @@ func (s DeleteTagsInput) GoString() string { } type DeleteTagsOutput struct { - metadataDeleteTagsOutput `json:"-" xml:"-"` -} - -type metadataDeleteTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10918,6 +10497,8 @@ func (s DeleteTagsOutput) GoString() string { } type DeleteVolumeInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10926,12 +10507,6 @@ type DeleteVolumeInput struct { // The ID of the volume. VolumeId *string `type:"string" required:"true"` - - metadataDeleteVolumeInput `json:"-" xml:"-"` -} - -type metadataDeleteVolumeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10945,11 +10520,7 @@ func (s DeleteVolumeInput) GoString() string { } type DeleteVolumeOutput struct { - metadataDeleteVolumeOutput `json:"-" xml:"-"` -} - -type metadataDeleteVolumeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -10963,6 +10534,8 @@ func (s DeleteVolumeOutput) GoString() string { } type DeleteVpcEndpointsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -10971,12 +10544,6 @@ type DeleteVpcEndpointsInput struct { // One or more endpoint IDs. VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` - - metadataDeleteVpcEndpointsInput `json:"-" xml:"-"` -} - -type metadataDeleteVpcEndpointsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -10990,14 +10557,10 @@ func (s DeleteVpcEndpointsInput) GoString() string { } type DeleteVpcEndpointsOutput struct { + _ struct{} `type:"structure"` + // Information about the endpoints that were not successfully deleted. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` - - metadataDeleteVpcEndpointsOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpcEndpointsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11011,6 +10574,8 @@ func (s DeleteVpcEndpointsOutput) GoString() string { } type DeleteVpcInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11019,12 +10584,6 @@ type DeleteVpcInput struct { // The ID of the VPC. VpcId *string `type:"string" required:"true"` - - metadataDeleteVpcInput `json:"-" xml:"-"` -} - -type metadataDeleteVpcInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11038,11 +10597,7 @@ func (s DeleteVpcInput) GoString() string { } type DeleteVpcOutput struct { - metadataDeleteVpcOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpcOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -11056,6 +10611,8 @@ func (s DeleteVpcOutput) GoString() string { } type DeleteVpcPeeringConnectionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11064,12 +10621,6 @@ type DeleteVpcPeeringConnectionInput struct { // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` - - metadataDeleteVpcPeeringConnectionInput `json:"-" xml:"-"` -} - -type metadataDeleteVpcPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11083,14 +10634,10 @@ func (s DeleteVpcPeeringConnectionInput) GoString() string { } type DeleteVpcPeeringConnectionOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataDeleteVpcPeeringConnectionOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpcPeeringConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11104,6 +10651,8 @@ func (s DeleteVpcPeeringConnectionOutput) GoString() string { } type DeleteVpnConnectionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11112,12 +10661,6 @@ type DeleteVpnConnectionInput struct { // The ID of the VPN connection. VpnConnectionId *string `type:"string" required:"true"` - - metadataDeleteVpnConnectionInput `json:"-" xml:"-"` -} - -type metadataDeleteVpnConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11131,11 +10674,7 @@ func (s DeleteVpnConnectionInput) GoString() string { } type DeleteVpnConnectionOutput struct { - metadataDeleteVpnConnectionOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpnConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -11149,17 +10688,13 @@ func (s DeleteVpnConnectionOutput) GoString() string { } type DeleteVpnConnectionRouteInput struct { + _ struct{} `type:"structure"` + // The CIDR block associated with the local subnet of the customer network. DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. VpnConnectionId *string `type:"string" required:"true"` - - metadataDeleteVpnConnectionRouteInput `json:"-" xml:"-"` -} - -type metadataDeleteVpnConnectionRouteInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11173,11 +10708,7 @@ func (s DeleteVpnConnectionRouteInput) GoString() string { } type DeleteVpnConnectionRouteOutput struct { - metadataDeleteVpnConnectionRouteOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpnConnectionRouteOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -11191,6 +10722,8 @@ func (s DeleteVpnConnectionRouteOutput) GoString() string { } type DeleteVpnGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11199,12 +10732,6 @@ type DeleteVpnGatewayInput struct { // The ID of the virtual private gateway. VpnGatewayId *string `type:"string" required:"true"` - - metadataDeleteVpnGatewayInput `json:"-" xml:"-"` -} - -type metadataDeleteVpnGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11218,11 +10745,7 @@ func (s DeleteVpnGatewayInput) GoString() string { } type DeleteVpnGatewayOutput struct { - metadataDeleteVpnGatewayOutput `json:"-" xml:"-"` -} - -type metadataDeleteVpnGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -11236,6 +10759,8 @@ func (s DeleteVpnGatewayOutput) GoString() string { } type DeregisterImageInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11244,12 +10769,6 @@ type DeregisterImageInput struct { // The ID of the AMI. ImageId *string `type:"string" required:"true"` - - metadataDeregisterImageInput `json:"-" xml:"-"` -} - -type metadataDeregisterImageInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11263,11 +10782,7 @@ func (s DeregisterImageInput) GoString() string { } type DeregisterImageOutput struct { - metadataDeregisterImageOutput `json:"-" xml:"-"` -} - -type metadataDeregisterImageOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -11281,6 +10796,8 @@ func (s DeregisterImageOutput) GoString() string { } type DescribeAccountAttributesInput struct { + _ struct{} `type:"structure"` + // One or more account attribute names. AttributeNames []*string `locationName:"attributeName" locationNameList:"attributeName" type:"list"` @@ -11289,12 +10806,6 @@ type DescribeAccountAttributesInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDescribeAccountAttributesInput `json:"-" xml:"-"` -} - -type metadataDescribeAccountAttributesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11308,14 +10819,10 @@ func (s DescribeAccountAttributesInput) GoString() string { } type DescribeAccountAttributesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more account attributes. AccountAttributes []*AccountAttribute `locationName:"accountAttributeSet" locationNameList:"item" type:"list"` - - metadataDescribeAccountAttributesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAccountAttributesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11329,6 +10836,8 @@ func (s DescribeAccountAttributesOutput) GoString() string { } type DescribeAddressesInput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] One or more allocation IDs. // // Default: Describes all your Elastic IP addresses. @@ -11367,12 +10876,6 @@ type DescribeAddressesInput struct { // // Default: Describes all your Elastic IP addresses. PublicIps []*string `locationName:"PublicIp" locationNameList:"PublicIp" type:"list"` - - metadataDescribeAddressesInput `json:"-" xml:"-"` -} - -type metadataDescribeAddressesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11386,14 +10889,10 @@ func (s DescribeAddressesInput) GoString() string { } type DescribeAddressesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more Elastic IP addresses. Addresses []*Address `locationName:"addressesSet" locationNameList:"item" type:"list"` - - metadataDescribeAddressesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAddressesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11407,6 +10906,8 @@ func (s DescribeAddressesOutput) GoString() string { } type DescribeAvailabilityZonesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11428,12 +10929,6 @@ type DescribeAvailabilityZonesInput struct { // The names of one or more Availability Zones. ZoneNames []*string `locationName:"ZoneName" locationNameList:"ZoneName" type:"list"` - - metadataDescribeAvailabilityZonesInput `json:"-" xml:"-"` -} - -type metadataDescribeAvailabilityZonesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11447,14 +10942,10 @@ func (s DescribeAvailabilityZonesInput) GoString() string { } type DescribeAvailabilityZonesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more Availability Zones. AvailabilityZones []*AvailabilityZone `locationName:"availabilityZoneInfo" locationNameList:"item" type:"list"` - - metadataDescribeAvailabilityZonesOutput `json:"-" xml:"-"` -} - -type metadataDescribeAvailabilityZonesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11468,6 +10959,8 @@ func (s DescribeAvailabilityZonesOutput) GoString() string { } type DescribeBundleTasksInput struct { + _ struct{} `type:"structure"` + // One or more bundle task IDs. // // Default: Describes all your bundle tasks. @@ -11503,12 +10996,6 @@ type DescribeBundleTasksInput struct { // // update-time - The time of the most recent update for the task. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - - metadataDescribeBundleTasksInput `json:"-" xml:"-"` -} - -type metadataDescribeBundleTasksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11522,14 +11009,10 @@ func (s DescribeBundleTasksInput) GoString() string { } type DescribeBundleTasksOutput struct { + _ struct{} `type:"structure"` + // Information about one or more bundle tasks. BundleTasks []*BundleTask `locationName:"bundleInstanceTasksSet" locationNameList:"item" type:"list"` - - metadataDescribeBundleTasksOutput `json:"-" xml:"-"` -} - -type metadataDescribeBundleTasksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11543,6 +11026,8 @@ func (s DescribeBundleTasksOutput) GoString() string { } type DescribeClassicLinkInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -11585,12 +11070,6 @@ type DescribeClassicLinkInstancesInput struct { // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeClassicLinkInstancesInput `json:"-" xml:"-"` -} - -type metadataDescribeClassicLinkInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11604,18 +11083,14 @@ func (s DescribeClassicLinkInstancesInput) GoString() string { } type DescribeClassicLinkInstancesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more linked EC2-Classic instances. Instances []*ClassicLinkInstance `locationName:"instancesSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeClassicLinkInstancesOutput `json:"-" xml:"-"` -} - -type metadataDescribeClassicLinkInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11629,6 +11104,8 @@ func (s DescribeClassicLinkInstancesOutput) GoString() string { } type DescribeConversionTasksInput struct { + _ struct{} `type:"structure"` + // One or more conversion task IDs. ConversionTaskIds []*string `locationName:"conversionTaskId" locationNameList:"item" type:"list"` @@ -11640,12 +11117,6 @@ type DescribeConversionTasksInput struct { // One or more filters. Filters []*Filter `locationName:"filter" locationNameList:"Filter" type:"list"` - - metadataDescribeConversionTasksInput `json:"-" xml:"-"` -} - -type metadataDescribeConversionTasksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11659,14 +11130,10 @@ func (s DescribeConversionTasksInput) GoString() string { } type DescribeConversionTasksOutput struct { + _ struct{} `type:"structure"` + // Information about the conversion tasks. ConversionTasks []*ConversionTask `locationName:"conversionTasks" locationNameList:"item" type:"list"` - - metadataDescribeConversionTasksOutput `json:"-" xml:"-"` -} - -type metadataDescribeConversionTasksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11680,6 +11147,8 @@ func (s DescribeConversionTasksOutput) GoString() string { } type DescribeCustomerGatewaysInput struct { + _ struct{} `type:"structure"` + // One or more customer gateway IDs. // // Default: Describes all your customer gateways. @@ -11719,12 +11188,6 @@ type DescribeCustomerGatewaysInput struct { // tag-value - The value of a tag assigned to the resource. This filter is // independent of the tag-key filter. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - - metadataDescribeCustomerGatewaysInput `json:"-" xml:"-"` -} - -type metadataDescribeCustomerGatewaysInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11738,14 +11201,10 @@ func (s DescribeCustomerGatewaysInput) GoString() string { } type DescribeCustomerGatewaysOutput struct { + _ struct{} `type:"structure"` + // Information about one or more customer gateways. CustomerGateways []*CustomerGateway `locationName:"customerGatewaySet" locationNameList:"item" type:"list"` - - metadataDescribeCustomerGatewaysOutput `json:"-" xml:"-"` -} - -type metadataDescribeCustomerGatewaysOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11759,6 +11218,8 @@ func (s DescribeCustomerGatewaysOutput) GoString() string { } type DescribeDhcpOptionsInput struct { + _ struct{} `type:"structure"` + // The IDs of one or more DHCP options sets. // // Default: Describes all your DHCP options sets. @@ -11790,12 +11251,6 @@ type DescribeDhcpOptionsInput struct { // tag-value - The value of a tag assigned to the resource. This filter is // independent of the tag-key filter. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - - metadataDescribeDhcpOptionsInput `json:"-" xml:"-"` -} - -type metadataDescribeDhcpOptionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11809,14 +11264,10 @@ func (s DescribeDhcpOptionsInput) GoString() string { } type DescribeDhcpOptionsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more DHCP options sets. DhcpOptions []*DhcpOptions `locationName:"dhcpOptionsSet" locationNameList:"item" type:"list"` - - metadataDescribeDhcpOptionsOutput `json:"-" xml:"-"` -} - -type metadataDescribeDhcpOptionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11830,14 +11281,10 @@ func (s DescribeDhcpOptionsOutput) GoString() string { } type DescribeExportTasksInput struct { + _ struct{} `type:"structure"` + // One or more export task IDs. ExportTaskIds []*string `locationName:"exportTaskId" locationNameList:"ExportTaskId" type:"list"` - - metadataDescribeExportTasksInput `json:"-" xml:"-"` -} - -type metadataDescribeExportTasksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11851,14 +11298,10 @@ func (s DescribeExportTasksInput) GoString() string { } type DescribeExportTasksOutput struct { + _ struct{} `type:"structure"` + // Information about the export tasks. ExportTasks []*ExportTask `locationName:"exportTaskSet" locationNameList:"item" type:"list"` - - metadataDescribeExportTasksOutput `json:"-" xml:"-"` -} - -type metadataDescribeExportTasksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11872,6 +11315,8 @@ func (s DescribeExportTasksOutput) GoString() string { } type DescribeFlowLogsInput struct { + _ struct{} `type:"structure"` + // One or more filters. // // deliver-log-status - The status of the logs delivery (SUCCESS | FAILED). @@ -11897,12 +11342,6 @@ type DescribeFlowLogsInput struct { // The token to retrieve the next page of results. NextToken *string `type:"string"` - - metadataDescribeFlowLogsInput `json:"-" xml:"-"` -} - -type metadataDescribeFlowLogsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11916,18 +11355,14 @@ func (s DescribeFlowLogsInput) GoString() string { } type DescribeFlowLogsOutput struct { + _ struct{} `type:"structure"` + // Information about the flow logs. FlowLogs []*FlowLog `locationName:"flowLogSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeFlowLogsOutput `json:"-" xml:"-"` -} - -type metadataDescribeFlowLogsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11941,6 +11376,8 @@ func (s DescribeFlowLogsOutput) GoString() string { } type DescribeHostsInput struct { + _ struct{} `type:"structure"` + // One or more filters. // // instance-type - The instance type size that the Dedicated host is configured @@ -11971,12 +11408,6 @@ type DescribeHostsInput struct { // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeHostsInput `json:"-" xml:"-"` -} - -type metadataDescribeHostsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -11990,18 +11421,14 @@ func (s DescribeHostsInput) GoString() string { } type DescribeHostsOutput struct { + _ struct{} `type:"structure"` + // Information about the Dedicated hosts. Hosts []*Host `locationName:"hostSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeHostsOutput `json:"-" xml:"-"` -} - -type metadataDescribeHostsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12015,14 +11442,10 @@ func (s DescribeHostsOutput) GoString() string { } type DescribeIdFormatInput struct { + _ struct{} `type:"structure"` + // The type of resource. Resource *string `type:"string"` - - metadataDescribeIdFormatInput `json:"-" xml:"-"` -} - -type metadataDescribeIdFormatInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12036,14 +11459,10 @@ func (s DescribeIdFormatInput) GoString() string { } type DescribeIdFormatOutput struct { + _ struct{} `type:"structure"` + // Information about the ID format for the resource. Statuses []*IdFormat `locationName:"statusSet" locationNameList:"item" type:"list"` - - metadataDescribeIdFormatOutput `json:"-" xml:"-"` -} - -type metadataDescribeIdFormatOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12057,6 +11476,8 @@ func (s DescribeIdFormatOutput) GoString() string { } type DescribeImageAttributeInput struct { + _ struct{} `type:"structure"` + // The AMI attribute. // // Note: Depending on your account privileges, the blockDeviceMapping attribute @@ -12072,12 +11493,6 @@ type DescribeImageAttributeInput struct { // The ID of the AMI. ImageId *string `type:"string" required:"true"` - - metadataDescribeImageAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeImageAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12092,6 +11507,8 @@ func (s DescribeImageAttributeInput) GoString() string { // Describes an image attribute. type DescribeImageAttributeOutput struct { + _ struct{} `type:"structure"` + // One or more block device mapping entries. BlockDeviceMappings []*BlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` @@ -12115,12 +11532,6 @@ type DescribeImageAttributeOutput struct { // The value to use for a resource attribute. SriovNetSupport *AttributeValue `locationName:"sriovNetSupport" type:"structure"` - - metadataDescribeImageAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeImageAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12134,6 +11545,8 @@ func (s DescribeImageAttributeOutput) GoString() string { } type DescribeImagesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12226,12 +11639,6 @@ type DescribeImagesInput struct { // sender of the request). Omitting this option returns all images for which // you have launch permissions, regardless of ownership. Owners []*string `locationName:"Owner" locationNameList:"Owner" type:"list"` - - metadataDescribeImagesInput `json:"-" xml:"-"` -} - -type metadataDescribeImagesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12245,14 +11652,10 @@ func (s DescribeImagesInput) GoString() string { } type DescribeImagesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more images. Images []*Image `locationName:"imagesSet" locationNameList:"item" type:"list"` - - metadataDescribeImagesOutput `json:"-" xml:"-"` -} - -type metadataDescribeImagesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12266,6 +11669,8 @@ func (s DescribeImagesOutput) GoString() string { } type DescribeImportImageTasksInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12283,12 +11688,6 @@ type DescribeImportImageTasksInput struct { // A token that indicates the next page of results. NextToken *string `type:"string"` - - metadataDescribeImportImageTasksInput `json:"-" xml:"-"` -} - -type metadataDescribeImportImageTasksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12302,6 +11701,8 @@ func (s DescribeImportImageTasksInput) GoString() string { } type DescribeImportImageTasksOutput struct { + _ struct{} `type:"structure"` + // A list of zero or more import image tasks that are currently active or were // completed or canceled in the previous 7 days. ImportImageTasks []*ImportImageTask `locationName:"importImageTaskSet" locationNameList:"item" type:"list"` @@ -12309,12 +11710,6 @@ type DescribeImportImageTasksOutput struct { // The token to use to get the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeImportImageTasksOutput `json:"-" xml:"-"` -} - -type metadataDescribeImportImageTasksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12328,6 +11723,8 @@ func (s DescribeImportImageTasksOutput) GoString() string { } type DescribeImportSnapshotTasksInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12345,12 +11742,6 @@ type DescribeImportSnapshotTasksInput struct { // A token that indicates the next page of results. NextToken *string `type:"string"` - - metadataDescribeImportSnapshotTasksInput `json:"-" xml:"-"` -} - -type metadataDescribeImportSnapshotTasksInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12364,6 +11755,8 @@ func (s DescribeImportSnapshotTasksInput) GoString() string { } type DescribeImportSnapshotTasksOutput struct { + _ struct{} `type:"structure"` + // A list of zero or more import snapshot tasks that are currently active or // were completed or canceled in the previous 7 days. ImportSnapshotTasks []*ImportSnapshotTask `locationName:"importSnapshotTaskSet" locationNameList:"item" type:"list"` @@ -12371,12 +11764,6 @@ type DescribeImportSnapshotTasksOutput struct { // The token to use to get the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeImportSnapshotTasksOutput `json:"-" xml:"-"` -} - -type metadataDescribeImportSnapshotTasksOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12390,6 +11777,8 @@ func (s DescribeImportSnapshotTasksOutput) GoString() string { } type DescribeInstanceAttributeInput struct { + _ struct{} `type:"structure"` + // The instance attribute. Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"InstanceAttributeName"` @@ -12401,12 +11790,6 @@ type DescribeInstanceAttributeInput struct { // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string" required:"true"` - - metadataDescribeInstanceAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12421,6 +11804,8 @@ func (s DescribeInstanceAttributeInput) GoString() string { // Describes an instance attribute. type DescribeInstanceAttributeOutput struct { + _ struct{} `type:"structure"` + // The block device mapping of the instance. BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMapping" locationNameList:"item" type:"list"` @@ -12466,12 +11851,6 @@ type DescribeInstanceAttributeOutput struct { // The Base64-encoded MIME user data. UserData *AttributeValue `locationName:"userData" type:"structure"` - - metadataDescribeInstanceAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12485,6 +11864,8 @@ func (s DescribeInstanceAttributeOutput) GoString() string { } type DescribeInstanceStatusInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12551,12 +11932,6 @@ type DescribeInstanceStatusInput struct { // The token to retrieve the next page of results. NextToken *string `type:"string"` - - metadataDescribeInstanceStatusInput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceStatusInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12570,18 +11945,14 @@ func (s DescribeInstanceStatusInput) GoString() string { } type DescribeInstanceStatusOutput struct { + _ struct{} `type:"structure"` + // One or more instance status descriptions. InstanceStatuses []*InstanceStatus `locationName:"instanceStatusSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeInstanceStatusOutput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceStatusOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12595,6 +11966,8 @@ func (s DescribeInstanceStatusOutput) GoString() string { } type DescribeInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12603,6 +11976,9 @@ type DescribeInstancesInput struct { // One or more filters. // + // affinity - The affinity setting for an instance running on a Dedicated + // host (default | host). + // // architecture - The instance architecture (i386 | x86_64). // // availability-zone - The Availability Zone of the instance. @@ -12632,6 +12008,9 @@ type DescribeInstancesInput struct { // group-name - The name of the security group for the instance. EC2-Classic // only. // + // host-Id - The ID of the Dedicated host on which the instance is running, + // if applicable. + // // hypervisor - The hypervisor type of the instance (ovm | xen). // // iam-instance-profile.arn - The instance profile associated with the instance. @@ -12737,7 +12116,7 @@ type DescribeInstancesInput struct { // tag-value - The value of a tag assigned to the resource. This filter is // independent of the tag-key filter. // - // tenancy - The tenancy of an instance (dedicated | default). + // tenancy - The tenancy of an instance (dedicated | default | host). // // virtualization-type - The virtualization type of the instance (paravirtual // | hvm). @@ -12841,12 +12220,6 @@ type DescribeInstancesInput struct { // The token to request the next page of results. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeInstancesInput `json:"-" xml:"-"` -} - -type metadataDescribeInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12860,18 +12233,14 @@ func (s DescribeInstancesInput) GoString() string { } type DescribeInstancesOutput struct { + _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Zero or more reservations. Reservations []*Reservation `locationName:"reservationSet" locationNameList:"item" type:"list"` - - metadataDescribeInstancesOutput `json:"-" xml:"-"` -} - -type metadataDescribeInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12885,6 +12254,8 @@ func (s DescribeInstancesOutput) GoString() string { } type DescribeInternetGatewaysInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12917,12 +12288,6 @@ type DescribeInternetGatewaysInput struct { // // Default: Describes all your Internet gateways. InternetGatewayIds []*string `locationName:"internetGatewayId" locationNameList:"item" type:"list"` - - metadataDescribeInternetGatewaysInput `json:"-" xml:"-"` -} - -type metadataDescribeInternetGatewaysInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12936,14 +12301,10 @@ func (s DescribeInternetGatewaysInput) GoString() string { } type DescribeInternetGatewaysOutput struct { + _ struct{} `type:"structure"` + // Information about one or more Internet gateways. InternetGateways []*InternetGateway `locationName:"internetGatewaySet" locationNameList:"item" type:"list"` - - metadataDescribeInternetGatewaysOutput `json:"-" xml:"-"` -} - -type metadataDescribeInternetGatewaysOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12957,6 +12318,8 @@ func (s DescribeInternetGatewaysOutput) GoString() string { } type DescribeKeyPairsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -12974,12 +12337,6 @@ type DescribeKeyPairsInput struct { // // Default: Describes all your key pairs. KeyNames []*string `locationName:"KeyName" locationNameList:"KeyName" type:"list"` - - metadataDescribeKeyPairsInput `json:"-" xml:"-"` -} - -type metadataDescribeKeyPairsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -12993,14 +12350,10 @@ func (s DescribeKeyPairsInput) GoString() string { } type DescribeKeyPairsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more key pairs. KeyPairs []*KeyPairInfo `locationName:"keySet" locationNameList:"item" type:"list"` - - metadataDescribeKeyPairsOutput `json:"-" xml:"-"` -} - -type metadataDescribeKeyPairsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13014,6 +12367,8 @@ func (s DescribeKeyPairsOutput) GoString() string { } type DescribeMovingAddressesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13038,12 +12393,6 @@ type DescribeMovingAddressesInput struct { // One or more Elastic IP addresses. PublicIps []*string `locationName:"publicIp" locationNameList:"item" type:"list"` - - metadataDescribeMovingAddressesInput `json:"-" xml:"-"` -} - -type metadataDescribeMovingAddressesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13057,18 +12406,14 @@ func (s DescribeMovingAddressesInput) GoString() string { } type DescribeMovingAddressesOutput struct { + _ struct{} `type:"structure"` + // The status for each Elastic IP address. MovingAddressStatuses []*MovingAddressStatus `locationName:"movingAddressStatusSet" locationNameList:"item" type:"list"` // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeMovingAddressesOutput `json:"-" xml:"-"` -} - -type metadataDescribeMovingAddressesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13081,7 +12426,70 @@ func (s DescribeMovingAddressesOutput) GoString() string { return s.String() } +type DescribeNatGatewaysInput struct { + _ struct{} `type:"structure"` + + // One or more filters. + // + // nat-gateway-id - The ID of the NAT gateway. + // + // state - The state of the NAT gateway (pending | failed | available | deleting + // | deleted). + // + // subnet-id - The ID of the subnet in which the NAT gateway resides. + // + // vpc-id - The ID of the VPC in which the NAT gateway resides. + Filter []*Filter `locationNameList:"Filter" type:"list"` + + // The maximum number of items to return for this request. The request returns + // a token that you can specify in a subsequent call to get the next set of + // results. + // + // Constraint: If the value specified is greater than 1000, we return only + // 1000 items. + MaxResults *int64 `type:"integer"` + + // One or more NAT gateway IDs. + NatGatewayIds []*string `locationName:"NatGatewayId" locationNameList:"item" type:"list"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeNatGatewaysInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNatGatewaysInput) GoString() string { + return s.String() +} + +type DescribeNatGatewaysOutput struct { + _ struct{} `type:"structure"` + + // Information about the NAT gateways. + NatGateways []*NatGateway `locationName:"natGatewaySet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeNatGatewaysOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNatGatewaysOutput) GoString() string { + return s.String() +} + type DescribeNetworkAclsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13141,12 +12549,6 @@ type DescribeNetworkAclsInput struct { // // Default: Describes all your network ACLs. NetworkAclIds []*string `locationName:"NetworkAclId" locationNameList:"item" type:"list"` - - metadataDescribeNetworkAclsInput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkAclsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13160,14 +12562,10 @@ func (s DescribeNetworkAclsInput) GoString() string { } type DescribeNetworkAclsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more network ACLs. NetworkAcls []*NetworkAcl `locationName:"networkAclSet" locationNameList:"item" type:"list"` - - metadataDescribeNetworkAclsOutput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkAclsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13181,6 +12579,8 @@ func (s DescribeNetworkAclsOutput) GoString() string { } type DescribeNetworkInterfaceAttributeInput struct { + _ struct{} `type:"structure"` + // The attribute of the network interface. Attribute *string `locationName:"attribute" type:"string" enum:"NetworkInterfaceAttribute"` @@ -13192,12 +12592,6 @@ type DescribeNetworkInterfaceAttributeInput struct { // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` - - metadataDescribeNetworkInterfaceAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13211,6 +12605,8 @@ func (s DescribeNetworkInterfaceAttributeInput) GoString() string { } type DescribeNetworkInterfaceAttributeOutput struct { + _ struct{} `type:"structure"` + // The attachment (if any) of the network interface. Attachment *NetworkInterfaceAttachment `locationName:"attachment" type:"structure"` @@ -13225,12 +12621,6 @@ type DescribeNetworkInterfaceAttributeOutput struct { // Indicates whether source/destination checking is enabled. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` - - metadataDescribeNetworkInterfaceAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkInterfaceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13244,6 +12634,8 @@ func (s DescribeNetworkInterfaceAttributeOutput) GoString() string { } type DescribeNetworkInterfacesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13280,24 +12672,27 @@ type DescribeNetworkInterfacesInput struct { // // attachment.attachment-id - The ID of the interface attachment. // + // attachment.attach.time - The time that the network interface was attached + // to an instance. + // + // attachment.delete-on-termination - Indicates whether the attachment is + // deleted when an instance is terminated. + // + // attachment.device-index - The device index to which the network interface + // is attached. + // // attachment.instance-id - The ID of the instance to which the network interface // is attached. // // attachment.instance-owner-id - The owner ID of the instance to which the // network interface is attached. // - // attachment.device-index - The device index to which the network interface - // is attached. + // attachment.nat-gateway-id - The ID of the NAT gateway to which the network + // interface is attached. // // attachment.status - The status of the attachment (attaching | attached // | detaching | detached). // - // attachment.attach.time - The time that the network interface was attached - // to an instance. - // - // attachment.delete-on-termination - Indicates whether the attachment is - // deleted when an instance is terminated. - // // availability-zone - The Availability Zone of the network interface. // // description - The description of the network interface. @@ -13328,7 +12723,7 @@ type DescribeNetworkInterfacesInput struct { // source-desk-check - Indicates whether the network interface performs source/destination // checking. A value of true means checking is enabled, and false means checking // is disabled. The value must be false for the network interface to perform - // Network Address Translation (NAT) in your VPC. + // network address translation (NAT) in your VPC. // // status - The status of the network interface. If the network interface // is not attached to an instance, the status is available; if a network interface @@ -13355,12 +12750,6 @@ type DescribeNetworkInterfacesInput struct { // // Default: Describes all your network interfaces. NetworkInterfaceIds []*string `locationName:"NetworkInterfaceId" locationNameList:"item" type:"list"` - - metadataDescribeNetworkInterfacesInput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkInterfacesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13374,14 +12763,10 @@ func (s DescribeNetworkInterfacesInput) GoString() string { } type DescribeNetworkInterfacesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more network interfaces. NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` - - metadataDescribeNetworkInterfacesOutput `json:"-" xml:"-"` -} - -type metadataDescribeNetworkInterfacesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13395,6 +12780,8 @@ func (s DescribeNetworkInterfacesOutput) GoString() string { } type DescribePlacementGroupsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13415,12 +12802,6 @@ type DescribePlacementGroupsInput struct { // // Default: Describes all your placement groups, or only those otherwise specified. GroupNames []*string `locationName:"groupName" type:"list"` - - metadataDescribePlacementGroupsInput `json:"-" xml:"-"` -} - -type metadataDescribePlacementGroupsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13434,14 +12815,10 @@ func (s DescribePlacementGroupsInput) GoString() string { } type DescribePlacementGroupsOutput struct { + _ struct{} `type:"structure"` + // One or more placement groups. PlacementGroups []*PlacementGroup `locationName:"placementGroupSet" locationNameList:"item" type:"list"` - - metadataDescribePlacementGroupsOutput `json:"-" xml:"-"` -} - -type metadataDescribePlacementGroupsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13455,6 +12832,8 @@ func (s DescribePlacementGroupsOutput) GoString() string { } type DescribePrefixListsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13482,12 +12861,6 @@ type DescribePrefixListsInput struct { // One or more prefix list IDs. PrefixListIds []*string `locationName:"PrefixListId" locationNameList:"item" type:"list"` - - metadataDescribePrefixListsInput `json:"-" xml:"-"` -} - -type metadataDescribePrefixListsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13501,18 +12874,14 @@ func (s DescribePrefixListsInput) GoString() string { } type DescribePrefixListsOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // All available prefix lists. PrefixLists []*PrefixList `locationName:"prefixListSet" locationNameList:"item" type:"list"` - - metadataDescribePrefixListsOutput `json:"-" xml:"-"` -} - -type metadataDescribePrefixListsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13526,6 +12895,8 @@ func (s DescribePrefixListsOutput) GoString() string { } type DescribeRegionsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13541,12 +12912,6 @@ type DescribeRegionsInput struct { // The names of one or more regions. RegionNames []*string `locationName:"RegionName" locationNameList:"RegionName" type:"list"` - - metadataDescribeRegionsInput `json:"-" xml:"-"` -} - -type metadataDescribeRegionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13560,14 +12925,10 @@ func (s DescribeRegionsInput) GoString() string { } type DescribeRegionsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more regions. Regions []*Region `locationName:"regionInfo" locationNameList:"item" type:"list"` - - metadataDescribeRegionsOutput `json:"-" xml:"-"` -} - -type metadataDescribeRegionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13581,6 +12942,8 @@ func (s DescribeRegionsOutput) GoString() string { } type DescribeReservedInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13600,13 +12963,12 @@ type DescribeReservedInstancesInput struct { // fixed-price - The purchase price of the Reserved instance (for example, // 9800.0). // - // instance-type - The instance type on which the Reserved instance can be - // used. + // instance-type - The instance type that is covered by the reservation. // // product-description - The Reserved instance product platform description. // Instances that include (Amazon VPC) in the product platform description will // only be displayed to EC2-Classic account holders and are for use with Amazon - // VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon + // VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon // VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | // Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows // with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows @@ -13647,12 +13009,6 @@ type DescribeReservedInstancesInput struct { // Default: Describes all your Reserved instances, or only those otherwise // specified. ReservedInstancesIds []*string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list"` - - metadataDescribeReservedInstancesInput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13666,6 +13022,8 @@ func (s DescribeReservedInstancesInput) GoString() string { } type DescribeReservedInstancesListingsInput struct { + _ struct{} `type:"structure"` + // One or more filters. // // reserved-instances-id - The ID of the Reserved instances. @@ -13683,12 +13041,6 @@ type DescribeReservedInstancesListingsInput struct { // One or more Reserved instance Listing IDs. ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string"` - - metadataDescribeReservedInstancesListingsInput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesListingsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13702,14 +13054,10 @@ func (s DescribeReservedInstancesListingsInput) GoString() string { } type DescribeReservedInstancesListingsOutput struct { + _ struct{} `type:"structure"` + // Information about the Reserved instance listing. ReservedInstancesListings []*ReservedInstancesListing `locationName:"reservedInstancesListingsSet" locationNameList:"item" type:"list"` - - metadataDescribeReservedInstancesListingsOutput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesListingsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13723,6 +13071,8 @@ func (s DescribeReservedInstancesListingsOutput) GoString() string { } type DescribeReservedInstancesModificationsInput struct { + _ struct{} `type:"structure"` + // One or more filters. // // client-token - The idempotency token for the modification request. @@ -13764,12 +13114,6 @@ type DescribeReservedInstancesModificationsInput struct { // IDs for the submitted modification request. ReservedInstancesModificationIds []*string `locationName:"ReservedInstancesModificationId" locationNameList:"ReservedInstancesModificationId" type:"list"` - - metadataDescribeReservedInstancesModificationsInput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesModificationsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13783,18 +13127,14 @@ func (s DescribeReservedInstancesModificationsInput) GoString() string { } type DescribeReservedInstancesModificationsOutput struct { + _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The Reserved instance modification information. ReservedInstancesModifications []*ReservedInstancesModification `locationName:"reservedInstancesModificationsSet" locationNameList:"item" type:"list"` - - metadataDescribeReservedInstancesModificationsOutput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesModificationsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13808,6 +13148,8 @@ func (s DescribeReservedInstancesModificationsOutput) GoString() string { } type DescribeReservedInstancesOfferingsInput struct { + _ struct{} `type:"structure"` + // The Availability Zone in which the Reserved instance can be used. AvailabilityZone *string `type:"string"` @@ -13828,12 +13170,11 @@ type DescribeReservedInstancesOfferingsInput struct { // fixed-price - The purchase price of the Reserved instance (for example, // 9800.0). // - // instance-type - The instance type on which the Reserved instance can be - // used. + // instance-type - The instance type that is covered by the reservation. // // marketplace - Set to true to show only Reserved Instance Marketplace offerings. // When this filter is not used, which is the default behavior, all offerings - // from AWS and Reserved Instance Marketplace are listed. + // from both AWS and the Reserved Instance Marketplace are listed. // // product-description - The Reserved instance product platform description. // Instances that include (Amazon VPC) in the product platform description will @@ -13845,7 +13186,7 @@ type DescribeReservedInstancesOfferingsInput struct { // with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows // with SQL Server Enterprise (Amazon VPC)) // - // reserved-instances-offering-id - The Reserved instances offering ID. + // reserved-instances-offering-id - The Reserved instances' offering ID. // // usage-price - The usage price of the Reserved instance, per hour (for // example, 0.84). @@ -13854,15 +13195,15 @@ type DescribeReservedInstancesOfferingsInput struct { // Include Reserved Instance Marketplace offerings in the response. IncludeMarketplace *bool `type:"boolean"` - // The tenancy of the Reserved instance offering. A Reserved instance with dedicated - // tenancy is applied to instances that run on single-tenant hardware and can - // only be launched within a VPC. + // The tenancy of the instances covered by the reservation. A Reserved instance + // with a tenancy of dedicated is applied to instances that run in a VPC on + // single-tenant hardware (i.e., Dedicated instances). // // Default: default InstanceTenancy *string `locationName:"instanceTenancy" type:"string" enum:"Tenancy"` - // The instance type on which the Reserved instance can be used. For more information, - // see Instance Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + // The instance type that the reservation will cover (for example, m1.small). + // For more information, see Instance Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. InstanceType *string `type:"string" enum:"InstanceType"` @@ -13902,12 +13243,6 @@ type DescribeReservedInstancesOfferingsInput struct { // One or more Reserved instances offering IDs. ReservedInstancesOfferingIds []*string `locationName:"ReservedInstancesOfferingId" type:"list"` - - metadataDescribeReservedInstancesOfferingsInput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesOfferingsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13921,18 +13256,14 @@ func (s DescribeReservedInstancesOfferingsInput) GoString() string { } type DescribeReservedInstancesOfferingsOutput struct { + _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A list of Reserved instances offerings. ReservedInstancesOfferings []*ReservedInstancesOffering `locationName:"reservedInstancesOfferingsSet" locationNameList:"item" type:"list"` - - metadataDescribeReservedInstancesOfferingsOutput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesOfferingsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13946,14 +13277,10 @@ func (s DescribeReservedInstancesOfferingsOutput) GoString() string { } type DescribeReservedInstancesOutput struct { + _ struct{} `type:"structure"` + // A list of Reserved instances. ReservedInstances []*ReservedInstances `locationName:"reservedInstancesSet" locationNameList:"item" type:"list"` - - metadataDescribeReservedInstancesOutput `json:"-" xml:"-"` -} - -type metadataDescribeReservedInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -13967,6 +13294,8 @@ func (s DescribeReservedInstancesOutput) GoString() string { } type DescribeRouteTablesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -13999,6 +13328,8 @@ type DescribeRouteTablesInput struct { // route.instance-id - The ID of an instance specified in a route in the // table. // + // route.nat-gateway-id - The ID of a NAT gateway. + // // route.origin - Describes how the route was created. CreateRouteTable indicates // that the route was automatically created when the route table was created; // CreateRoute indicates that the route was manually added to the route table; @@ -14032,12 +13363,6 @@ type DescribeRouteTablesInput struct { // // Default: Describes all your route tables. RouteTableIds []*string `locationName:"RouteTableId" locationNameList:"item" type:"list"` - - metadataDescribeRouteTablesInput `json:"-" xml:"-"` -} - -type metadataDescribeRouteTablesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14051,14 +13376,10 @@ func (s DescribeRouteTablesInput) GoString() string { } type DescribeRouteTablesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more route tables. RouteTables []*RouteTable `locationName:"routeTableSet" locationNameList:"item" type:"list"` - - metadataDescribeRouteTablesOutput `json:"-" xml:"-"` -} - -type metadataDescribeRouteTablesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14072,6 +13393,8 @@ func (s DescribeRouteTablesOutput) GoString() string { } type DescribeSecurityGroupsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14133,12 +13456,6 @@ type DescribeSecurityGroupsInput struct { // // Default: Describes all your security groups. GroupNames []*string `locationName:"GroupName" locationNameList:"GroupName" type:"list"` - - metadataDescribeSecurityGroupsInput `json:"-" xml:"-"` -} - -type metadataDescribeSecurityGroupsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14152,14 +13469,10 @@ func (s DescribeSecurityGroupsInput) GoString() string { } type DescribeSecurityGroupsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more security groups. SecurityGroups []*SecurityGroup `locationName:"securityGroupInfo" locationNameList:"item" type:"list"` - - metadataDescribeSecurityGroupsOutput `json:"-" xml:"-"` -} - -type metadataDescribeSecurityGroupsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14173,6 +13486,8 @@ func (s DescribeSecurityGroupsOutput) GoString() string { } type DescribeSnapshotAttributeInput struct { + _ struct{} `type:"structure"` + // The snapshot attribute you would like to view. Attribute *string `type:"string" required:"true" enum:"SnapshotAttributeName"` @@ -14184,12 +13499,6 @@ type DescribeSnapshotAttributeInput struct { // The ID of the EBS snapshot. SnapshotId *string `type:"string" required:"true"` - - metadataDescribeSnapshotAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeSnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14203,6 +13512,8 @@ func (s DescribeSnapshotAttributeInput) GoString() string { } type DescribeSnapshotAttributeOutput struct { + _ struct{} `type:"structure"` + // A list of permissions for creating volumes from the snapshot. CreateVolumePermissions []*CreateVolumePermission `locationName:"createVolumePermission" locationNameList:"item" type:"list"` @@ -14211,12 +13522,6 @@ type DescribeSnapshotAttributeOutput struct { // The ID of the EBS snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` - - metadataDescribeSnapshotAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeSnapshotAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14230,6 +13535,8 @@ func (s DescribeSnapshotAttributeOutput) GoString() string { } type DescribeSnapshotsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14300,12 +13607,6 @@ type DescribeSnapshotsInput struct { // // Default: Describes snapshots for which you have launch permissions. SnapshotIds []*string `locationName:"SnapshotId" locationNameList:"SnapshotId" type:"list"` - - metadataDescribeSnapshotsInput `json:"-" xml:"-"` -} - -type metadataDescribeSnapshotsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14319,6 +13620,8 @@ func (s DescribeSnapshotsInput) GoString() string { } type DescribeSnapshotsOutput struct { + _ struct{} `type:"structure"` + // The NextToken value to include in a future DescribeSnapshots request. When // the results of a DescribeSnapshots request exceed MaxResults, this value // can be used to retrieve the next page of results. This value is null when @@ -14327,12 +13630,6 @@ type DescribeSnapshotsOutput struct { // Information about the snapshots. Snapshots []*Snapshot `locationName:"snapshotSet" locationNameList:"item" type:"list"` - - metadataDescribeSnapshotsOutput `json:"-" xml:"-"` -} - -type metadataDescribeSnapshotsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14347,17 +13644,13 @@ func (s DescribeSnapshotsOutput) GoString() string { // Contains the parameters for DescribeSpotDatafeedSubscription. type DescribeSpotDatafeedSubscriptionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDescribeSpotDatafeedSubscriptionInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotDatafeedSubscriptionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14372,14 +13665,10 @@ func (s DescribeSpotDatafeedSubscriptionInput) GoString() string { // Contains the output of DescribeSpotDatafeedSubscription. type DescribeSpotDatafeedSubscriptionOutput struct { + _ struct{} `type:"structure"` + // The Spot instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` - - metadataDescribeSpotDatafeedSubscriptionOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotDatafeedSubscriptionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14394,6 +13683,8 @@ func (s DescribeSpotDatafeedSubscriptionOutput) GoString() string { // Contains the parameters for DescribeSpotFleetInstances. type DescribeSpotFleetInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14410,12 +13701,6 @@ type DescribeSpotFleetInstancesInput struct { // The ID of the Spot fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - - metadataDescribeSpotFleetInstancesInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14430,6 +13715,8 @@ func (s DescribeSpotFleetInstancesInput) GoString() string { // Contains the output of DescribeSpotFleetInstances. type DescribeSpotFleetInstancesOutput struct { + _ struct{} `type:"structure"` + // The running instances. Note that this list is refreshed periodically and // might be out of date. ActiveInstances []*ActiveInstance `locationName:"activeInstanceSet" locationNameList:"item" type:"list" required:"true"` @@ -14440,12 +13727,6 @@ type DescribeSpotFleetInstancesOutput struct { // The ID of the Spot fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - - metadataDescribeSpotFleetInstancesOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14460,6 +13741,8 @@ func (s DescribeSpotFleetInstancesOutput) GoString() string { // Contains the parameters for DescribeSpotFleetRequestHistory. type DescribeSpotFleetRequestHistoryInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14482,12 +13765,6 @@ type DescribeSpotFleetRequestHistoryInput struct { // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` - - metadataDescribeSpotFleetRequestHistoryInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetRequestHistoryInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14502,6 +13779,8 @@ func (s DescribeSpotFleetRequestHistoryInput) GoString() string { // Contains the output of DescribeSpotFleetRequestHistory. type DescribeSpotFleetRequestHistoryOutput struct { + _ struct{} `type:"structure"` + // Information about the events in the history of the Spot fleet request. HistoryRecords []*HistoryRecord `locationName:"historyRecordSet" locationNameList:"item" type:"list" required:"true"` @@ -14520,12 +13799,6 @@ type DescribeSpotFleetRequestHistoryOutput struct { // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` - - metadataDescribeSpotFleetRequestHistoryOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetRequestHistoryOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14540,6 +13813,8 @@ func (s DescribeSpotFleetRequestHistoryOutput) GoString() string { // Contains the parameters for DescribeSpotFleetRequests. type DescribeSpotFleetRequestsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14556,12 +13831,6 @@ type DescribeSpotFleetRequestsInput struct { // The IDs of the Spot fleet requests. SpotFleetRequestIds []*string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list"` - - metadataDescribeSpotFleetRequestsInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetRequestsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14576,18 +13845,14 @@ func (s DescribeSpotFleetRequestsInput) GoString() string { // Contains the output of DescribeSpotFleetRequests. type DescribeSpotFleetRequestsOutput struct { + _ struct{} `type:"structure"` + // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the configuration of your Spot fleet. SpotFleetRequestConfigs []*SpotFleetRequestConfig `locationName:"spotFleetRequestConfigSet" locationNameList:"item" type:"list" required:"true"` - - metadataDescribeSpotFleetRequestsOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotFleetRequestsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14602,6 +13867,8 @@ func (s DescribeSpotFleetRequestsOutput) GoString() string { // Contains the parameters for DescribeSpotInstanceRequests. type DescribeSpotInstanceRequestsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14720,12 +13987,6 @@ type DescribeSpotInstanceRequestsInput struct { // One or more Spot instance request IDs. SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list"` - - metadataDescribeSpotInstanceRequestsInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotInstanceRequestsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14740,14 +14001,10 @@ func (s DescribeSpotInstanceRequestsInput) GoString() string { // Contains the output of DescribeSpotInstanceRequests. type DescribeSpotInstanceRequestsOutput struct { + _ struct{} `type:"structure"` + // One or more Spot instance requests. SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` - - metadataDescribeSpotInstanceRequestsOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotInstanceRequestsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14762,6 +14019,8 @@ func (s DescribeSpotInstanceRequestsOutput) GoString() string { // Contains the parameters for DescribeSpotPriceHistory. type DescribeSpotPriceHistoryInput struct { + _ struct{} `type:"structure"` + // Filters the results by the specified Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -14810,12 +14069,6 @@ type DescribeSpotPriceHistoryInput struct { // The date and time, up to the past 90 days, from which to start retrieving // the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` - - metadataDescribeSpotPriceHistoryInput `json:"-" xml:"-"` -} - -type metadataDescribeSpotPriceHistoryInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14830,18 +14083,14 @@ func (s DescribeSpotPriceHistoryInput) GoString() string { // Contains the output of DescribeSpotPriceHistory. type DescribeSpotPriceHistoryOutput struct { + _ struct{} `type:"structure"` + // The token required to retrieve the next set of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The historical Spot prices. SpotPriceHistory []*SpotPrice `locationName:"spotPriceHistorySet" locationNameList:"item" type:"list"` - - metadataDescribeSpotPriceHistoryOutput `json:"-" xml:"-"` -} - -type metadataDescribeSpotPriceHistoryOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14855,6 +14104,8 @@ func (s DescribeSpotPriceHistoryOutput) GoString() string { } type DescribeSubnetsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14899,12 +14150,6 @@ type DescribeSubnetsInput struct { // // Default: Describes all your subnets. SubnetIds []*string `locationName:"SubnetId" locationNameList:"SubnetId" type:"list"` - - metadataDescribeSubnetsInput `json:"-" xml:"-"` -} - -type metadataDescribeSubnetsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14918,14 +14163,10 @@ func (s DescribeSubnetsInput) GoString() string { } type DescribeSubnetsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more subnets. Subnets []*Subnet `locationName:"subnetSet" locationNameList:"item" type:"list"` - - metadataDescribeSubnetsOutput `json:"-" xml:"-"` -} - -type metadataDescribeSubnetsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14939,6 +14180,8 @@ func (s DescribeSubnetsOutput) GoString() string { } type DescribeTagsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -14968,12 +14211,6 @@ type DescribeTagsInput struct { // The token to retrieve the next page of results. NextToken *string `locationName:"nextToken" type:"string"` - - metadataDescribeTagsInput `json:"-" xml:"-"` -} - -type metadataDescribeTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -14987,18 +14224,14 @@ func (s DescribeTagsInput) GoString() string { } type DescribeTagsOutput struct { + _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return.. NextToken *string `locationName:"nextToken" type:"string"` // A list of tags. Tags []*TagDescription `locationName:"tagSet" locationNameList:"item" type:"list"` - - metadataDescribeTagsOutput `json:"-" xml:"-"` -} - -type metadataDescribeTagsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15012,6 +14245,8 @@ func (s DescribeTagsOutput) GoString() string { } type DescribeVolumeAttributeInput struct { + _ struct{} `type:"structure"` + // The instance attribute. Attribute *string `type:"string" enum:"VolumeAttributeName"` @@ -15023,12 +14258,6 @@ type DescribeVolumeAttributeInput struct { // The ID of the volume. VolumeId *string `type:"string" required:"true"` - - metadataDescribeVolumeAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeVolumeAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15042,6 +14271,8 @@ func (s DescribeVolumeAttributeInput) GoString() string { } type DescribeVolumeAttributeOutput struct { + _ struct{} `type:"structure"` + // The state of autoEnableIO attribute. AutoEnableIO *AttributeBooleanValue `locationName:"autoEnableIO" type:"structure"` @@ -15050,12 +14281,6 @@ type DescribeVolumeAttributeOutput struct { // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` - - metadataDescribeVolumeAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeVolumeAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15069,6 +14294,8 @@ func (s DescribeVolumeAttributeOutput) GoString() string { } type DescribeVolumeStatusInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15128,12 +14355,6 @@ type DescribeVolumeStatusInput struct { // // Default: Describes all your volumes. VolumeIds []*string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"` - - metadataDescribeVolumeStatusInput `json:"-" xml:"-"` -} - -type metadataDescribeVolumeStatusInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15147,18 +14368,14 @@ func (s DescribeVolumeStatusInput) GoString() string { } type DescribeVolumeStatusOutput struct { + _ struct{} `type:"structure"` + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A list of volumes. VolumeStatuses []*VolumeStatusItem `locationName:"volumeStatusSet" locationNameList:"item" type:"list"` - - metadataDescribeVolumeStatusOutput `json:"-" xml:"-"` -} - -type metadataDescribeVolumeStatusOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15172,6 +14389,8 @@ func (s DescribeVolumeStatusOutput) GoString() string { } type DescribeVolumesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15245,12 +14464,6 @@ type DescribeVolumesInput struct { // One or more volume IDs. VolumeIds []*string `locationName:"VolumeId" locationNameList:"VolumeId" type:"list"` - - metadataDescribeVolumesInput `json:"-" xml:"-"` -} - -type metadataDescribeVolumesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15264,6 +14477,8 @@ func (s DescribeVolumesInput) GoString() string { } type DescribeVolumesOutput struct { + _ struct{} `type:"structure"` + // The NextToken value to include in a future DescribeVolumes request. When // the results of a DescribeVolumes request exceed MaxResults, this value can // be used to retrieve the next page of results. This value is null when there @@ -15272,12 +14487,6 @@ type DescribeVolumesOutput struct { // Information about the volumes. Volumes []*Volume `locationName:"volumeSet" locationNameList:"item" type:"list"` - - metadataDescribeVolumesOutput `json:"-" xml:"-"` -} - -type metadataDescribeVolumesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15291,8 +14500,10 @@ func (s DescribeVolumesOutput) GoString() string { } type DescribeVpcAttributeInput struct { + _ struct{} `type:"structure"` + // The VPC attribute. - Attribute *string `type:"string" enum:"VpcAttributeName"` + Attribute *string `type:"string" required:"true" enum:"VpcAttributeName"` // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have @@ -15302,12 +14513,6 @@ type DescribeVpcAttributeInput struct { // The ID of the VPC. VpcId *string `type:"string" required:"true"` - - metadataDescribeVpcAttributeInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15321,6 +14526,8 @@ func (s DescribeVpcAttributeInput) GoString() string { } type DescribeVpcAttributeOutput struct { + _ struct{} `type:"structure"` + // Indicates whether the instances launched in the VPC get DNS hostnames. If // this attribute is true, instances in the VPC get DNS hostnames; otherwise, // they do not. @@ -15333,12 +14540,6 @@ type DescribeVpcAttributeOutput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataDescribeVpcAttributeOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15352,6 +14553,8 @@ func (s DescribeVpcAttributeOutput) GoString() string { } type DescribeVpcClassicLinkInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15378,12 +14581,6 @@ type DescribeVpcClassicLinkInput struct { // One or more VPCs for which you want to describe the ClassicLink status. VpcIds []*string `locationName:"VpcId" locationNameList:"VpcId" type:"list"` - - metadataDescribeVpcClassicLinkInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcClassicLinkInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15397,14 +14594,10 @@ func (s DescribeVpcClassicLinkInput) GoString() string { } type DescribeVpcClassicLinkOutput struct { + _ struct{} `type:"structure"` + // The ClassicLink status of one or more VPCs. Vpcs []*VpcClassicLink `locationName:"vpcSet" locationNameList:"item" type:"list"` - - metadataDescribeVpcClassicLinkOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcClassicLinkOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15418,6 +14611,8 @@ func (s DescribeVpcClassicLinkOutput) GoString() string { } type DescribeVpcEndpointServicesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15434,12 +14629,6 @@ type DescribeVpcEndpointServicesInput struct { // The token for the next set of items to return. (You received this token from // a prior call.) NextToken *string `type:"string"` - - metadataDescribeVpcEndpointServicesInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcEndpointServicesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15453,18 +14642,14 @@ func (s DescribeVpcEndpointServicesInput) GoString() string { } type DescribeVpcEndpointServicesOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // A list of supported AWS services. ServiceNames []*string `locationName:"serviceNameSet" locationNameList:"item" type:"list"` - - metadataDescribeVpcEndpointServicesOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcEndpointServicesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15478,6 +14663,8 @@ func (s DescribeVpcEndpointServicesOutput) GoString() string { } type DescribeVpcEndpointsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15509,12 +14696,6 @@ type DescribeVpcEndpointsInput struct { // One or more endpoint IDs. VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list"` - - metadataDescribeVpcEndpointsInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcEndpointsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15528,18 +14709,14 @@ func (s DescribeVpcEndpointsInput) GoString() string { } type DescribeVpcEndpointsOutput struct { + _ struct{} `type:"structure"` + // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. NextToken *string `locationName:"nextToken" type:"string"` // Information about the endpoints. VpcEndpoints []*VpcEndpoint `locationName:"vpcEndpointSet" locationNameList:"item" type:"list"` - - metadataDescribeVpcEndpointsOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcEndpointsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15553,6 +14730,8 @@ func (s DescribeVpcEndpointsOutput) GoString() string { } type DescribeVpcPeeringConnectionsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15602,12 +14781,6 @@ type DescribeVpcPeeringConnectionsInput struct { // // Default: Describes all your VPC peering connections. VpcPeeringConnectionIds []*string `locationName:"VpcPeeringConnectionId" locationNameList:"item" type:"list"` - - metadataDescribeVpcPeeringConnectionsInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcPeeringConnectionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15621,14 +14794,10 @@ func (s DescribeVpcPeeringConnectionsInput) GoString() string { } type DescribeVpcPeeringConnectionsOutput struct { + _ struct{} `type:"structure"` + // Information about the VPC peering connections. VpcPeeringConnections []*VpcPeeringConnection `locationName:"vpcPeeringConnectionSet" locationNameList:"item" type:"list"` - - metadataDescribeVpcPeeringConnectionsOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcPeeringConnectionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15642,6 +14811,8 @@ func (s DescribeVpcPeeringConnectionsOutput) GoString() string { } type DescribeVpcsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15679,12 +14850,6 @@ type DescribeVpcsInput struct { // // Default: Describes all your VPCs. VpcIds []*string `locationName:"VpcId" locationNameList:"VpcId" type:"list"` - - metadataDescribeVpcsInput `json:"-" xml:"-"` -} - -type metadataDescribeVpcsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15698,14 +14863,10 @@ func (s DescribeVpcsInput) GoString() string { } type DescribeVpcsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more VPCs. Vpcs []*Vpc `locationName:"vpcSet" locationNameList:"item" type:"list"` - - metadataDescribeVpcsOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpcsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15719,6 +14880,8 @@ func (s DescribeVpcsOutput) GoString() string { } type DescribeVpnConnectionsInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15771,12 +14934,6 @@ type DescribeVpnConnectionsInput struct { // // Default: Describes your VPN connections. VpnConnectionIds []*string `locationName:"VpnConnectionId" locationNameList:"VpnConnectionId" type:"list"` - - metadataDescribeVpnConnectionsInput `json:"-" xml:"-"` -} - -type metadataDescribeVpnConnectionsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15790,14 +14947,10 @@ func (s DescribeVpnConnectionsInput) GoString() string { } type DescribeVpnConnectionsOutput struct { + _ struct{} `type:"structure"` + // Information about one or more VPN connections. VpnConnections []*VpnConnection `locationName:"vpnConnectionSet" locationNameList:"item" type:"list"` - - metadataDescribeVpnConnectionsOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpnConnectionsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15811,6 +14964,8 @@ func (s DescribeVpnConnectionsOutput) GoString() string { } type DescribeVpnGatewaysInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15851,12 +15006,6 @@ type DescribeVpnGatewaysInput struct { // // Default: Describes all your virtual private gateways. VpnGatewayIds []*string `locationName:"VpnGatewayId" locationNameList:"VpnGatewayId" type:"list"` - - metadataDescribeVpnGatewaysInput `json:"-" xml:"-"` -} - -type metadataDescribeVpnGatewaysInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15870,14 +15019,10 @@ func (s DescribeVpnGatewaysInput) GoString() string { } type DescribeVpnGatewaysOutput struct { + _ struct{} `type:"structure"` + // Information about one or more virtual private gateways. VpnGateways []*VpnGateway `locationName:"vpnGatewaySet" locationNameList:"item" type:"list"` - - metadataDescribeVpnGatewaysOutput `json:"-" xml:"-"` -} - -type metadataDescribeVpnGatewaysOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15891,6 +15036,8 @@ func (s DescribeVpnGatewaysOutput) GoString() string { } type DetachClassicLinkVpcInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15902,12 +15049,6 @@ type DetachClassicLinkVpcInput struct { // The ID of the VPC to which the instance is linked. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataDetachClassicLinkVpcInput `json:"-" xml:"-"` -} - -type metadataDetachClassicLinkVpcInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15921,14 +15062,10 @@ func (s DetachClassicLinkVpcInput) GoString() string { } type DetachClassicLinkVpcOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataDetachClassicLinkVpcOutput `json:"-" xml:"-"` -} - -type metadataDetachClassicLinkVpcOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15942,6 +15079,8 @@ func (s DetachClassicLinkVpcOutput) GoString() string { } type DetachInternetGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -15953,12 +15092,6 @@ type DetachInternetGatewayInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataDetachInternetGatewayInput `json:"-" xml:"-"` -} - -type metadataDetachInternetGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -15972,11 +15105,7 @@ func (s DetachInternetGatewayInput) GoString() string { } type DetachInternetGatewayOutput struct { - metadataDetachInternetGatewayOutput `json:"-" xml:"-"` -} - -type metadataDetachInternetGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -15990,6 +15119,8 @@ func (s DetachInternetGatewayOutput) GoString() string { } type DetachNetworkInterfaceInput struct { + _ struct{} `type:"structure"` + // The ID of the attachment. AttachmentId *string `locationName:"attachmentId" type:"string" required:"true"` @@ -16001,12 +15132,6 @@ type DetachNetworkInterfaceInput struct { // Specifies whether to force a detachment. Force *bool `locationName:"force" type:"boolean"` - - metadataDetachNetworkInterfaceInput `json:"-" xml:"-"` -} - -type metadataDetachNetworkInterfaceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16020,11 +15145,7 @@ func (s DetachNetworkInterfaceInput) GoString() string { } type DetachNetworkInterfaceOutput struct { - metadataDetachNetworkInterfaceOutput `json:"-" xml:"-"` -} - -type metadataDetachNetworkInterfaceOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16038,6 +15159,8 @@ func (s DetachNetworkInterfaceOutput) GoString() string { } type DetachVolumeInput struct { + _ struct{} `type:"structure"` + // The device name. Device *string `type:"string"` @@ -16061,12 +15184,6 @@ type DetachVolumeInput struct { // The ID of the volume. VolumeId *string `type:"string" required:"true"` - - metadataDetachVolumeInput `json:"-" xml:"-"` -} - -type metadataDetachVolumeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16080,6 +15197,8 @@ func (s DetachVolumeInput) GoString() string { } type DetachVpnGatewayInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -16091,12 +15210,6 @@ type DetachVpnGatewayInput struct { // The ID of the virtual private gateway. VpnGatewayId *string `type:"string" required:"true"` - - metadataDetachVpnGatewayInput `json:"-" xml:"-"` -} - -type metadataDetachVpnGatewayInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16110,11 +15223,7 @@ func (s DetachVpnGatewayInput) GoString() string { } type DetachVpnGatewayOutput struct { - metadataDetachVpnGatewayOutput `json:"-" xml:"-"` -} - -type metadataDetachVpnGatewayOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16129,17 +15238,13 @@ func (s DetachVpnGatewayOutput) GoString() string { // Describes a DHCP configuration option. type DhcpConfiguration struct { + _ struct{} `type:"structure"` + // The name of a DHCP option. Key *string `locationName:"key" type:"string"` // One or more values for the DHCP option. Values []*AttributeValue `locationName:"valueSet" locationNameList:"item" type:"list"` - - metadataDhcpConfiguration `json:"-" xml:"-"` -} - -type metadataDhcpConfiguration struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16154,6 +15259,8 @@ func (s DhcpConfiguration) GoString() string { // Describes a set of DHCP options. type DhcpOptions struct { + _ struct{} `type:"structure"` + // One or more DHCP options in the set. DhcpConfigurations []*DhcpConfiguration `locationName:"dhcpConfigurationSet" locationNameList:"item" type:"list"` @@ -16162,12 +15269,6 @@ type DhcpOptions struct { // Any tags assigned to the DHCP options set. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` - - metadataDhcpOptions `json:"-" xml:"-"` -} - -type metadataDhcpOptions struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16181,17 +15282,13 @@ func (s DhcpOptions) GoString() string { } type DisableVgwRoutePropagationInput struct { + _ struct{} `type:"structure"` + // The ID of the virtual private gateway. GatewayId *string `type:"string" required:"true"` // The ID of the route table. RouteTableId *string `type:"string" required:"true"` - - metadataDisableVgwRoutePropagationInput `json:"-" xml:"-"` -} - -type metadataDisableVgwRoutePropagationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16205,11 +15302,7 @@ func (s DisableVgwRoutePropagationInput) GoString() string { } type DisableVgwRoutePropagationOutput struct { - metadataDisableVgwRoutePropagationOutput `json:"-" xml:"-"` -} - -type metadataDisableVgwRoutePropagationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16223,6 +15316,8 @@ func (s DisableVgwRoutePropagationOutput) GoString() string { } type DisableVpcClassicLinkInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -16231,12 +15326,6 @@ type DisableVpcClassicLinkInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataDisableVpcClassicLinkInput `json:"-" xml:"-"` -} - -type metadataDisableVpcClassicLinkInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16250,14 +15339,10 @@ func (s DisableVpcClassicLinkInput) GoString() string { } type DisableVpcClassicLinkOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataDisableVpcClassicLinkOutput `json:"-" xml:"-"` -} - -type metadataDisableVpcClassicLinkOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16271,6 +15356,8 @@ func (s DisableVpcClassicLinkOutput) GoString() string { } type DisassociateAddressInput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] The association ID. Required for EC2-VPC. AssociationId *string `type:"string"` @@ -16282,12 +15369,6 @@ type DisassociateAddressInput struct { // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. PublicIp *string `type:"string"` - - metadataDisassociateAddressInput `json:"-" xml:"-"` -} - -type metadataDisassociateAddressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16301,11 +15382,7 @@ func (s DisassociateAddressInput) GoString() string { } type DisassociateAddressOutput struct { - metadataDisassociateAddressOutput `json:"-" xml:"-"` -} - -type metadataDisassociateAddressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16319,6 +15396,8 @@ func (s DisassociateAddressOutput) GoString() string { } type DisassociateRouteTableInput struct { + _ struct{} `type:"structure"` + // The association ID representing the current association between the route // table and subnet. AssociationId *string `locationName:"associationId" type:"string" required:"true"` @@ -16328,12 +15407,6 @@ type DisassociateRouteTableInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - - metadataDisassociateRouteTableInput `json:"-" xml:"-"` -} - -type metadataDisassociateRouteTableInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16347,11 +15420,7 @@ func (s DisassociateRouteTableInput) GoString() string { } type DisassociateRouteTableOutput struct { - metadataDisassociateRouteTableOutput `json:"-" xml:"-"` -} - -type metadataDisassociateRouteTableOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16366,6 +15435,8 @@ func (s DisassociateRouteTableOutput) GoString() string { // Describes a disk image. type DiskImage struct { + _ struct{} `type:"structure"` + // A description of the disk image. Description *string `type:"string"` @@ -16374,12 +15445,6 @@ type DiskImage struct { // Information about the volume. Volume *VolumeDetail `type:"structure"` - - metadataDiskImage `json:"-" xml:"-"` -} - -type metadataDiskImage struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16394,6 +15459,8 @@ func (s DiskImage) GoString() string { // Describes a disk image. type DiskImageDescription struct { + _ struct{} `type:"structure"` + // The checksum computed for the disk image. Checksum *string `locationName:"checksum" type:"string"` @@ -16409,12 +15476,6 @@ type DiskImageDescription struct { // The size of the disk image, in GiB. Size *int64 `locationName:"size" type:"long" required:"true"` - - metadataDiskImageDescription `json:"-" xml:"-"` -} - -type metadataDiskImageDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16429,6 +15490,8 @@ func (s DiskImageDescription) GoString() string { // Describes a disk image. type DiskImageDetail struct { + _ struct{} `type:"structure"` + // The size of the disk image, in GiB. Bytes *int64 `locationName:"bytes" type:"long" required:"true"` @@ -16441,12 +15504,6 @@ type DiskImageDetail struct { // Alternative" section of the Authenticating REST Requests (http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) // topic in the Amazon Simple Storage Service Developer Guide. ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"` - - metadataDiskImageDetail `json:"-" xml:"-"` -} - -type metadataDiskImageDetail struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16461,17 +15518,13 @@ func (s DiskImageDetail) GoString() string { // Describes a disk image volume. type DiskImageVolumeDescription struct { + _ struct{} `type:"structure"` + // The volume identifier. Id *string `locationName:"id" type:"string" required:"true"` // The size of the volume, in GiB. Size *int64 `locationName:"size" type:"long"` - - metadataDiskImageVolumeDescription `json:"-" xml:"-"` -} - -type metadataDiskImageVolumeDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16486,6 +15539,8 @@ func (s DiskImageVolumeDescription) GoString() string { // Describes a block device for an EBS volume. type EbsBlockDevice struct { + _ struct{} `type:"structure"` + // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` @@ -16526,12 +15581,6 @@ type EbsBlockDevice struct { // // Default: standard VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` - - metadataEbsBlockDevice `json:"-" xml:"-"` -} - -type metadataEbsBlockDevice struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16546,6 +15595,8 @@ func (s EbsBlockDevice) GoString() string { // Describes a parameter used to set up an EBS volume in a block device mapping. type EbsInstanceBlockDevice struct { + _ struct{} `type:"structure"` + // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp" timestampFormat:"iso8601"` @@ -16557,12 +15608,6 @@ type EbsInstanceBlockDevice struct { // The ID of the EBS volume. VolumeId *string `locationName:"volumeId" type:"string"` - - metadataEbsInstanceBlockDevice `json:"-" xml:"-"` -} - -type metadataEbsInstanceBlockDevice struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16576,17 +15621,13 @@ func (s EbsInstanceBlockDevice) GoString() string { } type EbsInstanceBlockDeviceSpecification struct { + _ struct{} `type:"structure"` + // Indicates whether the volume is deleted on instance termination. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` // The ID of the EBS volume. VolumeId *string `locationName:"volumeId" type:"string"` - - metadataEbsInstanceBlockDeviceSpecification `json:"-" xml:"-"` -} - -type metadataEbsInstanceBlockDeviceSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16600,17 +15641,13 @@ func (s EbsInstanceBlockDeviceSpecification) GoString() string { } type EnableVgwRoutePropagationInput struct { + _ struct{} `type:"structure"` + // The ID of the virtual private gateway. GatewayId *string `type:"string" required:"true"` // The ID of the route table. RouteTableId *string `type:"string" required:"true"` - - metadataEnableVgwRoutePropagationInput `json:"-" xml:"-"` -} - -type metadataEnableVgwRoutePropagationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16624,11 +15661,7 @@ func (s EnableVgwRoutePropagationInput) GoString() string { } type EnableVgwRoutePropagationOutput struct { - metadataEnableVgwRoutePropagationOutput `json:"-" xml:"-"` -} - -type metadataEnableVgwRoutePropagationOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16642,6 +15675,8 @@ func (s EnableVgwRoutePropagationOutput) GoString() string { } type EnableVolumeIOInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -16650,12 +15685,6 @@ type EnableVolumeIOInput struct { // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string" required:"true"` - - metadataEnableVolumeIOInput `json:"-" xml:"-"` -} - -type metadataEnableVolumeIOInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16669,11 +15698,7 @@ func (s EnableVolumeIOInput) GoString() string { } type EnableVolumeIOOutput struct { - metadataEnableVolumeIOOutput `json:"-" xml:"-"` -} - -type metadataEnableVolumeIOOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -16687,6 +15712,8 @@ func (s EnableVolumeIOOutput) GoString() string { } type EnableVpcClassicLinkInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -16695,12 +15722,6 @@ type EnableVpcClassicLinkInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataEnableVpcClassicLinkInput `json:"-" xml:"-"` -} - -type metadataEnableVpcClassicLinkInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16714,14 +15735,10 @@ func (s EnableVpcClassicLinkInput) GoString() string { } type EnableVpcClassicLinkOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataEnableVpcClassicLinkOutput `json:"-" xml:"-"` -} - -type metadataEnableVpcClassicLinkOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16736,6 +15753,8 @@ func (s EnableVpcClassicLinkOutput) GoString() string { // Describes a Spot fleet event. type EventInformation struct { + _ struct{} `type:"structure"` + // The description of the event. EventDescription *string `locationName:"eventDescription" type:"string"` @@ -16796,12 +15815,6 @@ type EventInformation struct { // The ID of the instance. This information is available only for instanceChange // events. InstanceId *string `locationName:"instanceId" type:"string"` - - metadataEventInformation `json:"-" xml:"-"` -} - -type metadataEventInformation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16816,6 +15829,8 @@ func (s EventInformation) GoString() string { // Describes an instance export task. type ExportTask struct { + _ struct{} `type:"structure"` + // A description of the resource being exported. Description *string `locationName:"description" type:"string"` @@ -16833,12 +15848,6 @@ type ExportTask struct { // The status message related to the export task. StatusMessage *string `locationName:"statusMessage" type:"string"` - - metadataExportTask `json:"-" xml:"-"` -} - -type metadataExportTask struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16853,6 +15862,8 @@ func (s ExportTask) GoString() string { // Describes the format and location for an instance export task. type ExportToS3Task struct { + _ struct{} `type:"structure"` + // The container format used to combine disk images with metadata (such as OVF). // If absent, only the disk image is exported. ContainerFormat *string `locationName:"containerFormat" type:"string" enum:"ContainerFormat"` @@ -16866,12 +15877,6 @@ type ExportToS3Task struct { // The encryption key for your S3 bucket. S3Key *string `locationName:"s3Key" type:"string"` - - metadataExportToS3Task `json:"-" xml:"-"` -} - -type metadataExportToS3Task struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16886,6 +15891,8 @@ func (s ExportToS3Task) GoString() string { // Describes an instance export task. type ExportToS3TaskSpecification struct { + _ struct{} `type:"structure"` + // The container format used to combine disk images with metadata (such as OVF). // If absent, only the disk image is exported. ContainerFormat *string `locationName:"containerFormat" type:"string" enum:"ContainerFormat"` @@ -16900,12 +15907,6 @@ type ExportToS3TaskSpecification struct { // The image is written to a single object in the S3 bucket at the S3 key s3prefix // + exportTaskId + '.' + diskImageFormat. S3Prefix *string `locationName:"s3Prefix" type:"string"` - - metadataExportToS3TaskSpecification `json:"-" xml:"-"` -} - -type metadataExportToS3TaskSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16922,17 +15923,13 @@ func (s ExportToS3TaskSpecification) GoString() string { // of results. Filters can be used to match a set of resources by various criteria, // such as tags, attributes, or IDs. type Filter struct { + _ struct{} `type:"structure"` + // The name of the filter. Filter names are case-sensitive. Name *string `type:"string"` // One or more filter values. Filter values are case-sensitive. Values []*string `locationName:"Value" locationNameList:"item" type:"list"` - - metadataFilter `json:"-" xml:"-"` -} - -type metadataFilter struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16947,14 +15944,17 @@ func (s Filter) GoString() string { // Describes a flow log. type FlowLog struct { + _ struct{} `type:"structure"` + // The date and time the flow log was created. CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` // Information about the error that occurred. Rate limited indicates that CloudWatch - // logs throttling has been applied for one or more network interfaces. Access - // error indicates that the IAM role associated with the flow log does not have - // sufficient permissions to publish to CloudWatch Logs. Unknown error indicates - // an internal error. + // logs throttling has been applied for one or more network interfaces, or that + // you've reached the limit on the number of CloudWatch Logs log groups that + // you can create. Access error indicates that the IAM role associated with + // the flow log does not have sufficient permissions to publish to CloudWatch + // Logs. Unknown error indicates an internal error. DeliverLogsErrorMessage *string `locationName:"deliverLogsErrorMessage" type:"string"` // The ARN of the IAM role that posts logs to CloudWatch Logs. @@ -16977,12 +15977,6 @@ type FlowLog struct { // The type of traffic captured for the flow log. TrafficType *string `locationName:"trafficType" type:"string" enum:"TrafficType"` - - metadataFlowLog `json:"-" xml:"-"` -} - -type metadataFlowLog struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -16996,6 +15990,8 @@ func (s FlowLog) GoString() string { } type GetConsoleOutputInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -17004,12 +16000,6 @@ type GetConsoleOutputInput struct { // The ID of the instance. InstanceId *string `type:"string" required:"true"` - - metadataGetConsoleOutputInput `json:"-" xml:"-"` -} - -type metadataGetConsoleOutputInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17023,6 +16013,8 @@ func (s GetConsoleOutputInput) GoString() string { } type GetConsoleOutputOutput struct { + _ struct{} `type:"structure"` + // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` @@ -17031,12 +16023,6 @@ type GetConsoleOutputOutput struct { // The time the output was last updated. Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601"` - - metadataGetConsoleOutputOutput `json:"-" xml:"-"` -} - -type metadataGetConsoleOutputOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17050,6 +16036,8 @@ func (s GetConsoleOutputOutput) GoString() string { } type GetPasswordDataInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -17058,12 +16046,6 @@ type GetPasswordDataInput struct { // The ID of the Windows instance. InstanceId *string `type:"string" required:"true"` - - metadataGetPasswordDataInput `json:"-" xml:"-"` -} - -type metadataGetPasswordDataInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17077,6 +16059,8 @@ func (s GetPasswordDataInput) GoString() string { } type GetPasswordDataOutput struct { + _ struct{} `type:"structure"` + // The ID of the Windows instance. InstanceId *string `locationName:"instanceId" type:"string"` @@ -17085,12 +16069,6 @@ type GetPasswordDataOutput struct { // The time the data was last updated. Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601"` - - metadataGetPasswordDataOutput `json:"-" xml:"-"` -} - -type metadataGetPasswordDataOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17105,17 +16083,13 @@ func (s GetPasswordDataOutput) GoString() string { // Describes a security group. type GroupIdentifier struct { + _ struct{} `type:"structure"` + // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` // The name of the security group. GroupName *string `locationName:"groupName" type:"string"` - - metadataGroupIdentifier `json:"-" xml:"-"` -} - -type metadataGroupIdentifier struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17130,6 +16104,8 @@ func (s GroupIdentifier) GoString() string { // Describes an event in the history of the Spot fleet request. type HistoryRecord struct { + _ struct{} `type:"structure"` + // Information about the event. EventInformation *EventInformation `locationName:"eventInformation" type:"structure" required:"true"` @@ -17145,12 +16121,6 @@ type HistoryRecord struct { // The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601" required:"true"` - - metadataHistoryRecord `json:"-" xml:"-"` -} - -type metadataHistoryRecord struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17163,7 +16133,10 @@ func (s HistoryRecord) GoString() string { return s.String() } +// Describes the properties of the Dedicated host. type Host struct { + _ struct{} `type:"structure"` + // Whether auto-placement is on or off. AutoPlacement *string `locationName:"autoPlacement" type:"string" enum:"AutoPlacement"` @@ -17184,21 +16157,15 @@ type Host struct { // The hardware specifications of the Dedicated host. HostProperties *HostProperties `locationName:"hostProperties" type:"structure"` - // The reservation ID of the Dedicated host. This returns a "null" response - // if the Dedicated host doesn't have an associated reservation. + // The reservation ID of the Dedicated host. This returns a null response if + // the Dedicated host doesn't have an associated reservation. HostReservationId *string `locationName:"hostReservationId" type:"string"` // The IDs and instance type that are currently running on the Dedicated host. Instances []*HostInstance `locationName:"instances" locationNameList:"item" type:"list"` - // The Dedicated host's state. Can be "available", "under assessment, or "released". + // The Dedicated host's state. State *string `locationName:"state" type:"string" enum:"AllocationState"` - - metadataHost `json:"-" xml:"-"` -} - -type metadataHost struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17212,17 +16179,13 @@ func (s Host) GoString() string { } type HostInstance struct { + _ struct{} `type:"structure"` + // the IDs of instances that are running on the Dedicated host. InstanceId *string `locationName:"instanceId" type:"string"` // The instance type size (e.g., m3.medium) of the running instance. InstanceType *string `locationName:"instanceType" type:"string"` - - metadataHostInstance `json:"-" xml:"-"` -} - -type metadataHostInstance struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17236,6 +16199,8 @@ func (s HostInstance) GoString() string { } type HostProperties struct { + _ struct{} `type:"structure"` + // The number of cores on the Dedicated host. Cores *int64 `locationName:"cores" type:"integer"` @@ -17247,12 +16212,6 @@ type HostProperties struct { // The number of vCPUs on the Dedicated host. TotalVCpus *int64 `locationName:"totalVCpus" type:"integer"` - - metadataHostProperties `json:"-" xml:"-"` -} - -type metadataHostProperties struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17267,17 +16226,13 @@ func (s HostProperties) GoString() string { // Describes an IAM instance profile. type IamInstanceProfile struct { + _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the instance profile. Arn *string `locationName:"arn" type:"string"` // The ID of the instance profile. Id *string `locationName:"id" type:"string"` - - metadataIamInstanceProfile `json:"-" xml:"-"` -} - -type metadataIamInstanceProfile struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17292,17 +16247,13 @@ func (s IamInstanceProfile) GoString() string { // Describes an IAM instance profile. type IamInstanceProfileSpecification struct { + _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the instance profile. Arn *string `locationName:"arn" type:"string"` // The name of the instance profile. Name *string `locationName:"name" type:"string"` - - metadataIamInstanceProfileSpecification `json:"-" xml:"-"` -} - -type metadataIamInstanceProfileSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17317,17 +16268,13 @@ func (s IamInstanceProfileSpecification) GoString() string { // Describes the ICMP type and code. type IcmpTypeCode struct { + _ struct{} `type:"structure"` + // The ICMP type. A value of -1 means all types. Code *int64 `locationName:"code" type:"integer"` // The ICMP code. A value of -1 means all codes for the specified ICMP type. Type *int64 `locationName:"type" type:"integer"` - - metadataIcmpTypeCode `json:"-" xml:"-"` -} - -type metadataIcmpTypeCode struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17342,6 +16289,8 @@ func (s IcmpTypeCode) GoString() string { // Describes the ID format for a resource. type IdFormat struct { + _ struct{} `type:"structure"` + // The date in UTC at which you are permanently switched over to using longer // IDs. Deadline *time.Time `locationName:"deadline" type:"timestamp" timestampFormat:"iso8601"` @@ -17351,12 +16300,6 @@ type IdFormat struct { // Indicates whether longer IDs (17-character IDs) are enabled for the resource. UseLongIds *bool `locationName:"useLongIds" type:"boolean"` - - metadataIdFormat `json:"-" xml:"-"` -} - -type metadataIdFormat struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17371,6 +16314,8 @@ func (s IdFormat) GoString() string { // Describes an image. type Image struct { + _ struct{} `type:"structure"` + // The architecture of the image. Architecture *string `locationName:"architecture" type:"string" enum:"ArchitectureValues"` @@ -17446,12 +16391,6 @@ type Image struct { // The type of virtualization of the AMI. VirtualizationType *string `locationName:"virtualizationType" type:"string" enum:"VirtualizationType"` - - metadataImage `json:"-" xml:"-"` -} - -type metadataImage struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17466,6 +16405,8 @@ func (s Image) GoString() string { // Describes the disk container object for an import image task. type ImageDiskContainer struct { + _ struct{} `type:"structure"` + // The description of the disk image. Description *string `type:"string"` @@ -17486,12 +16427,6 @@ type ImageDiskContainer struct { // The S3 bucket for the disk image. UserBucket *UserBucket `type:"structure"` - - metadataImageDiskContainer `json:"-" xml:"-"` -} - -type metadataImageDiskContainer struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17505,6 +16440,8 @@ func (s ImageDiskContainer) GoString() string { } type ImportImageInput struct { + _ struct{} `type:"structure"` + // The architecture of the virtual machine. // // Valid values: i386 | x86_64 @@ -17550,12 +16487,6 @@ type ImportImageInput struct { // The name of the role to use when not using the default role, 'vmimport'. RoleName *string `type:"string"` - - metadataImportImageInput `json:"-" xml:"-"` -} - -type metadataImportImageInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17569,6 +16500,8 @@ func (s ImportImageInput) GoString() string { } type ImportImageOutput struct { + _ struct{} `type:"structure"` + // The architecture of the virtual machine. Architecture *string `locationName:"architecture" type:"string"` @@ -17601,12 +16534,6 @@ type ImportImageOutput struct { // A detailed status message of the import task. StatusMessage *string `locationName:"statusMessage" type:"string"` - - metadataImportImageOutput `json:"-" xml:"-"` -} - -type metadataImportImageOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17621,6 +16548,8 @@ func (s ImportImageOutput) GoString() string { // Describes an import image task. type ImportImageTask struct { + _ struct{} `type:"structure"` + // The architecture of the virtual machine. // // Valid values: i386 | x86_64 @@ -17657,12 +16586,6 @@ type ImportImageTask struct { // A descriptive status message for the import image task. StatusMessage *string `locationName:"statusMessage" type:"string"` - - metadataImportImageTask `json:"-" xml:"-"` -} - -type metadataImportImageTask struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17676,6 +16599,8 @@ func (s ImportImageTask) GoString() string { } type ImportInstanceInput struct { + _ struct{} `type:"structure"` + // A description for the instance being imported. Description *string `locationName:"description" type:"string"` @@ -17693,12 +16618,6 @@ type ImportInstanceInput struct { // The instance operating system. Platform *string `locationName:"platform" type:"string" required:"true" enum:"PlatformValues"` - - metadataImportInstanceInput `json:"-" xml:"-"` -} - -type metadataImportInstanceInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17713,6 +16632,8 @@ func (s ImportInstanceInput) GoString() string { // Describes the launch specification for VM import. type ImportInstanceLaunchSpecification struct { + _ struct{} `type:"structure"` + // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` @@ -17748,12 +16669,6 @@ type ImportInstanceLaunchSpecification struct { // The Base64-encoded MIME user data to be made available to the instance. UserData *UserData `locationName:"userData" type:"structure"` - - metadataImportInstanceLaunchSpecification `json:"-" xml:"-"` -} - -type metadataImportInstanceLaunchSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17767,14 +16682,10 @@ func (s ImportInstanceLaunchSpecification) GoString() string { } type ImportInstanceOutput struct { + _ struct{} `type:"structure"` + // Information about the conversion task. ConversionTask *ConversionTask `locationName:"conversionTask" type:"structure"` - - metadataImportInstanceOutput `json:"-" xml:"-"` -} - -type metadataImportInstanceOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17789,6 +16700,8 @@ func (s ImportInstanceOutput) GoString() string { // Describes an import instance task. type ImportInstanceTaskDetails struct { + _ struct{} `type:"structure"` + // A description of the task. Description *string `locationName:"description" type:"string"` @@ -17800,12 +16713,6 @@ type ImportInstanceTaskDetails struct { // One or more volumes. Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list" required:"true"` - - metadataImportInstanceTaskDetails `json:"-" xml:"-"` -} - -type metadataImportInstanceTaskDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17820,6 +16727,8 @@ func (s ImportInstanceTaskDetails) GoString() string { // Describes an import volume task. type ImportInstanceVolumeDetailItem struct { + _ struct{} `type:"structure"` + // The Availability Zone where the resulting instance will reside. AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` @@ -17840,12 +16749,6 @@ type ImportInstanceVolumeDetailItem struct { // The volume. Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` - - metadataImportInstanceVolumeDetailItem `json:"-" xml:"-"` -} - -type metadataImportInstanceVolumeDetailItem struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17859,6 +16762,8 @@ func (s ImportInstanceVolumeDetailItem) GoString() string { } type ImportKeyPairInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -17871,12 +16776,6 @@ type ImportKeyPairInput struct { // The public key. You must base64 encode the public key material before sending // it to AWS. PublicKeyMaterial []byte `locationName:"publicKeyMaterial" type:"blob" required:"true"` - - metadataImportKeyPairInput `json:"-" xml:"-"` -} - -type metadataImportKeyPairInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17890,17 +16789,13 @@ func (s ImportKeyPairInput) GoString() string { } type ImportKeyPairOutput struct { + _ struct{} `type:"structure"` + // The MD5 public key fingerprint as specified in section 4 of RFC 4716. KeyFingerprint *string `locationName:"keyFingerprint" type:"string"` // The key pair name you provided. KeyName *string `locationName:"keyName" type:"string"` - - metadataImportKeyPairOutput `json:"-" xml:"-"` -} - -type metadataImportKeyPairOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17914,6 +16809,8 @@ func (s ImportKeyPairOutput) GoString() string { } type ImportSnapshotInput struct { + _ struct{} `type:"structure"` + // The client-specific data. ClientData *ClientData `type:"structure"` @@ -17934,12 +16831,6 @@ type ImportSnapshotInput struct { // The name of the role to use when not using the default role, 'vmimport'. RoleName *string `type:"string"` - - metadataImportSnapshotInput `json:"-" xml:"-"` -} - -type metadataImportSnapshotInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17953,6 +16844,8 @@ func (s ImportSnapshotInput) GoString() string { } type ImportSnapshotOutput struct { + _ struct{} `type:"structure"` + // A description of the import snapshot task. Description *string `locationName:"description" type:"string"` @@ -17961,12 +16854,6 @@ type ImportSnapshotOutput struct { // Information about the import snapshot task. SnapshotTaskDetail *SnapshotTaskDetail `locationName:"snapshotTaskDetail" type:"structure"` - - metadataImportSnapshotOutput `json:"-" xml:"-"` -} - -type metadataImportSnapshotOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -17981,6 +16868,8 @@ func (s ImportSnapshotOutput) GoString() string { // Describes an import snapshot task. type ImportSnapshotTask struct { + _ struct{} `type:"structure"` + // A description of the import snapshot task. Description *string `locationName:"description" type:"string"` @@ -17989,12 +16878,6 @@ type ImportSnapshotTask struct { // Describes an import snapshot task. SnapshotTaskDetail *SnapshotTaskDetail `locationName:"snapshotTaskDetail" type:"structure"` - - metadataImportSnapshotTask `json:"-" xml:"-"` -} - -type metadataImportSnapshotTask struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18008,6 +16891,8 @@ func (s ImportSnapshotTask) GoString() string { } type ImportVolumeInput struct { + _ struct{} `type:"structure"` + // The Availability Zone for the resulting EBS volume. AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` @@ -18025,12 +16910,6 @@ type ImportVolumeInput struct { // The volume size. Volume *VolumeDetail `locationName:"volume" type:"structure" required:"true"` - - metadataImportVolumeInput `json:"-" xml:"-"` -} - -type metadataImportVolumeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18044,14 +16923,10 @@ func (s ImportVolumeInput) GoString() string { } type ImportVolumeOutput struct { + _ struct{} `type:"structure"` + // Information about the conversion task. ConversionTask *ConversionTask `locationName:"conversionTask" type:"structure"` - - metadataImportVolumeOutput `json:"-" xml:"-"` -} - -type metadataImportVolumeOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18066,6 +16941,8 @@ func (s ImportVolumeOutput) GoString() string { // Describes an import volume task. type ImportVolumeTaskDetails struct { + _ struct{} `type:"structure"` + // The Availability Zone where the resulting volume will reside. AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` @@ -18080,12 +16957,6 @@ type ImportVolumeTaskDetails struct { // The volume. Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` - - metadataImportVolumeTaskDetails `json:"-" xml:"-"` -} - -type metadataImportVolumeTaskDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18100,6 +16971,8 @@ func (s ImportVolumeTaskDetails) GoString() string { // Describes an instance. type Instance struct { + _ struct{} `type:"structure"` + // The AMI launch index, which can be used to find this instance in the launch // group. AmiLaunchIndex *int64 `locationName:"amiLaunchIndex" type:"integer"` @@ -18227,12 +17100,6 @@ type Instance struct { // [EC2-VPC] The ID of the VPC in which the instance is running. VpcId *string `locationName:"vpcId" type:"string"` - - metadataInstance `json:"-" xml:"-"` -} - -type metadataInstance struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18247,18 +17114,14 @@ func (s Instance) GoString() string { // Describes a block device mapping. type InstanceBlockDeviceMapping struct { + _ struct{} `type:"structure"` + // The device name exposed to the instance (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` // Parameters used to automatically set up EBS volumes when the instance is // launched. Ebs *EbsInstanceBlockDevice `locationName:"ebs" type:"structure"` - - metadataInstanceBlockDeviceMapping `json:"-" xml:"-"` -} - -type metadataInstanceBlockDeviceMapping struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18273,6 +17136,8 @@ func (s InstanceBlockDeviceMapping) GoString() string { // Describes a block device mapping entry. type InstanceBlockDeviceMappingSpecification struct { + _ struct{} `type:"structure"` + // The device name exposed to the instance (for example, /dev/sdh or xvdh). DeviceName *string `locationName:"deviceName" type:"string"` @@ -18285,12 +17150,6 @@ type InstanceBlockDeviceMappingSpecification struct { // The virtual device name. VirtualName *string `locationName:"virtualName" type:"string"` - - metadataInstanceBlockDeviceMappingSpecification `json:"-" xml:"-"` -} - -type metadataInstanceBlockDeviceMappingSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18303,7 +17162,10 @@ func (s InstanceBlockDeviceMappingSpecification) GoString() string { return s.String() } +// Information about the instance type that the Dedicated host supports. type InstanceCapacity struct { + _ struct{} `type:"structure"` + // The number of instances that can still be launched onto the Dedicated host. AvailableCapacity *int64 `locationName:"availableCapacity" type:"integer"` @@ -18312,12 +17174,6 @@ type InstanceCapacity struct { // The total number of instances that can be launched onto the Dedicated host. TotalCapacity *int64 `locationName:"totalCapacity" type:"integer"` - - metadataInstanceCapacity `json:"-" xml:"-"` -} - -type metadataInstanceCapacity struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18332,17 +17188,13 @@ func (s InstanceCapacity) GoString() string { // Describes a Reserved instance listing state. type InstanceCount struct { + _ struct{} `type:"structure"` + // The number of listed Reserved instances in the state specified by the state. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The states of the listed Reserved instances. State *string `locationName:"state" type:"string" enum:"ListingState"` - - metadataInstanceCount `json:"-" xml:"-"` -} - -type metadataInstanceCount struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18357,17 +17209,13 @@ func (s InstanceCount) GoString() string { // Describes an instance to export. type InstanceExportDetails struct { + _ struct{} `type:"structure"` + // The ID of the resource being exported. InstanceId *string `locationName:"instanceId" type:"string"` // The target virtualization environment. TargetEnvironment *string `locationName:"targetEnvironment" type:"string" enum:"ExportEnvironment"` - - metadataInstanceExportDetails `json:"-" xml:"-"` -} - -type metadataInstanceExportDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18382,17 +17230,13 @@ func (s InstanceExportDetails) GoString() string { // Describes the monitoring information of the instance. type InstanceMonitoring struct { + _ struct{} `type:"structure"` + // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string"` // The monitoring information. Monitoring *Monitoring `locationName:"monitoring" type:"structure"` - - metadataInstanceMonitoring `json:"-" xml:"-"` -} - -type metadataInstanceMonitoring struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18407,6 +17251,8 @@ func (s InstanceMonitoring) GoString() string { // Describes a network interface. type InstanceNetworkInterface struct { + _ struct{} `type:"structure"` + // The association information for an Elastic IP associated with the network // interface. Association *InstanceNetworkInterfaceAssociation `locationName:"association" type:"structure"` @@ -18449,12 +17295,6 @@ type InstanceNetworkInterface struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataInstanceNetworkInterface `json:"-" xml:"-"` -} - -type metadataInstanceNetworkInterface struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18469,6 +17309,8 @@ func (s InstanceNetworkInterface) GoString() string { // Describes association information for an Elastic IP address. type InstanceNetworkInterfaceAssociation struct { + _ struct{} `type:"structure"` + // The ID of the owner of the Elastic IP address. IpOwnerId *string `locationName:"ipOwnerId" type:"string"` @@ -18477,12 +17319,6 @@ type InstanceNetworkInterfaceAssociation struct { // The public IP address or Elastic IP address bound to the network interface. PublicIp *string `locationName:"publicIp" type:"string"` - - metadataInstanceNetworkInterfaceAssociation `json:"-" xml:"-"` -} - -type metadataInstanceNetworkInterfaceAssociation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18497,6 +17333,8 @@ func (s InstanceNetworkInterfaceAssociation) GoString() string { // Describes a network interface attachment. type InstanceNetworkInterfaceAttachment struct { + _ struct{} `type:"structure"` + // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp" timestampFormat:"iso8601"` @@ -18511,12 +17349,6 @@ type InstanceNetworkInterfaceAttachment struct { // The attachment state. Status *string `locationName:"status" type:"string" enum:"AttachmentStatus"` - - metadataInstanceNetworkInterfaceAttachment `json:"-" xml:"-"` -} - -type metadataInstanceNetworkInterfaceAttachment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18531,6 +17363,8 @@ func (s InstanceNetworkInterfaceAttachment) GoString() string { // Describes a network interface. type InstanceNetworkInterfaceSpecification struct { + _ struct{} `type:"structure"` + // Indicates whether to assign a public IP address to an instance you launch // in a VPC. The public IP address can only be assigned to a network interface // for eth0, and can only be assigned to a new network interface, not an existing @@ -18575,12 +17409,6 @@ type InstanceNetworkInterfaceSpecification struct { // The ID of the subnet associated with the network string. Applies only if // creating a network interface when launching an instance. SubnetId *string `locationName:"subnetId" type:"string"` - - metadataInstanceNetworkInterfaceSpecification `json:"-" xml:"-"` -} - -type metadataInstanceNetworkInterfaceSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18595,6 +17423,8 @@ func (s InstanceNetworkInterfaceSpecification) GoString() string { // Describes a private IP address. type InstancePrivateIpAddress struct { + _ struct{} `type:"structure"` + // The association information for an Elastic IP address for the network interface. Association *InstanceNetworkInterfaceAssociation `locationName:"association" type:"structure"` @@ -18607,12 +17437,6 @@ type InstancePrivateIpAddress struct { // The private IP address of the network interface. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` - - metadataInstancePrivateIpAddress `json:"-" xml:"-"` -} - -type metadataInstancePrivateIpAddress struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18627,6 +17451,8 @@ func (s InstancePrivateIpAddress) GoString() string { // Describes the current state of the instance. type InstanceState struct { + _ struct{} `type:"structure"` + // The low byte represents the state. The high byte is an opaque internal value // and should be ignored. // @@ -18645,12 +17471,6 @@ type InstanceState struct { // The current state of the instance. Name *string `locationName:"name" type:"string" enum:"InstanceStateName"` - - metadataInstanceState `json:"-" xml:"-"` -} - -type metadataInstanceState struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18665,6 +17485,8 @@ func (s InstanceState) GoString() string { // Describes an instance state change. type InstanceStateChange struct { + _ struct{} `type:"structure"` + // The current state of the instance. CurrentState *InstanceState `locationName:"currentState" type:"structure"` @@ -18673,12 +17495,6 @@ type InstanceStateChange struct { // The previous state of the instance. PreviousState *InstanceState `locationName:"previousState" type:"structure"` - - metadataInstanceStateChange `json:"-" xml:"-"` -} - -type metadataInstanceStateChange struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18693,6 +17509,8 @@ func (s InstanceStateChange) GoString() string { // Describes the status of an instance. type InstanceStatus struct { + _ struct{} `type:"structure"` + // The Availability Zone of the instance. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -18714,12 +17532,6 @@ type InstanceStatus struct { // that support an instance, such as hardware failures and network connectivity // problems. SystemStatus *InstanceStatusSummary `locationName:"systemStatus" type:"structure"` - - metadataInstanceStatus `json:"-" xml:"-"` -} - -type metadataInstanceStatus struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18734,6 +17546,8 @@ func (s InstanceStatus) GoString() string { // Describes the instance status. type InstanceStatusDetails struct { + _ struct{} `type:"structure"` + // The time when a status check failed. For an instance that was launched and // impaired, this is the time when the instance was launched. ImpairedSince *time.Time `locationName:"impairedSince" type:"timestamp" timestampFormat:"iso8601"` @@ -18743,12 +17557,6 @@ type InstanceStatusDetails struct { // The status. Status *string `locationName:"status" type:"string" enum:"StatusType"` - - metadataInstanceStatusDetails `json:"-" xml:"-"` -} - -type metadataInstanceStatusDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18763,6 +17571,8 @@ func (s InstanceStatusDetails) GoString() string { // Describes a scheduled event for an instance. type InstanceStatusEvent struct { + _ struct{} `type:"structure"` + // The event code. Code *string `locationName:"code" type:"string" enum:"EventCode"` @@ -18778,12 +17588,6 @@ type InstanceStatusEvent struct { // The earliest scheduled start time for the event. NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"iso8601"` - - metadataInstanceStatusEvent `json:"-" xml:"-"` -} - -type metadataInstanceStatusEvent struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18798,17 +17602,13 @@ func (s InstanceStatusEvent) GoString() string { // Describes the status of an instance. type InstanceStatusSummary struct { + _ struct{} `type:"structure"` + // The system instance health or application instance health. Details []*InstanceStatusDetails `locationName:"details" locationNameList:"item" type:"list"` // The status. Status *string `locationName:"status" type:"string" enum:"SummaryStatus"` - - metadataInstanceStatusSummary `json:"-" xml:"-"` -} - -type metadataInstanceStatusSummary struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18823,6 +17623,8 @@ func (s InstanceStatusSummary) GoString() string { // Describes an Internet gateway. type InternetGateway struct { + _ struct{} `type:"structure"` + // Any VPCs attached to the Internet gateway. Attachments []*InternetGatewayAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` @@ -18831,12 +17633,6 @@ type InternetGateway struct { // Any tags assigned to the Internet gateway. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` - - metadataInternetGateway `json:"-" xml:"-"` -} - -type metadataInternetGateway struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18851,17 +17647,13 @@ func (s InternetGateway) GoString() string { // Describes the attachment of a VPC to an Internet gateway. type InternetGatewayAttachment struct { + _ struct{} `type:"structure"` + // The current state of the attachment. State *string `locationName:"state" type:"string" enum:"AttachmentStatus"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataInternetGatewayAttachment `json:"-" xml:"-"` -} - -type metadataInternetGatewayAttachment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18876,18 +17668,17 @@ func (s InternetGatewayAttachment) GoString() string { // Describes a security group rule. type IpPermission struct { + _ struct{} `type:"structure"` + // The start of port range for the TCP and UDP protocols, or an ICMP type number. // A value of -1 indicates all ICMP types. FromPort *int64 `locationName:"fromPort" type:"integer"` - // The protocol. + // The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers + // (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). // - // When you call DescribeSecurityGroups, the protocol value returned is the - // number. Exception: For TCP, UDP, and ICMP, the value returned is the name - // (for example, tcp, udp, or icmp). For a list of protocol numbers, see Protocol - // Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - // (VPC only) When you call AuthorizeSecurityGroupIngress, you can use -1 to - // specify all. + // [EC2-VPC only] When you authorize or revoke security group rules, you can + // use -1 to specify all. IpProtocol *string `locationName:"ipProtocol" type:"string"` // One or more IP ranges. @@ -18905,12 +17696,6 @@ type IpPermission struct { // One or more security group and AWS account ID pairs. UserIdGroupPairs []*UserIdGroupPair `locationName:"groups" locationNameList:"item" type:"list"` - - metadataIpPermission `json:"-" xml:"-"` -} - -type metadataIpPermission struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18925,15 +17710,11 @@ func (s IpPermission) GoString() string { // Describes an IP range. type IpRange struct { + _ struct{} `type:"structure"` + // The CIDR range. You can either specify a CIDR range or a source security // group, not both. CidrIp *string `locationName:"cidrIp" type:"string"` - - metadataIpRange `json:"-" xml:"-"` -} - -type metadataIpRange struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18948,6 +17729,8 @@ func (s IpRange) GoString() string { // Describes a key pair. type KeyPairInfo struct { + _ struct{} `type:"structure"` + // If you used CreateKeyPair to create the key pair, this is the SHA-1 digest // of the DER encoded private key. If you used ImportKeyPair to provide AWS // the public key, this is the MD5 public key fingerprint as specified in section @@ -18956,12 +17739,6 @@ type KeyPairInfo struct { // The name of the key pair. KeyName *string `locationName:"keyName" type:"string"` - - metadataKeyPairInfo `json:"-" xml:"-"` -} - -type metadataKeyPairInfo struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -18976,17 +17753,13 @@ func (s KeyPairInfo) GoString() string { // Describes a launch permission. type LaunchPermission struct { + _ struct{} `type:"structure"` + // The name of the group. Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` // The AWS account ID. UserId *string `locationName:"userId" type:"string"` - - metadataLaunchPermission `json:"-" xml:"-"` -} - -type metadataLaunchPermission struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19001,18 +17774,14 @@ func (s LaunchPermission) GoString() string { // Describes a launch permission modification. type LaunchPermissionModifications struct { + _ struct{} `type:"structure"` + // The AWS account ID to add to the list of launch permissions for the AMI. Add []*LaunchPermission `locationNameList:"item" type:"list"` // The AWS account ID to remove from the list of launch permissions for the // AMI. Remove []*LaunchPermission `locationNameList:"item" type:"list"` - - metadataLaunchPermissionModifications `json:"-" xml:"-"` -} - -type metadataLaunchPermissionModifications struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19027,6 +17796,8 @@ func (s LaunchPermissionModifications) GoString() string { // Describes the launch specification for an instance. type LaunchSpecification struct { + _ struct{} `type:"structure"` + // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` @@ -19079,12 +17850,6 @@ type LaunchSpecification struct { // The Base64-encoded MIME user data to make available to the instances. UserData *string `locationName:"userData" type:"string"` - - metadataLaunchSpecification `json:"-" xml:"-"` -} - -type metadataLaunchSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19098,17 +17863,13 @@ func (s LaunchSpecification) GoString() string { } type ModifyHostsInput struct { + _ struct{} `type:"structure"` + // Specify whether to enable or disable auto-placement. AutoPlacement *string `locationName:"autoPlacement" type:"string" required:"true" enum:"AutoPlacement"` // The host IDs of the Dedicated hosts you want to modify. HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` - - metadataModifyHostsInput `json:"-" xml:"-"` -} - -type metadataModifyHostsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19122,18 +17883,14 @@ func (s ModifyHostsInput) GoString() string { } type ModifyHostsOutput struct { + _ struct{} `type:"structure"` + // The IDs of the Dedicated hosts that were successfully modified. Successful []*string `locationName:"successful" locationNameList:"item" type:"list"` // The IDs of the Dedicated hosts that could not be modified. Check whether // the setting you requested can be used. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` - - metadataModifyHostsOutput `json:"-" xml:"-"` -} - -type metadataModifyHostsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19147,17 +17904,13 @@ func (s ModifyHostsOutput) GoString() string { } type ModifyIdFormatInput struct { + _ struct{} `type:"structure"` + // The type of resource. Resource *string `type:"string" required:"true"` // Indicate whether the resource should use longer IDs (17-character IDs). UseLongIds *bool `type:"boolean" required:"true"` - - metadataModifyIdFormatInput `json:"-" xml:"-"` -} - -type metadataModifyIdFormatInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19171,11 +17924,7 @@ func (s ModifyIdFormatInput) GoString() string { } type ModifyIdFormatOutput struct { - metadataModifyIdFormatOutput `json:"-" xml:"-"` -} - -type metadataModifyIdFormatOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19189,6 +17938,8 @@ func (s ModifyIdFormatOutput) GoString() string { } type ModifyImageAttributeInput struct { + _ struct{} `type:"structure"` + // The name of the attribute to modify. Attribute *string `type:"string"` @@ -19225,12 +17976,6 @@ type ModifyImageAttributeInput struct { // The value of the attribute being modified. This is only valid when modifying // the description attribute. Value *string `type:"string"` - - metadataModifyImageAttributeInput `json:"-" xml:"-"` -} - -type metadataModifyImageAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19244,11 +17989,7 @@ func (s ModifyImageAttributeInput) GoString() string { } type ModifyImageAttributeOutput struct { - metadataModifyImageAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifyImageAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19262,6 +18003,8 @@ func (s ModifyImageAttributeOutput) GoString() string { } type ModifyInstanceAttributeInput struct { + _ struct{} `type:"structure"` + // The name of the attribute. Attribute *string `locationName:"attribute" type:"string" enum:"InstanceAttributeName"` @@ -19340,12 +18083,6 @@ type ModifyInstanceAttributeInput struct { // A new value for the attribute. Use only with the kernel, ramdisk, userData, // disableApiTermination, or instanceInitiatedShutdownBehavior attribute. Value *string `locationName:"value" type:"string"` - - metadataModifyInstanceAttributeInput `json:"-" xml:"-"` -} - -type metadataModifyInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19359,11 +18096,7 @@ func (s ModifyInstanceAttributeInput) GoString() string { } type ModifyInstanceAttributeOutput struct { - metadataModifyInstanceAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifyInstanceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19377,6 +18110,8 @@ func (s ModifyInstanceAttributeOutput) GoString() string { } type ModifyInstancePlacementInput struct { + _ struct{} `type:"structure"` + // The new affinity setting for the instance. Affinity *string `locationName:"affinity" type:"string" enum:"Affinity"` @@ -19388,12 +18123,6 @@ type ModifyInstancePlacementInput struct { // The tenancy of the instance that you are modifying. Tenancy *string `locationName:"tenancy" type:"string" enum:"HostTenancy"` - - metadataModifyInstancePlacementInput `json:"-" xml:"-"` -} - -type metadataModifyInstancePlacementInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19407,14 +18136,10 @@ func (s ModifyInstancePlacementInput) GoString() string { } type ModifyInstancePlacementOutput struct { + _ struct{} `type:"structure"` + // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` - - metadataModifyInstancePlacementOutput `json:"-" xml:"-"` -} - -type metadataModifyInstancePlacementOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19428,6 +18153,8 @@ func (s ModifyInstancePlacementOutput) GoString() string { } type ModifyNetworkInterfaceAttributeInput struct { + _ struct{} `type:"structure"` + // Information about the interface attachment. If modifying the 'delete on termination' // attribute, you must specify the ID of the interface attachment. Attachment *NetworkInterfaceAttachmentChanges `locationName:"attachment" type:"structure"` @@ -19456,12 +18183,6 @@ type ModifyNetworkInterfaceAttributeInput struct { // NAT Instances (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html) // in the Amazon Virtual Private Cloud User Guide. SourceDestCheck *AttributeBooleanValue `locationName:"sourceDestCheck" type:"structure"` - - metadataModifyNetworkInterfaceAttributeInput `json:"-" xml:"-"` -} - -type metadataModifyNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19475,11 +18196,7 @@ func (s ModifyNetworkInterfaceAttributeInput) GoString() string { } type ModifyNetworkInterfaceAttributeOutput struct { - metadataModifyNetworkInterfaceAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifyNetworkInterfaceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19493,6 +18210,8 @@ func (s ModifyNetworkInterfaceAttributeOutput) GoString() string { } type ModifyReservedInstancesInput struct { + _ struct{} `type:"structure"` + // A unique, case-sensitive token you provide to ensure idempotency of your // modification request. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` @@ -19502,12 +18221,6 @@ type ModifyReservedInstancesInput struct { // The configuration settings for the Reserved instances to modify. TargetConfigurations []*ReservedInstancesConfiguration `locationName:"ReservedInstancesConfigurationSetItemType" locationNameList:"item" type:"list" required:"true"` - - metadataModifyReservedInstancesInput `json:"-" xml:"-"` -} - -type metadataModifyReservedInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19521,14 +18234,10 @@ func (s ModifyReservedInstancesInput) GoString() string { } type ModifyReservedInstancesOutput struct { + _ struct{} `type:"structure"` + // The ID for the modification. ReservedInstancesModificationId *string `locationName:"reservedInstancesModificationId" type:"string"` - - metadataModifyReservedInstancesOutput `json:"-" xml:"-"` -} - -type metadataModifyReservedInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19542,6 +18251,8 @@ func (s ModifyReservedInstancesOutput) GoString() string { } type ModifySnapshotAttributeInput struct { + _ struct{} `type:"structure"` + // The snapshot attribute to modify. // // Only volume creation permissions may be modified at the customer level. @@ -19567,12 +18278,6 @@ type ModifySnapshotAttributeInput struct { // The account ID to modify for the snapshot. UserIds []*string `locationName:"UserId" locationNameList:"UserId" type:"list"` - - metadataModifySnapshotAttributeInput `json:"-" xml:"-"` -} - -type metadataModifySnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19586,11 +18291,7 @@ func (s ModifySnapshotAttributeInput) GoString() string { } type ModifySnapshotAttributeOutput struct { - metadataModifySnapshotAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifySnapshotAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19605,6 +18306,8 @@ func (s ModifySnapshotAttributeOutput) GoString() string { // Contains the parameters for ModifySpotFleetRequest. type ModifySpotFleetRequestInput struct { + _ struct{} `type:"structure"` + // Indicates whether running Spot instances should be terminated if the target // capacity of the Spot fleet request is decreased below the current size of // the Spot fleet. @@ -19615,12 +18318,6 @@ type ModifySpotFleetRequestInput struct { // The size of the fleet. TargetCapacity *int64 `locationName:"targetCapacity" type:"integer"` - - metadataModifySpotFleetRequestInput `json:"-" xml:"-"` -} - -type metadataModifySpotFleetRequestInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19635,14 +18332,10 @@ func (s ModifySpotFleetRequestInput) GoString() string { // Contains the output of ModifySpotFleetRequest. type ModifySpotFleetRequestOutput struct { + _ struct{} `type:"structure"` + // Is true if the request succeeds, and an error otherwise. Return *bool `locationName:"return" type:"boolean"` - - metadataModifySpotFleetRequestOutput `json:"-" xml:"-"` -} - -type metadataModifySpotFleetRequestOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19656,18 +18349,14 @@ func (s ModifySpotFleetRequestOutput) GoString() string { } type ModifySubnetAttributeInput struct { + _ struct{} `type:"structure"` + // Specify true to indicate that instances launched into the specified subnet // should be assigned public IP address. MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string" required:"true"` - - metadataModifySubnetAttributeInput `json:"-" xml:"-"` -} - -type metadataModifySubnetAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19681,11 +18370,7 @@ func (s ModifySubnetAttributeInput) GoString() string { } type ModifySubnetAttributeOutput struct { - metadataModifySubnetAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifySubnetAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19699,6 +18384,8 @@ func (s ModifySubnetAttributeOutput) GoString() string { } type ModifyVolumeAttributeInput struct { + _ struct{} `type:"structure"` + // Indicates whether the volume should be auto-enabled for I/O operations. AutoEnableIO *AttributeBooleanValue `type:"structure"` @@ -19710,12 +18397,6 @@ type ModifyVolumeAttributeInput struct { // The ID of the volume. VolumeId *string `type:"string" required:"true"` - - metadataModifyVolumeAttributeInput `json:"-" xml:"-"` -} - -type metadataModifyVolumeAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19729,11 +18410,7 @@ func (s ModifyVolumeAttributeInput) GoString() string { } type ModifyVolumeAttributeOutput struct { - metadataModifyVolumeAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifyVolumeAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19747,6 +18424,8 @@ func (s ModifyVolumeAttributeOutput) GoString() string { } type ModifyVpcAttributeInput struct { + _ struct{} `type:"structure"` + // Indicates whether the instances launched in the VPC get DNS hostnames. If // enabled, instances in the VPC get DNS hostnames; otherwise, they do not. // @@ -19767,12 +18446,6 @@ type ModifyVpcAttributeInput struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string" required:"true"` - - metadataModifyVpcAttributeInput `json:"-" xml:"-"` -} - -type metadataModifyVpcAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19786,11 +18459,7 @@ func (s ModifyVpcAttributeInput) GoString() string { } type ModifyVpcAttributeOutput struct { - metadataModifyVpcAttributeOutput `json:"-" xml:"-"` -} - -type metadataModifyVpcAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -19804,6 +18473,8 @@ func (s ModifyVpcAttributeOutput) GoString() string { } type ModifyVpcEndpointInput struct { + _ struct{} `type:"structure"` + // One or more route tables IDs to associate with the endpoint. AddRouteTableIds []*string `locationName:"AddRouteTableId" locationNameList:"item" type:"list"` @@ -19826,12 +18497,6 @@ type ModifyVpcEndpointInput struct { // The ID of the endpoint. VpcEndpointId *string `type:"string" required:"true"` - - metadataModifyVpcEndpointInput `json:"-" xml:"-"` -} - -type metadataModifyVpcEndpointInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19845,14 +18510,10 @@ func (s ModifyVpcEndpointInput) GoString() string { } type ModifyVpcEndpointOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataModifyVpcEndpointOutput `json:"-" xml:"-"` -} - -type metadataModifyVpcEndpointOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19866,6 +18527,8 @@ func (s ModifyVpcEndpointOutput) GoString() string { } type MonitorInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -19874,12 +18537,6 @@ type MonitorInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataMonitorInstancesInput `json:"-" xml:"-"` -} - -type metadataMonitorInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19893,14 +18550,10 @@ func (s MonitorInstancesInput) GoString() string { } type MonitorInstancesOutput struct { + _ struct{} `type:"structure"` + // Monitoring information for one or more instances. InstanceMonitorings []*InstanceMonitoring `locationName:"instancesSet" locationNameList:"item" type:"list"` - - metadataMonitorInstancesOutput `json:"-" xml:"-"` -} - -type metadataMonitorInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19915,14 +18568,10 @@ func (s MonitorInstancesOutput) GoString() string { // Describes the monitoring for the instance. type Monitoring struct { + _ struct{} `type:"structure"` + // Indicates whether monitoring is enabled for the instance. State *string `locationName:"state" type:"string" enum:"MonitoringState"` - - metadataMonitoring `json:"-" xml:"-"` -} - -type metadataMonitoring struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19936,6 +18585,8 @@ func (s Monitoring) GoString() string { } type MoveAddressToVpcInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -19944,12 +18595,6 @@ type MoveAddressToVpcInput struct { // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string" required:"true"` - - metadataMoveAddressToVpcInput `json:"-" xml:"-"` -} - -type metadataMoveAddressToVpcInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19963,17 +18608,13 @@ func (s MoveAddressToVpcInput) GoString() string { } type MoveAddressToVpcOutput struct { + _ struct{} `type:"structure"` + // The allocation ID for the Elastic IP address. AllocationId *string `locationName:"allocationId" type:"string"` // The status of the move of the IP address. Status *string `locationName:"status" type:"string" enum:"Status"` - - metadataMoveAddressToVpcOutput `json:"-" xml:"-"` -} - -type metadataMoveAddressToVpcOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -19988,18 +18629,14 @@ func (s MoveAddressToVpcOutput) GoString() string { // Describes the status of a moving Elastic IP address. type MovingAddressStatus struct { + _ struct{} `type:"structure"` + // The status of the Elastic IP address that's being moved to the EC2-VPC platform, // or restored to the EC2-Classic platform. MoveStatus *string `locationName:"moveStatus" type:"string" enum:"MoveStatus"` // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` - - metadataMovingAddressStatus `json:"-" xml:"-"` -} - -type metadataMovingAddressStatus struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20012,8 +18649,92 @@ func (s MovingAddressStatus) GoString() string { return s.String() } +// Describes a NAT gateway. +type NatGateway struct { + _ struct{} `type:"structure"` + + // The date and time the NAT gateway was created. + CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601"` + + // The date and time the NAT gateway was deleted, if applicable. + DeleteTime *time.Time `locationName:"deleteTime" type:"timestamp" timestampFormat:"iso8601"` + + // If the NAT gateway could not be created, specifies the error code for the + // failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound + // | Resource.AlreadyAssociated | InternalError) + FailureCode *string `locationName:"failureCode" type:"string"` + + // If the NAT gateway could not be created, specifies the error message for + // the failure, that corresponds to the error code. + // + // For InsufficientFreeAddressesInSubnet: Subnet has insufficient free addresses + // to create this NAT gateway For Gateway.NotAttached: Network vpc-xxxxxxxx + // has no Internet gateway attached For InvalidAllocationID.NotFound: Elastic + // IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway + // For Resource.AlreadyAssociated: Elastic IP address eipalloc-xxxxxxxx is already + // associated For InternalError: Network interface eni-xxxxxxxx, created and + // used internally by this NAT gateway is in an invalid state. Please try again. + FailureMessage *string `locationName:"failureMessage" type:"string"` + + // Information about the IP addresses and network interface associated with + // the NAT gateway. + NatGatewayAddresses []*NatGatewayAddress `locationName:"natGatewayAddressSet" locationNameList:"item" type:"list"` + + // The ID of the NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` + + // The state of the NAT gateway. + State *string `locationName:"state" type:"string" enum:"NatGatewayState"` + + // The ID of the subnet in which the NAT gateway is located. + SubnetId *string `locationName:"subnetId" type:"string"` + + // The ID of the VPC in which the NAT gateway is located. + VpcId *string `locationName:"vpcId" type:"string"` +} + +// String returns the string representation +func (s NatGateway) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NatGateway) GoString() string { + return s.String() +} + +// Describes the IP addresses and network interface associated with a NAT gateway. +type NatGatewayAddress struct { + _ struct{} `type:"structure"` + + // The allocation ID of the Elastic IP address that's associated with the NAT + // gateway. + AllocationId *string `locationName:"allocationId" type:"string"` + + // The ID of the network interface associated with the NAT gateway. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + + // The private IP address associated with the Elastic IP address. + PrivateIp *string `locationName:"privateIp" type:"string"` + + // The Elastic IP address associated with the NAT gateway. + PublicIp *string `locationName:"publicIp" type:"string"` +} + +// String returns the string representation +func (s NatGatewayAddress) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NatGatewayAddress) GoString() string { + return s.String() +} + // Describes a network ACL. type NetworkAcl struct { + _ struct{} `type:"structure"` + // Any associations between the network ACL and one or more subnets Associations []*NetworkAclAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` @@ -20031,12 +18752,6 @@ type NetworkAcl struct { // The ID of the VPC for the network ACL. VpcId *string `locationName:"vpcId" type:"string"` - - metadataNetworkAcl `json:"-" xml:"-"` -} - -type metadataNetworkAcl struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20051,6 +18766,8 @@ func (s NetworkAcl) GoString() string { // Describes an association between a network ACL and a subnet. type NetworkAclAssociation struct { + _ struct{} `type:"structure"` + // The ID of the association between a network ACL and a subnet. NetworkAclAssociationId *string `locationName:"networkAclAssociationId" type:"string"` @@ -20059,12 +18776,6 @@ type NetworkAclAssociation struct { // The ID of the subnet. SubnetId *string `locationName:"subnetId" type:"string"` - - metadataNetworkAclAssociation `json:"-" xml:"-"` -} - -type metadataNetworkAclAssociation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20079,6 +18790,8 @@ func (s NetworkAclAssociation) GoString() string { // Describes an entry in a network ACL. type NetworkAclEntry struct { + _ struct{} `type:"structure"` + // The network range to allow or deny, in CIDR notation. CidrBlock *string `locationName:"cidrBlock" type:"string"` @@ -20101,12 +18814,6 @@ type NetworkAclEntry struct { // The rule number for the entry. ACL entries are processed in ascending order // by rule number. RuleNumber *int64 `locationName:"ruleNumber" type:"integer"` - - metadataNetworkAclEntry `json:"-" xml:"-"` -} - -type metadataNetworkAclEntry struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20121,6 +18828,8 @@ func (s NetworkAclEntry) GoString() string { // Describes a network interface. type NetworkInterface struct { + _ struct{} `type:"structure"` + // The association information for an Elastic IP associated with the network // interface. Association *NetworkInterfaceAssociation `locationName:"association" type:"structure"` @@ -20137,6 +18846,9 @@ type NetworkInterface struct { // Any security groups for the network interface. Groups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` + // The type of interface. + InterfaceType *string `locationName:"interfaceType" type:"string" enum:"NetworkInterfaceType"` + // The MAC address. MacAddress *string `locationName:"macAddress" type:"string"` @@ -20176,12 +18888,6 @@ type NetworkInterface struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataNetworkInterface `json:"-" xml:"-"` -} - -type metadataNetworkInterface struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20196,6 +18902,8 @@ func (s NetworkInterface) GoString() string { // Describes association information for an Elastic IP address. type NetworkInterfaceAssociation struct { + _ struct{} `type:"structure"` + // The allocation ID. AllocationId *string `locationName:"allocationId" type:"string"` @@ -20210,12 +18918,6 @@ type NetworkInterfaceAssociation struct { // The address of the Elastic IP address bound to the network interface. PublicIp *string `locationName:"publicIp" type:"string"` - - metadataNetworkInterfaceAssociation `json:"-" xml:"-"` -} - -type metadataNetworkInterfaceAssociation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20230,6 +18932,8 @@ func (s NetworkInterfaceAssociation) GoString() string { // Describes a network interface attachment. type NetworkInterfaceAttachment struct { + _ struct{} `type:"structure"` + // The timestamp indicating when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp" timestampFormat:"iso8601"` @@ -20250,12 +18954,6 @@ type NetworkInterfaceAttachment struct { // The attachment state. Status *string `locationName:"status" type:"string" enum:"AttachmentStatus"` - - metadataNetworkInterfaceAttachment `json:"-" xml:"-"` -} - -type metadataNetworkInterfaceAttachment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20270,17 +18968,13 @@ func (s NetworkInterfaceAttachment) GoString() string { // Describes an attachment change. type NetworkInterfaceAttachmentChanges struct { + _ struct{} `type:"structure"` + // The ID of the network interface attachment. AttachmentId *string `locationName:"attachmentId" type:"string"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` - - metadataNetworkInterfaceAttachmentChanges `json:"-" xml:"-"` -} - -type metadataNetworkInterfaceAttachmentChanges struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20295,6 +18989,8 @@ func (s NetworkInterfaceAttachmentChanges) GoString() string { // Describes the private IP address of a network interface. type NetworkInterfacePrivateIpAddress struct { + _ struct{} `type:"structure"` + // The association information for an Elastic IP address associated with the // network interface. Association *NetworkInterfaceAssociation `locationName:"association" type:"structure"` @@ -20308,12 +19004,6 @@ type NetworkInterfacePrivateIpAddress struct { // The private IP address. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` - - metadataNetworkInterfacePrivateIpAddress `json:"-" xml:"-"` -} - -type metadataNetworkInterfacePrivateIpAddress struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20327,15 +19017,11 @@ func (s NetworkInterfacePrivateIpAddress) GoString() string { } type NewDhcpConfiguration struct { + _ struct{} `type:"structure"` + Key *string `locationName:"key" type:"string"` Values []*string `locationName:"Value" locationNameList:"item" type:"list"` - - metadataNewDhcpConfiguration `json:"-" xml:"-"` -} - -type metadataNewDhcpConfiguration struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20350,6 +19036,8 @@ func (s NewDhcpConfiguration) GoString() string { // Describes the placement for the instance. type Placement struct { + _ struct{} `type:"structure"` + // The affinity setting for the instance on the Dedicated host. This parameter // is not supported for the ImportInstance command. Affinity *string `locationName:"affinity" type:"string"` @@ -20368,12 +19056,6 @@ type Placement struct { // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy // is not supported for the ImportInstance command. Tenancy *string `locationName:"tenancy" type:"string" enum:"Tenancy"` - - metadataPlacement `json:"-" xml:"-"` -} - -type metadataPlacement struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20388,6 +19070,8 @@ func (s Placement) GoString() string { // Describes a placement group. type PlacementGroup struct { + _ struct{} `type:"structure"` + // The name of the placement group. GroupName *string `locationName:"groupName" type:"string"` @@ -20396,12 +19080,6 @@ type PlacementGroup struct { // The placement strategy. Strategy *string `locationName:"strategy" type:"string" enum:"PlacementStrategy"` - - metadataPlacementGroup `json:"-" xml:"-"` -} - -type metadataPlacementGroup struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20416,17 +19094,13 @@ func (s PlacementGroup) GoString() string { // Describes a range of ports. type PortRange struct { + _ struct{} `type:"structure"` + // The first port in the range. From *int64 `locationName:"from" type:"integer"` // The last port in the range. To *int64 `locationName:"to" type:"integer"` - - metadataPortRange `json:"-" xml:"-"` -} - -type metadataPortRange struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20441,6 +19115,8 @@ func (s PortRange) GoString() string { // Describes prefixes for AWS services. type PrefixList struct { + _ struct{} `type:"structure"` + // The IP address range of the AWS service. Cidrs []*string `locationName:"cidrSet" locationNameList:"item" type:"list"` @@ -20449,12 +19125,6 @@ type PrefixList struct { // The name of the prefix. PrefixListName *string `locationName:"prefixListName" type:"string"` - - metadataPrefixList `json:"-" xml:"-"` -} - -type metadataPrefixList struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20469,14 +19139,10 @@ func (s PrefixList) GoString() string { // The ID of the prefix. type PrefixListId struct { + _ struct{} `type:"structure"` + // The ID of the prefix. PrefixListId *string `locationName:"prefixListId" type:"string"` - - metadataPrefixListId `json:"-" xml:"-"` -} - -type metadataPrefixListId struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20491,11 +19157,13 @@ func (s PrefixListId) GoString() string { // Describes the price for a Reserved instance. type PriceSchedule struct { + _ struct{} `type:"structure"` + // The current price schedule, as determined by the term remaining for the Reserved - // Instance in the listing. + // instance in the listing. // // A specific price schedule is always in effect, but only one price schedule - // can be active at any time. Take, for example, a Reserved Instance listing + // can be active at any time. Take, for example, a Reserved instance listing // that has five months remaining in its term. When you specify price schedules // for five months and two months, this means that schedule 1, covering the // first three months of the remaining term, will be active during months 5, @@ -20513,12 +19181,6 @@ type PriceSchedule struct { // The number of months remaining in the reservation. For example, 2 is the // second to the last month before the capacity reservation expires. Term *int64 `locationName:"term" type:"long"` - - metadataPriceSchedule `json:"-" xml:"-"` -} - -type metadataPriceSchedule struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20533,6 +19195,8 @@ func (s PriceSchedule) GoString() string { // Describes the price for a Reserved instance. type PriceScheduleSpecification struct { + _ struct{} `type:"structure"` + // The currency for transacting the Reserved instance resale. At this time, // the only supported currency is USD. CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` @@ -20543,12 +19207,6 @@ type PriceScheduleSpecification struct { // The number of months remaining in the reservation. For example, 2 is the // second to the last month before the capacity reservation expires. Term *int64 `locationName:"term" type:"long"` - - metadataPriceScheduleSpecification `json:"-" xml:"-"` -} - -type metadataPriceScheduleSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20563,17 +19221,13 @@ func (s PriceScheduleSpecification) GoString() string { // Describes a Reserved instance offering. type PricingDetail struct { - // The number of instances available for the price. + _ struct{} `type:"structure"` + + // The number of reservations available for the price. Count *int64 `locationName:"count" type:"integer"` // The price per instance. Price *float64 `locationName:"price" type:"double"` - - metadataPricingDetail `json:"-" xml:"-"` -} - -type metadataPricingDetail struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20588,18 +19242,14 @@ func (s PricingDetail) GoString() string { // Describes a secondary private IP address for a network interface. type PrivateIpAddressSpecification struct { + _ struct{} `type:"structure"` + // Indicates whether the private IP address is the primary private IP address. // Only one IP address can be designated as primary. Primary *bool `locationName:"primary" type:"boolean"` // The private IP addresses. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string" required:"true"` - - metadataPrivateIpAddressSpecification `json:"-" xml:"-"` -} - -type metadataPrivateIpAddressSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20614,17 +19264,13 @@ func (s PrivateIpAddressSpecification) GoString() string { // Describes a product code. type ProductCode struct { + _ struct{} `type:"structure"` + // The product code. ProductCodeId *string `locationName:"productCode" type:"string"` // The type of product code. ProductCodeType *string `locationName:"type" type:"string" enum:"ProductCodeValues"` - - metadataProductCode `json:"-" xml:"-"` -} - -type metadataProductCode struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20639,14 +19285,10 @@ func (s ProductCode) GoString() string { // Describes a virtual private gateway propagating route. type PropagatingVgw struct { + _ struct{} `type:"structure"` + // The ID of the virtual private gateway (VGW). GatewayId *string `locationName:"gatewayId" type:"string"` - - metadataPropagatingVgw `json:"-" xml:"-"` -} - -type metadataPropagatingVgw struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20660,6 +19302,8 @@ func (s PropagatingVgw) GoString() string { } type PurchaseReservedInstancesOfferingInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -20676,12 +19320,6 @@ type PurchaseReservedInstancesOfferingInput struct { // The ID of the Reserved instance offering to purchase. ReservedInstancesOfferingId *string `type:"string" required:"true"` - - metadataPurchaseReservedInstancesOfferingInput `json:"-" xml:"-"` -} - -type metadataPurchaseReservedInstancesOfferingInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20695,14 +19333,10 @@ func (s PurchaseReservedInstancesOfferingInput) GoString() string { } type PurchaseReservedInstancesOfferingOutput struct { + _ struct{} `type:"structure"` + // The IDs of the purchased Reserved instances. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` - - metadataPurchaseReservedInstancesOfferingOutput `json:"-" xml:"-"` -} - -type metadataPurchaseReservedInstancesOfferingOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20716,6 +19350,8 @@ func (s PurchaseReservedInstancesOfferingOutput) GoString() string { } type RebootInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -20724,12 +19360,6 @@ type RebootInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataRebootInstancesInput `json:"-" xml:"-"` -} - -type metadataRebootInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20743,11 +19373,7 @@ func (s RebootInstancesInput) GoString() string { } type RebootInstancesOutput struct { - metadataRebootInstancesOutput `json:"-" xml:"-"` -} - -type metadataRebootInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -20762,17 +19388,13 @@ func (s RebootInstancesOutput) GoString() string { // Describes a recurring charge. type RecurringCharge struct { + _ struct{} `type:"structure"` + // The amount of the recurring charge. Amount *float64 `locationName:"amount" type:"double"` // The frequency of the recurring charge. Frequency *string `locationName:"frequency" type:"string" enum:"RecurringChargeFrequency"` - - metadataRecurringCharge `json:"-" xml:"-"` -} - -type metadataRecurringCharge struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20787,17 +19409,13 @@ func (s RecurringCharge) GoString() string { // Describes a region. type Region struct { + _ struct{} `type:"structure"` + // The region service endpoint. Endpoint *string `locationName:"regionEndpoint" type:"string"` // The name of the region. RegionName *string `locationName:"regionName" type:"string"` - - metadataRegion `json:"-" xml:"-"` -} - -type metadataRegion struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20811,6 +19429,8 @@ func (s Region) GoString() string { } type RegisterImageInput struct { + _ struct{} `type:"structure"` + // The architecture of the AMI. // // Default: For Amazon EBS-backed AMIs, i386. For instance store-backed AMIs, @@ -20861,12 +19481,6 @@ type RegisterImageInput struct { // // Default: paravirtual VirtualizationType *string `locationName:"virtualizationType" type:"string"` - - metadataRegisterImageInput `json:"-" xml:"-"` -} - -type metadataRegisterImageInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20880,14 +19494,10 @@ func (s RegisterImageInput) GoString() string { } type RegisterImageOutput struct { + _ struct{} `type:"structure"` + // The ID of the newly registered AMI. ImageId *string `locationName:"imageId" type:"string"` - - metadataRegisterImageOutput `json:"-" xml:"-"` -} - -type metadataRegisterImageOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20901,6 +19511,8 @@ func (s RegisterImageOutput) GoString() string { } type RejectVpcPeeringConnectionInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -20909,12 +19521,6 @@ type RejectVpcPeeringConnectionInput struct { // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` - - metadataRejectVpcPeeringConnectionInput `json:"-" xml:"-"` -} - -type metadataRejectVpcPeeringConnectionInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20928,14 +19534,10 @@ func (s RejectVpcPeeringConnectionInput) GoString() string { } type RejectVpcPeeringConnectionOutput struct { + _ struct{} `type:"structure"` + // Returns true if the request succeeds; otherwise, it returns an error. Return *bool `locationName:"return" type:"boolean"` - - metadataRejectVpcPeeringConnectionOutput `json:"-" xml:"-"` -} - -type metadataRejectVpcPeeringConnectionOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20949,6 +19551,8 @@ func (s RejectVpcPeeringConnectionOutput) GoString() string { } type ReleaseAddressInput struct { + _ struct{} `type:"structure"` + // [EC2-VPC] The allocation ID. Required for EC2-VPC. AllocationId *string `type:"string"` @@ -20960,12 +19564,6 @@ type ReleaseAddressInput struct { // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. PublicIp *string `type:"string"` - - metadataReleaseAddressInput `json:"-" xml:"-"` -} - -type metadataReleaseAddressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -20979,11 +19577,7 @@ func (s ReleaseAddressInput) GoString() string { } type ReleaseAddressOutput struct { - metadataReleaseAddressOutput `json:"-" xml:"-"` -} - -type metadataReleaseAddressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -20997,14 +19591,10 @@ func (s ReleaseAddressOutput) GoString() string { } type ReleaseHostsInput struct { + _ struct{} `type:"structure"` + // The IDs of the Dedicated hosts you want to release. HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` - - metadataReleaseHostsInput `json:"-" xml:"-"` -} - -type metadataReleaseHostsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21018,18 +19608,14 @@ func (s ReleaseHostsInput) GoString() string { } type ReleaseHostsOutput struct { + _ struct{} `type:"structure"` + // The IDs of the Dedicated hosts that were successfully released. Successful []*string `locationName:"successful" locationNameList:"item" type:"list"` // The IDs of the Dedicated hosts that could not be released, including an error // message. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` - - metadataReleaseHostsOutput `json:"-" xml:"-"` -} - -type metadataReleaseHostsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21043,6 +19629,8 @@ func (s ReleaseHostsOutput) GoString() string { } type ReplaceNetworkAclAssociationInput struct { + _ struct{} `type:"structure"` + // The ID of the current association between the original network ACL and the // subnet. AssociationId *string `locationName:"associationId" type:"string" required:"true"` @@ -21055,12 +19643,6 @@ type ReplaceNetworkAclAssociationInput struct { // The ID of the new network ACL to associate with the subnet. NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` - - metadataReplaceNetworkAclAssociationInput `json:"-" xml:"-"` -} - -type metadataReplaceNetworkAclAssociationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21074,14 +19656,10 @@ func (s ReplaceNetworkAclAssociationInput) GoString() string { } type ReplaceNetworkAclAssociationOutput struct { + _ struct{} `type:"structure"` + // The ID of the new association. NewAssociationId *string `locationName:"newAssociationId" type:"string"` - - metadataReplaceNetworkAclAssociationOutput `json:"-" xml:"-"` -} - -type metadataReplaceNetworkAclAssociationOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21095,6 +19673,8 @@ func (s ReplaceNetworkAclAssociationOutput) GoString() string { } type ReplaceNetworkAclEntryInput struct { + _ struct{} `type:"structure"` + // The network range to allow or deny, in CIDR notation. CidrBlock *string `locationName:"cidrBlock" type:"string" required:"true"` @@ -21128,12 +19708,6 @@ type ReplaceNetworkAclEntryInput struct { // The rule number of the entry to replace. RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` - - metadataReplaceNetworkAclEntryInput `json:"-" xml:"-"` -} - -type metadataReplaceNetworkAclEntryInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21147,11 +19721,7 @@ func (s ReplaceNetworkAclEntryInput) GoString() string { } type ReplaceNetworkAclEntryOutput struct { - metadataReplaceNetworkAclEntryOutput `json:"-" xml:"-"` -} - -type metadataReplaceNetworkAclEntryOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -21165,6 +19735,8 @@ func (s ReplaceNetworkAclEntryOutput) GoString() string { } type ReplaceRouteInput struct { + _ struct{} `type:"structure"` + // The CIDR address block used for the destination match. The value you provide // must match the CIDR of an existing route in the table. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` @@ -21181,6 +19753,9 @@ type ReplaceRouteInput struct { // The ID of a NAT instance in your VPC. InstanceId *string `locationName:"instanceId" type:"string"` + // The ID of a NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` + // The ID of a network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` @@ -21189,12 +19764,6 @@ type ReplaceRouteInput struct { // The ID of a VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` - - metadataReplaceRouteInput `json:"-" xml:"-"` -} - -type metadataReplaceRouteInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21208,11 +19777,7 @@ func (s ReplaceRouteInput) GoString() string { } type ReplaceRouteOutput struct { - metadataReplaceRouteOutput `json:"-" xml:"-"` -} - -type metadataReplaceRouteOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -21226,6 +19791,8 @@ func (s ReplaceRouteOutput) GoString() string { } type ReplaceRouteTableAssociationInput struct { + _ struct{} `type:"structure"` + // The association ID. AssociationId *string `locationName:"associationId" type:"string" required:"true"` @@ -21237,12 +19804,6 @@ type ReplaceRouteTableAssociationInput struct { // The ID of the new route table to associate with the subnet. RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` - - metadataReplaceRouteTableAssociationInput `json:"-" xml:"-"` -} - -type metadataReplaceRouteTableAssociationInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21256,14 +19817,10 @@ func (s ReplaceRouteTableAssociationInput) GoString() string { } type ReplaceRouteTableAssociationOutput struct { + _ struct{} `type:"structure"` + // The ID of the new association. NewAssociationId *string `locationName:"newAssociationId" type:"string"` - - metadataReplaceRouteTableAssociationOutput `json:"-" xml:"-"` -} - -type metadataReplaceRouteTableAssociationOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21277,6 +19834,8 @@ func (s ReplaceRouteTableAssociationOutput) GoString() string { } type ReportInstanceStatusInput struct { + _ struct{} `type:"structure"` + // Descriptive text about the health state of your instance. Description *string `locationName:"description" type:"string"` @@ -21321,12 +19880,6 @@ type ReportInstanceStatusInput struct { // The status of all instances listed. Status *string `locationName:"status" type:"string" required:"true" enum:"ReportStatusType"` - - metadataReportInstanceStatusInput `json:"-" xml:"-"` -} - -type metadataReportInstanceStatusInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21340,11 +19893,7 @@ func (s ReportInstanceStatusInput) GoString() string { } type ReportInstanceStatusOutput struct { - metadataReportInstanceStatusOutput `json:"-" xml:"-"` -} - -type metadataReportInstanceStatusOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -21359,6 +19908,8 @@ func (s ReportInstanceStatusOutput) GoString() string { // Contains the parameters for RequestSpotFleet. type RequestSpotFleetInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -21367,12 +19918,6 @@ type RequestSpotFleetInput struct { // The configuration for the Spot fleet request. SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` - - metadataRequestSpotFleetInput `json:"-" xml:"-"` -} - -type metadataRequestSpotFleetInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21387,14 +19932,10 @@ func (s RequestSpotFleetInput) GoString() string { // Contains the output of RequestSpotFleet. type RequestSpotFleetOutput struct { + _ struct{} `type:"structure"` + // The ID of the Spot fleet request. SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - - metadataRequestSpotFleetOutput `json:"-" xml:"-"` -} - -type metadataRequestSpotFleetOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21409,6 +19950,8 @@ func (s RequestSpotFleetOutput) GoString() string { // Contains the parameters for RequestSpotInstances. type RequestSpotInstancesInput struct { + _ struct{} `type:"structure"` + // The user-specified name for a logical grouping of bids. // // When you specify an Availability Zone group in a Spot Instance request, @@ -21492,12 +20035,6 @@ type RequestSpotInstancesInput struct { // // Default: The request is effective indefinitely. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` - - metadataRequestSpotInstancesInput `json:"-" xml:"-"` -} - -type metadataRequestSpotInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21512,14 +20049,10 @@ func (s RequestSpotInstancesInput) GoString() string { // Contains the output of RequestSpotInstances. type RequestSpotInstancesOutput struct { + _ struct{} `type:"structure"` + // One or more Spot instance requests. SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` - - metadataRequestSpotInstancesOutput `json:"-" xml:"-"` -} - -type metadataRequestSpotInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21534,6 +20067,8 @@ func (s RequestSpotInstancesOutput) GoString() string { // Describes the launch specification for an instance. type RequestSpotLaunchSpecification struct { + _ struct{} `type:"structure"` + // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` @@ -21585,12 +20120,6 @@ type RequestSpotLaunchSpecification struct { // The Base64-encoded MIME user data to make available to the instances. UserData *string `locationName:"userData" type:"string"` - - metadataRequestSpotLaunchSpecification `json:"-" xml:"-"` -} - -type metadataRequestSpotLaunchSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21605,6 +20134,8 @@ func (s RequestSpotLaunchSpecification) GoString() string { // Describes a reservation. type Reservation struct { + _ struct{} `type:"structure"` + // One or more security groups. Groups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` @@ -21620,12 +20151,6 @@ type Reservation struct { // The ID of the reservation. ReservationId *string `locationName:"reservationId" type:"string"` - - metadataReservation `json:"-" xml:"-"` -} - -type metadataReservation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21640,6 +20165,8 @@ func (s Reservation) GoString() string { // Describes the limit price of a Reserved instance offering. type ReservedInstanceLimitPrice struct { + _ struct{} `type:"structure"` + // Used for Reserved Instance Marketplace offerings. Specifies the limit price // on the total order (instanceCount * price). Amount *float64 `locationName:"amount" type:"double"` @@ -21647,12 +20174,6 @@ type ReservedInstanceLimitPrice struct { // The currency in which the limitPrice amount is specified. At this time, the // only supported currency is USD. CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` - - metadataReservedInstanceLimitPrice `json:"-" xml:"-"` -} - -type metadataReservedInstanceLimitPrice struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21667,6 +20188,8 @@ func (s ReservedInstanceLimitPrice) GoString() string { // Describes a Reserved instance. type ReservedInstances struct { + _ struct{} `type:"structure"` + // The Availability Zone in which the Reserved instance can be used. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -21683,7 +20206,7 @@ type ReservedInstances struct { // The purchase price of the Reserved instance. FixedPrice *float64 `locationName:"fixedPrice" type:"float"` - // The number of Reserved instances purchased. + // The number of reservations purchased. InstanceCount *int64 `locationName:"instanceCount" type:"integer"` // The tenancy of the reserved instance. @@ -21715,12 +20238,6 @@ type ReservedInstances struct { // The usage price of the Reserved instance, per hour. UsagePrice *float64 `locationName:"usagePrice" type:"float"` - - metadataReservedInstances `json:"-" xml:"-"` -} - -type metadataReservedInstances struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21735,6 +20252,8 @@ func (s ReservedInstances) GoString() string { // Describes the configuration settings for the modified Reserved instances. type ReservedInstancesConfiguration struct { + _ struct{} `type:"structure"` + // The Availability Zone for the modified Reserved instances. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -21747,12 +20266,6 @@ type ReservedInstancesConfiguration struct { // The network platform of the modified Reserved instances, which is either // EC2-Classic or EC2-VPC. Platform *string `locationName:"platform" type:"string"` - - metadataReservedInstancesConfiguration `json:"-" xml:"-"` -} - -type metadataReservedInstancesConfiguration struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21767,14 +20280,10 @@ func (s ReservedInstancesConfiguration) GoString() string { // Describes the ID of a Reserved instance. type ReservedInstancesId struct { + _ struct{} `type:"structure"` + // The ID of the Reserved instance. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` - - metadataReservedInstancesId `json:"-" xml:"-"` -} - -type metadataReservedInstancesId struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21789,6 +20298,8 @@ func (s ReservedInstancesId) GoString() string { // Describes a Reserved instance listing. type ReservedInstancesListing struct { + _ struct{} `type:"structure"` + // A unique, case-sensitive key supplied by the client to ensure that the request // is idempotent. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` @@ -21820,12 +20331,6 @@ type ReservedInstancesListing struct { // The last modified timestamp of the listing. UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" timestampFormat:"iso8601"` - - metadataReservedInstancesListing `json:"-" xml:"-"` -} - -type metadataReservedInstancesListing struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21840,6 +20345,8 @@ func (s ReservedInstancesListing) GoString() string { // Describes a Reserved instance modification. type ReservedInstancesModification struct { + _ struct{} `type:"structure"` + // A unique, case-sensitive key supplied by the client to ensure that the request // is idempotent. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` @@ -21868,12 +20375,6 @@ type ReservedInstancesModification struct { // The time when the modification request was last updated. UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" timestampFormat:"iso8601"` - - metadataReservedInstancesModification `json:"-" xml:"-"` -} - -type metadataReservedInstancesModification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21887,6 +20388,8 @@ func (s ReservedInstancesModification) GoString() string { } type ReservedInstancesModificationResult struct { + _ struct{} `type:"structure"` + // The ID for the Reserved instances that were created as part of the modification // request. This field is only available when the modification is fulfilled. ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string"` @@ -21894,12 +20397,6 @@ type ReservedInstancesModificationResult struct { // The target Reserved instances configurations supplied as part of the modification // request. TargetConfiguration *ReservedInstancesConfiguration `locationName:"targetConfiguration" type:"structure"` - - metadataReservedInstancesModificationResult `json:"-" xml:"-"` -} - -type metadataReservedInstancesModificationResult struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21914,6 +20411,8 @@ func (s ReservedInstancesModificationResult) GoString() string { // Describes a Reserved instance offering. type ReservedInstancesOffering struct { + _ struct{} `type:"structure"` + // The Availability Zone in which the Reserved instance can be used. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -21956,12 +20455,6 @@ type ReservedInstancesOffering struct { // The usage price of the Reserved instance, per hour. UsagePrice *float64 `locationName:"usagePrice" type:"float"` - - metadataReservedInstancesOffering `json:"-" xml:"-"` -} - -type metadataReservedInstancesOffering struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -21975,6 +20468,8 @@ func (s ReservedInstancesOffering) GoString() string { } type ResetImageAttributeInput struct { + _ struct{} `type:"structure"` + // The attribute to reset (currently you can only reset the launch permission // attribute). Attribute *string `type:"string" required:"true" enum:"ResetImageAttributeName"` @@ -21987,12 +20482,6 @@ type ResetImageAttributeInput struct { // The ID of the AMI. ImageId *string `type:"string" required:"true"` - - metadataResetImageAttributeInput `json:"-" xml:"-"` -} - -type metadataResetImageAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22006,11 +20495,7 @@ func (s ResetImageAttributeInput) GoString() string { } type ResetImageAttributeOutput struct { - metadataResetImageAttributeOutput `json:"-" xml:"-"` -} - -type metadataResetImageAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22024,6 +20509,8 @@ func (s ResetImageAttributeOutput) GoString() string { } type ResetInstanceAttributeInput struct { + _ struct{} `type:"structure"` + // The attribute to reset. Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"InstanceAttributeName"` @@ -22035,12 +20522,6 @@ type ResetInstanceAttributeInput struct { // The ID of the instance. InstanceId *string `locationName:"instanceId" type:"string" required:"true"` - - metadataResetInstanceAttributeInput `json:"-" xml:"-"` -} - -type metadataResetInstanceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22054,11 +20535,7 @@ func (s ResetInstanceAttributeInput) GoString() string { } type ResetInstanceAttributeOutput struct { - metadataResetInstanceAttributeOutput `json:"-" xml:"-"` -} - -type metadataResetInstanceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22072,6 +20549,8 @@ func (s ResetInstanceAttributeOutput) GoString() string { } type ResetNetworkInterfaceAttributeInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -22083,12 +20562,6 @@ type ResetNetworkInterfaceAttributeInput struct { // The source/destination checking attribute. Resets the value to true. SourceDestCheck *string `locationName:"sourceDestCheck" type:"string"` - - metadataResetNetworkInterfaceAttributeInput `json:"-" xml:"-"` -} - -type metadataResetNetworkInterfaceAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22102,11 +20575,7 @@ func (s ResetNetworkInterfaceAttributeInput) GoString() string { } type ResetNetworkInterfaceAttributeOutput struct { - metadataResetNetworkInterfaceAttributeOutput `json:"-" xml:"-"` -} - -type metadataResetNetworkInterfaceAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22120,6 +20589,8 @@ func (s ResetNetworkInterfaceAttributeOutput) GoString() string { } type ResetSnapshotAttributeInput struct { + _ struct{} `type:"structure"` + // The attribute to reset. Currently, only the attribute for permission to create // volumes can be reset. Attribute *string `type:"string" required:"true" enum:"SnapshotAttributeName"` @@ -22132,12 +20603,6 @@ type ResetSnapshotAttributeInput struct { // The ID of the snapshot. SnapshotId *string `type:"string" required:"true"` - - metadataResetSnapshotAttributeInput `json:"-" xml:"-"` -} - -type metadataResetSnapshotAttributeInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22151,11 +20616,7 @@ func (s ResetSnapshotAttributeInput) GoString() string { } type ResetSnapshotAttributeOutput struct { - metadataResetSnapshotAttributeOutput `json:"-" xml:"-"` -} - -type metadataResetSnapshotAttributeOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22169,6 +20630,8 @@ func (s ResetSnapshotAttributeOutput) GoString() string { } type RestoreAddressToClassicInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -22177,12 +20640,6 @@ type RestoreAddressToClassicInput struct { // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string" required:"true"` - - metadataRestoreAddressToClassicInput `json:"-" xml:"-"` -} - -type metadataRestoreAddressToClassicInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22196,17 +20653,13 @@ func (s RestoreAddressToClassicInput) GoString() string { } type RestoreAddressToClassicOutput struct { + _ struct{} `type:"structure"` + // The Elastic IP address. PublicIp *string `locationName:"publicIp" type:"string"` // The move status for the IP address. Status *string `locationName:"status" type:"string" enum:"Status"` - - metadataRestoreAddressToClassicOutput `json:"-" xml:"-"` -} - -type metadataRestoreAddressToClassicOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22220,8 +20673,10 @@ func (s RestoreAddressToClassicOutput) GoString() string { } type RevokeSecurityGroupEgressInput struct { - // The CIDR IP address range. You can't specify this parameter when specifying - // a source security group. + _ struct{} `type:"structure"` + + // The CIDR IP address range. We recommend that you specify the CIDR range in + // a set of IP permissions instead. CidrIp *string `locationName:"cidrIp" type:"string"` // Checks whether you have the required permissions for the action, without @@ -22231,7 +20686,7 @@ type RevokeSecurityGroupEgressInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The start of port range for the TCP and UDP protocols, or an ICMP type number. - // For the ICMP type number, use -1 to specify all ICMP types. + // We recommend that you specify the port range in a set of IP permissions instead. FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. @@ -22241,8 +20696,8 @@ type RevokeSecurityGroupEgressInput struct { // a CIDR IP address range. IpPermissions []*IpPermission `locationName:"ipPermissions" locationNameList:"item" type:"list"` - // The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - // Use -1 to specify all. + // The IP protocol name or number. We recommend that you specify the protocol + // in a set of IP permissions instead. IpProtocol *string `locationName:"ipProtocol" type:"string"` // The name of a destination security group. To revoke outbound access to a @@ -22255,15 +20710,9 @@ type RevokeSecurityGroupEgressInput struct { // IP permissions instead. SourceSecurityGroupOwnerId *string `locationName:"sourceSecurityGroupOwnerId" type:"string"` - // The end of port range for the TCP and UDP protocols, or an ICMP code number. - // For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. + // The end of port range for the TCP and UDP protocols, or an ICMP type number. + // We recommend that you specify the port range in a set of IP permissions instead. ToPort *int64 `locationName:"toPort" type:"integer"` - - metadataRevokeSecurityGroupEgressInput `json:"-" xml:"-"` -} - -type metadataRevokeSecurityGroupEgressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22277,11 +20726,7 @@ func (s RevokeSecurityGroupEgressInput) GoString() string { } type RevokeSecurityGroupEgressOutput struct { - metadataRevokeSecurityGroupEgressOutput `json:"-" xml:"-"` -} - -type metadataRevokeSecurityGroupEgressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22295,6 +20740,8 @@ func (s RevokeSecurityGroupEgressOutput) GoString() string { } type RevokeSecurityGroupIngressInput struct { + _ struct{} `type:"structure"` + // The CIDR IP address range. You can't specify this parameter when specifying // a source security group. CidrIp *string `type:"string"` @@ -22342,12 +20789,6 @@ type RevokeSecurityGroupIngressInput struct { // The end of port range for the TCP and UDP protocols, or an ICMP code number. // For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type. ToPort *int64 `type:"integer"` - - metadataRevokeSecurityGroupIngressInput `json:"-" xml:"-"` -} - -type metadataRevokeSecurityGroupIngressInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22361,11 +20802,7 @@ func (s RevokeSecurityGroupIngressInput) GoString() string { } type RevokeSecurityGroupIngressOutput struct { - metadataRevokeSecurityGroupIngressOutput `json:"-" xml:"-"` -} - -type metadataRevokeSecurityGroupIngressOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -22380,6 +20817,8 @@ func (s RevokeSecurityGroupIngressOutput) GoString() string { // Describes a route in a route table. type Route struct { + _ struct{} `type:"structure"` + // The CIDR block used for the destination match. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` @@ -22395,6 +20834,9 @@ type Route struct { // The AWS account ID of the owner of the instance. InstanceOwnerId *string `locationName:"instanceOwnerId" type:"string"` + // The ID of a NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` + // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` @@ -22413,12 +20855,6 @@ type Route struct { // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` - - metadataRoute `json:"-" xml:"-"` -} - -type metadataRoute struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22433,6 +20869,8 @@ func (s Route) GoString() string { // Describes a route table. type RouteTable struct { + _ struct{} `type:"structure"` + // The associations between the route table and one or more subnets. Associations []*RouteTableAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` @@ -22450,12 +20888,6 @@ type RouteTable struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataRouteTable `json:"-" xml:"-"` -} - -type metadataRouteTable struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22470,6 +20902,8 @@ func (s RouteTable) GoString() string { // Describes an association between a route table and a subnet. type RouteTableAssociation struct { + _ struct{} `type:"structure"` + // Indicates whether this is the main route table. Main *bool `locationName:"main" type:"boolean"` @@ -22481,12 +20915,6 @@ type RouteTableAssociation struct { // The ID of the subnet. A subnet ID is not returned for an implicit association. SubnetId *string `locationName:"subnetId" type:"string"` - - metadataRouteTableAssociation `json:"-" xml:"-"` -} - -type metadataRouteTableAssociation struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22500,6 +20928,8 @@ func (s RouteTableAssociation) GoString() string { } type RunInstancesInput struct { + _ struct{} `type:"structure"` + // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` @@ -22632,12 +21062,6 @@ type RunInstancesInput struct { // The Base64-encoded MIME user data for the instances. UserData *string `type:"string"` - - metadataRunInstancesInput `json:"-" xml:"-"` -} - -type metadataRunInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22652,14 +21076,10 @@ func (s RunInstancesInput) GoString() string { // Describes the monitoring for the instance. type RunInstancesMonitoringEnabled struct { + _ struct{} `type:"structure"` + // Indicates whether monitoring is enabled for the instance. Enabled *bool `locationName:"enabled" type:"boolean" required:"true"` - - metadataRunInstancesMonitoringEnabled `json:"-" xml:"-"` -} - -type metadataRunInstancesMonitoringEnabled struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22675,6 +21095,8 @@ func (s RunInstancesMonitoringEnabled) GoString() string { // Describes the storage parameters for S3 and S3 buckets for an instance store-backed // AMI. type S3Storage struct { + _ struct{} `type:"structure"` + // The access key ID of the owner of the bucket. Before you specify a value // for your access key ID, review and follow the guidance in Best Practices // for Managing AWS Access Keys (http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html). @@ -22694,12 +21116,6 @@ type S3Storage struct { // The signature of the Base64 encoded JSON document. UploadPolicySignature *string `locationName:"uploadPolicySignature" type:"string"` - - metadataS3Storage `json:"-" xml:"-"` -} - -type metadataS3Storage struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22714,6 +21130,8 @@ func (s S3Storage) GoString() string { // Describes a security group type SecurityGroup struct { + _ struct{} `type:"structure"` + // A description of the security group. Description *string `locationName:"groupDescription" type:"string"` @@ -22737,12 +21155,6 @@ type SecurityGroup struct { // [EC2-VPC] The ID of the VPC for the security group. VpcId *string `locationName:"vpcId" type:"string"` - - metadataSecurityGroup `json:"-" xml:"-"` -} - -type metadataSecurityGroup struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22757,6 +21169,8 @@ func (s SecurityGroup) GoString() string { // Describes a snapshot. type Snapshot struct { + _ struct{} `type:"structure"` + // The data encryption key identifier for the snapshot. This value is a unique // identifier that corresponds to the data encryption key that was used to encrypt // the original volume or snapshot copy. Because data encryption keys are inherited @@ -22811,12 +21225,6 @@ type Snapshot struct { // The size of the volume, in GiB. VolumeSize *int64 `locationName:"volumeSize" type:"integer"` - - metadataSnapshot `json:"-" xml:"-"` -} - -type metadataSnapshot struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22831,6 +21239,8 @@ func (s Snapshot) GoString() string { // Describes the snapshot created from the imported disk. type SnapshotDetail struct { + _ struct{} `type:"structure"` + // A description for the snapshot. Description *string `locationName:"description" type:"string"` @@ -22860,12 +21270,6 @@ type SnapshotDetail struct { // Describes the S3 bucket for the disk image. UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"` - - metadataSnapshotDetail `json:"-" xml:"-"` -} - -type metadataSnapshotDetail struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22880,6 +21284,8 @@ func (s SnapshotDetail) GoString() string { // The disk container object for the import snapshot request. type SnapshotDiskContainer struct { + _ struct{} `type:"structure"` + // The description of the disk image being imported. Description *string `type:"string"` @@ -22894,12 +21300,6 @@ type SnapshotDiskContainer struct { // Describes the S3 bucket for the disk image. UserBucket *UserBucket `type:"structure"` - - metadataSnapshotDiskContainer `json:"-" xml:"-"` -} - -type metadataSnapshotDiskContainer struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22914,6 +21314,8 @@ func (s SnapshotDiskContainer) GoString() string { // Details about the import snapshot task. type SnapshotTaskDetail struct { + _ struct{} `type:"structure"` + // The description of the snapshot. Description *string `locationName:"description" type:"string"` @@ -22940,12 +21342,6 @@ type SnapshotTaskDetail struct { // The S3 bucket for the disk image. UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"` - - metadataSnapshotTaskDetail `json:"-" xml:"-"` -} - -type metadataSnapshotTaskDetail struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22960,6 +21356,8 @@ func (s SnapshotTaskDetail) GoString() string { // Describes the data feed for a Spot instance. type SpotDatafeedSubscription struct { + _ struct{} `type:"structure"` + // The Amazon S3 bucket where the Spot instance data feed is located. Bucket *string `locationName:"bucket" type:"string"` @@ -22974,12 +21372,6 @@ type SpotDatafeedSubscription struct { // The state of the Spot instance data feed subscription. State *string `locationName:"state" type:"string" enum:"DatafeedSubscriptionState"` - - metadataSpotDatafeedSubscription `json:"-" xml:"-"` -} - -type metadataSpotDatafeedSubscription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -22994,6 +21386,8 @@ func (s SpotDatafeedSubscription) GoString() string { // Describes the launch specification for one or more Spot instances. type SpotFleetLaunchSpecification struct { + _ struct{} `type:"structure"` + // Deprecated. AddressingType *string `locationName:"addressingType" type:"string"` @@ -23047,7 +21441,8 @@ type SpotFleetLaunchSpecification struct { // value of WeightedCapacity. SpotPrice *string `locationName:"spotPrice" type:"string"` - // The ID of the subnet in which to launch the instances. + // The ID of the subnet in which to launch the instances. To specify multiple + // subnets, separate them using commas; for example, "subnet-a61dafcf, subnet-65ea5f08". SubnetId *string `locationName:"subnetId" type:"string"` // The Base64-encoded MIME user data to make available to the instances. @@ -23061,12 +21456,6 @@ type SpotFleetLaunchSpecification struct { // the number of instances to the next whole number. If this value is not specified, // the default is 1. WeightedCapacity *float64 `locationName:"weightedCapacity" type:"double"` - - metadataSpotFleetLaunchSpecification `json:"-" xml:"-"` -} - -type metadataSpotFleetLaunchSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23081,16 +21470,12 @@ func (s SpotFleetLaunchSpecification) GoString() string { // Describes whether monitoring is enabled. type SpotFleetMonitoring struct { + _ struct{} `type:"structure"` + // Enables monitoring for the instance. // // Default: false Enabled *bool `locationName:"enabled" type:"boolean"` - - metadataSpotFleetMonitoring `json:"-" xml:"-"` -} - -type metadataSpotFleetMonitoring struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23105,6 +21490,8 @@ func (s SpotFleetMonitoring) GoString() string { // Describes a Spot fleet request. type SpotFleetRequestConfig struct { + _ struct{} `type:"structure"` + // The creation date and time of the request. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` @@ -23116,12 +21503,6 @@ type SpotFleetRequestConfig struct { // The state of the Spot fleet request. SpotFleetRequestState *string `locationName:"spotFleetRequestState" type:"string" required:"true" enum:"BatchState"` - - metadataSpotFleetRequestConfig `json:"-" xml:"-"` -} - -type metadataSpotFleetRequestConfig struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23136,6 +21517,8 @@ func (s SpotFleetRequestConfig) GoString() string { // Describes the configuration of a Spot fleet request. type SpotFleetRequestConfigData struct { + _ struct{} `type:"structure"` + // Indicates how to allocate the target capacity across the Spot pools specified // by the Spot fleet request. The default is lowestPrice. AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"AllocationStrategy"` @@ -23178,12 +21561,6 @@ type SpotFleetRequestConfigData struct { // At this point, no new Spot instance requests are placed or enabled to fulfill // the request. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` - - metadataSpotFleetRequestConfigData `json:"-" xml:"-"` -} - -type metadataSpotFleetRequestConfigData struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23198,6 +21575,8 @@ func (s SpotFleetRequestConfigData) GoString() string { // Describes a Spot instance request. type SpotInstanceRequest struct { + _ struct{} `type:"structure"` + // If you specified a duration and your Spot instance request was fulfilled, // this is the fixed hourly price in effect for the Spot instance while it runs. ActualBlockHourlyPrice *string `locationName:"actualBlockHourlyPrice" type:"string"` @@ -23265,12 +21644,6 @@ type SpotInstanceRequest struct { // the request is canceled, or this date is reached. If the request is persistent, // it remains active until it is canceled or this date is reached. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` - - metadataSpotInstanceRequest `json:"-" xml:"-"` -} - -type metadataSpotInstanceRequest struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23285,17 +21658,13 @@ func (s SpotInstanceRequest) GoString() string { // Describes a Spot instance state change. type SpotInstanceStateFault struct { + _ struct{} `type:"structure"` + // The reason code for the Spot instance state change. Code *string `locationName:"code" type:"string"` // The message for the Spot instance state change. Message *string `locationName:"message" type:"string"` - - metadataSpotInstanceStateFault `json:"-" xml:"-"` -} - -type metadataSpotInstanceStateFault struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23310,6 +21679,8 @@ func (s SpotInstanceStateFault) GoString() string { // Describes the status of a Spot instance request. type SpotInstanceStatus struct { + _ struct{} `type:"structure"` + // The status code. For a list of status codes, see Spot Bid Status Codes (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html#spot-instance-bid-status-understand) // in the Amazon Elastic Compute Cloud User Guide. Code *string `locationName:"code" type:"string"` @@ -23320,12 +21691,6 @@ type SpotInstanceStatus struct { // The date and time of the most recent status update, in UTC format (for example, // YYYY-MM-DDTHH:MM:SSZ). UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601"` - - metadataSpotInstanceStatus `json:"-" xml:"-"` -} - -type metadataSpotInstanceStatus struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23340,17 +21705,14 @@ func (s SpotInstanceStatus) GoString() string { // Describes Spot instance placement. type SpotPlacement struct { - // The Availability Zone. + _ struct{} `type:"structure"` + + // The Availability Zones. To specify multiple Availability Zones, separate + // them using commas; for example, "us-west-2a, us-west-2b". AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The name of the placement group (for cluster instances). GroupName *string `locationName:"groupName" type:"string"` - - metadataSpotPlacement `json:"-" xml:"-"` -} - -type metadataSpotPlacement struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23366,6 +21728,8 @@ func (s SpotPlacement) GoString() string { // Describes the maximum hourly price (bid) for any Spot instance launched to // fulfill the request. type SpotPrice struct { + _ struct{} `type:"structure"` + // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -23380,12 +21744,6 @@ type SpotPrice struct { // The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601"` - - metadataSpotPrice `json:"-" xml:"-"` -} - -type metadataSpotPrice struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23399,6 +21757,8 @@ func (s SpotPrice) GoString() string { } type StartInstancesInput struct { + _ struct{} `type:"structure"` + // Reserved. AdditionalInfo *string `locationName:"additionalInfo" type:"string"` @@ -23410,12 +21770,6 @@ type StartInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataStartInstancesInput `json:"-" xml:"-"` -} - -type metadataStartInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23429,14 +21783,10 @@ func (s StartInstancesInput) GoString() string { } type StartInstancesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more started instances. StartingInstances []*InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` - - metadataStartInstancesOutput `json:"-" xml:"-"` -} - -type metadataStartInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23451,6 +21801,8 @@ func (s StartInstancesOutput) GoString() string { // Describes a state change. type StateReason struct { + _ struct{} `type:"structure"` + // The reason code for the state change. Code *string `locationName:"code" type:"string"` @@ -23478,12 +21830,6 @@ type StateReason struct { // // Client.InvalidSnapshot.NotFound: The specified snapshot was not found. Message *string `locationName:"message" type:"string"` - - metadataStateReason `json:"-" xml:"-"` -} - -type metadataStateReason struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23497,6 +21843,8 @@ func (s StateReason) GoString() string { } type StopInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -23513,12 +21861,6 @@ type StopInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataStopInstancesInput `json:"-" xml:"-"` -} - -type metadataStopInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23532,14 +21874,10 @@ func (s StopInstancesInput) GoString() string { } type StopInstancesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more stopped instances. StoppingInstances []*InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` - - metadataStopInstancesOutput `json:"-" xml:"-"` -} - -type metadataStopInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23554,14 +21892,10 @@ func (s StopInstancesOutput) GoString() string { // Describes the storage location for an instance store-backed AMI. type Storage struct { + _ struct{} `type:"structure"` + // An Amazon S3 storage location. S3 *S3Storage `type:"structure"` - - metadataStorage `json:"-" xml:"-"` -} - -type metadataStorage struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23576,6 +21910,8 @@ func (s Storage) GoString() string { // Describes a subnet. type Subnet struct { + _ struct{} `type:"structure"` + // The Availability Zone of the subnet. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -23603,12 +21939,6 @@ type Subnet struct { // The ID of the VPC the subnet is in. VpcId *string `locationName:"vpcId" type:"string"` - - metadataSubnet `json:"-" xml:"-"` -} - -type metadataSubnet struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23623,6 +21953,8 @@ func (s Subnet) GoString() string { // Describes a tag. type Tag struct { + _ struct{} `type:"structure"` + // The key of the tag. // // Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode @@ -23634,12 +21966,6 @@ type Tag struct { // Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode // characters. Value *string `locationName:"value" type:"string"` - - metadataTag `json:"-" xml:"-"` -} - -type metadataTag struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23654,6 +21980,8 @@ func (s Tag) GoString() string { // Describes a tag. type TagDescription struct { + _ struct{} `type:"structure"` + // The tag key. Key *string `locationName:"key" type:"string"` @@ -23665,12 +21993,6 @@ type TagDescription struct { // The tag value. Value *string `locationName:"value" type:"string"` - - metadataTagDescription `json:"-" xml:"-"` -} - -type metadataTagDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23684,6 +22006,8 @@ func (s TagDescription) GoString() string { } type TerminateInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -23692,12 +22016,6 @@ type TerminateInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataTerminateInstancesInput `json:"-" xml:"-"` -} - -type metadataTerminateInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23711,14 +22029,10 @@ func (s TerminateInstancesInput) GoString() string { } type TerminateInstancesOutput struct { + _ struct{} `type:"structure"` + // Information about one or more terminated instances. TerminatingInstances []*InstanceStateChange `locationName:"instancesSet" locationNameList:"item" type:"list"` - - metadataTerminateInstancesOutput `json:"-" xml:"-"` -} - -type metadataTerminateInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23732,18 +22046,14 @@ func (s TerminateInstancesOutput) GoString() string { } type UnassignPrivateIpAddressesInput struct { + _ struct{} `type:"structure"` + // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // The secondary private IP addresses to unassign from the network interface. // You can specify this option multiple times to unassign more than one IP address. PrivateIpAddresses []*string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list" required:"true"` - - metadataUnassignPrivateIpAddressesInput `json:"-" xml:"-"` -} - -type metadataUnassignPrivateIpAddressesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23757,11 +22067,7 @@ func (s UnassignPrivateIpAddressesInput) GoString() string { } type UnassignPrivateIpAddressesOutput struct { - metadataUnassignPrivateIpAddressesOutput `json:"-" xml:"-"` -} - -type metadataUnassignPrivateIpAddressesOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -23775,6 +22081,8 @@ func (s UnassignPrivateIpAddressesOutput) GoString() string { } type UnmonitorInstancesInput struct { + _ struct{} `type:"structure"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -23783,12 +22091,6 @@ type UnmonitorInstancesInput struct { // One or more instance IDs. InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` - - metadataUnmonitorInstancesInput `json:"-" xml:"-"` -} - -type metadataUnmonitorInstancesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23802,14 +22104,10 @@ func (s UnmonitorInstancesInput) GoString() string { } type UnmonitorInstancesOutput struct { + _ struct{} `type:"structure"` + // Monitoring information for one or more instances. InstanceMonitorings []*InstanceMonitoring `locationName:"instancesSet" locationNameList:"item" type:"list"` - - metadataUnmonitorInstancesOutput `json:"-" xml:"-"` -} - -type metadataUnmonitorInstancesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23824,17 +22122,13 @@ func (s UnmonitorInstancesOutput) GoString() string { // Information about items that were not successfully processed in a batch call. type UnsuccessfulItem struct { + _ struct{} `type:"structure"` + // Information about the error. Error *UnsuccessfulItemError `locationName:"error" type:"structure" required:"true"` // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - - metadataUnsuccessfulItem `json:"-" xml:"-"` -} - -type metadataUnsuccessfulItem struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23850,17 +22144,13 @@ func (s UnsuccessfulItem) GoString() string { // Information about the error that occurred. For more information about errors, // see Error Codes (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). type UnsuccessfulItemError struct { + _ struct{} `type:"structure"` + // The error code. Code *string `locationName:"code" type:"string" required:"true"` // The error message accompanying the error code. Message *string `locationName:"message" type:"string" required:"true"` - - metadataUnsuccessfulItemError `json:"-" xml:"-"` -} - -type metadataUnsuccessfulItemError struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23875,17 +22165,13 @@ func (s UnsuccessfulItemError) GoString() string { // Describes the S3 bucket for the disk image. type UserBucket struct { + _ struct{} `type:"structure"` + // The name of the S3 bucket where the disk image is located. S3Bucket *string `type:"string"` // The key for the disk image. S3Key *string `type:"string"` - - metadataUserBucket `json:"-" xml:"-"` -} - -type metadataUserBucket struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23900,17 +22186,13 @@ func (s UserBucket) GoString() string { // Describes the S3 bucket for the disk image. type UserBucketDetails struct { + _ struct{} `type:"structure"` + // The S3 bucket from which the disk image was created. S3Bucket *string `locationName:"s3Bucket" type:"string"` // The key from which the disk image was created. S3Key *string `locationName:"s3Key" type:"string"` - - metadataUserBucketDetails `json:"-" xml:"-"` -} - -type metadataUserBucketDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23925,14 +22207,10 @@ func (s UserBucketDetails) GoString() string { // Describes the user data to be made available to an instance. type UserData struct { + _ struct{} `type:"structure"` + // The Base64-encoded MIME user data for the instance. Data *string `locationName:"data" type:"string"` - - metadataUserData `json:"-" xml:"-"` -} - -type metadataUserData struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23947,6 +22225,8 @@ func (s UserData) GoString() string { // Describes a security group and AWS account ID pair. type UserIdGroupPair struct { + _ struct{} `type:"structure"` + // The ID of the security group. GroupId *string `locationName:"groupId" type:"string"` @@ -23957,12 +22237,6 @@ type UserIdGroupPair struct { // The ID of an AWS account. EC2-Classic only. UserId *string `locationName:"userId" type:"string"` - - metadataUserIdGroupPair `json:"-" xml:"-"` -} - -type metadataUserIdGroupPair struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -23977,6 +22251,8 @@ func (s UserIdGroupPair) GoString() string { // Describes telemetry for a VPN tunnel. type VgwTelemetry struct { + _ struct{} `type:"structure"` + // The number of accepted routes. AcceptedRouteCount *int64 `locationName:"acceptedRouteCount" type:"integer"` @@ -23992,12 +22268,6 @@ type VgwTelemetry struct { // If an error occurs, a description of the error. StatusMessage *string `locationName:"statusMessage" type:"string"` - - metadataVgwTelemetry `json:"-" xml:"-"` -} - -type metadataVgwTelemetry struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24012,6 +22282,8 @@ func (s VgwTelemetry) GoString() string { // Describes a volume. type Volume struct { + _ struct{} `type:"structure"` + // Information about the volume attachments. Attachments []*VolumeAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` @@ -24061,12 +22333,6 @@ type Volume struct { // The volume type. This can be gp2 for General Purpose (SSD) volumes, io1 for // Provisioned IOPS (SSD) volumes, or standard for Magnetic volumes. VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` - - metadataVolume `json:"-" xml:"-"` -} - -type metadataVolume struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24081,6 +22347,8 @@ func (s Volume) GoString() string { // Describes volume attachment details. type VolumeAttachment struct { + _ struct{} `type:"structure"` + // The time stamp when the attachment initiated. AttachTime *time.Time `locationName:"attachTime" type:"timestamp" timestampFormat:"iso8601"` @@ -24098,12 +22366,6 @@ type VolumeAttachment struct { // The ID of the volume. VolumeId *string `locationName:"volumeId" type:"string"` - - metadataVolumeAttachment `json:"-" xml:"-"` -} - -type metadataVolumeAttachment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24118,14 +22380,10 @@ func (s VolumeAttachment) GoString() string { // Describes an EBS volume. type VolumeDetail struct { + _ struct{} `type:"structure"` + // The size of the volume, in GiB. Size *int64 `locationName:"size" type:"long" required:"true"` - - metadataVolumeDetail `json:"-" xml:"-"` -} - -type metadataVolumeDetail struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24140,6 +22398,8 @@ func (s VolumeDetail) GoString() string { // Describes a volume status operation code. type VolumeStatusAction struct { + _ struct{} `type:"structure"` + // The code identifying the operation, for example, enable-volume-io. Code *string `locationName:"code" type:"string"` @@ -24151,12 +22411,6 @@ type VolumeStatusAction struct { // The event type associated with this operation. EventType *string `locationName:"eventType" type:"string"` - - metadataVolumeStatusAction `json:"-" xml:"-"` -} - -type metadataVolumeStatusAction struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24171,17 +22425,13 @@ func (s VolumeStatusAction) GoString() string { // Describes a volume status. type VolumeStatusDetails struct { + _ struct{} `type:"structure"` + // The name of the volume status. Name *string `locationName:"name" type:"string" enum:"VolumeStatusName"` // The intended status of the volume status. Status *string `locationName:"status" type:"string"` - - metadataVolumeStatusDetails `json:"-" xml:"-"` -} - -type metadataVolumeStatusDetails struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24196,6 +22446,8 @@ func (s VolumeStatusDetails) GoString() string { // Describes a volume status event. type VolumeStatusEvent struct { + _ struct{} `type:"structure"` + // A description of the event. Description *string `locationName:"description" type:"string"` @@ -24210,12 +22462,6 @@ type VolumeStatusEvent struct { // The earliest start time of the event. NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"iso8601"` - - metadataVolumeStatusEvent `json:"-" xml:"-"` -} - -type metadataVolumeStatusEvent struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24230,17 +22476,13 @@ func (s VolumeStatusEvent) GoString() string { // Describes the status of a volume. type VolumeStatusInfo struct { + _ struct{} `type:"structure"` + // The details of the volume status. Details []*VolumeStatusDetails `locationName:"details" locationNameList:"item" type:"list"` // The status of the volume. Status *string `locationName:"status" type:"string" enum:"VolumeStatusInfoStatus"` - - metadataVolumeStatusInfo `json:"-" xml:"-"` -} - -type metadataVolumeStatusInfo struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24255,6 +22497,8 @@ func (s VolumeStatusInfo) GoString() string { // Describes the volume status. type VolumeStatusItem struct { + _ struct{} `type:"structure"` + // The details of the operation. Actions []*VolumeStatusAction `locationName:"actionsSet" locationNameList:"item" type:"list"` @@ -24269,12 +22513,6 @@ type VolumeStatusItem struct { // The volume status. VolumeStatus *VolumeStatusInfo `locationName:"volumeStatus" type:"structure"` - - metadataVolumeStatusItem `json:"-" xml:"-"` -} - -type metadataVolumeStatusItem struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24289,6 +22527,8 @@ func (s VolumeStatusItem) GoString() string { // Describes a VPC. type Vpc struct { + _ struct{} `type:"structure"` + // The CIDR block for the VPC. CidrBlock *string `locationName:"cidrBlock" type:"string"` @@ -24310,12 +22550,6 @@ type Vpc struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataVpc `json:"-" xml:"-"` -} - -type metadataVpc struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24330,17 +22564,13 @@ func (s Vpc) GoString() string { // Describes an attachment between a virtual private gateway and a VPC. type VpcAttachment struct { + _ struct{} `type:"structure"` + // The current state of the attachment. State *string `locationName:"state" type:"string" enum:"AttachmentStatus"` // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataVpcAttachment `json:"-" xml:"-"` -} - -type metadataVpcAttachment struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24355,6 +22585,8 @@ func (s VpcAttachment) GoString() string { // Describes whether a VPC is enabled for ClassicLink. type VpcClassicLink struct { + _ struct{} `type:"structure"` + // Indicates whether the VPC is enabled for ClassicLink. ClassicLinkEnabled *bool `locationName:"classicLinkEnabled" type:"boolean"` @@ -24363,12 +22595,6 @@ type VpcClassicLink struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataVpcClassicLink `json:"-" xml:"-"` -} - -type metadataVpcClassicLink struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24383,6 +22609,8 @@ func (s VpcClassicLink) GoString() string { // Describes a VPC endpoint. type VpcEndpoint struct { + _ struct{} `type:"structure"` + // The date and time the VPC endpoint was created. CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp" timestampFormat:"iso8601"` @@ -24403,12 +22631,6 @@ type VpcEndpoint struct { // The ID of the VPC to which the endpoint is associated. VpcId *string `locationName:"vpcId" type:"string"` - - metadataVpcEndpoint `json:"-" xml:"-"` -} - -type metadataVpcEndpoint struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24423,6 +22645,8 @@ func (s VpcEndpoint) GoString() string { // Describes a VPC peering connection. type VpcPeeringConnection struct { + _ struct{} `type:"structure"` + // The information of the peer VPC. AccepterVpcInfo *VpcPeeringConnectionVpcInfo `locationName:"accepterVpcInfo" type:"structure"` @@ -24440,12 +22664,6 @@ type VpcPeeringConnection struct { // The ID of the VPC peering connection. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` - - metadataVpcPeeringConnection `json:"-" xml:"-"` -} - -type metadataVpcPeeringConnection struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24460,17 +22678,13 @@ func (s VpcPeeringConnection) GoString() string { // Describes the status of a VPC peering connection. type VpcPeeringConnectionStateReason struct { + _ struct{} `type:"structure"` + // The status of the VPC peering connection. Code *string `locationName:"code" type:"string" enum:"VpcPeeringConnectionStateReasonCode"` // A message that provides more information about the status, if applicable. Message *string `locationName:"message" type:"string"` - - metadataVpcPeeringConnectionStateReason `json:"-" xml:"-"` -} - -type metadataVpcPeeringConnectionStateReason struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24485,6 +22699,8 @@ func (s VpcPeeringConnectionStateReason) GoString() string { // Describes a VPC in a VPC peering connection. type VpcPeeringConnectionVpcInfo struct { + _ struct{} `type:"structure"` + // The CIDR block for the VPC. CidrBlock *string `locationName:"cidrBlock" type:"string"` @@ -24493,12 +22709,6 @@ type VpcPeeringConnectionVpcInfo struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - - metadataVpcPeeringConnectionVpcInfo `json:"-" xml:"-"` -} - -type metadataVpcPeeringConnectionVpcInfo struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24513,6 +22723,8 @@ func (s VpcPeeringConnectionVpcInfo) GoString() string { // Describes a VPN connection. type VpnConnection struct { + _ struct{} `type:"structure"` + // The configuration information for the VPN connection's customer gateway (in // the native XML format). This element is always present in the CreateVpnConnection // response; however, it's present in the DescribeVpnConnections response only @@ -24545,12 +22757,6 @@ type VpnConnection struct { // The ID of the virtual private gateway at the AWS side of the VPN connection. VpnGatewayId *string `locationName:"vpnGatewayId" type:"string"` - - metadataVpnConnection `json:"-" xml:"-"` -} - -type metadataVpnConnection struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24565,15 +22771,11 @@ func (s VpnConnection) GoString() string { // Describes VPN connection options. type VpnConnectionOptions struct { + _ struct{} `type:"structure"` + // Indicates whether the VPN connection uses static routes only. Static routes // must be used for devices that don't support BGP. StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` - - metadataVpnConnectionOptions `json:"-" xml:"-"` -} - -type metadataVpnConnectionOptions struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24588,15 +22790,11 @@ func (s VpnConnectionOptions) GoString() string { // Describes VPN connection options. type VpnConnectionOptionsSpecification struct { + _ struct{} `type:"structure"` + // Indicates whether the VPN connection uses static routes only. Static routes // must be used for devices that don't support BGP. StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` - - metadataVpnConnectionOptionsSpecification `json:"-" xml:"-"` -} - -type metadataVpnConnectionOptionsSpecification struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24611,6 +22809,8 @@ func (s VpnConnectionOptionsSpecification) GoString() string { // Describes a virtual private gateway. type VpnGateway struct { + _ struct{} `type:"structure"` + // The Availability Zone where the virtual private gateway was created. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` @@ -24628,12 +22828,6 @@ type VpnGateway struct { // The ID of the virtual private gateway. VpnGatewayId *string `locationName:"vpnGatewayId" type:"string"` - - metadataVpnGateway `json:"-" xml:"-"` -} - -type metadataVpnGateway struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -24648,6 +22842,8 @@ func (s VpnGateway) GoString() string { // Describes a static route for a VPN connection. type VpnStaticRoute struct { + _ struct{} `type:"structure"` + // The CIDR block associated with the local subnet of the customer data center. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` @@ -24656,12 +22852,6 @@ type VpnStaticRoute struct { // The current state of the static route. State *string `locationName:"state" type:"string" enum:"VpnState"` - - metadataVpnStaticRoute `json:"-" xml:"-"` -} - -type metadataVpnStaticRoute struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -25171,6 +23361,19 @@ const ( MoveStatusRestoringToClassic = "restoringToClassic" ) +const ( + // @enum NatGatewayState + NatGatewayStatePending = "pending" + // @enum NatGatewayState + NatGatewayStateFailed = "failed" + // @enum NatGatewayState + NatGatewayStateAvailable = "available" + // @enum NatGatewayState + NatGatewayStateDeleting = "deleting" + // @enum NatGatewayState + NatGatewayStateDeleted = "deleted" +) + const ( // @enum NetworkInterfaceAttribute NetworkInterfaceAttributeDescription = "description" @@ -25193,6 +23396,13 @@ const ( NetworkInterfaceStatusDetaching = "detaching" ) +const ( + // @enum NetworkInterfaceType + NetworkInterfaceTypeInterface = "interface" + // @enum NetworkInterfaceType + NetworkInterfaceTypeNatGateway = "natGateway" +) + const ( // @enum OfferingTypeValues OfferingTypeValuesHeavyUtilization = "Heavy Utilization" diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/ec2iface/interface.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/ec2iface/interface.go index 1625ad591fa..42165fd29f1 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/ec2iface/interface.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/ec2iface/interface.go @@ -138,6 +138,10 @@ type EC2API interface { CreateKeyPair(*ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error) + CreateNatGatewayRequest(*ec2.CreateNatGatewayInput) (*request.Request, *ec2.CreateNatGatewayOutput) + + CreateNatGateway(*ec2.CreateNatGatewayInput) (*ec2.CreateNatGatewayOutput, error) + CreateNetworkAclRequest(*ec2.CreateNetworkAclInput) (*request.Request, *ec2.CreateNetworkAclOutput) CreateNetworkAcl(*ec2.CreateNetworkAclInput) (*ec2.CreateNetworkAclOutput, error) @@ -234,6 +238,10 @@ type EC2API interface { DeleteKeyPair(*ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error) + DeleteNatGatewayRequest(*ec2.DeleteNatGatewayInput) (*request.Request, *ec2.DeleteNatGatewayOutput) + + DeleteNatGateway(*ec2.DeleteNatGatewayInput) (*ec2.DeleteNatGatewayOutput, error) + DeleteNetworkAclRequest(*ec2.DeleteNetworkAclInput) (*request.Request, *ec2.DeleteNetworkAclOutput) DeleteNetworkAcl(*ec2.DeleteNetworkAclInput) (*ec2.DeleteNetworkAclOutput, error) @@ -402,6 +410,10 @@ type EC2API interface { DescribeMovingAddresses(*ec2.DescribeMovingAddressesInput) (*ec2.DescribeMovingAddressesOutput, error) + DescribeNatGatewaysRequest(*ec2.DescribeNatGatewaysInput) (*request.Request, *ec2.DescribeNatGatewaysOutput) + + DescribeNatGateways(*ec2.DescribeNatGatewaysInput) (*ec2.DescribeNatGatewaysOutput, error) + DescribeNetworkAclsRequest(*ec2.DescribeNetworkAclsInput) (*request.Request, *ec2.DescribeNetworkAclsOutput) DescribeNetworkAcls(*ec2.DescribeNetworkAclsInput) (*ec2.DescribeNetworkAclsOutput, error) diff --git a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/elb/api.go b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/elb/api.go index 76803cfc0b9..a1c7b7e600f 100644 --- a/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/elb/api.go +++ b/Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/elb/api.go @@ -969,6 +969,8 @@ func (c *ELB) SetLoadBalancerPoliciesOfListener(input *SetLoadBalancerPoliciesOf // Information about the AccessLog attribute. type AccessLog struct { + _ struct{} `type:"structure"` + // The interval for publishing the access logs. You can specify an interval // of either 5 minutes or 60 minutes. // @@ -985,12 +987,6 @@ type AccessLog struct { // my-bucket-prefix/prod. If the prefix is not provided, the log is placed at // the root level of the bucket. S3BucketPrefix *string `type:"string"` - - metadataAccessLog `json:"-" xml:"-"` -} - -type metadataAccessLog struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1004,17 +1000,13 @@ func (s AccessLog) GoString() string { } type AddTagsInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. You can specify one load balancer only. LoadBalancerNames []*string `type:"list" required:"true"` // The tags. Tags []*Tag `min:"1" type:"list" required:"true"` - - metadataAddTagsInput `json:"-" xml:"-"` -} - -type metadataAddTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1028,11 +1020,7 @@ func (s AddTagsInput) GoString() string { } type AddTagsOutput struct { - metadataAddTagsOutput `json:"-" xml:"-"` -} - -type metadataAddTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1047,17 +1035,13 @@ func (s AddTagsOutput) GoString() string { // This data type is reserved. type AdditionalAttribute struct { + _ struct{} `type:"structure"` + // This parameter is reserved. Key *string `type:"string"` // This parameter is reserved. Value *string `type:"string"` - - metadataAdditionalAttribute `json:"-" xml:"-"` -} - -type metadataAdditionalAttribute struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1072,18 +1056,14 @@ func (s AdditionalAttribute) GoString() string { // Information about a policy for application-controlled session stickiness. type AppCookieStickinessPolicy struct { + _ struct{} `type:"structure"` + // The name of the application cookie used for stickiness. CookieName *string `type:"string"` // The mnemonic name for the policy being created. The name must be unique within // a set of policies for this load balancer. PolicyName *string `type:"string"` - - metadataAppCookieStickinessPolicy `json:"-" xml:"-"` -} - -type metadataAppCookieStickinessPolicy struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1097,18 +1077,14 @@ func (s AppCookieStickinessPolicy) GoString() string { } type ApplySecurityGroupsToLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` // The IDs of the security groups to associate with the load balancer. Note // that you cannot specify the name of the security group. SecurityGroups []*string `type:"list" required:"true"` - - metadataApplySecurityGroupsToLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataApplySecurityGroupsToLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1122,14 +1098,10 @@ func (s ApplySecurityGroupsToLoadBalancerInput) GoString() string { } type ApplySecurityGroupsToLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The IDs of the security groups associated with the load balancer. SecurityGroups []*string `type:"list"` - - metadataApplySecurityGroupsToLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataApplySecurityGroupsToLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1143,18 +1115,14 @@ func (s ApplySecurityGroupsToLoadBalancerOutput) GoString() string { } type AttachLoadBalancerToSubnetsInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets to add for the load balancer. You can add only one // subnet per Availability Zone. Subnets []*string `type:"list" required:"true"` - - metadataAttachLoadBalancerToSubnetsInput `json:"-" xml:"-"` -} - -type metadataAttachLoadBalancerToSubnetsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1168,14 +1136,10 @@ func (s AttachLoadBalancerToSubnetsInput) GoString() string { } type AttachLoadBalancerToSubnetsOutput struct { + _ struct{} `type:"structure"` + // The IDs of the subnets attached to the load balancer. Subnets []*string `type:"list"` - - metadataAttachLoadBalancerToSubnetsOutput `json:"-" xml:"-"` -} - -type metadataAttachLoadBalancerToSubnetsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1190,17 +1154,13 @@ func (s AttachLoadBalancerToSubnetsOutput) GoString() string { // Information about the configuration of a back-end server. type BackendServerDescription struct { + _ struct{} `type:"structure"` + // The port on which the back-end server is listening. InstancePort *int64 `min:"1" type:"integer"` // The names of the policies enabled for the back-end server. PolicyNames []*string `type:"list"` - - metadataBackendServerDescription `json:"-" xml:"-"` -} - -type metadataBackendServerDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1214,17 +1174,13 @@ func (s BackendServerDescription) GoString() string { } type ConfigureHealthCheckInput struct { + _ struct{} `type:"structure"` + // The configuration information for the new health check. HealthCheck *HealthCheck `type:"structure" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataConfigureHealthCheckInput `json:"-" xml:"-"` -} - -type metadataConfigureHealthCheckInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1238,14 +1194,10 @@ func (s ConfigureHealthCheckInput) GoString() string { } type ConfigureHealthCheckOutput struct { + _ struct{} `type:"structure"` + // The updated health check. HealthCheck *HealthCheck `type:"structure"` - - metadataConfigureHealthCheckOutput `json:"-" xml:"-"` -} - -type metadataConfigureHealthCheckOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1260,18 +1212,14 @@ func (s ConfigureHealthCheckOutput) GoString() string { // Information about the ConnectionDraining attribute. type ConnectionDraining struct { + _ struct{} `type:"structure"` + // Specifies whether connection draining is enabled for the load balancer. Enabled *bool `type:"boolean" required:"true"` // The maximum time, in seconds, to keep the existing connections open before // deregistering the instances. Timeout *int64 `type:"integer"` - - metadataConnectionDraining `json:"-" xml:"-"` -} - -type metadataConnectionDraining struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1286,15 +1234,11 @@ func (s ConnectionDraining) GoString() string { // Information about the ConnectionSettings attribute. type ConnectionSettings struct { + _ struct{} `type:"structure"` + // The time, in seconds, that the connection is allowed to be idle (no data // has been sent over the connection) before it is closed by the load balancer. IdleTimeout *int64 `min:"1" type:"integer" required:"true"` - - metadataConnectionSettings `json:"-" xml:"-"` -} - -type metadataConnectionSettings struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1308,6 +1252,8 @@ func (s ConnectionSettings) GoString() string { } type CreateAppCookieStickinessPolicyInput struct { + _ struct{} `type:"structure"` + // The name of the application cookie used for stickiness. CookieName *string `type:"string" required:"true"` @@ -1318,12 +1264,6 @@ type CreateAppCookieStickinessPolicyInput struct { // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. PolicyName *string `type:"string" required:"true"` - - metadataCreateAppCookieStickinessPolicyInput `json:"-" xml:"-"` -} - -type metadataCreateAppCookieStickinessPolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1337,11 +1277,7 @@ func (s CreateAppCookieStickinessPolicyInput) GoString() string { } type CreateAppCookieStickinessPolicyOutput struct { - metadataCreateAppCookieStickinessPolicyOutput `json:"-" xml:"-"` -} - -type metadataCreateAppCookieStickinessPolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1355,6 +1291,8 @@ func (s CreateAppCookieStickinessPolicyOutput) GoString() string { } type CreateLBCookieStickinessPolicyInput struct { + _ struct{} `type:"structure"` + // The time period, in seconds, after which the cookie should be considered // stale. If you do not specify this parameter, the sticky session lasts for // the duration of the browser session. @@ -1367,12 +1305,6 @@ type CreateLBCookieStickinessPolicyInput struct { // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. PolicyName *string `type:"string" required:"true"` - - metadataCreateLBCookieStickinessPolicyInput `json:"-" xml:"-"` -} - -type metadataCreateLBCookieStickinessPolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1386,11 +1318,7 @@ func (s CreateLBCookieStickinessPolicyInput) GoString() string { } type CreateLBCookieStickinessPolicyOutput struct { - metadataCreateLBCookieStickinessPolicyOutput `json:"-" xml:"-"` -} - -type metadataCreateLBCookieStickinessPolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1404,6 +1332,8 @@ func (s CreateLBCookieStickinessPolicyOutput) GoString() string { } type CreateLoadBalancerInput struct { + _ struct{} `type:"structure"` + // One or more Availability Zones from the same region as the load balancer. // Traffic is equally distributed across all specified Availability Zones. // @@ -1450,12 +1380,6 @@ type CreateLoadBalancerInput struct { // For more information about tagging your load balancer, see Tagging (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#tagging-elb) // in the Elastic Load Balancing Developer Guide. Tags []*Tag `min:"1" type:"list"` - - metadataCreateLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1469,17 +1393,13 @@ func (s CreateLoadBalancerInput) GoString() string { } type CreateLoadBalancerListenersInput struct { + _ struct{} `type:"structure"` + // The listeners. Listeners []*Listener `type:"list" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataCreateLoadBalancerListenersInput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerListenersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1493,11 +1413,7 @@ func (s CreateLoadBalancerListenersInput) GoString() string { } type CreateLoadBalancerListenersOutput struct { - metadataCreateLoadBalancerListenersOutput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerListenersOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1511,14 +1427,10 @@ func (s CreateLoadBalancerListenersOutput) GoString() string { } type CreateLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The DNS name of the load balancer. DNSName *string `type:"string"` - - metadataCreateLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1532,6 +1444,8 @@ func (s CreateLoadBalancerOutput) GoString() string { } type CreateLoadBalancerPolicyInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` @@ -1544,12 +1458,6 @@ type CreateLoadBalancerPolicyInput struct { // The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes. PolicyTypeName *string `type:"string" required:"true"` - - metadataCreateLoadBalancerPolicyInput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerPolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1563,11 +1471,7 @@ func (s CreateLoadBalancerPolicyInput) GoString() string { } type CreateLoadBalancerPolicyOutput struct { - metadataCreateLoadBalancerPolicyOutput `json:"-" xml:"-"` -} - -type metadataCreateLoadBalancerPolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1582,14 +1486,10 @@ func (s CreateLoadBalancerPolicyOutput) GoString() string { // Information about the CrossZoneLoadBalancing attribute. type CrossZoneLoadBalancing struct { + _ struct{} `type:"structure"` + // Specifies whether cross-zone load balancing is enabled for the load balancer. Enabled *bool `type:"boolean" required:"true"` - - metadataCrossZoneLoadBalancing `json:"-" xml:"-"` -} - -type metadataCrossZoneLoadBalancing struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1603,14 +1503,10 @@ func (s CrossZoneLoadBalancing) GoString() string { } type DeleteLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataDeleteLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1624,17 +1520,13 @@ func (s DeleteLoadBalancerInput) GoString() string { } type DeleteLoadBalancerListenersInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` // The client port numbers of the listeners. LoadBalancerPorts []*int64 `type:"list" required:"true"` - - metadataDeleteLoadBalancerListenersInput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerListenersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1648,11 +1540,7 @@ func (s DeleteLoadBalancerListenersInput) GoString() string { } type DeleteLoadBalancerListenersOutput struct { - metadataDeleteLoadBalancerListenersOutput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerListenersOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1666,11 +1554,7 @@ func (s DeleteLoadBalancerListenersOutput) GoString() string { } type DeleteLoadBalancerOutput struct { - metadataDeleteLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1685,17 +1569,13 @@ func (s DeleteLoadBalancerOutput) GoString() string { // = type DeleteLoadBalancerPolicyInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` // The name of the policy. PolicyName *string `type:"string" required:"true"` - - metadataDeleteLoadBalancerPolicyInput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerPolicyInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1709,11 +1589,7 @@ func (s DeleteLoadBalancerPolicyInput) GoString() string { } type DeleteLoadBalancerPolicyOutput struct { - metadataDeleteLoadBalancerPolicyOutput `json:"-" xml:"-"` -} - -type metadataDeleteLoadBalancerPolicyOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -1727,17 +1603,13 @@ func (s DeleteLoadBalancerPolicyOutput) GoString() string { } type DeregisterInstancesFromLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The IDs of the instances. Instances []*Instance `type:"list" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataDeregisterInstancesFromLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataDeregisterInstancesFromLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1751,14 +1623,10 @@ func (s DeregisterInstancesFromLoadBalancerInput) GoString() string { } type DeregisterInstancesFromLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The remaining instances registered with the load balancer. Instances []*Instance `type:"list"` - - metadataDeregisterInstancesFromLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataDeregisterInstancesFromLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1772,17 +1640,13 @@ func (s DeregisterInstancesFromLoadBalancerOutput) GoString() string { } type DescribeInstanceHealthInput struct { + _ struct{} `type:"structure"` + // The IDs of the instances. Instances []*Instance `type:"list"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataDescribeInstanceHealthInput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceHealthInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1796,14 +1660,10 @@ func (s DescribeInstanceHealthInput) GoString() string { } type DescribeInstanceHealthOutput struct { + _ struct{} `type:"structure"` + // Information about the health of the instances. InstanceStates []*InstanceState `type:"list"` - - metadataDescribeInstanceHealthOutput `json:"-" xml:"-"` -} - -type metadataDescribeInstanceHealthOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1817,14 +1677,10 @@ func (s DescribeInstanceHealthOutput) GoString() string { } type DescribeLoadBalancerAttributesInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataDescribeLoadBalancerAttributesInput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerAttributesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1838,14 +1694,10 @@ func (s DescribeLoadBalancerAttributesInput) GoString() string { } type DescribeLoadBalancerAttributesOutput struct { + _ struct{} `type:"structure"` + // Information about the load balancer attributes. LoadBalancerAttributes *LoadBalancerAttributes `type:"structure"` - - metadataDescribeLoadBalancerAttributesOutput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerAttributesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1859,17 +1711,13 @@ func (s DescribeLoadBalancerAttributesOutput) GoString() string { } type DescribeLoadBalancerPoliciesInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string"` // The names of the policies. PolicyNames []*string `type:"list"` - - metadataDescribeLoadBalancerPoliciesInput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerPoliciesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1883,14 +1731,10 @@ func (s DescribeLoadBalancerPoliciesInput) GoString() string { } type DescribeLoadBalancerPoliciesOutput struct { + _ struct{} `type:"structure"` + // Information about the policies. PolicyDescriptions []*PolicyDescription `type:"list"` - - metadataDescribeLoadBalancerPoliciesOutput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerPoliciesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1904,15 +1748,11 @@ func (s DescribeLoadBalancerPoliciesOutput) GoString() string { } type DescribeLoadBalancerPolicyTypesInput struct { + _ struct{} `type:"structure"` + // The names of the policy types. If no names are specified, describes all policy // types defined by Elastic Load Balancing. PolicyTypeNames []*string `type:"list"` - - metadataDescribeLoadBalancerPolicyTypesInput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerPolicyTypesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1926,14 +1766,10 @@ func (s DescribeLoadBalancerPolicyTypesInput) GoString() string { } type DescribeLoadBalancerPolicyTypesOutput struct { + _ struct{} `type:"structure"` + // Information about the policy types. PolicyTypeDescriptions []*PolicyTypeDescription `type:"list"` - - metadataDescribeLoadBalancerPolicyTypesOutput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancerPolicyTypesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1947,6 +1783,8 @@ func (s DescribeLoadBalancerPolicyTypesOutput) GoString() string { } type DescribeLoadBalancersInput struct { + _ struct{} `type:"structure"` + // The names of the load balancers. LoadBalancerNames []*string `type:"list"` @@ -1957,12 +1795,6 @@ type DescribeLoadBalancersInput struct { // The maximum number of results to return with this call (a number from 1 to // 400). The default is 400. PageSize *int64 `min:"1" type:"integer"` - - metadataDescribeLoadBalancersInput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancersInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -1976,18 +1808,14 @@ func (s DescribeLoadBalancersInput) GoString() string { } type DescribeLoadBalancersOutput struct { + _ struct{} `type:"structure"` + // Information about the load balancers. LoadBalancerDescriptions []*LoadBalancerDescription `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. NextMarker *string `type:"string"` - - metadataDescribeLoadBalancersOutput `json:"-" xml:"-"` -} - -type metadataDescribeLoadBalancersOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2001,14 +1829,10 @@ func (s DescribeLoadBalancersOutput) GoString() string { } type DescribeTagsInput struct { + _ struct{} `type:"structure"` + // The names of the load balancers. LoadBalancerNames []*string `min:"1" type:"list" required:"true"` - - metadataDescribeTagsInput `json:"-" xml:"-"` -} - -type metadataDescribeTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2022,14 +1846,10 @@ func (s DescribeTagsInput) GoString() string { } type DescribeTagsOutput struct { + _ struct{} `type:"structure"` + // Information about the tags. TagDescriptions []*TagDescription `type:"list"` - - metadataDescribeTagsOutput `json:"-" xml:"-"` -} - -type metadataDescribeTagsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2043,17 +1863,13 @@ func (s DescribeTagsOutput) GoString() string { } type DetachLoadBalancerFromSubnetsInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets. Subnets []*string `type:"list" required:"true"` - - metadataDetachLoadBalancerFromSubnetsInput `json:"-" xml:"-"` -} - -type metadataDetachLoadBalancerFromSubnetsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2067,14 +1883,10 @@ func (s DetachLoadBalancerFromSubnetsInput) GoString() string { } type DetachLoadBalancerFromSubnetsOutput struct { + _ struct{} `type:"structure"` + // The IDs of the remaining subnets for the load balancer. Subnets []*string `type:"list"` - - metadataDetachLoadBalancerFromSubnetsOutput `json:"-" xml:"-"` -} - -type metadataDetachLoadBalancerFromSubnetsOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2088,17 +1900,13 @@ func (s DetachLoadBalancerFromSubnetsOutput) GoString() string { } type DisableAvailabilityZonesForLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The Availability Zones. AvailabilityZones []*string `type:"list" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataDisableAvailabilityZonesForLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataDisableAvailabilityZonesForLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2112,14 +1920,10 @@ func (s DisableAvailabilityZonesForLoadBalancerInput) GoString() string { } type DisableAvailabilityZonesForLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The remaining Availability Zones for the load balancer. AvailabilityZones []*string `type:"list"` - - metadataDisableAvailabilityZonesForLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataDisableAvailabilityZonesForLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2133,17 +1937,13 @@ func (s DisableAvailabilityZonesForLoadBalancerOutput) GoString() string { } type EnableAvailabilityZonesForLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The Availability Zones. These must be in the same region as the load balancer. AvailabilityZones []*string `type:"list" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataEnableAvailabilityZonesForLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataEnableAvailabilityZonesForLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2157,14 +1957,10 @@ func (s EnableAvailabilityZonesForLoadBalancerInput) GoString() string { } type EnableAvailabilityZonesForLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The updated list of Availability Zones for the load balancer. AvailabilityZones []*string `type:"list"` - - metadataEnableAvailabilityZonesForLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataEnableAvailabilityZonesForLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2179,6 +1975,8 @@ func (s EnableAvailabilityZonesForLoadBalancerOutput) GoString() string { // Information about a health check. type HealthCheck struct { + _ struct{} `type:"structure"` + // The number of consecutive health checks successes required before moving // the instance to the Healthy state. HealthyThreshold *int64 `min:"2" type:"integer" required:"true"` @@ -2216,12 +2014,6 @@ type HealthCheck struct { // The number of consecutive health check failures required before moving the // instance to the Unhealthy state. UnhealthyThreshold *int64 `min:"2" type:"integer" required:"true"` - - metadataHealthCheck `json:"-" xml:"-"` -} - -type metadataHealthCheck struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2236,14 +2028,10 @@ func (s HealthCheck) GoString() string { // The ID of a back-end instance. type Instance struct { + _ struct{} `type:"structure"` + // The ID of the instance. InstanceId *string `type:"string"` - - metadataInstance `json:"-" xml:"-"` -} - -type metadataInstance struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2258,6 +2046,8 @@ func (s Instance) GoString() string { // Information about the state of a back-end instance. type InstanceState struct { + _ struct{} `type:"structure"` + // A description of the instance state. This string can contain one or more // of the following messages. // @@ -2302,12 +2092,6 @@ type InstanceState struct { // // Valid values: InService | OutOfService | Unknown State *string `type:"string"` - - metadataInstanceState `json:"-" xml:"-"` -} - -type metadataInstanceState struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2322,6 +2106,8 @@ func (s InstanceState) GoString() string { // Information about a policy for duration-based session stickiness. type LBCookieStickinessPolicy struct { + _ struct{} `type:"structure"` + // The time period, in seconds, after which the cookie should be considered // stale. If this parameter is not specified, the stickiness session lasts for // the duration of the browser session. @@ -2330,12 +2116,6 @@ type LBCookieStickinessPolicy struct { // The name for the policy being created. The name must be unique within the // set of policies for this load balancer. PolicyName *string `type:"string"` - - metadataLBCookieStickinessPolicy `json:"-" xml:"-"` -} - -type metadataLBCookieStickinessPolicy struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2354,6 +2134,8 @@ func (s LBCookieStickinessPolicy) GoString() string { // Balancing, see Listener Configurations for Elastic Load Balancing (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-listener-config.html) // in the Elastic Load Balancing Developer Guide. type Listener struct { + _ struct{} `type:"structure"` + // The port on which the instance is listening. InstancePort *int64 `min:"1" type:"integer" required:"true"` @@ -2381,12 +2163,6 @@ type Listener struct { // The Amazon Resource Name (ARN) of the server certificate. SSLCertificateId *string `type:"string"` - - metadataListener `json:"-" xml:"-"` -} - -type metadataListener struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2401,6 +2177,8 @@ func (s Listener) GoString() string { // The policies enabled for a listener. type ListenerDescription struct { + _ struct{} `type:"structure"` + // Information about a listener. // // For information about the protocols and the ports supported by Elastic Load @@ -2410,12 +2188,6 @@ type ListenerDescription struct { // The policies. If there are no policies enabled, the list is empty. PolicyNames []*string `type:"list"` - - metadataListenerDescription `json:"-" xml:"-"` -} - -type metadataListenerDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2430,6 +2202,8 @@ func (s ListenerDescription) GoString() string { // The attributes for a load balancer. type LoadBalancerAttributes struct { + _ struct{} `type:"structure"` + // If enabled, the load balancer captures detailed information of all requests // and delivers the information to the Amazon S3 bucket that you specify. // @@ -2463,12 +2237,6 @@ type LoadBalancerAttributes struct { // For more information, see Enable Cross-Zone Load Balancing (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-disable-crosszone-lb.html) // in the Elastic Load Balancing Developer Guide. CrossZoneLoadBalancing *CrossZoneLoadBalancing `type:"structure"` - - metadataLoadBalancerAttributes `json:"-" xml:"-"` -} - -type metadataLoadBalancerAttributes struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2483,6 +2251,8 @@ func (s LoadBalancerAttributes) GoString() string { // Information about a load balancer. type LoadBalancerDescription struct { + _ struct{} `type:"structure"` + // The Availability Zones for the load balancer. AvailabilityZones []*string `type:"list"` @@ -2544,12 +2314,6 @@ type LoadBalancerDescription struct { // The ID of the VPC for the load balancer. VPCId *string `type:"string"` - - metadataLoadBalancerDescription `json:"-" xml:"-"` -} - -type metadataLoadBalancerDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2563,17 +2327,13 @@ func (s LoadBalancerDescription) GoString() string { } type ModifyLoadBalancerAttributesInput struct { + _ struct{} `type:"structure"` + // The attributes of the load balancer. LoadBalancerAttributes *LoadBalancerAttributes `type:"structure" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataModifyLoadBalancerAttributesInput `json:"-" xml:"-"` -} - -type metadataModifyLoadBalancerAttributesInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2587,17 +2347,13 @@ func (s ModifyLoadBalancerAttributesInput) GoString() string { } type ModifyLoadBalancerAttributesOutput struct { + _ struct{} `type:"structure"` + // The attributes for a load balancer. LoadBalancerAttributes *LoadBalancerAttributes `type:"structure"` // The name of the load balancer. LoadBalancerName *string `type:"string"` - - metadataModifyLoadBalancerAttributesOutput `json:"-" xml:"-"` -} - -type metadataModifyLoadBalancerAttributesOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2612,6 +2368,8 @@ func (s ModifyLoadBalancerAttributesOutput) GoString() string { // The policies for a load balancer. type Policies struct { + _ struct{} `type:"structure"` + // The stickiness policies created using CreateAppCookieStickinessPolicy. AppCookieStickinessPolicies []*AppCookieStickinessPolicy `type:"list"` @@ -2620,12 +2378,6 @@ type Policies struct { // The policies other than the stickiness policies. OtherPolicies []*string `type:"list"` - - metadataPolicies `json:"-" xml:"-"` -} - -type metadataPolicies struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2640,17 +2392,13 @@ func (s Policies) GoString() string { // Information about a policy attribute. type PolicyAttribute struct { + _ struct{} `type:"structure"` + // The name of the attribute. AttributeName *string `type:"string"` // The value of the attribute. AttributeValue *string `type:"string"` - - metadataPolicyAttribute `json:"-" xml:"-"` -} - -type metadataPolicyAttribute struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2665,17 +2413,13 @@ func (s PolicyAttribute) GoString() string { // Information about a policy attribute. type PolicyAttributeDescription struct { + _ struct{} `type:"structure"` + // The name of the attribute. AttributeName *string `type:"string"` // The value of the attribute. AttributeValue *string `type:"string"` - - metadataPolicyAttributeDescription `json:"-" xml:"-"` -} - -type metadataPolicyAttributeDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2690,6 +2434,8 @@ func (s PolicyAttributeDescription) GoString() string { // Information about a policy attribute type. type PolicyAttributeTypeDescription struct { + _ struct{} `type:"structure"` + // The name of the attribute. AttributeName *string `type:"string"` @@ -2710,12 +2456,6 @@ type PolicyAttributeTypeDescription struct { // A description of the attribute. Description *string `type:"string"` - - metadataPolicyAttributeTypeDescription `json:"-" xml:"-"` -} - -type metadataPolicyAttributeTypeDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2730,6 +2470,8 @@ func (s PolicyAttributeTypeDescription) GoString() string { // Information about a policy. type PolicyDescription struct { + _ struct{} `type:"structure"` + // The policy attributes. PolicyAttributeDescriptions []*PolicyAttributeDescription `type:"list"` @@ -2738,12 +2480,6 @@ type PolicyDescription struct { // The name of the policy type. PolicyTypeName *string `type:"string"` - - metadataPolicyDescription `json:"-" xml:"-"` -} - -type metadataPolicyDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2758,6 +2494,8 @@ func (s PolicyDescription) GoString() string { // Information about a policy type. type PolicyTypeDescription struct { + _ struct{} `type:"structure"` + // A description of the policy type. Description *string `type:"string"` @@ -2767,12 +2505,6 @@ type PolicyTypeDescription struct { // The name of the policy type. PolicyTypeName *string `type:"string"` - - metadataPolicyTypeDescription `json:"-" xml:"-"` -} - -type metadataPolicyTypeDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2786,17 +2518,13 @@ func (s PolicyTypeDescription) GoString() string { } type RegisterInstancesWithLoadBalancerInput struct { + _ struct{} `type:"structure"` + // The IDs of the instances. Instances []*Instance `type:"list" required:"true"` // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` - - metadataRegisterInstancesWithLoadBalancerInput `json:"-" xml:"-"` -} - -type metadataRegisterInstancesWithLoadBalancerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2810,14 +2538,10 @@ func (s RegisterInstancesWithLoadBalancerInput) GoString() string { } type RegisterInstancesWithLoadBalancerOutput struct { + _ struct{} `type:"structure"` + // The updated list of instances for the load balancer. Instances []*Instance `type:"list"` - - metadataRegisterInstancesWithLoadBalancerOutput `json:"-" xml:"-"` -} - -type metadataRegisterInstancesWithLoadBalancerOutput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2831,18 +2555,14 @@ func (s RegisterInstancesWithLoadBalancerOutput) GoString() string { } type RemoveTagsInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. You can specify a maximum of one load balancer // name. LoadBalancerNames []*string `type:"list" required:"true"` // The list of tag keys to remove. Tags []*TagKeyOnly `min:"1" type:"list" required:"true"` - - metadataRemoveTagsInput `json:"-" xml:"-"` -} - -type metadataRemoveTagsInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2856,11 +2576,7 @@ func (s RemoveTagsInput) GoString() string { } type RemoveTagsOutput struct { - metadataRemoveTagsOutput `json:"-" xml:"-"` -} - -type metadataRemoveTagsOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2874,6 +2590,8 @@ func (s RemoveTagsOutput) GoString() string { } type SetLoadBalancerListenerSSLCertificateInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` @@ -2882,12 +2600,6 @@ type SetLoadBalancerListenerSSLCertificateInput struct { // The Amazon Resource Name (ARN) of the SSL certificate. SSLCertificateId *string `type:"string" required:"true"` - - metadataSetLoadBalancerListenerSSLCertificateInput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerListenerSSLCertificateInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2901,11 +2613,7 @@ func (s SetLoadBalancerListenerSSLCertificateInput) GoString() string { } type SetLoadBalancerListenerSSLCertificateOutput struct { - metadataSetLoadBalancerListenerSSLCertificateOutput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerListenerSSLCertificateOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2919,6 +2627,8 @@ func (s SetLoadBalancerListenerSSLCertificateOutput) GoString() string { } type SetLoadBalancerPoliciesForBackendServerInput struct { + _ struct{} `type:"structure"` + // The port number associated with the back-end server. InstancePort *int64 `type:"integer" required:"true"` @@ -2928,12 +2638,6 @@ type SetLoadBalancerPoliciesForBackendServerInput struct { // The names of the policies. If the list is empty, then all current polices // are removed from the back-end server. PolicyNames []*string `type:"list" required:"true"` - - metadataSetLoadBalancerPoliciesForBackendServerInput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerPoliciesForBackendServerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2947,11 +2651,7 @@ func (s SetLoadBalancerPoliciesForBackendServerInput) GoString() string { } type SetLoadBalancerPoliciesForBackendServerOutput struct { - metadataSetLoadBalancerPoliciesForBackendServerOutput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerPoliciesForBackendServerOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -2965,6 +2665,8 @@ func (s SetLoadBalancerPoliciesForBackendServerOutput) GoString() string { } type SetLoadBalancerPoliciesOfListenerInput struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string" required:"true"` @@ -2974,12 +2676,6 @@ type SetLoadBalancerPoliciesOfListenerInput struct { // The names of the policies. If the list is empty, the current policy is removed // from the listener. PolicyNames []*string `type:"list" required:"true"` - - metadataSetLoadBalancerPoliciesOfListenerInput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerPoliciesOfListenerInput struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -2993,11 +2689,7 @@ func (s SetLoadBalancerPoliciesOfListenerInput) GoString() string { } type SetLoadBalancerPoliciesOfListenerOutput struct { - metadataSetLoadBalancerPoliciesOfListenerOutput `json:"-" xml:"-"` -} - -type metadataSetLoadBalancerPoliciesOfListenerOutput struct { - SDKShapeTraits bool `type:"structure"` + _ struct{} `type:"structure"` } // String returns the string representation @@ -3012,17 +2704,13 @@ func (s SetLoadBalancerPoliciesOfListenerOutput) GoString() string { // Information about a source security group. type SourceSecurityGroup struct { + _ struct{} `type:"structure"` + // The name of the security group. GroupName *string `type:"string"` // The owner of the security group. OwnerAlias *string `type:"string"` - - metadataSourceSecurityGroup `json:"-" xml:"-"` -} - -type metadataSourceSecurityGroup struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3037,17 +2725,13 @@ func (s SourceSecurityGroup) GoString() string { // Information about a tag. type Tag struct { + _ struct{} `type:"structure"` + // The key of the tag. Key *string `min:"1" type:"string" required:"true"` // The value of the tag. Value *string `type:"string"` - - metadataTag `json:"-" xml:"-"` -} - -type metadataTag struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3062,17 +2746,13 @@ func (s Tag) GoString() string { // The tags associated with a load balancer. type TagDescription struct { + _ struct{} `type:"structure"` + // The name of the load balancer. LoadBalancerName *string `type:"string"` // The tags. Tags []*Tag `min:"1" type:"list"` - - metadataTagDescription `json:"-" xml:"-"` -} - -type metadataTagDescription struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation @@ -3087,14 +2767,10 @@ func (s TagDescription) GoString() string { // The key of a tag. type TagKeyOnly struct { + _ struct{} `type:"structure"` + // The name of the key. Key *string `min:"1" type:"string"` - - metadataTagKeyOnly `json:"-" xml:"-"` -} - -type metadataTagKeyOnly struct { - SDKShapeTraits bool `type:"structure"` } // String returns the string representation