From 109152bd7d65e5861d7d31350a9abe8b600cc3b5 Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 8 Sep 2016 15:24:31 +0100 Subject: [PATCH] Bump AWS SDK version to 1.4.7 --- vendor/github.com/aws/aws-sdk-go/Makefile | 7 +- .../aws/aws-sdk-go/aws/awsutil/copy.go | 10 +- .../aws/aws-sdk-go/aws/client/client.go | 23 +- .../aws/aws-sdk-go/aws/session/doc.go | 6 - .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../private/protocol/json/jsonutil/build.go | 2 +- .../service/applicationautoscaling/api.go | 133 +- .../service/applicationautoscaling/service.go | 13 +- .../aws/aws-sdk-go/service/autoscaling/api.go | 28 +- .../aws/aws-sdk-go/service/cloudfront/api.go | 169 +- .../aws-sdk-go/service/cloudfront/service.go | 2 +- .../aws/aws-sdk-go/service/ec2/api.go | 881 ++++- .../aws/aws-sdk-go/service/ecr/api.go | 10 + .../aws/aws-sdk-go/service/ecs/waiters.go | 2 +- .../aws/aws-sdk-go/service/iam/api.go | 12 +- .../aws/aws-sdk-go/service/opsworks/api.go | 12 +- .../aws-sdk-go/service/opsworks/service.go | 34 +- .../aws/aws-sdk-go/service/rds/api.go | 291 +- .../aws-sdk-go/service/redshift/waiters.go | 4 +- .../aws/aws-sdk-go/service/route53/api.go | 3104 +++++++++++------ .../aws/aws-sdk-go/service/sns/api.go | 154 +- .../aws/aws-sdk-go/service/ssm/api.go | 18 +- .../aws/aws-sdk-go/service/ssm/service.go | 12 +- vendor/vendor.json | 598 ++-- 24 files changed, 3701 insertions(+), 1826 deletions(-) diff --git a/vendor/github.com/aws/aws-sdk-go/Makefile b/vendor/github.com/aws/aws-sdk-go/Makefile index e4b5a4791..caa52d20a 100644 --- a/vendor/github.com/aws/aws-sdk-go/Makefile +++ b/vendor/github.com/aws/aws-sdk-go/Makefile @@ -144,9 +144,12 @@ bench-protocol: docs: @echo "generate SDK docs" - rm -rf doc && bundle install && bundle exec yard @# This env variable, DOCS, is for internal use - @if [ -n "$(AWS_DOC_GEN_TOOL)" ]; then echo "For internal use. Subject to change."; $(AWS_DOC_GEN_TOOL) `pwd`; fi + @if [ -z ${AWS_DOC_GEN_TOOL} ]; then\ + rm -rf doc && bundle install && bundle exec yard;\ + else\ + $(AWS_DOC_GEN_TOOL) `pwd`;\ + fi api_info: @go run private/model/cli/api-info/api-info.go diff --git a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go index 8429470b9..1a3d106d5 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go @@ -3,6 +3,7 @@ package awsutil import ( "io" "reflect" + "time" ) // Copy deeply copies a src structure to dst. Useful for copying request and @@ -49,7 +50,14 @@ func rcopy(dst, src reflect.Value, root bool) { } else { e := src.Type().Elem() if dst.CanSet() && !src.IsNil() { - dst.Set(reflect.New(e)) + if _, ok := src.Interface().(*time.Time); !ok { + dst.Set(reflect.New(e)) + } else { + tempValue := reflect.New(e) + tempValue.Elem().Set(src.Elem()) + // Sets time.Time's unexported values + dst.Set(tempValue) + } } if src.Elem().IsValid() { // Keep the current root state since the depth hasn't changed diff --git a/vendor/github.com/aws/aws-sdk-go/aws/client/client.go b/vendor/github.com/aws/aws-sdk-go/aws/client/client.go index c8d0564d8..4003c04b0 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/client/client.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/client/client.go @@ -87,9 +87,18 @@ const logReqMsg = `DEBUG: Request %s/%s Details: %s -----------------------------------------------------` +const logReqErrMsg = `DEBUG ERROR: Request %s/%s: +---[ REQUEST DUMP ERROR ]----------------------------- +%s +-----------------------------------------------------` + func logRequest(r *request.Request) { logBody := r.Config.LogLevel.Matches(aws.LogDebugWithHTTPBody) - dumpedBody, _ := httputil.DumpRequestOut(r.HTTPRequest, logBody) + dumpedBody, err := httputil.DumpRequestOut(r.HTTPRequest, logBody) + if err != nil { + r.Config.Logger.Log(fmt.Sprintf(logReqErrMsg, r.ClientInfo.ServiceName, r.Operation.Name, err)) + return + } if logBody { // Reset the request body because dumpRequest will re-wrap the r.HTTPRequest's @@ -107,11 +116,21 @@ const logRespMsg = `DEBUG: Response %s/%s Details: %s -----------------------------------------------------` +const logRespErrMsg = `DEBUG ERROR: Response %s/%s: +---[ RESPONSE DUMP ERROR ]----------------------------- +%s +-----------------------------------------------------` + func logResponse(r *request.Request) { var msg = "no response data" if r.HTTPResponse != nil { logBody := r.Config.LogLevel.Matches(aws.LogDebugWithHTTPBody) - dumpedBody, _ := httputil.DumpResponse(r.HTTPResponse, logBody) + dumpedBody, err := httputil.DumpResponse(r.HTTPResponse, logBody) + if err != nil { + r.Config.Logger.Log(fmt.Sprintf(logRespErrMsg, r.ClientInfo.ServiceName, r.Operation.Name, err)) + return + } + msg = string(dumpedBody) } else if r.Error != nil { msg = r.Error.Error() diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go b/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go index 4ad78d7f3..097d3237b 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go @@ -85,12 +85,6 @@ override the shared config state (AWS_SDK_LOAD_CONFIG). SharedConfigState: SharedConfigEnable, }) -Deprecated "New" function - -The New session function has been deprecated because it does not provide good -way to return errors that occur when loading the configuration files and values. -Because of this, the NewWithError - Adding Handlers You can add handlers to a session for processing HTTP requests. All service diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go index 921a0e382..85a8a1567 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/version.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.4.2" +const SDKVersion = "1.4.7" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go index aedc4440f..4504efe2b 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go @@ -160,7 +160,7 @@ func (sv sortedValues) Less(i, j int) bool { return sv[i].String() < sv[j].Strin func buildMap(value reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) error { buf.WriteString("{") - var sv sortedValues = value.MapKeys() + sv := sortedValues(value.MapKeys()) sort.Sort(sv) for i, k := range sv { diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go index 754ff5d36..e606a1fd6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go @@ -57,7 +57,8 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling // operation. // // Deleting a policy deletes the underlying alarm action, but does not delete -// the CloudWatch alarm, even if it no longer has an associated action. +// the CloudWatch alarm associated with the scaling policy, even if it no longer +// has an associated action. // // To create a new scaling policy or update an existing one, see PutScalingPolicy. func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) { @@ -482,14 +483,11 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc } // Registers or updates a scalable target. A scalable target is a resource that -// can be scaled up or down with Application Auto Scaling. After you have registered -// a scalable target, you can use this command to update the minimum and maximum +// can be scaled out or in with Application Auto Scaling. After you have registered +// a scalable target, you can use this operation to update the minimum and maximum // values for your scalable dimension. // -// At this time, Application Auto Scaling only supports scaling Amazon ECS -// services. -// -// After you register a scalable target with Application Auto Scaling, you +// After you register a scalable target with Application Auto Scaling, you // can create and apply scaling policies to it with PutScalingPolicy. You can // view the existing scaling policies for a service namespace with DescribeScalableTargets. // If you are no longer using a scalable target, you can deregister it with @@ -527,14 +525,18 @@ type DeleteScalingPolicyInput struct { // The name of the scaling policy to delete. PolicyName *string `min:"1" type:"string" required:"true"` - // The unique identifier string for the resource associated with the scaling - // policy. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scaling policy. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling policy. The scalable dimension // contains the service namespace, resource type, and scaling property, such - // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service. + // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service, + // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon + // EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling policy is associated with. @@ -598,15 +600,18 @@ func (s DeleteScalingPolicyOutput) GoString() string { type DeregisterScalableTargetInput struct { _ struct{} `type:"structure"` - // The unique identifier string for the resource associated with the scalable - // target. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scalable target. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scalable target. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated @@ -680,17 +685,20 @@ type DescribeScalableTargetsInput struct { // return. NextToken *string `type:"string"` - // The unique identifier string for the resource associated with the scalable - // target. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scalable target. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. // If you specify a scalable dimension, you must also specify a resource ID. ResourceIds []*string `type:"list"` // The scalable dimension associated with the scalable target. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. If you specify a scalable dimension, you must also specify a - // resource ID. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. If you specify a scalable dimension, + // you must also specify a resource ID. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated @@ -764,17 +772,21 @@ type DescribeScalingActivitiesInput struct { // return. NextToken *string `type:"string"` - // The unique identifier string for the resource associated with the scaling - // activity. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scaling activity. For Amazon ECS services, the resource type is + // services, and the identifier is the cluster name and service name; for example, + // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource + // type is spot-fleet-request, and the identifier is the Spot fleet request + // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. // If you specify a scalable dimension, you must also specify a resource ID. ResourceId *string `min:"1" type:"string"` // The scalable dimension associated with the scaling activity. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. If you specify a scalable dimension, you must also specify a - // resource ID. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. If you specify a scalable dimension, + // you must also specify a resource ID. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling activity is associated @@ -855,16 +867,20 @@ type DescribeScalingPoliciesInput struct { PolicyNames []*string `type:"list"` // The unique resource identifier string of the scalable target that the scaling - // policy is associated with. For Amazon ECS services, this value is the resource - // type, followed by the cluster name and service name, such as service/default/sample-webapp. + // policy is associated with. For Amazon ECS services, the resource type is + // services, and the identifier is the cluster name and service name; for example, + // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource + // type is spot-fleet-request, and the identifier is the Spot fleet request + // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. // If you specify a scalable dimension, you must also specify a resource ID. ResourceId *string `min:"1" type:"string"` // The scalable dimension of the scalable target that the scaling policy is // associated with. The scalable dimension contains the service namespace, resource // type, and scaling property, such as ecs:service:DesiredCount for the desired - // task count of an Amazon ECS service. If you specify a scalable dimension, - // you must also specify a resource ID. + // task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity + // for the target capacity of an Amazon EC2 Spot fleet request. If you specify + // a scalable dimension, you must also specify a resource ID. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The AWS service namespace of the scalable target that the scaling policy @@ -933,14 +949,17 @@ type PutScalingPolicyInput struct { PolicyType *string `type:"string" enum:"PolicyType"` // The unique resource identifier string for the scalable target that this scaling - // policy applies to. For Amazon ECS services, this value is the resource type, - // followed by the cluster name and service name, such as service/default/sample-webapp. + // policy applies to. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension of the scalable target that this scaling policy applies // to. The scalable dimension contains the service namespace, resource type, // and scaling property, such as ecs:service:DesiredCount for the desired task - // count of an Amazon ECS service. + // count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity + // for the target capacity of an Amazon EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The AWS service namespace of the scalable target that this scaling policy @@ -1028,9 +1047,11 @@ type RegisterScalableTargetInput struct { // scalable target, and it is optional if you are updating an existing one. MinCapacity *int64 `type:"integer"` - // The unique identifier string for the resource to associate with the scalable - // target. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource to associate + // with the scalable target. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The ARN of the IAM role that allows Application Auto Scaling to modify your @@ -1042,7 +1063,8 @@ type RegisterScalableTargetInput struct { // The scalable dimension associated with the scalable target. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated @@ -1116,9 +1138,11 @@ type ScalableTarget struct { // scaling activities. MinCapacity *int64 `type:"integer" required:"true"` - // The unique identifier string for the resource associated with the scalable - // target. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scalable target. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The ARN of the IAM role that allows Application Auto Scaling to modify your @@ -1128,7 +1152,8 @@ type ScalableTarget struct { // The scalable dimension associated with the scalable target. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated @@ -1166,15 +1191,19 @@ type ScalingActivity struct { // The Unix timestamp for when the scaling activity ended. EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The unique identifier string for the resource associated with the scaling - // activity. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scaling activity. For Amazon ECS services, the resource type is + // services, and the identifier is the cluster name and service name; for example, + // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource + // type is spot-fleet-request, and the identifier is the Spot fleet request + // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling activity. The scalable // dimension contains the service namespace, resource type, and scaling property, // such as ecs:service:DesiredCount for the desired task count of an Amazon - // ECS service. + // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity + // of an Amazon EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling activity is associated @@ -1221,14 +1250,18 @@ type ScalingPolicy struct { // The scaling policy type. PolicyType *string `type:"string" required:"true" enum:"PolicyType"` - // The unique identifier string for the resource associated with the scaling - // policy. For Amazon ECS services, this value is the resource type, followed - // by the cluster name and service name, such as service/default/sample-webapp. + // The resource type and unique identifier string for the resource associated + // with the scaling policy. For Amazon ECS services, the resource type is services, + // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. + // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, + // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling policy. The scalable dimension // contains the service namespace, resource type, and scaling property, such - // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service. + // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service, + // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon + // EC2 Spot fleet request. ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling policy is associated with. @@ -1429,6 +1462,8 @@ const ( const ( // @enum ScalableDimension ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount" + // @enum ScalableDimension + ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity" ) const ( @@ -1449,4 +1484,6 @@ const ( const ( // @enum ServiceNamespace ServiceNamespaceEcs = "ecs" + // @enum ServiceNamespace + ServiceNamespaceEc2 = "ec2" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go index c56efaded..348b5aa7b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go @@ -15,14 +15,15 @@ import ( // elastic AWS resources. With Application Auto Scaling, you can automatically // scale your AWS resources, with an experience similar to that of Auto Scaling. // -// At this time, Application Auto Scaling only supports scaling Amazon ECS -// services. +// Application Auto Scaling supports scaling the following AWS resources: // -// For example, you can use Application Auto Scaling to accomplish the following -// tasks: +// Amazon ECS services // -// Define scaling policies for automatically adjusting your application’s -// resources +// Amazon EC2 Spot fleet instances +// +// You can use Application Auto Scaling to accomplish the following tasks: +// +// Define scaling policies for automatically adjusting your AWS resources // // Scale your resources in response to CloudWatch alarms // diff --git a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go index 3de964fe3..000db5be4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go @@ -2149,8 +2149,7 @@ func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsColle return } -// Disables monitoring of the specified metrics for the specified Auto Scaling -// group. +// Disables group metrics for the specified Auto Scaling group. func (c *AutoScaling) DisableMetricsCollection(input *DisableMetricsCollectionInput) (*DisableMetricsCollectionOutput, error) { req, out := c.DisableMetricsCollectionRequest(input) err := req.Send() @@ -2200,11 +2199,9 @@ func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollect return } -// Enables monitoring of the specified metrics for the specified Auto Scaling -// group. -// -// You can only enable metrics collection if InstanceMonitoring in the launch -// configuration for the group is set to True. +// Enables group metrics for the specified Auto Scaling group. For more information, +// see Monitoring Your Auto Scaling Groups and Instances (http://docs.aws.amazon.com/AutoScaling/latest/userguide/as-instance-monitoring.html) +// in the Auto Scaling User Guide. func (c *AutoScaling) EnableMetricsCollection(input *EnableMetricsCollectionInput) (*EnableMetricsCollectionOutput, error) { req, out := c.EnableMetricsCollectionRequest(input) err := req.Send() @@ -3721,15 +3718,8 @@ type CreateLaunchConfigurationInput struct { // in the Auto Scaling User Guide. InstanceId *string `min:"1" type:"string"` - // Enables detailed monitoring if it is disabled. Detailed monitoring is enabled - // by default. - // - // When detailed monitoring is enabled, Amazon CloudWatch generates metrics - // every minute and your account is charged a fee. When you disable detailed - // monitoring, by specifying False, CloudWatch generates metrics every 5 minutes. - // For more information, see Monitoring Your Auto Scaling Instances and Groups - // (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-instance-monitoring.html) - // in the Auto Scaling User Guide. + // Enables detailed monitoring (true) or basic monitoring (false) for the Auto + // Scaling instances. InstanceMonitoring *InstanceMonitoring `type:"structure"` // The instance type of the EC2 instance. For information about available instance @@ -5528,9 +5518,6 @@ type EnableMetricsCollectionInput struct { // GroupTerminatingInstances // // GroupTotalInstances - // - // Note that the GroupStandbyInstances metric is not enabled by default. - // You must explicitly request this metric. Metrics []*string `type:"list"` } @@ -6062,7 +6049,8 @@ type LaunchConfiguration struct { // The ID of the Amazon Machine Image (AMI). ImageId *string `min:"1" type:"string" required:"true"` - // Controls whether instances in this group are launched with detailed monitoring. + // Controls whether instances in this group are launched with detailed (true) + // or basic (false) monitoring. InstanceMonitoring *InstanceMonitoring `type:"structure"` // The instance type for the instances. diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go index b6058d77a..0eb2d982a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restxml" ) -const opCreateCloudFrontOriginAccessIdentity = "CreateCloudFrontOriginAccessIdentity2016_08_01" +const opCreateCloudFrontOriginAccessIdentity = "CreateCloudFrontOriginAccessIdentity2016_08_20" // CreateCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the // client's request for the CreateCloudFrontOriginAccessIdentity operation. The "output" return @@ -41,7 +41,7 @@ func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCl op := &request.Operation{ Name: opCreateCloudFrontOriginAccessIdentity, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront", } if input == nil { @@ -61,7 +61,7 @@ func (c *CloudFront) CreateCloudFrontOriginAccessIdentity(input *CreateCloudFron return out, err } -const opCreateDistribution = "CreateDistribution2016_08_01" +const opCreateDistribution = "CreateDistribution2016_08_20" // CreateDistributionRequest generates a "aws/request.Request" representing the // client's request for the CreateDistribution operation. The "output" return @@ -89,7 +89,7 @@ func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) ( op := &request.Operation{ Name: opCreateDistribution, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/distribution", + HTTPPath: "/2016-08-20/distribution", } if input == nil { @@ -109,7 +109,7 @@ func (c *CloudFront) CreateDistribution(input *CreateDistributionInput) (*Create return out, err } -const opCreateDistributionWithTags = "CreateDistributionWithTags2016_08_01" +const opCreateDistributionWithTags = "CreateDistributionWithTags2016_08_20" // CreateDistributionWithTagsRequest generates a "aws/request.Request" representing the // client's request for the CreateDistributionWithTags operation. The "output" return @@ -137,7 +137,7 @@ func (c *CloudFront) CreateDistributionWithTagsRequest(input *CreateDistribution op := &request.Operation{ Name: opCreateDistributionWithTags, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/distribution?WithTags", + HTTPPath: "/2016-08-20/distribution?WithTags", } if input == nil { @@ -157,7 +157,7 @@ func (c *CloudFront) CreateDistributionWithTags(input *CreateDistributionWithTag return out, err } -const opCreateInvalidation = "CreateInvalidation2016_08_01" +const opCreateInvalidation = "CreateInvalidation2016_08_20" // CreateInvalidationRequest generates a "aws/request.Request" representing the // client's request for the CreateInvalidation operation. The "output" return @@ -185,7 +185,7 @@ func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) ( op := &request.Operation{ Name: opCreateInvalidation, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/distribution/{DistributionId}/invalidation", + HTTPPath: "/2016-08-20/distribution/{DistributionId}/invalidation", } if input == nil { @@ -205,7 +205,7 @@ func (c *CloudFront) CreateInvalidation(input *CreateInvalidationInput) (*Create return out, err } -const opCreateStreamingDistribution = "CreateStreamingDistribution2016_08_01" +const opCreateStreamingDistribution = "CreateStreamingDistribution2016_08_20" // CreateStreamingDistributionRequest generates a "aws/request.Request" representing the // client's request for the CreateStreamingDistribution operation. The "output" return @@ -233,7 +233,7 @@ func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDi op := &request.Operation{ Name: opCreateStreamingDistribution, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/streaming-distribution", + HTTPPath: "/2016-08-20/streaming-distribution", } if input == nil { @@ -253,7 +253,7 @@ func (c *CloudFront) CreateStreamingDistribution(input *CreateStreamingDistribut return out, err } -const opCreateStreamingDistributionWithTags = "CreateStreamingDistributionWithTags2016_08_01" +const opCreateStreamingDistributionWithTags = "CreateStreamingDistributionWithTags2016_08_20" // CreateStreamingDistributionWithTagsRequest generates a "aws/request.Request" representing the // client's request for the CreateStreamingDistributionWithTags operation. The "output" return @@ -281,7 +281,7 @@ func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStr op := &request.Operation{ Name: opCreateStreamingDistributionWithTags, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/streaming-distribution?WithTags", + HTTPPath: "/2016-08-20/streaming-distribution?WithTags", } if input == nil { @@ -301,7 +301,7 @@ func (c *CloudFront) CreateStreamingDistributionWithTags(input *CreateStreamingD return out, err } -const opDeleteCloudFrontOriginAccessIdentity = "DeleteCloudFrontOriginAccessIdentity2016_08_01" +const opDeleteCloudFrontOriginAccessIdentity = "DeleteCloudFrontOriginAccessIdentity2016_08_20" // DeleteCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the // client's request for the DeleteCloudFrontOriginAccessIdentity operation. The "output" return @@ -329,7 +329,7 @@ func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCl op := &request.Operation{ Name: opDeleteCloudFrontOriginAccessIdentity, HTTPMethod: "DELETE", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront/{Id}", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront/{Id}", } if input == nil { @@ -351,7 +351,7 @@ func (c *CloudFront) DeleteCloudFrontOriginAccessIdentity(input *DeleteCloudFron return out, err } -const opDeleteDistribution = "DeleteDistribution2016_08_01" +const opDeleteDistribution = "DeleteDistribution2016_08_20" // DeleteDistributionRequest generates a "aws/request.Request" representing the // client's request for the DeleteDistribution operation. The "output" return @@ -379,7 +379,7 @@ func (c *CloudFront) DeleteDistributionRequest(input *DeleteDistributionInput) ( op := &request.Operation{ Name: opDeleteDistribution, HTTPMethod: "DELETE", - HTTPPath: "/2016-08-01/distribution/{Id}", + HTTPPath: "/2016-08-20/distribution/{Id}", } if input == nil { @@ -401,7 +401,7 @@ func (c *CloudFront) DeleteDistribution(input *DeleteDistributionInput) (*Delete return out, err } -const opDeleteStreamingDistribution = "DeleteStreamingDistribution2016_08_01" +const opDeleteStreamingDistribution = "DeleteStreamingDistribution2016_08_20" // DeleteStreamingDistributionRequest generates a "aws/request.Request" representing the // client's request for the DeleteStreamingDistribution operation. The "output" return @@ -429,7 +429,7 @@ func (c *CloudFront) DeleteStreamingDistributionRequest(input *DeleteStreamingDi op := &request.Operation{ Name: opDeleteStreamingDistribution, HTTPMethod: "DELETE", - HTTPPath: "/2016-08-01/streaming-distribution/{Id}", + HTTPPath: "/2016-08-20/streaming-distribution/{Id}", } if input == nil { @@ -451,7 +451,7 @@ func (c *CloudFront) DeleteStreamingDistribution(input *DeleteStreamingDistribut return out, err } -const opGetCloudFrontOriginAccessIdentity = "GetCloudFrontOriginAccessIdentity2016_08_01" +const opGetCloudFrontOriginAccessIdentity = "GetCloudFrontOriginAccessIdentity2016_08_20" // GetCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the // client's request for the GetCloudFrontOriginAccessIdentity operation. The "output" return @@ -479,7 +479,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityRequest(input *GetCloudFro op := &request.Operation{ Name: opGetCloudFrontOriginAccessIdentity, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront/{Id}", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront/{Id}", } if input == nil { @@ -499,7 +499,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentity(input *GetCloudFrontOrigi return out, err } -const opGetCloudFrontOriginAccessIdentityConfig = "GetCloudFrontOriginAccessIdentityConfig2016_08_01" +const opGetCloudFrontOriginAccessIdentityConfig = "GetCloudFrontOriginAccessIdentityConfig2016_08_20" // GetCloudFrontOriginAccessIdentityConfigRequest generates a "aws/request.Request" representing the // client's request for the GetCloudFrontOriginAccessIdentityConfig operation. The "output" return @@ -527,7 +527,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(input *GetCl op := &request.Operation{ Name: opGetCloudFrontOriginAccessIdentityConfig, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront/{Id}/config", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront/{Id}/config", } if input == nil { @@ -547,7 +547,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfig(input *GetCloudFron return out, err } -const opGetDistribution = "GetDistribution2016_08_01" +const opGetDistribution = "GetDistribution2016_08_20" // GetDistributionRequest generates a "aws/request.Request" representing the // client's request for the GetDistribution operation. The "output" return @@ -575,7 +575,7 @@ func (c *CloudFront) GetDistributionRequest(input *GetDistributionInput) (req *r op := &request.Operation{ Name: opGetDistribution, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distribution/{Id}", + HTTPPath: "/2016-08-20/distribution/{Id}", } if input == nil { @@ -595,7 +595,7 @@ func (c *CloudFront) GetDistribution(input *GetDistributionInput) (*GetDistribut return out, err } -const opGetDistributionConfig = "GetDistributionConfig2016_08_01" +const opGetDistributionConfig = "GetDistributionConfig2016_08_20" // GetDistributionConfigRequest generates a "aws/request.Request" representing the // client's request for the GetDistributionConfig operation. The "output" return @@ -623,7 +623,7 @@ func (c *CloudFront) GetDistributionConfigRequest(input *GetDistributionConfigIn op := &request.Operation{ Name: opGetDistributionConfig, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distribution/{Id}/config", + HTTPPath: "/2016-08-20/distribution/{Id}/config", } if input == nil { @@ -643,7 +643,7 @@ func (c *CloudFront) GetDistributionConfig(input *GetDistributionConfigInput) (* return out, err } -const opGetInvalidation = "GetInvalidation2016_08_01" +const opGetInvalidation = "GetInvalidation2016_08_20" // GetInvalidationRequest generates a "aws/request.Request" representing the // client's request for the GetInvalidation operation. The "output" return @@ -671,7 +671,7 @@ func (c *CloudFront) GetInvalidationRequest(input *GetInvalidationInput) (req *r op := &request.Operation{ Name: opGetInvalidation, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distribution/{DistributionId}/invalidation/{Id}", + HTTPPath: "/2016-08-20/distribution/{DistributionId}/invalidation/{Id}", } if input == nil { @@ -691,7 +691,7 @@ func (c *CloudFront) GetInvalidation(input *GetInvalidationInput) (*GetInvalidat return out, err } -const opGetStreamingDistribution = "GetStreamingDistribution2016_08_01" +const opGetStreamingDistribution = "GetStreamingDistribution2016_08_20" // GetStreamingDistributionRequest generates a "aws/request.Request" representing the // client's request for the GetStreamingDistribution operation. The "output" return @@ -719,7 +719,7 @@ func (c *CloudFront) GetStreamingDistributionRequest(input *GetStreamingDistribu op := &request.Operation{ Name: opGetStreamingDistribution, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/streaming-distribution/{Id}", + HTTPPath: "/2016-08-20/streaming-distribution/{Id}", } if input == nil { @@ -739,7 +739,7 @@ func (c *CloudFront) GetStreamingDistribution(input *GetStreamingDistributionInp return out, err } -const opGetStreamingDistributionConfig = "GetStreamingDistributionConfig2016_08_01" +const opGetStreamingDistributionConfig = "GetStreamingDistributionConfig2016_08_20" // GetStreamingDistributionConfigRequest generates a "aws/request.Request" representing the // client's request for the GetStreamingDistributionConfig operation. The "output" return @@ -767,7 +767,7 @@ func (c *CloudFront) GetStreamingDistributionConfigRequest(input *GetStreamingDi op := &request.Operation{ Name: opGetStreamingDistributionConfig, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/streaming-distribution/{Id}/config", + HTTPPath: "/2016-08-20/streaming-distribution/{Id}/config", } if input == nil { @@ -787,7 +787,7 @@ func (c *CloudFront) GetStreamingDistributionConfig(input *GetStreamingDistribut return out, err } -const opListCloudFrontOriginAccessIdentities = "ListCloudFrontOriginAccessIdentities2016_08_01" +const opListCloudFrontOriginAccessIdentities = "ListCloudFrontOriginAccessIdentities2016_08_20" // ListCloudFrontOriginAccessIdentitiesRequest generates a "aws/request.Request" representing the // client's request for the ListCloudFrontOriginAccessIdentities operation. The "output" return @@ -815,7 +815,7 @@ func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesRequest(input *ListClou op := &request.Operation{ Name: opListCloudFrontOriginAccessIdentities, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront", Paginator: &request.Paginator{ InputTokens: []string{"Marker"}, OutputTokens: []string{"CloudFrontOriginAccessIdentityList.NextMarker"}, @@ -866,7 +866,7 @@ func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesPages(input *ListCloudF }) } -const opListDistributions = "ListDistributions2016_08_01" +const opListDistributions = "ListDistributions2016_08_20" // ListDistributionsRequest generates a "aws/request.Request" representing the // client's request for the ListDistributions operation. The "output" return @@ -894,7 +894,7 @@ func (c *CloudFront) ListDistributionsRequest(input *ListDistributionsInput) (re op := &request.Operation{ Name: opListDistributions, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distribution", + HTTPPath: "/2016-08-20/distribution", Paginator: &request.Paginator{ InputTokens: []string{"Marker"}, OutputTokens: []string{"DistributionList.NextMarker"}, @@ -945,7 +945,7 @@ func (c *CloudFront) ListDistributionsPages(input *ListDistributionsInput, fn fu }) } -const opListDistributionsByWebACLId = "ListDistributionsByWebACLId2016_08_01" +const opListDistributionsByWebACLId = "ListDistributionsByWebACLId2016_08_20" // ListDistributionsByWebACLIdRequest generates a "aws/request.Request" representing the // client's request for the ListDistributionsByWebACLId operation. The "output" return @@ -973,7 +973,7 @@ func (c *CloudFront) ListDistributionsByWebACLIdRequest(input *ListDistributions op := &request.Operation{ Name: opListDistributionsByWebACLId, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distributionsByWebACLId/{WebACLId}", + HTTPPath: "/2016-08-20/distributionsByWebACLId/{WebACLId}", } if input == nil { @@ -993,7 +993,7 @@ func (c *CloudFront) ListDistributionsByWebACLId(input *ListDistributionsByWebAC return out, err } -const opListInvalidations = "ListInvalidations2016_08_01" +const opListInvalidations = "ListInvalidations2016_08_20" // ListInvalidationsRequest generates a "aws/request.Request" representing the // client's request for the ListInvalidations operation. The "output" return @@ -1021,7 +1021,7 @@ func (c *CloudFront) ListInvalidationsRequest(input *ListInvalidationsInput) (re op := &request.Operation{ Name: opListInvalidations, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/distribution/{DistributionId}/invalidation", + HTTPPath: "/2016-08-20/distribution/{DistributionId}/invalidation", Paginator: &request.Paginator{ InputTokens: []string{"Marker"}, OutputTokens: []string{"InvalidationList.NextMarker"}, @@ -1072,7 +1072,7 @@ func (c *CloudFront) ListInvalidationsPages(input *ListInvalidationsInput, fn fu }) } -const opListStreamingDistributions = "ListStreamingDistributions2016_08_01" +const opListStreamingDistributions = "ListStreamingDistributions2016_08_20" // ListStreamingDistributionsRequest generates a "aws/request.Request" representing the // client's request for the ListStreamingDistributions operation. The "output" return @@ -1100,7 +1100,7 @@ func (c *CloudFront) ListStreamingDistributionsRequest(input *ListStreamingDistr op := &request.Operation{ Name: opListStreamingDistributions, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/streaming-distribution", + HTTPPath: "/2016-08-20/streaming-distribution", Paginator: &request.Paginator{ InputTokens: []string{"Marker"}, OutputTokens: []string{"StreamingDistributionList.NextMarker"}, @@ -1151,7 +1151,7 @@ func (c *CloudFront) ListStreamingDistributionsPages(input *ListStreamingDistrib }) } -const opListTagsForResource = "ListTagsForResource2016_08_01" +const opListTagsForResource = "ListTagsForResource2016_08_20" // ListTagsForResourceRequest generates a "aws/request.Request" representing the // client's request for the ListTagsForResource operation. The "output" return @@ -1179,7 +1179,7 @@ func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) op := &request.Operation{ Name: opListTagsForResource, HTTPMethod: "GET", - HTTPPath: "/2016-08-01/tagging", + HTTPPath: "/2016-08-20/tagging", } if input == nil { @@ -1199,7 +1199,7 @@ func (c *CloudFront) ListTagsForResource(input *ListTagsForResourceInput) (*List return out, err } -const opTagResource = "TagResource2016_08_01" +const opTagResource = "TagResource2016_08_20" // TagResourceRequest generates a "aws/request.Request" representing the // client's request for the TagResource operation. The "output" return @@ -1227,7 +1227,7 @@ func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.R op := &request.Operation{ Name: opTagResource, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/tagging?Operation=Tag", + HTTPPath: "/2016-08-20/tagging?Operation=Tag", } if input == nil { @@ -1249,7 +1249,7 @@ func (c *CloudFront) TagResource(input *TagResourceInput) (*TagResourceOutput, e return out, err } -const opUntagResource = "UntagResource2016_08_01" +const opUntagResource = "UntagResource2016_08_20" // UntagResourceRequest generates a "aws/request.Request" representing the // client's request for the UntagResource operation. The "output" return @@ -1277,7 +1277,7 @@ func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *reque op := &request.Operation{ Name: opUntagResource, HTTPMethod: "POST", - HTTPPath: "/2016-08-01/tagging?Operation=Untag", + HTTPPath: "/2016-08-20/tagging?Operation=Untag", } if input == nil { @@ -1299,7 +1299,7 @@ func (c *CloudFront) UntagResource(input *UntagResourceInput) (*UntagResourceOut return out, err } -const opUpdateCloudFrontOriginAccessIdentity = "UpdateCloudFrontOriginAccessIdentity2016_08_01" +const opUpdateCloudFrontOriginAccessIdentity = "UpdateCloudFrontOriginAccessIdentity2016_08_20" // UpdateCloudFrontOriginAccessIdentityRequest generates a "aws/request.Request" representing the // client's request for the UpdateCloudFrontOriginAccessIdentity operation. The "output" return @@ -1327,7 +1327,7 @@ func (c *CloudFront) UpdateCloudFrontOriginAccessIdentityRequest(input *UpdateCl op := &request.Operation{ Name: opUpdateCloudFrontOriginAccessIdentity, HTTPMethod: "PUT", - HTTPPath: "/2016-08-01/origin-access-identity/cloudfront/{Id}/config", + HTTPPath: "/2016-08-20/origin-access-identity/cloudfront/{Id}/config", } if input == nil { @@ -1347,7 +1347,7 @@ func (c *CloudFront) UpdateCloudFrontOriginAccessIdentity(input *UpdateCloudFron return out, err } -const opUpdateDistribution = "UpdateDistribution2016_08_01" +const opUpdateDistribution = "UpdateDistribution2016_08_20" // UpdateDistributionRequest generates a "aws/request.Request" representing the // client's request for the UpdateDistribution operation. The "output" return @@ -1375,7 +1375,7 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( op := &request.Operation{ Name: opUpdateDistribution, HTTPMethod: "PUT", - HTTPPath: "/2016-08-01/distribution/{Id}/config", + HTTPPath: "/2016-08-20/distribution/{Id}/config", } if input == nil { @@ -1395,7 +1395,7 @@ func (c *CloudFront) UpdateDistribution(input *UpdateDistributionInput) (*Update return out, err } -const opUpdateStreamingDistribution = "UpdateStreamingDistribution2016_08_01" +const opUpdateStreamingDistribution = "UpdateStreamingDistribution2016_08_20" // UpdateStreamingDistributionRequest generates a "aws/request.Request" representing the // client's request for the UpdateStreamingDistribution operation. The "output" return @@ -1423,7 +1423,7 @@ func (c *CloudFront) UpdateStreamingDistributionRequest(input *UpdateStreamingDi op := &request.Operation{ Name: opUpdateStreamingDistribution, HTTPMethod: "PUT", - HTTPPath: "/2016-08-01/streaming-distribution/{Id}/config", + HTTPPath: "/2016-08-20/streaming-distribution/{Id}/config", } if input == nil { @@ -3126,9 +3126,26 @@ type ForwardedValues struct { Headers *Headers `type:"structure"` // Indicates whether you want CloudFront to forward query strings to the origin - // that is associated with this cache behavior. If so, specify true; if not, - // specify false. + // that is associated with this cache behavior and cache based on the query + // string parameters. CloudFront behavior depends on the value of QueryString + // and on the values that you specify for QueryStringCacheKeys, if any: + // + // If you specify true for QueryString and you don't specify any values for + // QueryStringCacheKeys, CloudFront forwards all query string parameters to + // the origin and caches based on all query string parameters. Depending on + // how many query string parameters and values you have, this can adversely + // affect performance because CloudFront must forward more requests to the origin. + // If you specify true for QueryString and you specify one or more values for + // QueryStringCacheKeys, CloudFront forwards all query string parameters to + // the origin, but it only caches based on the query string parameters that + // you specify. If you specify false for QueryString, CloudFront doesn't forward + // any query string parameters to the origin, and doesn't cache based on query + // string parameters. QueryString *bool `type:"boolean" required:"true"` + + // A complex type that contains information about the query string parameters + // that you want CloudFront to use for caching for this cache behavior. + QueryStringCacheKeys *QueryStringCacheKeys `type:"structure"` } // String returns the string representation @@ -3160,6 +3177,11 @@ func (s *ForwardedValues) Validate() error { invalidParams.AddNested("Headers", err.(request.ErrInvalidParams)) } } + if s.QueryStringCacheKeys != nil { + if err := s.QueryStringCacheKeys.Validate(); err != nil { + invalidParams.AddNested("QueryStringCacheKeys", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4557,6 +4579,41 @@ func (s *Paths) Validate() error { return nil } +type QueryStringCacheKeys struct { + _ struct{} `type:"structure"` + + // Optional: A list that contains the query string parameters that you want + // CloudFront to use as a basis for caching for this cache behavior. If Quantity + // is 0, you can omit Items. + Items []*string `locationNameList:"Name" type:"list"` + + // The number of whitelisted query string parameters for this cache behavior. + Quantity *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s QueryStringCacheKeys) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s QueryStringCacheKeys) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *QueryStringCacheKeys) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "QueryStringCacheKeys"} + if s.Quantity == nil { + invalidParams.Add(request.NewErrParamRequired("Quantity")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // A complex type that identifies ways in which you want to restrict distribution // of your content. type Restrictions struct { diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go index d3ef6b076..69298534b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/service.go @@ -55,7 +55,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio ServiceName: ServiceName, SigningRegion: signingRegion, Endpoint: endpoint, - APIVersion: "2016-08-01", + APIVersion: "2016-08-20", }, handlers, ), diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go index bc903ec09..e7f447f24 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -157,7 +157,7 @@ func (c *EC2) AllocateHostsRequest(input *AllocateHostsInput) (req *request.Requ return } -// Allocates a Dedicated host to your account. At minimum you need to specify +// Allocates a Dedicated Host to your account. At minimum you need to specify // the instance size type, Availability Zone, and quantity of hosts you want // to allocate. func (c *EC2) AllocateHosts(input *AllocateHostsInput) (*AllocateHostsOutput, error) { @@ -983,9 +983,8 @@ func (c *EC2) CancelConversionTaskRequest(input *CancelConversionTaskInput) (req // is in the process of transferring the final disk image, the command fails // and returns an exception. // -// For more information, see Using the Command Line Tools to Import Your Virtual -// Machine to Amazon EC2 (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UploadingYourInstancesandVolumes.html) -// in the Amazon Elastic Compute Cloud User Guide. +// For more information, see Importing a Virtual Machine Using the Amazon EC2 +// CLI (http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html). func (c *EC2) CancelConversionTask(input *CancelConversionTaskInput) (*CancelConversionTaskOutput, error) { req, out := c.CancelConversionTaskRequest(input) err := req.Send() @@ -1745,8 +1744,8 @@ func (c *EC2) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInp // // For information about the supported operating systems, image formats, and // known limitations for the types of instances you can export, see Exporting -// EC2 Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ExportingEC2Instances.html) -// in the Amazon Elastic Compute Cloud User Guide. +// an Instance as a VM Using VM Import/Export (http://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html) +// in the VM Import/Export User Guide. func (c *EC2) CreateInstanceExportTask(input *CreateInstanceExportTaskInput) (*CreateInstanceExportTaskOutput, error) { req, out := c.CreateInstanceExportTaskRequest(input) err := req.Send() @@ -2644,7 +2643,7 @@ func (c *EC2) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o } // Adds or overwrites one or more tags for the specified Amazon EC2 resource -// or resources. Each resource can have a maximum of 10 tags. Each tag consists +// or resources. Each resource can have a maximum of 50 tags. Each tag consists // of a key and optional value. Tag keys must be unique per resource. // // For more information about tags, see Tagging Your Resources (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) @@ -4705,9 +4704,7 @@ func (c *EC2) DescribeConversionTasksRequest(input *DescribeConversionTasksInput } // Describes one or more of your conversion tasks. For more information, see -// Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 -// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UploadingYourInstancesandVolumes.html) -// in the Amazon Elastic Compute Cloud User Guide. +// the VM Import/Export User Guide (http://docs.aws.amazon.com/vm-import/latest/userguide/). // // For information about the import manifest referenced by this API action, // see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). @@ -4918,6 +4915,111 @@ func (c *EC2) DescribeFlowLogs(input *DescribeFlowLogsInput) (*DescribeFlowLogsO return out, err } +const opDescribeHostReservationOfferings = "DescribeHostReservationOfferings" + +// DescribeHostReservationOfferingsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeHostReservationOfferings operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeHostReservationOfferings method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeHostReservationOfferingsRequest method. +// req, resp := client.DescribeHostReservationOfferingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *EC2) DescribeHostReservationOfferingsRequest(input *DescribeHostReservationOfferingsInput) (req *request.Request, output *DescribeHostReservationOfferingsOutput) { + op := &request.Operation{ + Name: opDescribeHostReservationOfferings, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeHostReservationOfferingsInput{} + } + + req = c.newRequest(op, input, output) + output = &DescribeHostReservationOfferingsOutput{} + req.Data = output + return +} + +// Describes the Dedicated Host Reservations that are available to purchase. +// +// The results describe all the Dedicated Host Reservation offerings, including +// offerings that may not match the instance family and region of your Dedicated +// Hosts. When purchasing an offering, ensure that the the instance family and +// region of the offering matches that of the Dedicated Host/s it will be associated +// with. For an overview of supported instance types, see Dedicated Hosts Overview +// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html) +// in the Amazon Elastic Compute Cloud User Guide. +func (c *EC2) DescribeHostReservationOfferings(input *DescribeHostReservationOfferingsInput) (*DescribeHostReservationOfferingsOutput, error) { + req, out := c.DescribeHostReservationOfferingsRequest(input) + err := req.Send() + return out, err +} + +const opDescribeHostReservations = "DescribeHostReservations" + +// DescribeHostReservationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeHostReservations operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeHostReservations method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeHostReservationsRequest method. +// req, resp := client.DescribeHostReservationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *EC2) DescribeHostReservationsRequest(input *DescribeHostReservationsInput) (req *request.Request, output *DescribeHostReservationsOutput) { + op := &request.Operation{ + Name: opDescribeHostReservations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeHostReservationsInput{} + } + + req = c.newRequest(op, input, output) + output = &DescribeHostReservationsOutput{} + req.Data = output + return +} + +// Describes Dedicated Host Reservations which are associated with Dedicated +// Hosts in your account. +func (c *EC2) DescribeHostReservations(input *DescribeHostReservationsInput) (*DescribeHostReservationsOutput, error) { + req, out := c.DescribeHostReservationsRequest(input) + err := req.Send() + return out, err +} + const opDescribeHosts = "DescribeHosts" // DescribeHostsRequest generates a "aws/request.Request" representing the @@ -4959,11 +5061,11 @@ func (c *EC2) DescribeHostsRequest(input *DescribeHostsInput) (req *request.Requ return } -// Describes one or more of your Dedicated hosts. +// Describes one or more of your Dedicated Hosts. // -// 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 state released. +// 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 state released. func (c *EC2) DescribeHosts(input *DescribeHostsInput) (*DescribeHostsOutput, error) { req, out := c.DescribeHostsRequest(input) err := req.Send() @@ -8226,9 +8328,10 @@ func (c *EC2) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Reques // Detaches an EBS volume from an instance. Make sure to unmount any file systems // on the device within your operating system before detaching the volume. Failure -// to do so results in the volume being stuck in a busy state while detaching. -// -// If an Amazon EBS volume is the root device of an instance, it can't be detached +// to do so can result in the volume becoming stuck in the busy state while +// detaching. If this happens, detachment can be delayed indefinitely until +// you unmount the volume, force detachment, reboot the instance, or all three. +// If an EBS volume is the root device of an instance, it can't be detached // while the instance is running. To detach the root volume, stop the instance // first. // @@ -8890,6 +8993,59 @@ func (c *EC2) GetConsoleScreenshot(input *GetConsoleScreenshotInput) (*GetConsol return out, err } +const opGetHostReservationPurchasePreview = "GetHostReservationPurchasePreview" + +// GetHostReservationPurchasePreviewRequest generates a "aws/request.Request" representing the +// client's request for the GetHostReservationPurchasePreview operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the GetHostReservationPurchasePreview method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the GetHostReservationPurchasePreviewRequest method. +// req, resp := client.GetHostReservationPurchasePreviewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *EC2) GetHostReservationPurchasePreviewRequest(input *GetHostReservationPurchasePreviewInput) (req *request.Request, output *GetHostReservationPurchasePreviewOutput) { + op := &request.Operation{ + Name: opGetHostReservationPurchasePreview, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetHostReservationPurchasePreviewInput{} + } + + req = c.newRequest(op, input, output) + output = &GetHostReservationPurchasePreviewOutput{} + req.Data = output + return +} + +// Preview a reservation purchase with configurations that match those of your +// Dedicated Host. You must have active Dedicated Hosts in your account before +// you purchase a reservation. +// +// This is a preview of the PurchaseHostReservation action and does not result +// in the offering being purchased. +func (c *EC2) GetHostReservationPurchasePreview(input *GetHostReservationPurchasePreviewInput) (*GetHostReservationPurchasePreviewOutput, error) { + req, out := c.GetHostReservationPurchasePreviewRequest(input) + err := req.Send() + return out, err +} + const opGetPasswordData = "GetPasswordData" // GetPasswordDataRequest generates a "aws/request.Request" representing the @@ -8993,7 +9149,9 @@ func (c *EC2) ImportImageRequest(input *ImportImageInput) (req *request.Request, } // Import single or multi-volume disk images or EBS snapshots into an Amazon -// Machine Image (AMI). +// Machine Image (AMI). For more information, see Importing a VM as an Image +// Using VM Import/Export (http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html) +// in the VM Import/Export User Guide. func (c *EC2) ImportImage(input *ImportImageInput) (*ImportImageOutput, error) { req, out := c.ImportImageRequest(input) err := req.Send() @@ -9043,11 +9201,8 @@ func (c *EC2) ImportInstanceRequest(input *ImportInstanceInput) (req *request.Re // Creates an import instance task using metadata from the specified disk image. // ImportInstance only supports single-volume VMs. To import multi-volume VMs, -// use ImportImage. After importing the image, you then upload it using the -// ec2-import-volume command in the EC2 command line tools. For more information, -// see Using the Command Line Tools to Import Your Virtual Machine to Amazon -// EC2 (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UploadingYourInstancesandVolumes.html) -// in the Amazon Elastic Compute Cloud User Guide. +// use ImportImage. For more information, see Importing a Virtual Machine Using +// the Amazon EC2 CLI (http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html). // // For information about the import manifest referenced by this API action, // see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). @@ -9201,12 +9356,8 @@ func (c *EC2) ImportVolumeRequest(input *ImportVolumeInput) (req *request.Reques return } -// Creates an import volume task using metadata from the specified disk image. -// After importing the image, you then upload it using the ec2-import-volume -// command in the Amazon EC2 command-line interface (CLI) tools. For more information, -// see Using the Command Line Tools to Import Your Virtual Machine to Amazon -// EC2 (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UploadingYourInstancesandVolumes.html) -// in the Amazon Elastic Compute Cloud User Guide. +// Creates an import volume task using metadata from the specified disk image.For +// more information, see Importing Disks to Amazon EBS (http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/importing-your-volumes-into-amazon-ebs.html). // // For information about the import manifest referenced by this API action, // see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). @@ -9257,9 +9408,9 @@ func (c *EC2) ModifyHostsRequest(input *ModifyHostsInput) (req *request.Request, return } -// Modify the auto-placement setting of a Dedicated host. When auto-placement +// Modify the auto-placement setting of a Dedicated Host. When auto-placement // is enabled, AWS will place instances that you launch with a tenancy of host, -// but without targeting a specific host ID, onto any available Dedicated host +// but without targeting a specific host ID, onto any available Dedicated Host // in your account which has auto-placement enabled. When auto-placement is // disabled, you need to provide a host ID if you want the instance to launch // onto a specific host. If no host ID is provided, the instance will be launched @@ -9378,11 +9529,13 @@ func (c *EC2) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) return } -// Modifies the ID format of a resource for the specified IAM user, IAM role, -// or root user. You can specify that resources should receive longer IDs (17-character -// IDs) when they are created. The following resource types support longer IDs: -// instance | reservation | snapshot | volume. For more information, see Resource -// IDs (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) +// Modifies the ID format of a resource for a specified IAM user, IAM role, +// or the root user for an account; or all IAM users, IAM roles, and the root +// user for an account. You can specify that resources should receive longer +// IDs (17-character IDs) when they are created. +// +// The following resource types support longer IDs: instance | reservation +// | snapshot | volume. For more information, see Resource IDs (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) // in the Amazon Elastic Compute Cloud User Guide. // // This setting applies to the principal specified in the request; it does @@ -9556,7 +9709,7 @@ func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput // the instance tenancy setting. // // Instance affinity is disabled by default. When instance affinity is host -// and it is not associated with a specific Dedicated host, the next time it +// and it is not associated with a specific Dedicated Host, the next time it // is launched it will automatically be associated with the host it lands on. // This relationship will persist if the instance is stopped/started, or rebooted. // @@ -10191,6 +10344,57 @@ func (c *EC2) MoveAddressToVpc(input *MoveAddressToVpcInput) (*MoveAddressToVpcO return out, err } +const opPurchaseHostReservation = "PurchaseHostReservation" + +// PurchaseHostReservationRequest generates a "aws/request.Request" representing the +// client's request for the PurchaseHostReservation operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the PurchaseHostReservation method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the PurchaseHostReservationRequest method. +// req, resp := client.PurchaseHostReservationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *EC2) PurchaseHostReservationRequest(input *PurchaseHostReservationInput) (req *request.Request, output *PurchaseHostReservationOutput) { + op := &request.Operation{ + Name: opPurchaseHostReservation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PurchaseHostReservationInput{} + } + + req = c.newRequest(op, input, output) + output = &PurchaseHostReservationOutput{} + req.Data = output + return +} + +// Purchase a reservation with configurations that match those of your Dedicated +// Host. You must have active Dedicated Hosts in your account before you purchase +// a reservation. This action results in the specified reservation being purchased +// and charged to your account. +func (c *EC2) PurchaseHostReservation(input *PurchaseHostReservationInput) (*PurchaseHostReservationOutput, error) { + req, out := c.PurchaseHostReservationRequest(input) + err := req.Send() + return out, err +} + const opPurchaseReservedInstancesOffering = "PurchaseReservedInstancesOffering" // PurchaseReservedInstancesOfferingRequest generates a "aws/request.Request" representing the @@ -10604,13 +10808,13 @@ func (c *EC2) ReleaseHostsRequest(input *ReleaseHostsInput) (req *request.Reques return } -// 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 -// 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. +// When you no longer want to use an On-Demand Dedicated Host it can be released. +// On-Demand 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. // -// When Dedicated hosts are released, it make take some time for them to stop +// When Dedicated Hosts are released, it make take some time for them to stop // counting toward your limit and you may receive capacity errors when trying // to allocate new Dedicated hosts. Try waiting a few minutes, and then try // again. @@ -12063,13 +12267,13 @@ 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 + // placed onto available Dedicated Hosts, when you are launching instances without // specifying a host ID. // // Default: Enabled AutoPlacement *string `locationName:"autoPlacement" type:"string" enum:"AutoPlacement"` - // The Availability Zone for the Dedicated hosts. + // The Availability Zone for the Dedicated Hosts. AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // Unique, case-sensitive identifier you provide to ensure idempotency of the @@ -12077,12 +12281,12 @@ type AllocateHostsInput struct { // in the Amazon Elastic Compute Cloud User Guide. ClientToken *string `locationName:"clientToken" type:"string"` - // Specify the instance type that you want your Dedicated hosts to be configured + // Specify the instance type that you want your Dedicated Hosts to be configured // for. When you specify the instance type, that is the only instance type that // you can launch onto that host. InstanceType *string `locationName:"instanceType" type:"string" required:"true"` - // The number of Dedicated hosts you want to allocate to your account with these + // The number of Dedicated Hosts you want to allocate to your account with these // parameters. Quantity *int64 `locationName:"quantity" type:"integer" required:"true"` } @@ -12120,7 +12324,7 @@ func (s *AllocateHostsInput) Validate() error { type AllocateHostsOutput struct { _ struct{} `type:"structure"` - // The ID of the allocated Dedicated host. This is used when you want to launch + // 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"` } @@ -12928,14 +13132,14 @@ func (s AvailabilityZoneMessage) GoString() string { return s.String() } -// The capacity information for instances launched onto the Dedicated host. +// 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. + // 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. + // The number of vCPUs available on the Dedicated Host. AvailableVCpus *int64 `locationName:"availableVCpus" type:"integer"` } @@ -17718,31 +17922,157 @@ func (s DescribeFlowLogsOutput) GoString() string { return s.String() } +type DescribeHostReservationOfferingsInput struct { + _ struct{} `type:"structure"` + + // One or more filters. + // + // instance-family - The instance family of the offering (e.g., m4). + // + // payment-option - The payment option (No Upfront | Partial Upfront | All + // Upfront). + Filter []*Filter `locationNameList:"Filter" type:"list"` + + // This is the maximum duration of the reservation you'd like to purchase, specified + // in seconds. Reservations are available in one-year and three-year terms. + // The number of seconds specified must be the number of seconds in a year (365x24x60x60) + // times one of the supported durations (1 or 3). For example, specify 94608000 + // for three years. + MaxDuration *int64 `type:"integer"` + + // The maximum number of results to return for the request in a single page. + // The remaining results can be seen by sending another request with the returned + // nextToken value. This value can be between 5 and 500; if maxResults is given + // a larger value than 500, you will receive an error. + MaxResults *int64 `type:"integer"` + + // This is the minimum duration of the reservation you'd like to purchase, specified + // in seconds. Reservations are available in one-year and three-year terms. + // The number of seconds specified must be the number of seconds in a year (365x24x60x60) + // times one of the supported durations (1 or 3). For example, specify 31536000 + // for one year. + MinDuration *int64 `type:"integer"` + + // The token to use to retrieve the next page of results. + NextToken *string `type:"string"` + + // The ID of the reservation offering. + OfferingId *string `type:"string"` +} + +// String returns the string representation +func (s DescribeHostReservationOfferingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHostReservationOfferingsInput) GoString() string { + return s.String() +} + +type DescribeHostReservationOfferingsOutput 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"` + + // Information about the offerings. + OfferingSet []*HostOffering `locationName:"offeringSet" type:"list"` +} + +// String returns the string representation +func (s DescribeHostReservationOfferingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHostReservationOfferingsOutput) GoString() string { + return s.String() +} + +type DescribeHostReservationsInput struct { + _ struct{} `type:"structure"` + + // One or more filters. + // + // instance-family - The instance family (e.g., m4). + // + // payment-option - The payment option (No Upfront | Partial Upfront | All + // Upfront). + // + // state - The state of the reservation (payment-pending | payment-failed + // | active | retired). + Filter []*Filter `locationNameList:"Filter" type:"list"` + + // One or more host reservation IDs. + HostReservationIdSet []*string `locationNameList:"item" type:"list"` + + // The maximum number of results to return for the request in a single page. + // The remaining results can be seen by sending another request with the returned + // nextToken value. This value can be between 5 and 500; if maxResults is given + // a larger value than 500, you will receive an error. + MaxResults *int64 `type:"integer"` + + // The token to use to retrieve the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeHostReservationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHostReservationsInput) GoString() string { + return s.String() +} + +type DescribeHostReservationsOutput struct { + _ struct{} `type:"structure"` + + // Details about the reservation's configuration. + HostReservationSet []*HostReservation `locationName:"hostReservationSet" 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 DescribeHostReservationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHostReservationsOutput) GoString() string { + return s.String() +} + // Contains the parameters for DescribeHosts. type DescribeHostsInput struct { _ struct{} `type:"structure"` // One or more filters. // - // instance-type - The instance type size that the Dedicated host is configured + // instance-type - The instance type size that the Dedicated Host is configured // to support. // // auto-placement - Whether auto-placement is enabled or disabled (on | // off). // - // host-reservation-id - The ID of the reservation associated with this - // host. + // host-reservation-id - The ID of the reservation assigned to this host. // // client-token - The idempotency token you provided when you launched the // instance // - // state- The allocation state of the Dedicated host (available | under-assessment + // state- The allocation state of the Dedicated Host (available | under-assessment // | permanent-failure | released | released-permanent-failure). // // availability-zone - The Availability Zone of the host. Filter []*Filter `locationName:"filter" locationNameList:"Filter" type:"list"` - // The IDs of the Dedicated hosts. The IDs are used for targeted instance launches. + // The IDs of the Dedicated Hosts. The IDs are used for targeted instance launches. HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list"` // The maximum number of results to return for the request in a single page. @@ -17770,7 +18100,7 @@ func (s DescribeHostsInput) GoString() string { type DescribeHostsOutput struct { _ struct{} `type:"structure"` - // Information about the Dedicated hosts. + // 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 @@ -17792,7 +18122,7 @@ func (s DescribeHostsOutput) GoString() string { type DescribeIdFormatInput struct { _ struct{} `type:"structure"` - // The type of resource. + // The type of resource: instance | reservation | snapshot | volume Resource *string `type:"string"` } @@ -17832,7 +18162,7 @@ type DescribeIdentityIdFormatInput struct { // user. PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` - // The type of resource. + // The type of resource: instance | reservation | snapshot | volume Resource *string `locationName:"resource" type:"string"` } @@ -18013,7 +18343,9 @@ type DescribeImagesInput struct { // // name - The name of the AMI (provided during image creation). // - // owner-alias - The AWS account alias (for example, amazon). + // owner-alias - String value from an Amazon-maintained list (amazon | aws-marketplace + // | microsoft) of snapshot owners. Not to be confused with the user-configured + // AWS account alias, which is set from the IAM console. // // owner-id - The AWS account ID of the image owner. // @@ -18055,10 +18387,10 @@ type DescribeImagesInput struct { // Default: Describes all images available to you. ImageIds []*string `locationName:"ImageId" locationNameList:"ImageId" type:"list"` - // Filters the images by the owner. Specify an AWS account ID, amazon (owner - // is Amazon), aws-marketplace (owner is AWS Marketplace), self (owner is the - // sender of the request). Omitting this option returns all images for which - // you have launch permissions, regardless of ownership. + // Filters the images by the owner. Specify an AWS account ID, self (owner is + // the sender of the request), or an AWS owner alias (valid values are amazon + // | aws-marketplace | microsoft). Omitting this option returns all images for + // which you have launch permissions, regardless of ownership. Owners []*string `locationName:"Owner" locationNameList:"Owner" type:"list"` } @@ -18430,7 +18762,7 @@ type DescribeInstancesInput struct { // One or more filters. // // affinity - The affinity setting for an instance running on a Dedicated - // host (default | host). + // Host (default | host). // // architecture - The instance architecture (i386 | x86_64). // @@ -18461,7 +18793,7 @@ 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, + // 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). @@ -20286,8 +20618,9 @@ type DescribeSnapshotsInput struct { // // description - A description of the snapshot. // - // owner-alias - The AWS account alias (for example, amazon) that owns the - // snapshot. + // owner-alias - Value from an Amazon-maintained list (amazon | aws-marketplace + // | microsoft) of snapshot owners. Not to be confused with the user-configured + // AWS account alias, which is set from the IAM consolew. // // owner-id - The ID of the AWS account that owns the snapshot. // @@ -23367,6 +23700,71 @@ func (s GetConsoleScreenshotOutput) GoString() string { return s.String() } +type GetHostReservationPurchasePreviewInput struct { + _ struct{} `type:"structure"` + + // The ID/s of the Dedicated Host/s that the reservation will be associated + // with. + HostIdSet []*string `locationNameList:"item" type:"list" required:"true"` + + // The offering ID of the reservation. + OfferingId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetHostReservationPurchasePreviewInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetHostReservationPurchasePreviewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetHostReservationPurchasePreviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetHostReservationPurchasePreviewInput"} + if s.HostIdSet == nil { + invalidParams.Add(request.NewErrParamRequired("HostIdSet")) + } + if s.OfferingId == nil { + invalidParams.Add(request.NewErrParamRequired("OfferingId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +type GetHostReservationPurchasePreviewOutput struct { + _ struct{} `type:"structure"` + + // The currency in which the totalUpfrontPrice and totalHourlyPrice amounts + // are specified. At this time, the only supported currency is USD. + CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` + + // The purchase information of the Dedicated Host Reservation and the Dedicated + // Hosts associated with it. + Purchase []*Purchase `locationName:"purchase" type:"list"` + + // The potential total hourly price of the reservation per hour. + TotalHourlyPrice *string `locationName:"totalHourlyPrice" type:"string"` + + // The potential total upfront price. This is billed immediately. + TotalUpfrontPrice *string `locationName:"totalUpfrontPrice" type:"string"` +} + +// String returns the string representation +func (s GetHostReservationPurchasePreviewOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetHostReservationPurchasePreviewOutput) GoString() string { + return s.String() +} + // Contains the parameters for GetPasswordData. type GetPasswordDataInput struct { _ struct{} `type:"structure"` @@ -23480,17 +23878,17 @@ func (s HistoryRecord) GoString() string { return s.String() } -// Describes the properties of the Dedicated host. +// 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"` - // The Availability Zone of the Dedicated host. + // The Availability Zone of the Dedicated Host. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The number of new instances that can be launched onto the Dedicated host. + // The number of new instances that can be launched onto the Dedicated Host. AvailableCapacity *AvailableCapacity `locationName:"availableCapacity" type:"structure"` // Unique, case-sensitive identifier you provide to ensure idempotency of the @@ -23498,20 +23896,20 @@ type Host struct { // in the Amazon Elastic Compute Cloud User Guide. ClientToken *string `locationName:"clientToken" type:"string"` - // The ID of the Dedicated host. + // The ID of the Dedicated Host. HostId *string `locationName:"hostId" type:"string"` - // The hardware specifications of the Dedicated host. + // 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. + // 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. + // The Dedicated Host's state. State *string `locationName:"state" type:"string" enum:"AllocationState"` } @@ -23525,11 +23923,11 @@ func (s Host) GoString() string { return s.String() } -// Describes an instance running on a Dedicated host. +// Describes an instance running on a Dedicated Host. type HostInstance struct { _ struct{} `type:"structure"` - // the IDs of instances that are running on the Dedicated host. + // the IDs of instances that are running on the Dedicated Host. InstanceId *string `locationName:"instanceId" type:"string"` // The instance type size (for example, m3.medium) of the running instance. @@ -23546,20 +23944,56 @@ func (s HostInstance) GoString() string { return s.String() } -// Describes properties of a Dedicated host. +// Details about the Dedicated Host Reservation offering. +type HostOffering struct { + _ struct{} `type:"structure"` + + // The currency of the offering. + CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` + + // The duration of the offering (in seconds). + Duration *int64 `locationName:"duration" type:"integer"` + + // The hourly price of the offering. + HourlyPrice *string `locationName:"hourlyPrice" type:"string"` + + // The instance family of the offering. + InstanceFamily *string `locationName:"instanceFamily" type:"string"` + + // The ID of the offering. + OfferingId *string `locationName:"offeringId" type:"string"` + + // The available payment option. + PaymentOption *string `locationName:"paymentOption" type:"string" enum:"PaymentOption"` + + // The upfront price of the offering. Does not apply to No Upfront offerings. + UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` +} + +// String returns the string representation +func (s HostOffering) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HostOffering) GoString() string { + return s.String() +} + +// Describes properties of a Dedicated Host. type HostProperties struct { _ struct{} `type:"structure"` - // The number of cores on the Dedicated host. + // The number of cores on the Dedicated Host. Cores *int64 `locationName:"cores" type:"integer"` - // The instance type size that the Dedicated host supports (for example, m3.medium). + // The instance type size that the Dedicated Host supports (for example, m3.medium). InstanceType *string `locationName:"instanceType" type:"string"` - // The number of sockets on the Dedicated host. + // The number of sockets on the Dedicated Host. Sockets *int64 `locationName:"sockets" type:"integer"` - // The number of vCPUs on the Dedicated host. + // The number of vCPUs on the Dedicated Host. TotalVCpus *int64 `locationName:"totalVCpus" type:"integer"` } @@ -23573,6 +24007,65 @@ func (s HostProperties) GoString() string { return s.String() } +// Details about the Dedicated Host Reservation and associated Dedicated Hosts. +type HostReservation struct { + _ struct{} `type:"structure"` + + // The number of Dedicated Hosts the reservation is associated with. + Count *int64 `locationName:"count" type:"integer"` + + // The currency in which the upfrontPrice and hourlyPrice amounts are specified. + // At this time, the only supported currency is USD. + CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` + + // The length of the reservation's term, specified in seconds. Can be 31536000 + // (1 year) | 94608000 (3 years). + Duration *int64 `locationName:"duration" type:"integer"` + + // The date and time that the reservation ends. + End *time.Time `locationName:"end" type:"timestamp" timestampFormat:"iso8601"` + + // The IDs of the Dedicated Hosts associated with the reservation. + HostIdSet []*string `locationName:"hostIdSet" locationNameList:"item" type:"list"` + + // The ID of the reservation that specifies the associated Dedicated Hosts. + HostReservationId *string `locationName:"hostReservationId" type:"string"` + + // The hourly price of the reservation. + HourlyPrice *string `locationName:"hourlyPrice" type:"string"` + + // The instance family of the Dedicated Host Reservation. The instance family + // on the Dedicated Host must be the same in order for it to benefit from the + // reservation. + InstanceFamily *string `locationName:"instanceFamily" type:"string"` + + // The ID of the reservation. This remains the same regardless of which Dedicated + // Hosts are associated with it. + OfferingId *string `locationName:"offeringId" type:"string"` + + // The payment option selected for this reservation. + PaymentOption *string `locationName:"paymentOption" type:"string" enum:"PaymentOption"` + + // The date and time that the reservation started. + Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"` + + // The state of the reservation. + State *string `locationName:"state" type:"string" enum:"ReservationState"` + + // The upfront price of the reservation. + UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` +} + +// String returns the string representation +func (s HostReservation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HostReservation) GoString() string { + return s.String() +} + // Describes an IAM instance profile. type IamInstanceProfile struct { _ struct{} `type:"structure"` @@ -23829,8 +24322,8 @@ type ImportImageInput struct { // // Note: You may only use BYOL if you have existing licenses with rights to // use these licenses in a third party cloud like AWS. For more information, - // see VM Import/Export Prerequisites (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html) - // in the Amazon Elastic Compute Cloud User Guide. + // see Prerequisites (http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image) + // in the VM Import/Export User Guide. // // Valid values: AWS | BYOL LicenseType *string `type:"string"` @@ -24031,8 +24524,8 @@ type ImportInstanceLaunchSpecification struct { InstanceInitiatedShutdownBehavior *string `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"ShutdownBehavior"` // The instance type. For more information about the instance types that you - // can import, see Before You Get Started (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html) - // in the Amazon Elastic Compute Cloud User Guide. + // can import, see Instance Types (http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#vmimport-instance-types) + // in the VM Import/Export User Guide. InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"` // Indicates whether monitoring is enabled. @@ -24602,17 +25095,17 @@ func (s InstanceBlockDeviceMappingSpecification) GoString() string { return s.String() } -// Information about the instance type that the Dedicated host supports. +// 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. + // The number of instances that can still be launched onto the Dedicated Host. AvailableCapacity *int64 `locationName:"availableCapacity" type:"integer"` - // The instance type size supported by the Dedicated host. + // The instance type size supported by the Dedicated Host. InstanceType *string `locationName:"instanceType" type:"string"` - // The total number of instances that can be launched onto the Dedicated host. + // The total number of instances that can be launched onto the Dedicated Host. TotalCapacity *int64 `locationName:"totalCapacity" type:"integer"` } @@ -25334,7 +25827,7 @@ type ModifyHostsInput struct { // 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. + // The host IDs of the Dedicated Hosts you want to modify. HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` } @@ -25368,10 +25861,10 @@ func (s *ModifyHostsInput) Validate() error { type ModifyHostsOutput struct { _ struct{} `type:"structure"` - // The IDs of the Dedicated hosts that were successfully modified. + // 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 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"` } @@ -25390,7 +25883,7 @@ func (s ModifyHostsOutput) GoString() string { type ModifyIdFormatInput struct { _ struct{} `type:"structure"` - // The type of resource. + // The type of resource: instance | reservation | snapshot | volume Resource *string `type:"string" required:"true"` // Indicate whether the resource should use longer IDs (17-character IDs). @@ -25442,10 +25935,11 @@ type ModifyIdentityIdFormatInput struct { _ struct{} `type:"structure"` // The ARN of the principal, which can be an IAM user, IAM role, or the root - // user. + // user. Specify all to modify the ID format for all IAM users, IAM roles, and + // the root user of the account. PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` - // The type of resource. + // The type of resource: instance | reservation | snapshot | volume Resource *string `locationName:"resource" type:"string" required:"true"` // Indicates whether the resource should use longer IDs (17-character IDs) @@ -25713,7 +26207,7 @@ type ModifyInstancePlacementInput struct { // The new affinity setting for the instance. Affinity *string `locationName:"affinity" type:"string" enum:"Affinity"` - // The ID of the Dedicated host that the instance will have affinity with. + // The ID of the Dedicated Host that the instance will have affinity with. HostId *string `locationName:"hostId" type:"string"` // The ID of the instance that you are modifying. @@ -26943,7 +27437,7 @@ func (s PeeringConnectionOptionsRequest) GoString() string { type Placement struct { _ struct{} `type:"structure"` - // The affinity setting for the instance on the Dedicated host. This parameter + // 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"` @@ -27261,6 +27755,135 @@ func (s ProvisionedBandwidth) GoString() string { return s.String() } +// Describes the result of the purchase. +type Purchase struct { + _ struct{} `type:"structure"` + + // The currency in which the UpfrontPrice and HourlyPrice amounts are specified. + // At this time, the only supported currency is USD. + CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` + + // The duration of the reservation's term in seconds. + Duration *int64 `locationName:"duration" type:"integer"` + + // The IDs of the Dedicated Hosts associated with the reservation. + HostIdSet []*string `locationName:"hostIdSet" locationNameList:"item" type:"list"` + + // The ID of the reservation. + HostReservationId *string `locationName:"hostReservationId" type:"string"` + + // The hourly price of the reservation per hour. + HourlyPrice *string `locationName:"hourlyPrice" type:"string"` + + // The instance family on the Dedicated Host that the reservation can be associated + // with. + InstanceFamily *string `locationName:"instanceFamily" type:"string"` + + // The payment option for the reservation. + PaymentOption *string `locationName:"paymentOption" type:"string" enum:"PaymentOption"` + + // The upfront price of the reservation. + UpfrontPrice *string `locationName:"upfrontPrice" type:"string"` +} + +// String returns the string representation +func (s Purchase) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Purchase) GoString() string { + return s.String() +} + +type PurchaseHostReservationInput 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. + ClientToken *string `type:"string"` + + // The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice + // amounts are specified. At this time, the only supported currency is USD. + CurrencyCode *string `type:"string" enum:"CurrencyCodeValues"` + + // The ID/s of the Dedicated Host/s that the reservation will be associated + // with. + HostIdSet []*string `locationNameList:"item" type:"list" required:"true"` + + // The specified limit is checked against the total upfront cost of the reservation + // (calculated as the offering's upfront cost multiplied by the host count). + // If the total upfront cost is greater than the specified price limit, the + // request will fail. This is used to ensure that the purchase does not exceed + // the expected upfront cost of the purchase. At this time, the only supported + // currency is USD. For example, to indicate a limit price of USD 100, specify + // 100.00. + LimitPrice *string `type:"string"` + + // The ID of the offering. + OfferingId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s PurchaseHostReservationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PurchaseHostReservationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PurchaseHostReservationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PurchaseHostReservationInput"} + if s.HostIdSet == nil { + invalidParams.Add(request.NewErrParamRequired("HostIdSet")) + } + if s.OfferingId == nil { + invalidParams.Add(request.NewErrParamRequired("OfferingId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +type PurchaseHostReservationOutput 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 + ClientToken *string `locationName:"clientToken" type:"string"` + + // The currency in which the totalUpfrontPrice and totalHourlyPrice amounts + // are specified. At this time, the only supported currency is USD. + CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCodeValues"` + + // Describes the details of the purchase. + Purchase []*Purchase `locationName:"purchase" type:"list"` + + // The total hourly price of the reservation calculated per hour. + TotalHourlyPrice *string `locationName:"totalHourlyPrice" type:"string"` + + // The total amount that will be charged to your account when you purchase the + // reservation. + TotalUpfrontPrice *string `locationName:"totalUpfrontPrice" type:"string"` +} + +// String returns the string representation +func (s PurchaseHostReservationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PurchaseHostReservationOutput) GoString() string { + return s.String() +} + // Describes a request to purchase Scheduled Instances. type PurchaseRequest struct { _ struct{} `type:"structure"` @@ -27734,7 +28357,7 @@ func (s ReleaseAddressOutput) GoString() string { type ReleaseHostsInput struct { _ struct{} `type:"structure"` - // The IDs of the Dedicated hosts you want to release. + // The IDs of the Dedicated Hosts you want to release. HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` } @@ -27765,10 +28388,10 @@ func (s *ReleaseHostsInput) Validate() error { type ReleaseHostsOutput struct { _ struct{} `type:"structure"` - // The IDs of the Dedicated hosts that were successfully released. + // 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 + // The IDs of the Dedicated Hosts that could not be released, including an error // message. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` } @@ -29361,6 +29984,12 @@ type RunInstancesInput struct { AdditionalInfo *string `locationName:"additionalInfo" type:"string"` // The block device mapping. + // + // Supplying both a snapshot ID and an encryption value as arguments for block-device + // mapping results in an error. This is because only blank volumes can be encrypted + // on start, and these are not created from a snapshot. If a snapshot is the + // basis for the volume, it contains data by definition and its encryption status + // cannot be changed using this action. BlockDeviceMappings []*BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // Unique, case-sensitive identifier you provide to ensure the idempotency of @@ -29590,7 +30219,8 @@ type RunScheduledInstancesInput struct { // Default: 1 InstanceCount *int64 `type:"integer"` - // The launch specification. + // The launch specification. You must match the instance type, Availability + // Zone, network, and platform of the schedule that you purchased. LaunchSpecification *ScheduledInstancesLaunchSpecification `type:"structure" required:"true"` // The Scheduled Instance ID. @@ -30318,8 +30948,9 @@ type Snapshot struct { // volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` - // The AWS account alias (for example, amazon, self) or AWS account ID that - // owns the snapshot. + // Value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) + // of snapshot owners. Not to be confused with the user-configured AWS account + // alias, which is set from the IAM console. OwnerAlias *string `locationName:"ownerAlias" type:"string"` // The AWS account ID of the EBS snapshot owner. @@ -30644,6 +31275,13 @@ func (s SpotFleetMonitoring) GoString() string { type SpotFleetRequestConfig struct { _ struct{} `type:"structure"` + // The progress of the Spot fleet request. If there is an error, the status + // is error. After all bids are placed, the status is pending_fulfillment. If + // the size of the fleet is equal to or greater than its target capacity, the + // status is fulfilled. If the size of the fleet is decreased, the status is + // pending_termination while Spot instances are terminating. + ActivityStatus *string `locationName:"activityStatus" type:"string" enum:"ActivityStatus"` + // The creation date and time of the request. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` @@ -32287,6 +32925,17 @@ const ( AccountAttributeNameDefaultVpc = "default-vpc" ) +const ( + // @enum ActivityStatus + ActivityStatusError = "error" + // @enum ActivityStatus + ActivityStatusPendingFulfillment = "pending_fulfillment" + // @enum ActivityStatus + ActivityStatusPendingTermination = "pending_termination" + // @enum ActivityStatus + ActivityStatusFulfilled = "fulfilled" +) + const ( // @enum Affinity AffinityDefault = "default" @@ -32864,6 +33513,15 @@ const ( OperationTypeRemove = "remove" ) +const ( + // @enum PaymentOption + PaymentOptionAllUpfront = "AllUpfront" + // @enum PaymentOption + PaymentOptionPartialUpfront = "PartialUpfront" + // @enum PaymentOption + PaymentOptionNoUpfront = "NoUpfront" +) + const ( // @enum PermissionGroup PermissionGroupAll = "all" @@ -32941,6 +33599,17 @@ const ( ReportStatusTypeImpaired = "impaired" ) +const ( + // @enum ReservationState + ReservationStatePaymentPending = "payment-pending" + // @enum ReservationState + ReservationStatePaymentFailed = "payment-failed" + // @enum ReservationState + ReservationStateActive = "active" + // @enum ReservationState + ReservationStateRetired = "retired" +) + const ( // @enum ReservedInstanceState ReservedInstanceStatePaymentPending = "payment-pending" diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go index b6ffa5109..41d66af4f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go @@ -654,6 +654,12 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o } // Lists all the image IDs for a given repository. +// +// You can filter images based on whether or not they are tagged by setting +// the tagStatus parameter to TAGGED or UNTAGGED. For example, you can filter +// your results to return only UNTAGGED images and then pipe that result to +// a BatchDeleteImage operation to delete them. Or, you can filter your results +// to return only TAGGED images to list all of the tags in your repository. func (c *ECR) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { req, out := c.ListImagesRequest(input) err := req.Send() @@ -1726,9 +1732,12 @@ func (s LayerFailure) GoString() string { return s.String() } +// An object representing a filter on a ListImages operation. type ListImagesFilter struct { _ struct{} `type:"structure"` + // The tag status with which to filter your ListImages results. You can filter + // results based on whether they are TAGGED or UNTAGGED. TagStatus *string `locationName:"tagStatus" type:"string" enum:"TagStatus"` } @@ -1745,6 +1754,7 @@ func (s ListImagesFilter) GoString() string { type ListImagesInput struct { _ struct{} `type:"structure"` + // The filter key and value with which to filter your ListImages results. Filter *ListImagesFilter `locationName:"filter" type:"structure"` // The maximum number of image results returned by ListImages in paginated output. diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/waiters.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/waiters.go index 155f7c098..c571afd18 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/waiters.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/waiters.go @@ -62,7 +62,7 @@ func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error { { State: "success", Matcher: "path", - Argument: "services | [@[?length(deployments)!=`1`], @[?desiredCount!=runningCount]][] | length(@) == `0`", + Argument: "length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`", Expected: true, }, }, diff --git a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go index 35efd0338..08f8bcc0c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go @@ -7985,7 +7985,9 @@ type CreateGroupInput struct { // // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters - // with no spaces. You can also include any of the following characters: =,.@- + // with no spaces. You can also include any of the following characters: =,.@-. + // The group name must be unique within the account. Group names are not distinguished + // by case. For example, you cannot create groups named both "ADMINS" and "admins". GroupName *string `min:"1" type:"string" required:"true"` // The path to the group. For more information about paths, see IAM Identifiers @@ -8505,7 +8507,9 @@ type CreateRoleInput struct { // // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters - // with no spaces. You can also include any of the following characters: =,.@- + // with no spaces. You can also include any of the following characters: =,.@-. + // Role names are not distinguished by case. For example, you cannot create + // roles named both "PRODROLE" and "prodrole". RoleName *string `min:"1" type:"string" required:"true"` } @@ -8654,7 +8658,9 @@ type CreateUserInput struct { // // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters - // with no spaces. You can also include any of the following characters: =,.@- + // with no spaces. You can also include any of the following characters: =,.@-. + // User names are not distinguished by case. For example, you cannot create + // users named both "TESTUSER" and "testuser". UserName *string `min:"1" type:"string" required:"true"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go index 9af0dfd05..c225d2110 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go @@ -4480,8 +4480,8 @@ type CloneStackInput struct { // The cloned stack name. Name *string `type:"string"` - // The cloned stack AWS region, such as "us-east-1". For more information about - // AWS regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). + // The cloned stack AWS region, such as "ap-northeast-2". For more information + // about AWS regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). Region *string `type:"string"` // The stack AWS Identity and Access Management (IAM) role, which allows AWS @@ -5343,8 +5343,8 @@ type CreateStackInput struct { // The stack name. Name *string `type:"string" required:"true"` - // The stack's AWS region, such as "us-east-1". For more information about Amazon - // regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). + // The stack's AWS region, such as "ap-south-1". For more information about + // Amazon regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). Region *string `type:"string" required:"true"` // The stack's AWS Identity and Access Management (IAM) role, which allows AWS @@ -8872,8 +8872,8 @@ type Stack struct { // The stack name. Name *string `type:"string"` - // The stack AWS region, such as "us-east-1". For more information about AWS - // regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). + // The stack AWS region, such as "ap-northeast-2". For more information about + // AWS regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). Region *string `type:"string"` // The stack AWS Identity and Access Management (IAM) role. diff --git a/vendor/github.com/aws/aws-sdk-go/service/opsworks/service.go b/vendor/github.com/aws/aws-sdk-go/service/opsworks/service.go index de8c77962..e960131ee 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/opsworks/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/opsworks/service.go @@ -42,15 +42,33 @@ import ( // // Endpoints // -// AWS OpsWorks supports two endpoints, opsworks.us-east-1.amazonaws.com and -// opsworks.ap-south-1.amazonaws.com (both HTTPS). You must connect to one of -// those two endpoints. You can then use the API to direct AWS OpsWorks to create -// stacks in any AWS region. Stacks created in all regions except ap-south-1 -// are connected to the us-east-1 regional endpoint; stacks created in ap-south-1 -// are associated with the ap-south-1 regional endpoint, and can only be accessed -// or managed within that endpoint. +// AWS OpsWorks supports the following endpoints, all HTTPS. You must connect +// to one of the following endpoints. Stacks can only be accessed or managed +// within the endpoint in which they are created. // -// Chef Versions +// opsworks.us-east-1.amazonaws.com +// +// opsworks.us-west-1.amazonaws.com +// +// opsworks.us-west-2.amazonaws.com +// +// opsworks.eu-west-1.amazonaws.com +// +// opsworks.eu-central-1.amazonaws.com +// +// opsworks.ap-northeast-1.amazonaws.com +// +// opsworks.ap-northeast-2.amazonaws.com +// +// opsworks.ap-south-1.amazonaws.com +// +// opsworks.ap-southeast-1.amazonaws.com +// +// opsworks.ap-southeast-2.amazonaws.com +// +// opsworks.sa-east-1.amazonaws.com +// +// Chef Versions // // When you call CreateStack, CloneStack, or UpdateStack we recommend you use // the ConfigurationManager parameter to specify the Chef version. The recommended diff --git a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go index 20d909d6f..09a0c8e10 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go @@ -3482,6 +3482,56 @@ func (c *RDS) DescribeReservedDBInstancesOfferingsPages(input *DescribeReservedD }) } +const opDescribeSourceRegions = "DescribeSourceRegions" + +// DescribeSourceRegionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeSourceRegions operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the DescribeSourceRegions method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the DescribeSourceRegionsRequest method. +// req, resp := client.DescribeSourceRegionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (req *request.Request, output *DescribeSourceRegionsOutput) { + op := &request.Operation{ + Name: opDescribeSourceRegions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeSourceRegionsInput{} + } + + req = c.newRequest(op, input, output) + output = &DescribeSourceRegionsOutput{} + req.Data = output + return +} + +// Returns a list that includes the status of each source AWS Region that the +// current region can get a Read Replica or a DB snapshot from. This API action +// supports pagination. +func (c *RDS) DescribeSourceRegions(input *DescribeSourceRegionsInput) (*DescribeSourceRegionsOutput, error) { + req, out := c.DescribeSourceRegionsRequest(input) + err := req.Send() + return out, err +} + const opDownloadDBLogFilePortion = "DownloadDBLogFilePortion" // DownloadDBLogFilePortionRequest generates a "aws/request.Request" representing the @@ -3899,8 +3949,9 @@ func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *reques return } -// Modify settings for a DB instance. You can change one or more database configuration -// parameters by specifying these parameters and the new values in the request. +// Modifies settings for a DB instance. You can change one or more database +// configuration parameters by specifying these parameters and the new values +// in the request. func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) { req, out := c.ModifyDBInstanceRequest(input) err := req.Send() @@ -5052,7 +5103,7 @@ type AddTagsToResourceInput struct { // The Amazon RDS resource the tags will be added to. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing - // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). ResourceName *string `type:"string" required:"true"` // The tags to be assigned to the Amazon RDS resource. @@ -5122,7 +5173,7 @@ type ApplyPendingMaintenanceActionInput struct { // The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance // action applies to. For information about creating an ARN, see Constructing - // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). ResourceIdentifier *string `type:"string" required:"true"` } @@ -5276,6 +5327,9 @@ func (s AvailabilityZone) GoString() string { type Certificate struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the certificate. + CertificateArn *string `type:"string"` + // The unique key that identifies a certificate. CertificateIdentifier *string `type:"string"` @@ -5328,7 +5382,7 @@ type CopyDBClusterParameterGroupInput struct { // The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter // group. For information about creating an ARN, see Constructing an RDS Amazon - // Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // @@ -5505,18 +5559,14 @@ type CopyDBParameterGroupInput struct { // The identifier or ARN for the source DB parameter group. For information // about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) - // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // // Must specify a valid DB parameter group. // - // If the source DB parameter group is in the same region as the copy, specify - // a valid DB parameter group identifier, for example my-db-param-group, or - // a valid ARN. - // - // If the source DB parameter group is in a different region than the copy, - // specify a valid DB parameter group ARN, for example arn:aws:rds:us-west-2:123456789012:pg:special-parameters. + // Must specify a valid DB parameter group identifier, for example my-db-param-group, + // or a valid ARN. SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` // A list of tags. @@ -5709,7 +5759,7 @@ type CopyOptionGroupInput struct { _ struct{} `type:"structure"` // The identifier or ARN for the source option group. For information about - // creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // @@ -6460,10 +6510,6 @@ type CreateDBInstanceInput struct { // // Version 5.5 (available in all AWS regions): 5.5.46 // - // Version 5.1 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, - // us-west-2): 5.1.73a | 5.1.73b - // // Oracle Database Enterprise Edition (oracle-ee) // // Version 12.1 (available in all AWS regions except ap-south-1, ap-northeast-2): @@ -6478,17 +6524,6 @@ type CreateDBInstanceInput struct { // Version 12.1 (available in all AWS regions except us-gov-west-1): 12.1.0.2.v2 // | 12.1.0.2.v3 | 12.1.0.2.v4 // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, - // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 - // - // Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): - // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 - // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, - // us-west-2): 11.2.0.3.v4 - // // Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // @@ -6504,17 +6539,6 @@ type CreateDBInstanceInput struct { // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 12.1.0.1.v3 | 12.1.0.1.v4 | 12.1.0.1.v5 // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, - // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 - // - // Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): - // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 - // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, - // us-west-2): 11.2.0.3.v4 - // // Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // @@ -6530,17 +6554,6 @@ type CreateDBInstanceInput struct { // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 12.1.0.1.v3 | 12.1.0.1.v4 | 12.1.0.1.v5 // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, - // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 - // - // Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): - // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 - // - // Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, - // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, - // us-west-2): 11.2.0.3.v4 - // // Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // @@ -7052,7 +7065,7 @@ type CreateDBInstanceReadReplicaInput struct { // // If the source DB instance is in a different region than the Read Replica, // specify a valid DB instance ARN. For more information, go to Constructing - // a Amazon RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // a Amazon RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). SourceDBInstanceIdentifier *string `type:"string" required:"true"` // Specifies the storage type to be associated with the Read Replica. @@ -7369,8 +7382,8 @@ type CreateDBSubnetGroupInput struct { // The name for the DB subnet group. This value is stored as a lowercase string. // - // Constraints: Must contain no more than 255 alphanumeric characters. Cannot - // contain periods, underscores, spaces, or hyphens. Must not be default. + // Constraints: Must contain no more than 255 alphanumeric characters, periods, + // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string" required:"true"` @@ -7653,6 +7666,9 @@ type DBCluster struct { // associated with. CharacterSetName *string `type:"string"` + // The Amazon Resource Name (ARN) for the DB cluster. + DBClusterArn *string `type:"string"` + // Contains a user-supplied DB cluster identifier. This identifier is the unique // key that identifies a DB cluster. DBClusterIdentifier *string `type:"string"` @@ -7810,6 +7826,9 @@ func (s DBClusterOptionGroupStatus) GoString() string { type DBClusterParameterGroup struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the DB cluster parameter group. + DBClusterParameterGroupArn *string `type:"string"` + // Provides the name of the DB cluster parameter group. DBClusterParameterGroupName *string `type:"string"` @@ -7885,6 +7904,9 @@ type DBClusterSnapshot struct { // snapshot was created from. DBClusterIdentifier *string `type:"string"` + // The Amazon Resource Name (ARN) for the DB cluster snapshot. + DBClusterSnapshotArn *string `type:"string"` + // Specifies the identifier for the DB cluster snapshot. DBClusterSnapshotIdentifier *string `type:"string"` @@ -8082,6 +8104,9 @@ type DBInstance struct { // DB cluster that the DB instance is a member of. DBClusterIdentifier *string `type:"string"` + // The Amazon Resource Name (ARN) for the DB instance. + DBInstanceArn *string `type:"string"` + // Contains the name of the compute and memory capacity class of the DB instance. DBInstanceClass *string `type:"string"` @@ -8296,6 +8321,9 @@ func (s DBInstanceStatusInfo) GoString() string { type DBParameterGroup struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the DB parameter group. + DBParameterGroupArn *string `type:"string"` + // Provides the name of the DB parameter group family that this DB parameter // group is compatible with. DBParameterGroupFamily *string `type:"string"` @@ -8386,6 +8414,9 @@ func (s DBParameterGroupStatus) GoString() string { type DBSecurityGroup struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the DB security group. + DBSecurityGroupArn *string `type:"string"` + // Provides the description of the DB security group. DBSecurityGroupDescription *string `type:"string"` @@ -8466,6 +8497,9 @@ type DBSnapshot struct { // was created from. DBInstanceIdentifier *string `type:"string"` + // The Amazon Resource Name (ARN) for the DB snapshot. + DBSnapshotArn *string `type:"string"` + // Specifies the identifier for the DB snapshot. DBSnapshotIdentifier *string `type:"string"` @@ -8617,6 +8651,9 @@ func (s DBSnapshotAttributesResult) GoString() string { type DBSubnetGroup struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the DB subnet group. + DBSubnetGroupArn *string `type:"string"` + // Provides the description of the DB subnet group. DBSubnetGroupDescription *string `type:"string"` @@ -11657,6 +11694,89 @@ func (s DescribeReservedDBInstancesOutput) GoString() string { return s.String() } +type DescribeSourceRegionsInput struct { + _ struct{} `type:"structure"` + + // This parameter is not currently supported. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // An optional pagination token provided by a previous DescribeSourceRegions + // request. If this parameter is specified, the response includes only records + // beyond the marker, up to the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of records to include in the response. If more records + // exist than the specified MaxRecords value, a pagination token called a marker + // is included in the response so that the remaining results can be retrieved. + // + // Default: 100 + // + // Constraints: Minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // The source region name, for example US West (Oregon). + // + // Constraints: + // + // Must specify a valid AWS Region name, for example US West (Oregon). + RegionName *string `type:"string"` +} + +// String returns the string representation +func (s DescribeSourceRegionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSourceRegionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeSourceRegionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeSourceRegionsInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// Contains the result of a successful invocation of the DescribeSourceRegions +// action. +type DescribeSourceRegionsOutput struct { + _ struct{} `type:"structure"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` + + // A list of SourceRegion instances that contains each source AWS Region that + // the current region can get a Read Replica or a DB snapshot from. + SourceRegions []*SourceRegion `locationNameList:"SourceRegion" type:"list"` +} + +// String returns the string representation +func (s DescribeSourceRegionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSourceRegionsOutput) GoString() string { + return s.String() +} + // An Active Directory Domain membership record associated with the DB instance. type DomainMembership struct { _ struct{} `type:"structure"` @@ -11891,6 +12011,9 @@ type Event struct { // Provides the text of this event. Message *string `type:"string"` + // The Amazon Resource Name (ARN) for the event. + SourceArn *string `type:"string"` + // Provides the identifier for the source of the event. SourceIdentifier *string `type:"string"` @@ -11948,6 +12071,9 @@ type EventSubscription struct { // A list of event categories for the RDS event notification subscription. EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"` + // The Amazon Resource Name (ARN) for the event subscription. + EventSubscriptionArn *string `type:"string"` + // The topic ARN of the RDS event notification subscription. SnsTopicArn *string `type:"string"` @@ -12114,7 +12240,7 @@ type ListTagsForResourceInput struct { // The Amazon RDS resource with tags to be listed. This value is an Amazon Resource // Name (ARN). For information about creating an ARN, see Constructing an RDS - // Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). ResourceName *string `type:"string" required:"true"` } @@ -13448,6 +13574,9 @@ type OptionGroup struct { // Indicates the major engine version associated with this option group. MajorEngineVersion *string `type:"string"` + // The Amazon Resource Name (ARN) for the option group. + OptionGroupArn *string `type:"string"` + // Provides a description of the option group. OptionGroupDescription *string `type:"string"` @@ -13520,25 +13649,27 @@ type OptionGroupOption struct { // The name of the option. Name *string `type:"string"` - // Specifies the option settings that are available (and the default value) - // for each option in an option group. + // The option settings that are available (and the default value) for each option + // in an option group. OptionGroupOptionSettings []*OptionGroupOptionSetting `locationNameList:"OptionGroupOptionSetting" type:"list"` - // Specifies the versions that are available for the option. + // The versions that are available for the option. OptionGroupOptionVersions []*OptionVersion `locationNameList:"OptionVersion" type:"list"` - // List of all options that are prerequisites for this option. + // The options that conflict with this option. + OptionsConflictsWith []*string `locationNameList:"OptionConflictName" type:"list"` + + // The options that are prerequisites for this option. OptionsDependedOn []*string `locationNameList:"OptionName" type:"list"` - // A permanent option cannot be removed from the option group once the option - // group is used, and it cannot be removed from the db instance after assigning - // an option group with this permanent option. + // Permanent options can never be removed from an option group. An option group + // containing a permanent option can't be removed from a DB instance. Permanent *bool `type:"boolean"` - // A persistent option cannot be removed from the option group once the option - // group is used, but this option can be removed from the db instance while - // modifying the related data and assigning another option group without this - // option. + // Persistent options can't be removed from an option group while DB instances + // are associated with the option group. If you disassociate all DB instances + // from the option group, your can remove the persistent option from the option + // group. Persistent *bool `type:"boolean"` // Specifies whether the option requires a port. @@ -14256,7 +14387,7 @@ type RemoveTagsFromResourceInput struct { // The Amazon RDS resource the tags will be removed from. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing - // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.ARN). + // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). ResourceName *string `type:"string" required:"true"` // The tag key (name) of the tag to be removed. @@ -14335,6 +14466,9 @@ type ReservedDBInstance struct { // The recurring price charged to run this reserved DB instance. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"` + // The Amazon Resource Name (ARN) for the reserved DB instance. + ReservedDBInstanceArn *string `type:"string"` + // The unique identifier for the reservation. ReservedDBInstanceId *string `type:"string"` @@ -15642,6 +15776,31 @@ func (s RevokeDBSecurityGroupIngressOutput) GoString() string { return s.String() } +// Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions +// action. +type SourceRegion struct { + _ struct{} `type:"structure"` + + // The source region endpoint. + Endpoint *string `type:"string"` + + // The source region name. + RegionName *string `type:"string"` + + // The status of the source region. + Status *string `type:"string"` +} + +// String returns the string representation +func (s SourceRegion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SourceRegion) GoString() string { + return s.String() +} + // This data type is used as a response element in the DescribeDBSubnetGroups // action. type Subnet struct { diff --git a/vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go b/vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go index 7fe00bc4e..8ab16da9c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go +++ b/vendor/github.com/aws/aws-sdk-go/service/redshift/waiters.go @@ -61,9 +61,9 @@ func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error { }, { State: "failure", - Matcher: "pathList", + Matcher: "pathAny", Argument: "Clusters[].ClusterStatus", - Expected: "pathAny", + Expected: "modifying", }, }, } diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go index 5a07be987..9977a2365 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go @@ -52,14 +52,23 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste return } -// This action associates a VPC with an hosted zone. +// Associates an Amazon VPC with a private hosted zone. // -// To associate a VPC with an hosted zone, send a POST request to the /Route -// 53 API version/hostedzone/hosted zone ID/associatevpc resource. The request -// body must include a document with a AssociateVPCWithHostedZoneRequest element. -// The response returns the AssociateVPCWithHostedZoneResponse element that -// contains ChangeInfo for you to track the progress of the AssociateVPCWithHostedZoneRequest -// you made. See GetChange operation for how to track the progress of your change. +// The VPC and the hosted zone must already exist, and you must have created +// a private hosted zone. You cannot convert a public hosted zone into a private +// hosted zone. +// +// Send a POST request to the /Amazon Route 53 API version/hostedzone/hosted +// zone ID/associatevpc resource. The request body must include an XML document +// with a AssociateVPCWithHostedZoneRequest element. The response returns the +// AssociateVPCWithHostedZoneResponse element. +// +// If you used different accounts to create the hosted zone and to create +// the Amazon VPCs that you want to associate with the hosted zone, we need +// to update account permissions for you. For more information, see Associating +// Amazon VPCs and Private Hosted Zones That You Create with Different AWS Accounts +// (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-associate-vpcs-different-accounts.html) +// in the Amazon Route 53 Developer Guide. func (c *Route53) AssociateVPCWithHostedZone(input *AssociateVPCWithHostedZoneInput) (*AssociateVPCWithHostedZoneOutput, error) { req, out := c.AssociateVPCWithHostedZoneRequest(input) err := req.Send() @@ -107,31 +116,98 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet return } -// Use this action to create or change your authoritative DNS information. To -// use this action, send a POST request to the /Route 53 API version/hostedzone/hosted -// Zone ID/rrset resource. The request body must include a document with a ChangeResourceRecordSetsRequest -// element. +// Create, change, update, or delete authoritative DNS information on all Amazon +// Route 53 servers. Send a POST request to: // -// Changes are a list of change items and are considered transactional. For -// more information on transactional changes, also known as change batches, -// see POST ChangeResourceRecordSets (http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html) -// in the Amazon Route 53 API Reference. +// /2013-04-01/hostedzone/Amazon Route 53 hosted Zone ID/rrset resource. // -// Due to the nature of transactional changes, you cannot delete the same resource -// record set more than once in a single change batch. If you attempt to delete -// the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch -// error. In response to a ChangeResourceRecordSets request, your DNS data is -// changed on all Amazon Route 53 DNS servers. Initially, the status of a change -// is PENDING. This means the change has not yet propagated to all the authoritative +// The request body must include a document with a ChangeResourceRecordSetsRequest +// element. The request body contains a list of change items, known as a change +// batch. Change batches are considered transactional changes. When using the +// Amazon Route 53 API to change resource record sets, Amazon Route 53 either +// makes all or none of the changes in a change batch request. This ensures +// that Amazon Route 53 never partially implements the intended changes to the +// resource record sets in a hosted zone. +// +// For example, a change batch request that deletes the CNAMErecord for www.example.com +// and creates an alias resource record set for www.example.com. Amazon Route +// 53 deletes the first resource record set and creates the second resource +// record set in a single operation. If either the DELETE or the CREATE action +// fails, then both changes (plus any other changes in the batch) fail, and +// the original CNAME record continues to exist. +// +// Due to the nature of transactional changes, you cannot delete the same +// resource record set more than once in a single change batch. If you attempt +// to delete the same change batch more than once, Amazon Route 53 returns an +// InvalidChangeBatch error. +// +// To create resource record sets for complex routing configurations, use +// either the traffic flow visual editor in the Amazon Route 53 console or the +// API actions for traffic policies and traffic policy instances. Save the configuration +// as a traffic policy, then associate the traffic policy with one or more domain +// names (such as example.com) or subdomain names (such as www.example.com), +// in the same hosted zone or in multiple hosted zones. You can roll back the +// updates if the new configuration isn't performing as expected. For more information, +// see Using Traffic Flow to Route DNS Traffic (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html) +// in the Amazon Route 53 API Reference or Actions on Traffic Policies and Traffic +// Policy Instances (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/actions-on-polices) +// in this guide. +// +// Use ChangeResourceRecordsSetsRequest to perform the following actions: +// +// CREATE:Creates a resource record set that has the specified values. +// +// DELETE: Deletes an existing resource record set that has the specified +// values for Name, Type, Set Identifier (for code latency, weighted, geolocation, +// and failover resource record sets), and TTL (except alias resource record +// sets, for which the TTL is determined by the AWS resource you're routing +// queries to). +// +// UPSERT: If a resource record set does not already exist, AWS creates +// it. If a resource set does exist, Amazon Route 53 updates it with the values +// in the request. Amazon Route 53 can update an existing resource record set +// only when all of the following values match: Name, Type, and Set Identifier +// (for weighted, latency, geolocation, and failover resource record sets). +// +// In response to a ChangeResourceRecordSets request, the DNS data is changed +// on all Amazon Route 53 DNS servers. Initially, the status of a change is +// PENDING, meaning the change has not yet propagated to all the authoritative // Amazon Route 53 DNS servers. When the change is propagated to all hosts, // the change returns a status of INSYNC. // +// After sending a change request, confirm your change has propagated to all +// Amazon Route 53 DNS servers. Changes generally propagate to all Amazon Route +// 53 name servers in a few minutes. In rare circumstances, propagation can +// take up to 30 minutes. For more information, see GetChange. +// // Note the following limitations on a ChangeResourceRecordSets request: // -// A request cannot contain more than 100 Change elements. A request cannot -// contain more than 1000 ResourceRecord elements. The sum of the number of -// characters (including spaces) in all Value elements in a request cannot exceed -// 32,000 characters. +// A request cannot contain more than 100 Change elements. +// +// A request cannot contain more than 1000 ResourceRecord elements. +// +// The sum of the number of characters (including spaces) in all Value elements +// in a request cannot exceed 32,000 characters. +// +// If the value of the Action element in a ChangeResourceRecordSets request +// is UPSERT and the resource record set already exists, Amazon Route 53 automatically +// performs a DELETE request and a CREATE request. When Amazon Route 53 calculates +// the number of characters in the Value elements of a change batch request, +// it adds the number of characters in the Value element of the resource record +// set being deleted and the number of characters in the Value element of the +// resource record set being created. +// +// The same resource cannot be deleted more than once in a single batch. +// +// If the value of the Action element in a ChangeResourceRecordSets request +// is UPSERT and the resource record set already exists, Amazon Route 53 automatically +// performs a DELETE request and a CREATE request. When Amazon Route 53 calculates +// the number of characters in the Value elements of a change batch request, +// it adds the number of characters in the Value element of the resource record +// set being deleted and the number of characters in the Value element of the +// resource record set being created. +// +// For more information on transactional changes, see ChangeResourceRecordSets. func (c *Route53) ChangeResourceRecordSets(input *ChangeResourceRecordSetsInput) (*ChangeResourceRecordSetsOutput, error) { req, out := c.ChangeResourceRecordSetsRequest(input) err := req.Send() @@ -226,12 +302,38 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * return } -// This action creates a new health check. +// Creates a new health check. // -// To create a new health check, send a POST request to the /Route 53 API version/healthcheck -// resource. The request body must include a document with a CreateHealthCheckRequest -// element. The response returns the CreateHealthCheckResponse element that -// contains metadata about the health check. +// To create a new health check, send a POST request to the /2013-04-01/healthcheck +// resource. The request body must include an XML document with a CreateHealthCheckRequest +// element. The response returns the CreateHealthCheckResponse element, containing +// the health check ID specified when adding health check to a resource record +// set. For information about adding health checks to resource record sets, +// see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets. +// +// If you are registering Amazon EC2 instances with an Elastic Load Balancing +// (ELB) load balancer, do not create Amazon Route 53 health checks for the +// Amazon EC2 instances. When you register an Amazon EC2 instance with a load +// balancer, you configure settings for an ELB health check, which performs +// a similar function to an Amazon Route 53 health check. +// +// You can associate health checks with failover resource record sets in a +// private hosted zone. Note the following: +// +// Amazon Route 53 health checkers are outside the VPC. To check the health +// of an endpoint within a VPC by IP address, you must assign a public IP address +// to the instance in the VPC. +// +// You can configure a health checker to check the health of an external +// resource that the instance relies on, such as a database server. +// +// You can create a CloudWatch metric, associate an alarm with the metric, +// and then create a health check that is based on the state of the alarm. For +// example, you might create a CloudWatch metric that checks the status of the +// Amazon EC2 StatusCheckFailed metric, add an alarm to the metric, and then +// create a health check that is based on the state of the alarm. For information +// about creating CloudWatch metrics and alarms by using the CloudWatch console, +// see the Amazon CloudWatch Developer Guide (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html). func (c *Route53) CreateHealthCheck(input *CreateHealthCheckInput) (*CreateHealthCheckOutput, error) { req, out := c.CreateHealthCheckRequest(input) err := req.Send() @@ -279,28 +381,45 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re return } -// This action creates a new hosted zone. +// Creates a new public hosted zone, used to specify how the Domain Name System +// (DNS) routes traffic on the Internet for a domain, such as example.com, and +// its subdomains. // -// To create a new hosted zone, send a POST request to the /Route 53 API version/hostedzone -// resource. The request body must include a document with a CreateHostedZoneRequest -// element. The response returns the CreateHostedZoneResponse element that contains +// Public hosted zones cannot be converted to a private hosted zone or vice +// versa. Instead, create a new hosted zone with the same name and create new +// resource record sets. +// +// Send a POST request to the /Amazon Route 53 API version/hostedzone resource. +// The request body must include an XML document with a CreateHostedZoneRequest +// element. The response returns the CreateHostedZoneResponse element containing // metadata about the hosted zone. // -// Amazon Route 53 automatically creates a default SOA record and four NS records -// for the zone. The NS records in the hosted zone are the name servers you -// give your registrar to delegate your domain to. For more information about -// SOA and NS records, see NS and SOA Records that Amazon Route 53 Creates for -// a Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html) +// Fore more information about charges for hosted zones, see AmazonAmazon Route +// 53 Pricing (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/pricing/). +// +// Note the following: +// +// You cannot create a hosted zone for a top-level domain (TLD). +// +// Amazon Route 53 automatically creates a default SOA record and four NS +// records for the zone. For more information about SOA and NS records, see +// NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html) // in the Amazon Route 53 Developer Guide. // -// When you create a zone, its initial status is PENDING. This means that it -// is not yet available on all DNS servers. The status of the zone changes to -// INSYNC when the NS and SOA records are available on all Amazon Route 53 DNS -// servers. +// If your domain is registered with a registrar other than Amazon Route +// 53, you must update the name servers with your registrar to make Amazon Route +// 53 your DNS service. For more information, see Configuring Amazon Route 53 +// as your DNS Service (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/creating-migrating.html) +// in the Amazon Route 53 Developer's Guide. // -// When trying to create a hosted zone using a reusable delegation set, you -// could specify an optional DelegationSetId, and Route53 would assign those -// 4 NS records for the zone, instead of alloting a new one. +// After creating a zone, its initial status is PENDING. This means that +// it is not yet available on all DNS servers. The status of the zone changes +// to INSYNC when the NS and SOA records are available on all Amazon Route 53 +// DNS servers. +// +// When trying to create a hosted zone using a reusable delegation set, specify +// an optional DelegationSetId, and Amazon Route 53 would assign those 4 NS +// records for the zone, instead of alloting a new one. func (c *Route53) CreateHostedZone(input *CreateHostedZoneInput) (*CreateHostedZoneOutput, error) { req, out := c.CreateHostedZoneRequest(input) err := req.Send() @@ -348,16 +467,19 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega return } -// This action creates a reusable delegationSet. +// Creates a delegation set (a group of four anem servers) that can be reused +// by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet +// marks the delegation set associated with that zone as reusable // -// To create a new reusable delegationSet, send a POST request to the /Route -// 53 API version/delegationset resource. The request body must include a document -// with a CreateReusableDelegationSetRequest element. The response returns the -// CreateReusableDelegationSetResponse element that contains metadata about -// the delegationSet. +// Send a POST request to the /Amazon Route 53 API version/delegationset resource. +// The request body must include an XML document with a CreateReusableDelegationSetRequest +// element. // -// If the optional parameter HostedZoneId is specified, it marks the delegationSet -// associated with that particular hosted zone as reusable. +// A reusable delegation set cannot be associated with a private hosted zone/ +// +// For more information, including a procedure on how to create and configure +// a reusable delegation set (also known as white label name servers), see Configuring +// White Label Name Servers (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html). func (c *Route53) CreateReusableDelegationSet(input *CreateReusableDelegationSetInput) (*CreateReusableDelegationSetOutput, error) { req, out := c.CreateReusableDelegationSetRequest(input) err := req.Send() @@ -409,8 +531,8 @@ func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (r // sets for one domain name (such as example.com) or one subdomain name (such // as www.example.com). // -// To create a traffic policy, send a POST request to the /Route 53 API version/trafficpolicy -// resource. The request body must include a document with a CreateTrafficPolicyRequest +// Send a POST request to the /Amazon Route 53 API version/trafficpolicy resource. +// The request body must include a document with a CreateTrafficPolicyRequest // element. The response includes the CreateTrafficPolicyResponse element, which // contains information about the new traffic policy. func (c *Route53) CreateTrafficPolicy(input *CreateTrafficPolicyInput) (*CreateTrafficPolicyOutput, error) { @@ -467,11 +589,10 @@ func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyI // responds to DNS queries for the domain or subdomain name by using the resource // record sets that CreateTrafficPolicyInstance created. // -// To create a traffic policy instance, send a POST request to the /Route 53 -// API version/trafficpolicyinstance resource. The request body must include -// a document with a CreateTrafficPolicyRequest element. The response returns -// the CreateTrafficPolicyInstanceResponse element, which contains information -// about the traffic policy instance. +// Send a POST request to the /Amazon Route 53 API version/trafficpolicyinstance +// resource. The request body must include a document with a CreateTrafficPolicyRequest +// element. The response returns the CreateTrafficPolicyInstanceResponse element, +// which contains information about the traffic policy instance. func (c *Route53) CreateTrafficPolicyInstance(input *CreateTrafficPolicyInstanceInput) (*CreateTrafficPolicyInstanceOutput, error) { req, out := c.CreateTrafficPolicyInstanceRequest(input) err := req.Send() @@ -522,12 +643,14 @@ func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVe // Creates a new version of an existing traffic policy. When you create a new // version of a traffic policy, you specify the ID of the traffic policy that // you want to update and a JSON-formatted document that describes the new version. -// // You use traffic policies to create multiple DNS resource record sets for // one domain name (such as example.com) or one subdomain name (such as www.example.com). +// You can create a maximum of 1000 versions of a traffic policy. If you reach +// the limit and need to create another version, you'll need to start a new +// traffic policy. // -// To create a new version, send a POST request to the /Route 53 API version/trafficpolicy/ -// resource. The request body includes a document with a CreateTrafficPolicyVersionRequest +// Send a POST request to the /Amazon Route 53 version/trafficpolicy/ resource. +// The request body includes a document with a CreateTrafficPolicyVersionRequest // element. The response returns the CreateTrafficPolicyVersionResponse element, // which contains information about the new version of the traffic policy. func (c *Route53) CreateTrafficPolicyVersion(input *CreateTrafficPolicyVersionInput) (*CreateTrafficPolicyVersionOutput, error) { @@ -577,16 +700,17 @@ func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req * return } -// This action deletes a health check. To delete a health check, send a DELETE -// request to the /Route 53 API version/healthcheck/health check ID resource. +// Deletes a health check. Send a DELETE request to the /2013-04-01/healthcheck/health +// check ID resource. // -// You can delete a health check only if there are no resource record sets -// associated with this health check. If resource record sets are associated -// with this health check, you must disassociate them before you can delete -// your health check. If you try to delete a health check that is associated -// with resource record sets, Amazon Route 53 will deny your request with a -// HealthCheckInUse error. For information about disassociating the records -// from your health check, see ChangeResourceRecordSets. +// Amazon Route 53 does not prevent you from deleting a health check even +// if the health check is associated with one or more resource record sets. +// If you delete a health check and you don't update the associated resource +// record sets, the future status of the health check cannot be predicted and +// may change. This will affect the routing of DNS queries for your DNS failover +// configuration. For more information, see Replacing and Deleting Health Checks +// (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html#health-checks-deleting.html) +// in the Amazon Route 53 Developer Guide. func (c *Route53) DeleteHealthCheck(input *DeleteHealthCheckInput) (*DeleteHealthCheckOutput, error) { req, out := c.DeleteHealthCheckRequest(input) err := req.Send() @@ -634,16 +758,15 @@ func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *re return } -// This action deletes a hosted zone. To delete a hosted zone, send a DELETE -// request to the /Route 53 API version/hostedzone/hosted zone ID resource. +// Deletes a hosted zone. Send a DELETE request to the /Amazon Route 53 API +// version/hostedzone/hosted zone ID resource. // -// You can delete a hosted zone only if there are no resource record sets other -// than the default SOA record and NS resource record sets. If your hosted zone -// contains other resource record sets, you must delete them before you can -// delete your hosted zone. If you try to delete a hosted zone that contains -// other resource record sets, Amazon Route 53 will deny your request with a -// HostedZoneNotEmpty error. For information about deleting records from your -// hosted zone, see ChangeResourceRecordSets. +// Delete a hosted zone only if there are no resource record sets other than +// the default SOA record and NS resource record sets. If the hosted zone contains +// other resource record sets, delete them before deleting the hosted zone. +// If you try to delete a hosted zone that contains other resource record sets, +// Amazon Route 53 denies your request with a HostedZoneNotEmpty error. For +// information about deleting records from your hosted zone, see ChangeResourceRecordSets. func (c *Route53) DeleteHostedZone(input *DeleteHostedZoneInput) (*DeleteHostedZoneOutput, error) { req, out := c.DeleteHostedZoneRequest(input) err := req.Send() @@ -691,16 +814,15 @@ func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelega return } -// This action deletes a reusable delegation set. To delete a reusable delegation -// set, send a DELETE request to the /Route 53 API version/delegationset/delegation -// set ID resource. +// Deletes a reusable delegation set. Send a DELETE request to the /2013-04-01/delegationset/delegation +// set ID resource. // -// You can delete a reusable delegation set only if there are no associated -// hosted zones. If your reusable delegation set contains associated hosted -// zones, you must delete them before you can delete your reusable delegation -// set. If you try to delete a reusable delegation set that contains associated -// hosted zones, Amazon Route 53 will deny your request with a DelegationSetInUse -// error. +// You can delete a reusable delegation set only if there are no associated +// hosted zones. +// +// To verify that the reusable delegation set is not associated with any hosted +// zones, run the GetReusableDelegationSet action and specify the ID of the +// reusable delegation set that you want to delete. func (c *Route53) DeleteReusableDelegationSet(input *DeleteReusableDelegationSetInput) (*DeleteReusableDelegationSetOutput, error) { req, out := c.DeleteReusableDelegationSetRequest(input) err := req.Send() @@ -748,8 +870,10 @@ func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (r return } -// Deletes a traffic policy. To delete a traffic policy, send a DELETE request -// to the /Route 53 API version/trafficpolicy resource. +// Deletes a traffic policy. +// +// Send a DELETE request to the /Amazon Route 53 API version/trafficpolicy +// resource. func (c *Route53) DeleteTrafficPolicy(input *DeleteTrafficPolicyInput) (*DeleteTrafficPolicyOutput, error) { req, out := c.DeleteTrafficPolicyRequest(input) err := req.Send() @@ -800,12 +924,11 @@ func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyI // Deletes a traffic policy instance and all of the resource record sets that // Amazon Route 53 created when you created the instance. // -// To delete a traffic policy instance, send a DELETE request to the /Route -// 53 API version/trafficpolicy/traffic policy instance ID resource. +// Send a DELETE request to the /Amazon Route 53 API version/trafficpolicy/traffic +// policy instance ID resource. // -// When you delete a traffic policy instance, Amazon Route 53 also deletes -// all of the resource record sets that were created when you created the traffic -// policy instance. +// In the Amazon Route 53 console, traffic policy instances are known as policy +// records. func (c *Route53) DeleteTrafficPolicyInstance(input *DeleteTrafficPolicyInstanceInput) (*DeleteTrafficPolicyInstanceOutput, error) { req, out := c.DeleteTrafficPolicyInstanceRequest(input) err := req.Send() @@ -853,14 +976,16 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro return } -// This action disassociates a VPC from an hosted zone. +// Disassociates a VPC from a Amazon Route 53 private hosted zone. // -// To disassociate a VPC to a hosted zone, send a POST request to the /Route -// 53 API version/hostedzone/hosted zone ID/disassociatevpc resource. The request -// body must include a document with a DisassociateVPCFromHostedZoneRequest -// element. The response returns the DisassociateVPCFromHostedZoneResponse element -// that contains ChangeInfo for you to track the progress of the DisassociateVPCFromHostedZoneRequest -// you made. See GetChange operation for how to track the progress of your change. +// Send a POST request to the /Amazon Route 53 API version/hostedzone/hosted +// zone ID/disassociatevpc resource. The request body must include an XML document +// with a DisassociateVPCFromHostedZoneRequest element. The response returns +// the DisassociateVPCFromHostedZoneResponse element. +// +// You can only disassociate a VPC from a private hosted zone when two or +// more VPCs are associated with that hosted zone. You cannot convert a private +// hosted zone into a public hosted zone. func (c *Route53) DisassociateVPCFromHostedZone(input *DisassociateVPCFromHostedZoneInput) (*DisassociateVPCFromHostedZoneOutput, error) { req, out := c.DisassociateVPCFromHostedZoneRequest(input) err := req.Send() @@ -908,14 +1033,14 @@ func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, return } -// This action returns the current status of a change batch request. The status -// is one of the following values: +// Returns the current status of a change batch request. The status is one of +// the following values: // -// - PENDING indicates that the changes in this request have not replicated +// PENDING indicates that the changes in this request have not replicated // to all Amazon Route 53 DNS servers. This is the initial status of all change // batch requests. // -// - INSYNC indicates that the changes have replicated to all Amazon Route +// INSYNC indicates that the changes have replicated to all Amazon Route // 53 DNS servers. func (c *Route53) GetChange(input *GetChangeInput) (*GetChangeOutput, error) { req, out := c.GetChangeRequest(input) @@ -967,7 +1092,7 @@ func (c *Route53) GetChangeDetailsRequest(input *GetChangeDetailsInput) (req *re return } -// This action returns the status and changes of a change batch request. +// Returns the status and changes of a change batch request. func (c *Route53) GetChangeDetails(input *GetChangeDetailsInput) (*GetChangeDetailsOutput, error) { req, out := c.GetChangeDetailsRequest(input) err := req.Send() @@ -1015,11 +1140,11 @@ func (c *Route53) GetCheckerIpRangesRequest(input *GetCheckerIpRangesInput) (req return } -// To retrieve a list of the IP ranges used by Amazon Route 53 health checkers -// to check the health of your resources, send a GET request to the /Route 53 -// API version/checkeripranges resource. You can use these IP addresses to configure -// router and firewall rules to allow health checkers to check the health of -// your resources. +// Retrieves a list of the IP ranges used by Amazon Route 53 health checkers +// to check the health of your resources. Send a GET request to the /Amazon +// Route 53 API version/checkeripranges resource. Use these IP addresses to +// configure router and firewall rules to allow health checkers to check the +// health of your resources. func (c *Route53) GetCheckerIpRanges(input *GetCheckerIpRangesInput) (*GetCheckerIpRangesOutput, error) { req, out := c.GetCheckerIpRangesRequest(input) err := req.Send() @@ -1067,9 +1192,9 @@ func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *reques return } -// To retrieve a single geo location, send a GET request to the /Route 53 API -// version/geolocation resource with one of these options: continentcode | countrycode -// | countrycode and subdivisioncode. +// Retrieves a single geo location. Send a GET request to the /2013-04-01/geolocation +// resource with one of these options: continentcode | countrycode | countrycode +// and subdivisioncode. func (c *Route53) GetGeoLocation(input *GetGeoLocationInput) (*GetGeoLocationOutput, error) { req, out := c.GetGeoLocationRequest(input) err := req.Send() @@ -1117,8 +1242,11 @@ func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *reques return } -// To retrieve the health check, send a GET request to the /Route 53 API version/healthcheck/health -// check ID resource. +// Gets information about a specified health check. Send a GET request to the +// /2013-04-01/healthcheck/health check ID resource. For more information about +// using the console to perform this operation, see Amazon Route 53 Health Checks +// and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) +// in the Amazon Route 53 Developer Guide. func (c *Route53) GetHealthCheck(input *GetHealthCheckInput) (*GetHealthCheckOutput, error) { req, out := c.GetHealthCheckRequest(input) err := req.Send() @@ -1167,7 +1295,7 @@ func (c *Route53) GetHealthCheckCountRequest(input *GetHealthCheckCountInput) (r } // To retrieve a count of all your health checks, send a GET request to the -// /Route 53 API version/healthcheckcount resource. +// /2013-04-01/healthcheckcount resource. func (c *Route53) GetHealthCheckCount(input *GetHealthCheckCountInput) (*GetHealthCheckCountOutput, error) { req, out := c.GetHealthCheckCountRequest(input) err := req.Send() @@ -1217,7 +1345,7 @@ func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLa // If you want to learn why a health check is currently failing or why it failed // most recently (if at all), you can get the failure reason for the most recent -// failure. Send a GET request to the /Route 53 API version/healthcheck/health +// failure. Send a GET request to the /Amazon Route 53 API version/healthcheck/health // check ID/lastfailurereason resource. func (c *Route53) GetHealthCheckLastFailureReason(input *GetHealthCheckLastFailureReasonInput) (*GetHealthCheckLastFailureReasonOutput, error) { req, out := c.GetHealthCheckLastFailureReasonRequest(input) @@ -1266,9 +1394,9 @@ func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput) return } -// To retrieve the health check status, send a GET request to the /Route 53 -// API version/healthcheck/health check ID/status resource. You can use this -// call to get a health check's current status. +// Gets status of a specified health check. Send a GET request to the /2013-04-01/healthcheck/health +// check ID/status resource. You can use this call to get a health check's current +// status. func (c *Route53) GetHealthCheckStatus(input *GetHealthCheckStatusInput) (*GetHealthCheckStatusOutput, error) { req, out := c.GetHealthCheckStatusRequest(input) err := req.Send() @@ -1316,10 +1444,9 @@ func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request. return } -// To retrieve the delegation set for a hosted zone, send a GET request to the -// /Route 53 API version/hostedzone/hosted zone ID resource. The delegation -// set is the four Amazon Route 53 name servers that were assigned to the hosted -// zone when you created it. +// Retrieves the delegation set for a hosted zone, including the four name servers +// assigned to the hosted zone. Send a GET request to the /Amazon Route 53 API +// version/hostedzone/hosted zone ID resource. func (c *Route53) GetHostedZone(input *GetHostedZoneInput) (*GetHostedZoneOutput, error) { req, out := c.GetHostedZoneRequest(input) err := req.Send() @@ -1367,8 +1494,8 @@ func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req return } -// To retrieve a count of all your hosted zones, send a GET request to the /Route -// 53 API version/hostedzonecount resource. +// Retrieves a count of all your hosted zones. Send a GET request to the /2013-04-01/hostedzonecount +// resource. func (c *Route53) GetHostedZoneCount(input *GetHostedZoneCountInput) (*GetHostedZoneCountOutput, error) { req, out := c.GetHostedZoneCountRequest(input) err := req.Send() @@ -1416,8 +1543,8 @@ func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSe return } -// To retrieve the reusable delegation set, send a GET request to the /Route -// 53 API version/delegationset/delegation set ID resource. +// Retrieves the reusable delegation set. Send a GET request to the /2013-04-01/delegationset/delegation +// set ID resource. func (c *Route53) GetReusableDelegationSet(input *GetReusableDelegationSetInput) (*GetReusableDelegationSetOutput, error) { req, out := c.GetReusableDelegationSetRequest(input) err := req.Send() @@ -1465,8 +1592,9 @@ func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *re return } -// Gets information about a specific traffic policy version. To get the information, -// send a GET request to the /Route 53 API version/trafficpolicy resource. +// Gets information about a specific traffic policy version. +// +// Send a GET request to the /Amazon Route 53 API version/trafficpolicy resource. func (c *Route53) GetTrafficPolicy(input *GetTrafficPolicyInput) (*GetTrafficPolicyOutput, error) { req, out := c.GetTrafficPolicyRequest(input) err := req.Send() @@ -1516,13 +1644,16 @@ func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanc // Gets information about a specified traffic policy instance. // -// To get information about the traffic policy instance, send a GET request -// to the /Route 53 API version/trafficpolicyinstance resource. +// Send a GET request to the /Amazon Route 53 API version/trafficpolicyinstance +// resource. // -// After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance +// After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance // request, there's a brief delay while Amazon Route 53 creates the resource // record sets that are specified in the traffic policy definition. For more // information, see the State response element. +// +// In the Amazon Route 53 console, traffic policy instances are known as +// policy records. func (c *Route53) GetTrafficPolicyInstance(input *GetTrafficPolicyInstanceInput) (*GetTrafficPolicyInstanceOutput, error) { req, out := c.GetTrafficPolicyInstanceRequest(input) err := req.Send() @@ -1574,7 +1705,7 @@ func (c *Route53) GetTrafficPolicyInstanceCountRequest(input *GetTrafficPolicyIn // current AWS account. // // To get the number of traffic policy instances, send a GET request to the -// /Route 53 API version/trafficpolicyinstancecount resource. +// /2013-04-01/trafficpolicyinstancecount resource. func (c *Route53) GetTrafficPolicyInstanceCount(input *GetTrafficPolicyInstanceCountInput) (*GetTrafficPolicyInstanceCountOutput, error) { req, out := c.GetTrafficPolicyInstanceCountRequest(input) err := req.Send() @@ -1625,8 +1756,8 @@ func (c *Route53) ListChangeBatchesByHostedZoneRequest(input *ListChangeBatchesB return } -// This action gets the list of ChangeBatches in a given time period for a given -// hosted zone. +// Gets the list of ChangeBatches in a given time period for a given hosted +// zone. func (c *Route53) ListChangeBatchesByHostedZone(input *ListChangeBatchesByHostedZoneInput) (*ListChangeBatchesByHostedZoneOutput, error) { req, out := c.ListChangeBatchesByHostedZoneRequest(input) err := req.Send() @@ -1677,8 +1808,8 @@ func (c *Route53) ListChangeBatchesByRRSetRequest(input *ListChangeBatchesByRRSe return } -// This action gets the list of ChangeBatches in a given time period for a given -// hosted zone and RRSet. +// Gets the list of ChangeBatches in a given time period for a given hosted +// zone and RRSet. func (c *Route53) ListChangeBatchesByRRSet(input *ListChangeBatchesByRRSetInput) (*ListChangeBatchesByRRSetOutput, error) { req, out := c.ListChangeBatchesByRRSetRequest(input) err := req.Send() @@ -1726,19 +1857,14 @@ func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *re return } -// To retrieve a list of supported geo locations, send a GET request to the -// /Route 53 API version/geolocations resource. The response to this request -// includes a GeoLocationDetailsList element with zero, one, or multiple GeoLocationDetails -// child elements. The list is sorted by country code, and then subdivision -// code, followed by continents at the end of the list. +// Retrieves a list of supported geo locations. Send a GET request to the /2013-04-01/geolocations +// resource. The response to this request includes a GeoLocationDetailsList +// element for each location that Amazon Route 53 supports. // -// By default, the list of geo locations is displayed on a single page. You -// can control the length of the page that is displayed by using the MaxItems -// parameter. If the list is truncated, IsTruncated will be set to true and -// a combination of NextContinentCode, NextCountryCode, NextSubdivisionCode -// will be populated. You can pass these as parameters to StartContinentCode, -// StartCountryCode, StartSubdivisionCode to control the geo location that the -// list begins with. +// Countries are listed first, and continents are listed last. If Amazon Route +// 53 supports subdivisions for a country (for example, states or provinces), +// the subdivisions for that country are listed in alphabetical order immediately +// after the corresponding country. func (c *Route53) ListGeoLocations(input *ListGeoLocationsInput) (*ListGeoLocationsOutput, error) { req, out := c.ListGeoLocationsRequest(input) err := req.Send() @@ -1792,16 +1918,15 @@ func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *re return } -// To retrieve a list of your health checks, send a GET request to the /Route -// 53 API version/healthcheck resource. The response to this request includes -// a HealthChecks element with zero, one, or multiple HealthCheck child elements. -// By default, the list of health checks is displayed on a single page. You -// can control the length of the page that is displayed by using the MaxItems -// parameter. You can use the Marker parameter to control the health check that -// the list begins with. +// Retrieve a list of your health checks. Send a GET request to the /2013-04-01/healthcheck +// resource. The response to this request includes a HealthChecks element with +// zero or more HealthCheck child elements. By default, the list of health checks +// is displayed on a single page. You can control the length of the page that +// is displayed by using the MaxItems parameter. You can use the Marker parameter +// to control the health check that the list begins with. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to -// a value greater than 100, Amazon Route 53 returns only the first 100. +// For information about listing health checks using the Amazon Route 53 console, +// see Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html). func (c *Route53) ListHealthChecks(input *ListHealthChecksInput) (*ListHealthChecksOutput, error) { req, out := c.ListHealthChecksRequest(input) err := req.Send() @@ -1880,16 +2005,32 @@ func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *requ return } -// To retrieve a list of your hosted zones, send a GET request to the /Route -// 53 API version/hostedzone resource. The response to this request includes -// a HostedZones element with zero, one, or multiple HostedZone child elements. -// By default, the list of hosted zones is displayed on a single page. You can -// control the length of the page that is displayed by using the MaxItems parameter. -// You can use the Marker parameter to control the hosted zone that the list -// begins with. +// To retrieve a list of your public and private hosted zones, send a GET request +// to the /2013-04-01/hostedzone resource. The response to this request includes +// a HostedZones child element for each hosted zone created by the current AWS +// account. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to -// a value greater than 100, Amazon Route 53 returns only the first 100. +// Amazon Route 53 returns a maximum of 100 items in each response. If you +// have a lot of hosted zones, you can use the maxitems parameter to list them +// in groups of up to 100. The response includes four values that help navigate +// from one group of maxitems hosted zones to the next: +// +// MaxItemsis the value specified for the maxitems parameter in the request +// that produced the current response. +// +// If the value of IsTruncated in the response is true, there are more hosted +// zones associated with the current AWS account. +// +// NextMarkeris the hosted zone ID of the next hosted zone that is associated +// with the current AWS account. If you want to list more hosted zones, make +// another call to ListHostedZones, and specify the value of the NextMarker +// element in the marker parameter. +// +// If IsTruncated is false, the NextMarker element is omitted from the response. +// +// If you're making the second or subsequent call to ListHostedZones, the +// Marker element matches the value that you specified in the marker parameter +// in the previous request. func (c *Route53) ListHostedZones(input *ListHostedZonesInput) (*ListHostedZonesOutput, error) { req, out := c.ListHostedZonesRequest(input) err := req.Send() @@ -1962,17 +2103,56 @@ func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput return } -// To retrieve a list of your hosted zones in lexicographic order, send a GET -// request to the /Route 53 API version/hostedzonesbyname resource. The response -// to this request includes a HostedZones element with zero or more HostedZone -// child elements lexicographically ordered by DNS name. By default, the list -// of hosted zones is displayed on a single page. You can control the length -// of the page that is displayed by using the MaxItems parameter. You can use -// the DNSName and HostedZoneId parameters to control the hosted zone that the -// list begins with. +// Retrieves a list of your hosted zones in lexicographic order. Send a GET +// request to the /2013-04-01/hostedzonesbyname resource. The response includes +// a HostedZones child element for each hosted zone created by the current AWS +// account. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to -// a value greater than 100, Amazon Route 53 returns only the first 100. +// ListHostedZonesByName sorts hosted zones by name with the labels reversed. +// For example: +// +// com.example.www. +// +// Note the trailing dot, which can change the sort order in some circumstances. +// +// If the domain name includes escape characters or Punycode, ListHostedZonesByName +// alphabetizes the domain name using the escaped or Punycoded value, which +// is the format that Amazon Route 53 saves in its database. For example, to +// create a hosted zone for example.com, specify ex\344mple.com for the domain +// name. ListHostedZonesByName alphabetizes it as: +// +// com.ex\344mple. +// +// The labels are reversed and alphabetized using the escaped value. For +// more information about valid domain name formats, including internationalized +// domain names, see DNS Domain Name Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) +// in the Amazon Route 53 Developer Guide. +// +// Amazon Route 53 returns up to 100 items in each response. If you have a +// lot of hosted zones, use the MaxItems parameter to list them in groups of +// up to 100. The response includes values that help navigate from one group +// of MaxItems hosted zones to the next: +// +// The DNSName and HostedZoneId elements in the response contain the values, +// if any, specified for the dnsname and hostedzoneid parameters in the request +// that produced the current response. +// +// The MaxItems element in the response contains the value, if any, that +// you specified for the maxitems parameter in the request that produced the +// current response. +// +// If the value of IsTruncated in the response is true, there are more hosted +// zones associated with the current AWS account. +// +// If IsTruncated is false, this response includes the last hosted zone that +// is associated with the current account. The NextDNSName element and NextHostedZoneId +// elements are omitted from the response. +// +// The NextDNSName and NextHostedZoneId elements in the response contain +// the domain name and the hosted zone ID of the next hosted zone that is associated +// with the current AWS account. If you want to list more hosted zones, make +// another call to ListHostedZonesByName, and specify the value of NextDNSName +// and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. func (c *Route53) ListHostedZonesByName(input *ListHostedZonesByNameInput) (*ListHostedZonesByNameOutput, error) { req, out := c.ListHostedZonesByNameRequest(input) err := req.Send() @@ -2026,39 +2206,6 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp return } -// List the resource record sets in a specified hosted zone. Send a GET request -// to the 2013-04-01/hostedzone/hosted zone ID/rrset resource. -// -// ListResourceRecordSets returns up to 100 resource record sets at a time -// in ASCII order, beginning at a position specified by the name and type elements. -// The action sorts results first by DNS name with the labels reversed, for -// example: -// -// com.example.www. -// -// Note the trailing dot, which can change the sort order in some circumstances. -// When multiple records have the same DNS name, the action sorts results by -// the record type. -// -// You can use the name and type elements to adjust the beginning position -// of the list of resource record sets returned: -// -// If you do not specify Name or Type: The results begin with the first resource -// record set that the hosted zone contains. If you specify Name but not Type: -// The results begin with the first resource record set in the list whose name -// is greater than or equal to Name. If you specify Type but not Name: Amazon -// Route 53 returns the InvalidInput error. If you specify both Name and Type: -// The results begin with the first resource record set in the list whose name -// is greater than or equal to Name, and whose type is greater than or equal -// to Type. This action returns the most current version of the records. This -// includes records that are PENDING, and that are not yet available on all -// Amazon Route 53 DNS servers. -// -// To ensure that you get an accurate listing of the resource record sets for -// a hosted zone at a point in time, do not submit a ChangeResourceRecordSets -// request while you are paging through the results of a ListResourceRecordSets -// request. If you do, some pages may display results without the latest changes -// while other pages display results with the latest changes. func (c *Route53) ListResourceRecordSets(input *ListResourceRecordSetsInput) (*ListResourceRecordSetsOutput, error) { req, out := c.ListResourceRecordSetsRequest(input) err := req.Send() @@ -2132,14 +2279,14 @@ func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegatio } // To retrieve a list of your reusable delegation sets, send a GET request to -// the /Route 53 API version/delegationset resource. The response to this request -// includes a DelegationSets element with zero, one, or multiple DelegationSet -// child elements. By default, the list of delegation sets is displayed on a -// single page. You can control the length of the page that is displayed by -// using the MaxItems parameter. You can use the Marker parameter to control -// the delegation set that the list begins with. +// the /2013-04-01/delegationset resource. The response to this request includes +// a DelegationSets element with zero, one, or multiple DelegationSet child +// elements. By default, the list of delegation sets is displayed on a single +// page. You can control the length of the page that is displayed by using the +// MaxItems parameter. You can use the Marker parameter to control the delegation +// set that the list begins with. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to +// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to // a value greater than 100, Amazon Route 53 returns only the first 100. func (c *Route53) ListReusableDelegationSets(input *ListReusableDelegationSetsInput) (*ListReusableDelegationSetsOutput, error) { req, out := c.ListReusableDelegationSetsRequest(input) @@ -2283,8 +2430,8 @@ func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (r } // Gets information about the latest version for every traffic policy that is -// associated with the current AWS account. To get the information, send a GET -// request to the /Route 53 API version/trafficpolicy resource. +// associated with the current AWS account. Send a GET request to the /Amazon +// Route 53 API version/trafficpolicy resource. // // Amazon Route 53 returns a maximum of 100 items in each response. If you // have a lot of traffic policies, you can use the maxitems parameter to list @@ -2293,23 +2440,29 @@ func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (r // The response includes three values that help you navigate from one group // of maxitems traffic policies to the next: // -// IsTruncated If the value of IsTruncated in the response is true, there -// are more traffic policies associated with the current AWS account. +// IsTruncated +// +// If the value of IsTruncated in the response is true, there are more traffic +// policies associated with the current AWS account. // // If IsTruncated is false, this response includes the last traffic policy // that is associated with the current account. // -// TrafficPolicyIdMarker If IsTruncated is true, TrafficPolicyIdMarker is the -// ID of the first traffic policy in the next group of MaxItems traffic policies. -// If you want to list more traffic policies, make another call to ListTrafficPolicies, -// and specify the value of the TrafficPolicyIdMarker element from the response -// in the TrafficPolicyIdMarker request parameter. +// TrafficPolicyIdMarker +// +// If IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic +// policy in the next group of MaxItems traffic policies. If you want to list +// more traffic policies, make another call to ListTrafficPolicies, and specify +// the value of the TrafficPolicyIdMarker element from the response in the TrafficPolicyIdMarker +// request parameter. // // If IsTruncated is false, the TrafficPolicyIdMarker element is omitted from // the response. // -// MaxItems The value that you specified for the MaxItems parameter in the -// request that produced the current response. +// MaxItems +// +// The value that you specified for the MaxItems parameter in the request that +// produced the current response. func (c *Route53) ListTrafficPolicies(input *ListTrafficPoliciesInput) (*ListTrafficPoliciesOutput, error) { req, out := c.ListTrafficPoliciesRequest(input) err := req.Send() @@ -2360,11 +2513,12 @@ func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInst // Gets information about the traffic policy instances that you created by using // the current AWS account. // -// After you submit an UpdateTrafficPolicyInstance request, there's a brief +// After you submit an UpdateTrafficPolicyInstance request, there's a brief // delay while Amazon Route 53 creates the resource record sets that are specified // in the traffic policy definition. For more information, see the State response -// element. To get information about the traffic policy instances that are associated -// with the current AWS account, send a GET request to the /Route 53 API version/trafficpolicyinstance +// element. +// +// Send a GET request to the /Amazon Route 53 API version/trafficpolicyinstance // resource. // // Amazon Route 53 returns a maximum of 100 items in each response. If you @@ -2374,16 +2528,21 @@ func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInst // The response includes five values that help you navigate from one group // of MaxItems traffic policy instances to the next: // -// IsTruncated If the value of IsTruncated in the response is true, there -// are more traffic policy instances associated with the current AWS account. +// IsTruncated +// +// If the value of IsTruncated in the response is true, there are more traffic +// policy instances associated with the current AWS account. // // If IsTruncated is false, this response includes the last traffic policy // instance that is associated with the current account. // -// MaxItems The value that you specified for the MaxItems parameter in the -// request that produced the current response. +// MaxItems +// +// The value that you specified for the MaxItems parameter in the request that +// produced the current response. +// +// HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker // -// HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker // If IsTruncated is true, these three values in the response represent the // first traffic policy instance in the next group of MaxItems traffic policy // instances. To list more traffic policy instances, make another call to ListTrafficPolicyInstances, @@ -2440,11 +2599,12 @@ func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTraff // Gets information about the traffic policy instances that you created in a // specified hosted zone. // -// After you submit an UpdateTrafficPolicyInstance request, there's a brief +// After you submit an UpdateTrafficPolicyInstance request, there's a brief // delay while Amazon Route 53 creates the resource record sets that are specified // in the traffic policy definition. For more information, see the State response -// element. To get information about the traffic policy instances that you created -// in a specified hosted zone, send a GET request to the /Route 53 API version/trafficpolicyinstance +// element. +// +// Send a GET request to the /Amazon Route 53 API version/trafficpolicyinstance // resource and include the ID of the hosted zone. // // Amazon Route 53 returns a maximum of 100 items in each response. If you @@ -2454,19 +2614,24 @@ func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTraff // The response includes four values that help you navigate from one group // of MaxItems traffic policy instances to the next: // -// IsTruncated If the value of IsTruncated in the response is true, there -// are more traffic policy instances associated with the current AWS account. +// IsTruncated +// +// If the value of IsTruncated in the response is true, there are more traffic +// policy instances associated with the current AWS account. // // If IsTruncated is false, this response includes the last traffic policy // instance that is associated with the current account. // -// MaxItems The value that you specified for the MaxItems parameter in the -// request that produced the current response. +// MaxItems // -// TrafficPolicyInstanceNameMarker and TrafficPolicyInstanceTypeMarker If IsTruncated -// is true, these two values in the response represent the first traffic policy -// instance in the next group of MaxItems traffic policy instances. To list -// more traffic policy instances, make another call to ListTrafficPolicyInstancesByHostedZone, +// The value that you specified for the MaxItems parameter in the request that +// produced the current response. +// +// TrafficPolicyInstanceNameMarker and TrafficPolicyInstanceTypeMarker +// +// If IsTruncated is true, these two values in the response represent the first +// traffic policy instance in the next group of MaxItems traffic policy instances. +// To list more traffic policy instances, make another call to ListTrafficPolicyInstancesByHostedZone, // and specify these values in the corresponding request parameters. // // If IsTruncated is false, all three elements are omitted from the response. @@ -2520,13 +2685,13 @@ func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPo // Gets information about the traffic policy instances that you created by using // a specify traffic policy version. // -// After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance +// After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance // request, there's a brief delay while Amazon Route 53 creates the resource // record sets that are specified in the traffic policy definition. For more -// information, see the State response element. To get information about the -// traffic policy instances that you created by using a specify traffic policy -// version, send a GET request to the /Route 53 API version/trafficpolicyinstance -// resource and include the ID and version of the traffic policy. +// information, see the State response element. +// +// Send a GET request to the /Route 53 API version/trafficpolicyinstance resource +// and include the ID and version of the traffic policy. // // Amazon Route 53 returns a maximum of 100 items in each response. If you // have a lot of traffic policy instances, you can use the MaxItems parameter @@ -2535,16 +2700,21 @@ func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPo // The response includes five values that help you navigate from one group // of MaxItems traffic policy instances to the next: // -// IsTruncated If the value of IsTruncated in the response is true, there -// are more traffic policy instances associated with the specified traffic policy. +// IsTruncated +// +// If the value of IsTruncated in the response is true, there are more traffic +// policy instances associated with the specified traffic policy. // // If IsTruncated is false, this response includes the last traffic policy // instance that is associated with the specified traffic policy. // -// MaxItems The value that you specified for the MaxItems parameter in the -// request that produced the current response. +// MaxItems +// +// The value that you specified for the MaxItems parameter in the request that +// produced the current response. +// +// HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker // -// HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker // If IsTruncated is true, these values in the response represent the first // traffic policy instance in the next group of MaxItems traffic policy instances. // To list more traffic policy instances, make another call to ListTrafficPolicyInstancesByPolicy, @@ -2599,7 +2769,9 @@ func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersi } // Gets information about all of the versions for a specified traffic policy. -// ListTrafficPolicyVersions lists only versions that have not been deleted. +// +// Send a GET request to the /Amazon Route 53 API version/trafficpolicy resource +// and specify the ID of the traffic policy for which you want to list versions. // // Amazon Route 53 returns a maximum of 100 items in each response. If you // have a lot of traffic policies, you can use the maxitems parameter to list @@ -2608,29 +2780,81 @@ func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersi // The response includes three values that help you navigate from one group // of maxitemsmaxitems traffic policies to the next: // -// IsTruncated If the value of IsTruncated in the response is true, there -// are more traffic policy versions associated with the specified traffic policy. +// IsTruncated +// +// If the value of IsTruncated in the response is true, there are more traffic +// policy versions associated with the specified traffic policy. // // If IsTruncated is false, this response includes the last traffic policy // version that is associated with the specified traffic policy. // -// TrafficPolicyVersionMarker The ID of the next traffic policy version that -// is associated with the current AWS account. If you want to list more traffic -// policies, make another call to ListTrafficPolicyVersions, and specify the -// value of the TrafficPolicyVersionMarker element in the TrafficPolicyVersionMarker -// request parameter. +// TrafficPolicyVersionMarker +// +// The ID of the next traffic policy version that is associated with the current +// AWS account. If you want to list more traffic policies, make another call +// to ListTrafficPolicyVersions, and specify the value of the TrafficPolicyVersionMarker +// element in the TrafficPolicyVersionMarker request parameter. // // If IsTruncated is false, Amazon Route 53 omits the TrafficPolicyVersionMarker // element from the response. // -// MaxItems The value that you specified for the MaxItems parameter in the -// request that produced the current response. +// MaxItems +// +// The value that you specified for the MaxItems parameter in the request that +// produced the current response. func (c *Route53) ListTrafficPolicyVersions(input *ListTrafficPolicyVersionsInput) (*ListTrafficPolicyVersionsOutput, error) { req, out := c.ListTrafficPolicyVersionsRequest(input) err := req.Send() return out, err } +const opTestDNSAnswer = "TestDNSAnswer" + +// TestDNSAnswerRequest generates a "aws/request.Request" representing the +// client's request for the TestDNSAnswer operation. The "output" return +// value can be used to capture response data after the request's "Send" method +// is called. +// +// Creating a request object using this method should be used when you want to inject +// custom logic into the request's lifecycle using a custom handler, or if you want to +// access properties on the request object before or after sending the request. If +// you just want the service response, call the TestDNSAnswer method directly +// instead. +// +// Note: You must call the "Send" method on the returned request object in order +// to execute the request. +// +// // Example sending a request using the TestDNSAnswerRequest method. +// req, resp := client.TestDNSAnswerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request.Request, output *TestDNSAnswerOutput) { + op := &request.Operation{ + Name: opTestDNSAnswer, + HTTPMethod: "GET", + HTTPPath: "/2013-04-01/testdnsanswer", + } + + if input == nil { + input = &TestDNSAnswerInput{} + } + + req = c.newRequest(op, input, output) + output = &TestDNSAnswerOutput{} + req.Data = output + return +} + +func (c *Route53) TestDNSAnswer(input *TestDNSAnswerInput) (*TestDNSAnswerOutput, error) { + req, out := c.TestDNSAnswerRequest(input) + err := req.Send() + return out, err +} + const opUpdateHealthCheck = "UpdateHealthCheck" // UpdateHealthCheckRequest generates a "aws/request.Request" representing the @@ -2672,12 +2896,13 @@ func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req * return } -// This action updates an existing health check. +// Updates an existing health check. // -// To update a health check, send a POST request to the /Route 53 API version/healthcheck/health -// check ID resource. The request body must include a document with an UpdateHealthCheckRequest -// element. The response returns an UpdateHealthCheckResponse element, which -// contains metadata about the health check. +// Send a POST request to the /Amazon Route 53 API version/healthcheck/health +// check ID resource. The request body must include an XML document with an +// UpdateHealthCheckRequest element. For more information about updating health +// checks, see Creating, Updating, and Deleting Health Checks (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html) +// in the Amazon Route 53 Developer Guide. func (c *Route53) UpdateHealthCheck(input *UpdateHealthCheckInput) (*UpdateHealthCheckOutput, error) { req, out := c.UpdateHealthCheckRequest(input) err := req.Send() @@ -2725,12 +2950,8 @@ func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentI return } -// To update the hosted zone comment, send a POST request to the /Route 53 API -// version/hostedzone/hosted zone ID resource. The request body must include -// a document with a UpdateHostedZoneCommentRequest element. The response to -// this request includes the modified HostedZone element. -// -// The comment can have a maximum length of 256 characters. +// Updates the hosted zone comment. Send a POST request to the /2013-04-01/hostedzone/hosted +// zone ID resource. func (c *Route53) UpdateHostedZoneComment(input *UpdateHostedZoneCommentInput) (*UpdateHostedZoneCommentOutput, error) { req, out := c.UpdateHostedZoneCommentRequest(input) err := req.Send() @@ -2780,8 +3001,7 @@ func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCo // Updates the comment for a specified traffic policy version. // -// To update the comment, send a POST request to the /Route 53 API version/trafficpolicy/ -// resource. +// Send a POST request to the /Amazon Route 53 API version/trafficpolicy/ resource. // // The request body must include a document with an UpdateTrafficPolicyCommentRequest // element. @@ -2835,40 +3055,48 @@ func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyI // Updates the resource record sets in a specified hosted zone that were created // based on the settings in a specified traffic policy version. // -// The DNS type of the resource record sets that you're updating must match -// the DNS type in the JSON document that is associated with the traffic policy -// version that you're using to update the traffic policy instance. When you -// update a traffic policy instance, Amazon Route 53 continues to respond to -// DNS queries for the root resource record set name (such as example.com) while -// it replaces one group of resource record sets with another. Amazon Route -// 53 performs the following operations: +// Send a POST request to the /Amazon Route 53 API version/trafficpolicyinstance/traffic +// policy ID resource. The request body must include a document with an UpdateTrafficPolicyInstanceRequest +// element. // -// Amazon Route 53 creates a new group of resource record sets based on the +// When you update a traffic policy instance, Amazon Route 53 continues to +// respond to DNS queries for the root resource record set name (such as example.com) +// while it replaces one group of resource record sets with another. Amazon +// Route 53 performs the following operations: +// +// Amazon Route 53 creates a new group of resource record sets based on the // specified traffic policy. This is true regardless of how substantial the // differences are between the existing resource record sets and the new resource -// record sets. When all of the new resource record sets have been created, -// Amazon Route 53 starts to respond to DNS queries for the root resource record -// set name (such as example.com) by using the new resource record sets. Amazon -// Route 53 deletes the old group of resource record sets that are associated -// with the root resource record set name. To update a traffic policy instance, -// send a POST request to the /Route 53 API version/trafficpolicyinstance/traffic -// policy ID resource. The request body must include a document with an UpdateTrafficPolicyInstanceRequest -// element. +// record sets. +// +// When all of the new resource record sets have been created, Amazon Route +// 53 starts to respond to DNS queries for the root resource record set name +// (such as example.com) by using the new resource record sets. +// +// Amazon Route 53 deletes the old group of resource record sets that are +// associated with the root resource record set name. func (c *Route53) UpdateTrafficPolicyInstance(input *UpdateTrafficPolicyInstanceInput) (*UpdateTrafficPolicyInstanceOutput, error) { req, out := c.UpdateTrafficPolicyInstanceRequest(input) err := req.Send() return out, err } -// A complex type that contains information to uniquely identify the CloudWatch -// alarm that you're associating with a Route 53 health check. +// A complex type that identifies the CloudWatch alarm that you want Amazon +// Route 53 health checkers to use to determine whether this health check is +// healthy. type AlarmIdentifier struct { _ struct{} `type:"structure"` - // The name of the CloudWatch alarm. + // The name of the CloudWatch alarm that you want Amazon Route 53 health checkers + // to use to determine whether this health check is healthy. Name *string `min:"1" type:"string" required:"true"` - // The CloudWatchRegion that the CloudWatch alarm was created in. + // A complex type that identifies the CloudWatch alarm that you want Amazon + // Route 53 health checkers to use to determine whether this health check is + // healthy. + // + // For the current list of CloudWatch regions, see Amazon CloudWatch (http://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region) + // in AWS Regions and Endpoints in the Amazon Web Services General Reference. Region *string `min:"1" type:"string" required:"true" enum:"CloudWatchRegion"` } @@ -2905,118 +3133,204 @@ func (s *AlarmIdentifier) Validate() error { } // Alias resource record sets only: Information about the CloudFront distribution, -// ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set -// to which you are routing traffic. +// Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon +// Route 53 resource record set to which you are redirecting queries. The Elastic +// Beanstalk environment must have a regionalized subdomain. // -// If you're creating resource record sets for a private hosted zone, note -// the following: +// When creating resource record sets for a private hosted zone, note the following: // -// You can create alias resource record sets only for Amazon Route 53 resource -// record sets in the same private hosted zone. Creating alias resource record -// sets for CloudFront distributions, ELB load balancers, and Amazon S3 buckets -// is not supported. You can't create alias resource record sets for failover, -// geolocation, or latency resource record sets in a private hosted zone. +// Resource record sets cannot be created for CloudFront distributions in +// a private hosted zone. +// +// Creating geolocation alias resource record sets or latency alias resource +// record sets in a private hosted zone is unsupported. +// +// For information about creating failover resource record sets in a private +// hosted zone, see Configuring Failover in a Private Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html). type AliasTarget struct { _ struct{} `type:"structure"` - // Alias resource record sets only: The external DNS name associated with the - // AWS Resource. The value that you specify depends on where you want to route - // queries: + // Alias resource record sets only: The value that you specify depends on where + // you want to route queries: // - // A CloudFront distribution: Specify the domain name that CloudFront assigned - // when you created your distribution. Your CloudFront distribution must include - // an alternate domain name that matches the name of the resource record set. - // For example, if the name of the resource record set is acme.example.com, - // your CloudFront distribution must include acme.example.com as one of the - // alternate domain names. For more information, see Using Alternate Domain - // Names (CNAMEs) (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html) - // in the Amazon CloudFront Developer Guide. An ELB load balancer: Specify the - // DNS name associated with the load balancer. You can get the DNS name by using - // the AWS Management Console, the ELB API, or the AWS CLI. Use the same method - // to get values for HostedZoneId and DNSName. If you get one value from the - // console and the other value from the API or the CLI, creating the resource - // record set will fail. An Elastic Beanstalk environment: Specify the CNAME - // attribute for the environment. (The environment must have a regionalized - // domain name.) An Amazon S3 bucket that is configured as a static website: - // Specify the domain name of the Amazon S3 website endpoint in which you created - // the bucket; for example, s3-website-us-east-1.amazonaws.com. For more information + // A CloudFront distribution: Specify the domain name that CloudFront assigned + // when you created your distribution. + // + // Your CloudFront distribution must include an alternate domain name that + // matches the name of the resource record set. For example, if the name of + // the resource record set is acme.example.com, your CloudFront distribution + // must include acme.example.com as one of the alternate domain names. For more + // information, see Using Alternate Domain Names (CNAMEs) (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html) + // in the Amazon CloudFront Developer Guide. + // + // Elastic Beanstalk environment: Specify the CNAME attribute for the environment. + // (The environment must have a regionalized domain name.) You can use the following + // methods to get the value of the CNAME attribute: + // + // AWS Managment Console: For information about how to get the value by + // using the console, see Using Custom Domains with Elastic Beanstalk (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html) + // in the AWS Elastic Beanstalk Developer Guide. + // + // Elastic Load Balancing API: Use the DescribeEnvironments action to get + // the value of the CNAME attribute. For more information, see DescribeEnvironments + // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/API_DescribeEnvironments.html) + // in the AWS Elastic Beanstalk API Reference. + // + // AWS CLI: Use the describe-environments command to get the value of the + // CNAME attribute. For more information, see describe-environments (http://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/describe-environments.html) + // in the AWS Command Line Interface Reference. + // + // An ELB load balancer: Specify the DNS name associated with the load + // balancer. Get the DNS name by using the AWS Management Console, the ELB API, + // or the AWS CLI. Use the same method to get values for HostedZoneId and DNSName. + // If you get one value from the console and the other value from the API or + // the CLI, creating the resource record set will fail. + // + // AWS Management Console: Go to the Amazon EC2 page, click Load Balancers + // in the navigation pane, choose the load balancer, choose the Description + // tab, and get the value of the DNS Name field that begins with dualstack. + // Use the same process to get the Hosted Zone ID. See HostedZone$Id. + // + // Elastic Load Balancing API: Use DescribeLoadBalancers (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html) + // to get the value of CanonicalHostedZoneName. Use the same process to get + // the CanonicalHostedZoneNameId. See HostedZone$Id. + // + // AWS CLI: Use describe-load-balancers (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html) + // to get the value of CanonicalHostedZoneName. Use the same process to get + // the CanonicalHostedZoneNameId. See HostedZoneId. + // + // An Amazon S3 bucket that is configured as a static website: Specify + // the domain name of the Amazon S3 website endpoint in which you created the + // bucket; for example, s3-website-us-east-1.amazonaws.com. For more information // about valid values, see the table Amazon Simple Storage Service (S3) Website // Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) // in the Amazon Web Services General Reference. For more information about // using Amazon S3 buckets for websites, see Hosting a Static Website on Amazon // S3 (http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) in - // the Amazon Simple Storage Service Developer Guide. Another Amazon Route 53 - // resource record set: Specify the value of the Name element for a resource - // record set in the current hosted zone. + // the Amazon Simple Storage Service Developer Guide. + // + // Another Amazon Route 53 resource record set: Specify the value of the + // Name element for a resource record set in the current hosted zone. DNSName *string `type:"string" required:"true"` - // Alias resource record sets only: If you set the value of EvaluateTargetHealth - // to true for the resource record set or sets in an alias, weighted alias, - // latency alias, or failover alias resource record set, and if you specify - // a value for HealthCheckId for every resource record set that is referenced - // by these alias resource record sets, the alias resource record sets inherit - // the health of the referenced resource record sets. + // Applies only to alias, weighted alias, latency alias, and failover alias + // record sets: If you set the value of EvaluateTargetHealth to true for the + // resource record set or sets in an alias, weighted alias, latency alias, or + // failover alias resource record set, and if you specify a value for HealthCheck$Id + // for every resource record set that is referenced by these alias resource + // record sets, the alias resource record sets inherit the health of the referenced + // resource record sets. // // In this configuration, when Amazon Route 53 receives a DNS query for an // alias resource record set: // - // Amazon Route 53 looks at the resource record sets that are referenced by - // the alias resource record sets to determine which health checks they're using. - // Amazon Route 53 checks the current status of each health check. (Amazon Route - // 53 periodically checks the health of the endpoint that is specified in a - // health check; it doesn't perform the health check when the DNS query arrives.) - // Based on the status of the health checks, Amazon Route 53 determines which + // Amazon Route 53 looks at the resource record sets that are referenced + // by the alias resource record sets to determine which health checks they're + // using. + // + // Amazon Route 53 checks the current status of each health check. (Amazon + // Route 53 periodically checks the health of the endpoint that is specified + // in a health check; it doesn't perform the health check when the DNS query + // arrives.) + // + // Based on the status of the health checks, Amazon Route 53 determines which // resource record sets are healthy. Unhealthy resource record sets are immediately // removed from consideration. In addition, if all of the resource record sets // that are referenced by an alias resource record set are unhealthy, that alias - // resource record set also is immediately removed from consideration. Based - // on the configuration of the alias resource record sets (weighted alias or - // latency alias, for example) and the configuration of the resource record - // sets that they reference, Amazon Route 53 chooses a resource record set from - // the healthy resource record sets, and responds to the query. Note the following: + // resource record set also is immediately removed from consideration. // - // You cannot set EvaluateTargetHealth to true when the alias target is a CloudFront - // distribution. If the AWS resource that you specify in AliasTarget is a resource - // record set or a group of resource record sets (for example, a group of weighted + // Based on the configuration of the alias resource record sets (weighted + // alias or latency alias, for example) and the configuration of the resource + // record sets that they reference, Amazon Route 53 chooses a resource record + // set from the healthy resource record sets, and responds to the query. + // + // Note the following: + // + // You cannot set EvaluateTargetHealth to true when the alias target is a + // CloudFront distribution. + // + // If the AWS resource that you specify in AliasTarget is a resource record + // set or a group of resource record sets (for example, a group of weighted // resource record sets), but it is not another alias resource record set, we // recommend that you associate a health check with all of the resource record - // sets in the alias target. If you specify an ELB load balancer in AliasTarget, - // Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances - // that are registered with the load balancer. If no Amazon EC2 instances are - // healthy or if the load balancer itself is unhealthy, and if EvaluateTargetHealth - // is true for the corresponding alias resource record set, Amazon Route 53 - // routes queries to other resources. When you create a load balancer, you configure - // settings for Elastic Load Balancing health checks; they're not Amazon Route - // 53 health checks, but they perform a similar function. Do not create Amazon - // Route 53 health checks for the Amazon EC2 instances that you register with - // an ELB load balancer. For more information, see How Health Checks Work in - // More Complex Amazon Route 53 Configurations (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html) - // in the Amazon Route 53 Developer Guide. We recommend that you set EvaluateTargetHealth - // to true only when you have enough idle capacity to handle the failure of - // one or more endpoints. + // sets in the alias target.For more information, see What Happens When You + // Omit Health Checks? (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html#dns-failover-complex-configs-hc-omitting) + // in the Amazon Route 53 Developer Guide. // - // For more information and examples, see Amazon Route 53 Health Checks and + // If you specify an Elastic Beanstalk environment in HostedZoneId and DNSName, + // and if the environment contains an ELB load balancer, Elastic Load Balancing + // routes queries only to the healthy Amazon EC2 instances that are registered + // with the load balancer. (An environment automatically contains an ELB load + // balancer if it includes more than one Amazon EC2 instance.) If you set EvaluateTargetHealth + // to true and either no Amazon EC2 instances are healthy or the load balancer + // itself is unhealthy, Amazon Route 53 routes queries to other available resources + // that are healthy, if any. + // + // If the environment contains a single Amazon EC2 instance, there are no special + // requirements. + // + // If you specify an ELB load balancer in AliasTarget , Elastic Load Balancing + // routes queries only to the healthy Amazon EC2 instances that are registered + // with the load balancer. If no Amazon EC2 instances are healthy or if the + // load balancer itself is unhealthy, and if EvaluateTargetHealth is true for + // the corresponding alias resource record set, Amazon Route 53 routes queries + // to other resources. When you create a load balancer, you configure settings + // for Elastic Load Balancing health checks; they're not Amazon Route 53 health + // checks, but they perform a similar function. Do not create Amazon Route 53 + // health checks for the Amazon EC2 instances that you register with an ELB + // load balancer. + // + // For more information, see How Health Checks Work in More Complex Amazon + // Route 53 Configurations (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html) + // in the Amazon Route 53 Developers Guide. + // + // We recommend that you set EvaluateTargetHealth to true only when you have + // enough idle capacity to handle the failure of one or more endpoints. + // + // For more information and examples, see Amazon Route 53 Health Checks and // DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) // in the Amazon Route 53 Developer Guide. EvaluateTargetHealth *bool `type:"boolean" required:"true"` - // Alias resource record sets only: The value you use depends on where you want - // to route queries: + // Alias resource records sets only: The value used depends on where the queries + // are routed: // - // A CloudFront distribution: Specify Z2FDTNDATAQYW2. An ELB load balancer: - // Specify the value of the hosted zone ID for the load balancer. You can get - // the hosted zone ID by using the AWS Management Console, the ELB API, or the - // AWS CLI. Use the same method to get values for HostedZoneId and DNSName. - // If you get one value from the console and the other value from the API or - // the CLI, creating the resource record set will fail. An Amazon S3 bucket - // that is configured as a static website: Specify the hosted zone ID for the - // Amazon S3 website endpoint in which you created the bucket. For more information - // about valid values, see the table Amazon Simple Storage Service (S3) Website + // A CloudFront distribution Specify Z2FDTNDATAQYW2. + // + // Alias resource record sets for CloudFront cannot be created in a private + // zone. + // + // Elastic Beanstalk environment Specify the hosted zone ID for the region + // in which you created the environment. The environment must have a regionalized + // subdomain. For a list of regions and the corresponding hosted zone IDs, see + // AWS Elastic Beanstalk (http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region) + // in the Regions and Endpoints chapter of the AWSk General Reference. + // + // ELB load balancer Specify the value of the hosted zone ID for the load + // balancer. Use the following methods to get the hosted zone ID: + // + // AWS Management Console: Go to the Amazon EC2; page, click Load Balancers + // in the navigation pane, select the load balancer, and get the value of the + // Hosted Zone ID field on the Description tab. Use the same process to get + // the DNS Name. See HostedZone$Name. + // + // Elastic Load Balancing API: Use DescribeLoadBalancers to get the value + // of CanonicalHostedZoneNameID. Use the same process to get the CanonicalHostedZoneName. + // See HostedZone$Name. + // + // AWS CLI: Use describe-load-balancers (http://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html) + // to get the value of CanonicalHostedZoneNameID. Use the same process to get + // the CanonicalHostedZoneName. See HostedZone$Name. + // + // An Amazon S3 bucket configured as a static website Specify the hosted + // zone ID for the Amazon S3 website endpoint in which you created the bucket. + // For more information about valid values, see the table Amazon S3 (S3) Website // Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) - // in the Amazon Web Services General Reference. Another Amazon Route 53 resource - // record set in your hosted zone: Specify the hosted zone ID of your hosted - // zone. (An alias resource record set cannot reference a resource record set - // in a different hosted zone.) + // in the Amazon Web Services General Reference. + // + // Another Amazon Route 53 resource record set in your hosted zone Specify + // the hosted zone ID of your hosted zone. (An alias resource record set cannot + // reference a resource record set in a different hosted zone.) HostedZoneId *string `type:"string" required:"true"` } @@ -3049,12 +3363,12 @@ func (s *AliasTarget) Validate() error { return nil } -// A complex type that contains information about the request to associate a -// VPC with an hosted zone. +// A complex type that contains information about the VPC and the hosted zone +// that you want to associate. type AssociateVPCWithHostedZoneInput struct { _ struct{} `locationName:"AssociateVPCWithHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest. + // Optional: A comment about the association request. Comment *string `type:"string"` // The ID of the hosted zone you want to associate your VPC with. @@ -3063,7 +3377,8 @@ type AssociateVPCWithHostedZoneInput struct { // an existing VPC association. HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` - // The VPC that you want your hosted zone to be associated with. + // A complex type containing information about the Amazon VPC that you're associating + // with the specified hosted zone. VPC *VPC `type:"structure" required:"true"` } @@ -3098,12 +3413,11 @@ func (s *AssociateVPCWithHostedZoneInput) Validate() error { return nil } -// A complex type containing the response information for the request. +// A complex type that contains the response information for the hosted zone. type AssociateVPCWithHostedZoneOutput struct { _ struct{} `type:"structure"` - // A complex type that contains the ID, the status, and the date and time of - // your AssociateVPCWithHostedZoneRequest. + // A complex type that describes the changes made to your hosted zone. ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -3117,19 +3431,28 @@ func (s AssociateVPCWithHostedZoneOutput) GoString() string { return s.String() } -// A complex type that contains the information for each change in a change -// batch request. +// The information for each resource record set that you want to change. type Change struct { _ struct{} `type:"structure"` // The action to perform: // - // CREATE: Creates a resource record set that has the specified values. DELETE: - // Deletes a existing resource record set that has the specified values for - // Name, Type, SetIdentifier (for latency, weighted, geolocation, and failover - // resource record sets), and TTL (except alias resource record sets, for which - // the TTL is determined by the AWS resource that you're routing DNS queries - // to). UPSERT: If a resource record set does not already exist, Amazon Route + // CREATE: Creates a resource record set that has the specified values. + // + // DELETE: Deletes a existing resource record set that has the specified + // values for Name, Type, SetIdentifier (for latency, weighted, geolocation, + // and failover resource record sets), and TTL (except alias resource record + // sets, for which the TTL is determined by the AWS resource that you're routing + // DNS queries to). + // + // To delete the resource record set that is associated with a traffic policy + // instance, use DeleteTrafficPolicyInstance . Amazon Route 53will delete the + // resource record set automatically. If you delete the resource record set + // by using ChangeResourceRecordSets, Amazon Route 53 doesn't automatically + // delete the traffic policy instance, and you'll continue to be charged for + // it even though it's no longer in use. + // + // UPSERT: If a resource record set does not already exist, Amazon Route // 53 creates it. If a resource record set does exist, Amazon Route 53 updates // it with the values in the request. Amazon Route 53 can update an existing // resource record set only when all of the following values match: Name, Type, @@ -3172,13 +3495,11 @@ func (s *Change) Validate() error { return nil } -// A complex type that contains an optional comment and the changes that you -// want to make with a change batch request. +// The information for a change request. type ChangeBatch struct { _ struct{} `type:"structure"` - // A complex type that contains one Change element for each resource record - // set that you want to create or delete. + // Information about the changes to make to the record sets. Changes []*Change `locationNameList:"Change" min:"1" type:"list" required:"true"` // Optional: Any comments you want to include about a change batch request. @@ -3267,9 +3588,6 @@ func (s ChangeBatchRecord) GoString() string { // A complex type that describes change information about changes made to your // hosted zone. -// -// This element contains an ID that you use when performing a GetChange action -// to get detailed information about the change. type ChangeInfo struct { _ struct{} `type:"structure"` @@ -3280,20 +3598,16 @@ type ChangeInfo struct { // to get detailed information about the change. Comment *string `type:"string"` - // The ID of the request. Use this ID to track when the change has completed - // across all Amazon Route 53 DNS servers. + // The ID of the request. Id *string `type:"string" required:"true"` // The current state of the request. PENDING indicates that this request has // not yet been applied to all Amazon Route 53 DNS servers. - // - // Valid Values: PENDING | INSYNC Status *string `type:"string" required:"true" enum:"ChangeStatus"` - // The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, - // as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). - // The Z after the time indicates that the time is listed in Coordinated Universal - // Time (UTC). + // The date and time the change request was submitted, in Coordinated Universal + // Time (UTC) format: YYYY-MM-DDThh:mm:ssZ. For more information, see the Wikipedia + // entry ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601). SubmittedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -3307,7 +3621,7 @@ func (s ChangeInfo) GoString() string { return s.String() } -// A complex type that contains a change batch. +// A complex type that contains change information for the resource record set. type ChangeResourceRecordSetsInput struct { _ struct{} `locationName:"ChangeResourceRecordSetsRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -3372,16 +3686,20 @@ func (s ChangeResourceRecordSetsOutput) GoString() string { return s.String() } -// A complex type containing information about a request to add, change, or -// delete the tags that are associated with a resource. +// A complex type that contains information about the tags that you want to +// add, edit, or delete. type ChangeTagsForResourceInput struct { _ struct{} `locationName:"ChangeTagsForResourceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // A complex type that contains a list of Tag elements. Each Tag element identifies - // a tag that you want to add or update for the specified resource. + // A complex type that contains a list of the tags that you want to add to the + // specified health check or hosted zone and/or the tags for which you want + // to edit the Value element. + // + // You can add a maximum of 10 tags to a health check or a hosted zone. AddTags []*Tag `locationNameList:"Tag" min:"1" type:"list"` - // A list of Tag keys that you want to remove from the specified resource. + // A complex type that contains a list of the tags that you want to delete from + // the specified health check or hosted zone. You can specify up to 10 keys. RemoveTagKeys []*string `locationNameList:"Key" min:"1" type:"list"` // The ID of the resource for which you want to add, change, or delete tags. @@ -3389,9 +3707,9 @@ type ChangeTagsForResourceInput struct { // The type of the resource. // - // - The resource type for health checks is healthcheck. + // The resource type for health checks is healthcheck. // - // - The resource type for hosted zones is hostedzone. + // The resource type for hosted zones is hostedzone. ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -3442,49 +3760,43 @@ func (s ChangeTagsForResourceOutput) GoString() string { return s.String() } -// For CLOUDWATCH_METRIC health checks, a complex type that contains information -// about the CloudWatch alarm that you're associating with the health check. +// A complex type that contains information about the CloudWatch alarm that +// Amazon Route 53 is monitoring for this health check. type CloudWatchAlarmConfiguration struct { _ struct{} `type:"structure"` - // The arithmetic operation to use when comparing the specified Statistic and - // Threshold. - // - // Valid Values are GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold - // and LessThanOrEqualToThreshold + // For the metric that the CloudWatch alarm is associated with, the arithmetic + // operation that is used for the comparison. ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` - // A list of Dimension elements for the CloudWatch metric that is associated - // with the CloudWatch alarm. For information about the metrics and dimensions - // that CloudWatch supports, see Amazon CloudWatch Namespaces, Dimensions, and - // Metrics Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). + // For the metric that the CloudWatch alarm is associated with, a complex type + // that contains information about the dimensions for the metric.For information, + // see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference ( http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html) + // in the Amazon CloudWatch Developer Guide. Dimensions []*Dimension `locationNameList:"Dimension" type:"list"` - // The number of periods over which data is compared to the specified threshold. + // For the metric that the CloudWatch alarm is associated with, the number of + // periods that the metric is compared to the threshold. EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"` - // The name of the CloudWatch metric that is associated with the CloudWatch - // alarm. + // The name of the CloudWatch metric that the alarm is associated with. MetricName *string `min:"1" type:"string" required:"true"` - // The namespace of the CloudWatch metric that is associated with the CloudWatch - // alarm. + // The namespace of the metric that the alarm is associated with. For more information, + // see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html) + // in the Amazon CloudWatch Developer Guide. Namespace *string `min:"1" type:"string" required:"true"` - // An integer that represents the period in seconds over which the statistic - // is applied. + // For the metric that the CloudWatch alarm is associated with, the duration + // of one evaluation period in seconds. Period *int64 `min:"60" type:"integer" required:"true"` - // The statistic to apply to the CloudWatch metric that is associated with the - // CloudWatch alarm. - // - // Valid Values are SampleCount, Average, Sum, Minimum and Maximum + // For the metric that the CloudWatch alarm is associated with, the statistic + // that is applied to the metric. Statistic *string `type:"string" required:"true" enum:"Statistic"` - // The value that the metric is compared with to determine the state of the - // alarm. For example, if you want the health check to fail if the average TCP - // connection time is greater than 500 milliseconds for more than 60 seconds, - // the threshold is 500. + // For the metric that the CloudWatch alarm is associated with, the value the + // metric is compared with. Threshold *float64 `type:"double" required:"true"` } @@ -3498,22 +3810,17 @@ func (s CloudWatchAlarmConfiguration) GoString() string { return s.String() } -// >A complex type that contains information about the request to create a health -// check. +// A complex type that contains the health check request information. type CreateHealthCheckInput struct { _ struct{} `locationName:"CreateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` // A unique string that identifies the request and that allows failed CreateHealthCheck // requests to be retried without the risk of executing the operation twice. // You must use a unique CallerReference string every time you create a health - // check. CallerReference can be any unique string; you might choose to use - // a string that identifies your project. - // - // Valid characters are any Unicode code points that are legal in an XML 1.0 - // document. The UTF-8 encoding of the value must be less than 128 bytes. + // check. CallerReference *string `min:"1" type:"string" required:"true"` - // A complex type that contains health check configuration. + // A complex type that contains the response to a CreateHealthCheck request. HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` } @@ -3572,37 +3879,44 @@ func (s CreateHealthCheckOutput) GoString() string { return s.String() } -// A complex type that contains information about the request to create a hosted -// zone. +// A complex type containing the hosted zone request information. type CreateHostedZoneInput struct { _ struct{} `locationName:"CreateHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` // A unique string that identifies the request and that allows failed CreateHostedZone // requests to be retried without the risk of executing the operation twice. // You must use a unique CallerReference string every time you create a hosted - // zone. CallerReference can be any unique string; you might choose to use a - // string that identifies your project, such as DNSMigration_01. - // - // Valid characters are any Unicode code points that are legal in an XML 1.0 - // document. The UTF-8 encoding of the value must be less than 128 bytes. + // zone. CallerReference can be any unique string, for example, a date/time + // stamp. CallerReference *string `min:"1" type:"string" required:"true"` - // The delegation set id of the reusable delgation set whose NS records you - // want to assign to the new hosted zone. + // If you want to associate a reusable delegation set with this hosted zone, + // the ID that Amazon Route 53 assigned to the reusable delegation set when + // you created it. For more information about reusable delegation sets, see + // CreateReusableDelegationSet. + // + // Type String + // + // Default None + // + // Parent CreatedHostedZoneRequest DelegationSetId *string `type:"string"` - // A complex type that contains an optional comment about your hosted zone. + // (Optional) A complex type that contains an optional comment about your hosted + // zone. If you don't want to specify a comment, omit both the HostedZoneConfig + // and Comment elements. HostedZoneConfig *HostedZoneConfig `type:"structure"` - // The name of the domain. This must be a fully-specified domain, for example, - // www.example.com. The trailing dot is optional; Amazon Route 53 assumes that - // the domain name is fully qualified. This means that Amazon Route 53 treats - // www.example.com (without a trailing dot) and www.example.com. (with a trailing - // dot) as identical. + // The name of the domain. For resource record types that include a domain name, + // specify a fully qualified domain name, for example, www.example.com. The + // trailing dot is optional; Amazon Route 53 assumes that the domain name is + // fully qualified. This means that Amazon Route 53 treats www.example.com (without + // a trailing dot) and www.example.com. (with a trailing dot) as identical. // - // This is the name you have registered with your DNS registrar. You should - // ask your registrar to change the authoritative name servers for your domain - // to the set of NameServers elements returned in DelegationSet. + // If you're creating a public hosted zone, this is the name you have registered + // with your DNS registrar. If your domain name is registered with a registrar + // other than Amazon Route 53, change the name servers for your domain to the + // set of NameServers that CreateHostedZone returns in the DelegationSet element. Name *string `type:"string" required:"true"` // The VPC that you want your hosted zone to be associated with. By providing @@ -3645,19 +3959,17 @@ func (s *CreateHostedZoneInput) Validate() error { return nil } -// A complex type containing the response information for the new hosted zone. +// A complex type containing the response information for the hosted zone. type CreateHostedZoneOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the request to create a hosted - // zone. This includes an ID that you use when you call the GetChange action - // to get the current status of the change request. + // A complex type that describes the changes made to your hosted zone. ChangeInfo *ChangeInfo `type:"structure" required:"true"` - // A complex type that contains name server information. + // A complex type that describes the name servers for this hosted zone. DelegationSet *DelegationSet `type:"structure" required:"true"` - // A complex type that contains identifying information about the hosted zone. + // A complex type that contains general information about the hosted zone. HostedZone *HostedZone `type:"structure" required:"true"` // The unique URL representing the new hosted zone. @@ -3679,18 +3991,15 @@ func (s CreateHostedZoneOutput) GoString() string { type CreateReusableDelegationSetInput struct { _ struct{} `locationName:"CreateReusableDelegationSetRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // A unique string that identifies the request and that allows failed CreateReusableDelegationSet - // requests to be retried without the risk of executing the operation twice. - // You must use a unique CallerReference string every time you create a reusable - // delegation set. CallerReference can be any unique string; you might choose - // to use a string that identifies your project, such as DNSMigration_01. - // - // Valid characters are any Unicode code points that are legal in an XML 1.0 - // document. The UTF-8 encoding of the value must be less than 128 bytes. + // A unique string that identifies the request, and that allows you to retry + // failed CreateReusableDelegationSet requests without the risk of executing + // the operation twice. You must use a unique CallerReference string every time + // you submit a CreateReusableDelegationSet request. CallerReference can be + // any unique string, for example a date/time stamp. CallerReference *string `min:"1" type:"string" required:"true"` - // The ID of the hosted zone whose delegation set you want to mark as reusable. - // It is an optional parameter. + // If you want to mark the delegation set for an existing hosted zone as reusable, + // the ID for that hosted zone. HostedZoneId *string `type:"string"` } @@ -3745,11 +4054,11 @@ func (s CreateReusableDelegationSetOutput) GoString() string { type CreateTrafficPolicyInput struct { _ struct{} `locationName:"CreateTrafficPolicyRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // Any comments that you want to include about the traffic policy. + // (Optional) Any comments that you want to include about the traffic policy. Comment *string `type:"string"` // The definition of this traffic policy in JSON format. For more information, - // see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html) + // see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/api-policies-traffic-policy-document-format.html) // in the Amazon Route 53 API Reference. Document *string `type:"string" required:"true"` @@ -3797,8 +4106,8 @@ type CreateTrafficPolicyInstanceInput struct { // sets that Amazon Route 53 creates for this traffic policy instance. Name *string `type:"string" required:"true"` - // The TTL that you want Amazon Route 53 to assign to all of the resource record - // sets that it creates in the specified hosted zone. + // (Optional) The TTL that you want Amazon Route 53 to assign to all of the + // resource record sets that it creates in the specified hosted zone. TTL *int64 `type:"long" required:"true"` // The ID of the traffic policy that you want to use to create resource record @@ -3896,14 +4205,13 @@ func (s CreateTrafficPolicyOutput) GoString() string { type CreateTrafficPolicyVersionInput struct { _ struct{} `locationName:"CreateTrafficPolicyVersionRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // Any comments that you want to include about the new traffic policy version. + // The comment that you specified in the CreateTrafficPolicyVersion request, + // if any. Comment *string `type:"string"` - // The definition of a new traffic policy version, in JSON format. You must - // specify the full definition of the new traffic policy. You cannot specify - // just the differences between the new version and a previous version. For - // more information, see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html) - // in the Amazon Route 53 API Reference. + // The definition of this version of the traffic policy, in JSON format. You + // specified the JSON in the CreateTrafficPolicyVersion request. For more information + // about the JSON format, see CreateTrafficPolicy. Document *string `type:"string" required:"true"` // The ID of the traffic policy for which you want to create a new version. @@ -3958,7 +4266,7 @@ func (s CreateTrafficPolicyVersionOutput) GoString() string { return s.String() } -// A complex type that contains name server information. +// A complex type that describes the name servers for this hosted zone. type DelegationSet struct { _ struct{} `type:"structure"` @@ -3966,9 +4274,8 @@ type DelegationSet struct { Id *string `type:"string"` - // A complex type that contains the authoritative name servers for the hosted - // zone. Use the method provided by your domain registrar to add an NS record - // to your domain for each NameServer that is assigned to your hosted zone. + // A complex type that contains a list of the authoritative name servers for + // the hosted zone. NameServers []*string `locationNameList:"NameServer" min:"1" type:"list" required:"true"` } @@ -3982,11 +4289,11 @@ func (s DelegationSet) GoString() string { return s.String() } -// A complex type containing the request information for delete health check. +// This action deletes a health check. Send a DELETE request to the /2013-04-01/DeleteHealthCheckRequest +// resource. type DeleteHealthCheckInput struct { _ struct{} `type:"structure"` - // The ID of the health check to delete. HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -4013,7 +4320,7 @@ func (s *DeleteHealthCheckInput) Validate() error { return nil } -// Empty response for the request. +// An empty element. type DeleteHealthCheckOutput struct { _ struct{} `type:"structure"` } @@ -4110,7 +4417,7 @@ func (s *DeleteReusableDelegationSetInput) Validate() error { return nil } -// Empty response for the request. +// An empty element. type DeleteReusableDelegationSetOutput struct { _ struct{} `type:"structure"` } @@ -4172,7 +4479,7 @@ type DeleteTrafficPolicyInstanceInput struct { // The ID of the traffic policy instance that you want to delete. // - // When you delete a traffic policy instance, Amazon Route 53 also deletes + // When you delete a traffic policy instance, Amazon Route 53 also deletes // all of the resource record sets that were created when you created the traffic // policy instance. Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` @@ -4231,14 +4538,17 @@ func (s DeleteTrafficPolicyOutput) GoString() string { return s.String() } -// The name and value of a dimension for a CloudWatch metric. +// For the metric that the CloudWatch alarm is associated with, a complex type +// that contains information about one dimension. type Dimension struct { _ struct{} `type:"structure"` - // The name of the dimension. + // For the metric that the CloudWatch alarm is associated with, the name of + // one dimension. Name *string `min:"1" type:"string" required:"true"` - // The value of the dimension. + // For the metric that the CloudWatch alarm is associated with, the value of + // one dimension. Value *string `min:"1" type:"string" required:"true"` } @@ -4252,20 +4562,20 @@ func (s Dimension) GoString() string { return s.String() } -// A complex type that contains information about the request to disassociate -// a VPC from an hosted zone. +// A complex type that contains information about the VPC and the hosted zone +// that you want to disassociate. type DisassociateVPCFromHostedZoneInput struct { _ struct{} `locationName:"DisassociateVPCFromHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // Optional: Any comments you want to include about a DisassociateVPCFromHostedZoneRequest. + // Optional: A comment about the disassociation request. Comment *string `type:"string"` - // The ID of the hosted zone you want to disassociate your VPC from. - // - // Note that you cannot disassociate the last VPC from a hosted zone. + // The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted + // zone. HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` - // The VPC that you want your hosted zone to be disassociated from. + // A complex type containing information about the Amazon VPC that you're disassociating + // from the specified hosted zone. VPC *VPC `type:"structure" required:"true"` } @@ -4300,12 +4610,12 @@ func (s *DisassociateVPCFromHostedZoneInput) Validate() error { return nil } -// A complex type containing the response information for the request. +// A complex type that contains the response information for the disassociate +// request. type DisassociateVPCFromHostedZoneOutput struct { _ struct{} `type:"structure"` - // A complex type that contains the ID, the status, and the date and time of - // your DisassociateVPCFromHostedZoneRequest. + // A complex type that describes the changes made to your hosted zone. ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -4323,8 +4633,7 @@ func (s DisassociateVPCFromHostedZoneOutput) GoString() string { type GeoLocation struct { _ struct{} `type:"structure"` - // The code for a continent geo location. Note: only continent locations have - // a continent code. + // The two-letter code for the continent. // // Valid values: AF | AN | AS | EU | OC | NA | SA // @@ -4332,18 +4641,11 @@ type GeoLocation struct { // returns an InvalidInput error. ContinentCode *string `min:"2" type:"string"` - // The code for a country geo location. The default location uses '*' for the - // country code and will match all locations that are not matched by a geo location. - // - // The default geo location uses a * for the country code. All other country - // codes follow the ISO 3166 two-character code. + // The two-letter code for the country. CountryCode *string `min:"1" type:"string"` - // The code for a country's subdivision (e.g., a province of Canada). A subdivision - // code is only valid with the appropriate country code. - // - // Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput - // error. + // The code for the subdivision, for example, a state in the United States or + // a province in Canada. SubdivisionCode *string `min:"1" type:"string"` } @@ -4376,35 +4678,29 @@ func (s *GeoLocation) Validate() error { return nil } -// A complex type that contains information about a GeoLocation. +// A complex type that contains the codes and full continent, country, and subdivision +// names for the specified geolocation code. type GeoLocationDetails struct { _ struct{} `type:"structure"` - // The code for a continent geo location. Note: only continent locations have - // a continent code. + // The two-letter code for the continent. ContinentCode *string `min:"2" type:"string"` - // The name of the continent. This element is only present if ContinentCode - // is also present. + // The full name of the continent. ContinentName *string `min:"1" type:"string"` - // The code for a country geo location. The default location uses '*' for the - // country code and will match all locations that are not matched by a geo location. - // - // The default geo location uses a * for the country code. All other country - // codes follow the ISO 3166 two-character code. + // The two-letter code for the country. CountryCode *string `min:"1" type:"string"` - // The name of the country. This element is only present if CountryCode is also - // present. + // The name of the country. CountryName *string `min:"1" type:"string"` - // The code for a country's subdivision (e.g., a province of Canada). A subdivision - // code is only valid with the appropriate country code. + // The code for the subdivision, for example, a state in the United States or + // a province in Canada. SubdivisionCode *string `min:"1" type:"string"` - // The name of the subdivision. This element is only present if SubdivisionCode - // is also present. + // The full name of the subdivision, for example, a state in the United States + // or a province in Canada. SubdivisionName *string `min:"1" type:"string"` } @@ -4422,9 +4718,8 @@ func (s GeoLocationDetails) GoString() string { type GetChangeDetailsInput struct { _ struct{} `deprecated:"true" type:"structure"` - // The ID of the change batch request. The value that you specify here is the - // value that ChangeResourceRecordSets returned in the Id element when you submitted - // the request. + // The ID of the change batch. This is the value that you specified in the change + // ID parameter when you submitted the request. Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4508,9 +4803,7 @@ func (s *GetChangeInput) Validate() error { type GetChangeOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the specified change batch, - // including the change batch ID, the status of the change, and the date and - // time of the request. + // A complex type that contains information about the specified change batch. ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -4562,27 +4855,31 @@ func (s GetCheckerIpRangesOutput) GoString() string { type GetGeoLocationInput struct { _ struct{} `type:"structure"` - // The code for a continent geo location. Note: only continent locations have - // a continent code. + // Amazon Route 53 supports the following contintent codes: // - // Valid values: AF | AN | AS | EU | OC | NA | SA + // AF: Africa // - // Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode - // returns an InvalidInput error. + // AN: Antarctica + // + // AS: Asia + // + // EU: Europe + // + // OC: Oceania + // + // NA: North America + // + // SA: South America ContinentCode *string `location:"querystring" locationName:"continentcode" min:"2" type:"string"` - // The code for a country geo location. The default location uses '*' for the - // country code and will match all locations that are not matched by a geo location. - // - // The default geo location uses a * for the country code. All other country - // codes follow the ISO 3166 two-character code. + // Amazon Route 53 uses the two-letter country codes that are specified in ISO + // standard 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). CountryCode *string `location:"querystring" locationName:"countrycode" min:"1" type:"string"` - // The code for a country's subdivision (e.g., a province of Canada). A subdivision - // code is only valid with the appropriate country code. - // - // Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput - // error. + // Amazon Route 53 uses the one- to three-letter subdivision codes that are + // specified in ISO standard 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). + // Amazon Route 53 doesn't support subdivision codes for all countries. If you + // specify SubdivisionCode, you must also specify CountryCode. SubdivisionCode *string `location:"querystring" locationName:"subdivisioncode" min:"1" type:"string"` } @@ -4615,11 +4912,13 @@ func (s *GetGeoLocationInput) Validate() error { return nil } -// A complex type containing information about the specified geo location. +// A complex type that contains the response information for the specified geolocation +// code. type GetGeoLocationOutput struct { _ struct{} `type:"structure"` - // A complex type that contains the information about the specified geo location. + // A complex type that contains the codes and full continent, country, and subdivision + // names for the specified geolocation code. GeoLocationDetails *GeoLocationDetails `type:"structure" required:"true"` } @@ -4634,7 +4933,7 @@ func (s GetGeoLocationOutput) GoString() string { } // To retrieve a count of all your health checks, send a GET request to the -// /Route 53 API version/healthcheckcount resource. +// /2013-04-01/healthcheckcount resource. type GetHealthCheckCountInput struct { _ struct{} `type:"structure"` } @@ -4649,8 +4948,7 @@ func (s GetHealthCheckCountInput) GoString() string { return s.String() } -// A complex type that contains the count of health checks associated with the -// current AWS account. +// A complex type that contains the response to a healthcheckcount request. type GetHealthCheckCountOutput struct { _ struct{} `type:"structure"` @@ -4668,12 +4966,22 @@ func (s GetHealthCheckCountOutput) GoString() string { return s.String() } -// A complex type that contains information about the request to get a health -// check. +// This action gets information about a specified health check. +// +// Send a GET request to the /Amazon Route 53 API version/gethealthcheckrequest +// resource. +// +// For information about getting information about a health check using the +// Amazon Route 53 console, see Amazon Route 53 Health Checks and DNS Failover +// (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) +// in the Amazon Route 53 Developer Guide. type GetHealthCheckInput struct { _ struct{} `type:"structure"` - // The ID of the health check to retrieve. + // The identifier that Amazon Route 53 assigned to the health check when you + // created it. When you add or update a resource record set, you use this value + // to specify which health check to use. The value can be up to 64 characters + // long. HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -4700,13 +5008,21 @@ func (s *GetHealthCheckInput) Validate() error { return nil } -// A complex type that contains information about the request to get the most -// recent failure reason for a health check. +// This action gets the reason that a specified health check failed most recently. +// +// To get the reason for the last failure of a health check, send a GET request +// to the /2013-04-01/healthcheck/health check ID/lastfailurereason resource. +// +// For information about viewing the last failure reason for a health check +// using the Amazon Route 53 console, see Viewing Health Check Status and the +// Reason for Health Check Failures (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-monitor-view-status.html) +// in the Amazon Route 53 Developer Guide. type GetHealthCheckLastFailureReasonInput struct { _ struct{} `type:"structure"` - // The ID of the health check for which you want to retrieve the reason for - // the most recent failure. + // The ID for the health check for which you want the last failure reason. When + // you created the health check, CreateHealthCheck returned the ID in the response, + // in the HealthCheckId element. HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -4733,13 +5049,13 @@ func (s *GetHealthCheckLastFailureReasonInput) Validate() error { return nil } -// A complex type that contains information about the most recent failure for -// the specified health check. +// A complex type that contains the response to a GetHealthCheckLastFailureReason +// request. type GetHealthCheckLastFailureReasonOutput struct { _ struct{} `type:"structure"` - // A list that contains one HealthCheckObservation element for each Amazon Route - // 53 health checker. + // A list that contains one Observation element for each Amazon Route 53 health + // checker that is reporting a last failure reason. HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` } @@ -4753,11 +5069,12 @@ func (s GetHealthCheckLastFailureReasonOutput) GoString() string { return s.String() } -// A complex type containing information about the specified health check. +// A complex type that contains the response to a GetHealthCheck request. type GetHealthCheckOutput struct { _ struct{} `type:"structure"` - // A complex type that contains the information about the specified health check. + // A complex type that contains information about one health check that is associated + // with the current AWS account. HealthCheck *HealthCheck `type:"structure" required:"true"` } @@ -4793,16 +5110,17 @@ type GetHealthCheckStatusInput struct { // want Amazon Route 53 to base the choice in part on the status of a health // check. Configuring health checks only makes sense in the following configurations: // - // You're checking the health of the resource record sets in a weighted, latency, - // geolocation, or failover resource record set, and you specify health check - // IDs for all of the resource record sets. If the health check for one resource - // record set specifies an endpoint that is not healthy, Amazon Route 53 stops - // responding to queries using the value for that resource record set. You set - // EvaluateTargetHealth to true for the resource record sets in an alias, weighted - // alias, latency alias, geolocation alias, or failover alias resource record - // set, and you specify health check IDs for all of the resource record sets - // that are referenced by the alias resource record sets. For more information - // about this configuration, see EvaluateTargetHealth. + // You're checking the health of the resource record sets in a weighted, + // latency, geolocation, or failover resource record set, and you specify health + // check IDs for all of the resource record sets. If the health check for one + // resource record set specifies an endpoint that is not healthy, Amazon Route + // 53 stops responding to queries using the value for that resource record set. + // + // You set EvaluateTargetHealth to true for the resource record sets in an + // alias, weighted alias, latency alias, geolocation alias, or failover alias + // resource record set, and you specify health check IDs for all of the resource + // record sets that are referenced by the alias resource record sets. For more + // information about this configuration, see EvaluateTargetHealth. // // Amazon Route 53 doesn't check the health of the endpoint specified in the // resource record set, for example, the endpoint specified by the IP address @@ -4827,7 +5145,7 @@ type GetHealthCheckStatusInput struct { // server (such as us-east-1-www.example.com), not the name of the resource // record sets (example.com). // - // In this configuration, if you create a health check for which the value + // In this configuration, if you create a health check for which the value // of FullyQualifiedDomainName matches the name of the resource record sets // and then associate the health check with those resource record sets, health // check results will be unpredictable. @@ -4857,13 +5175,12 @@ func (s *GetHealthCheckStatusInput) Validate() error { return nil } -// A complex type that contains information about the status of the specified -// health check. +// A complex type that contains the response to a GetHealthCheck request. type GetHealthCheckStatusOutput struct { _ struct{} `type:"structure"` // A list that contains one HealthCheckObservation element for each Amazon Route - // 53 health checker. + // 53 health checker that is reporting a status about the health check endpoint. HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` } @@ -4877,8 +5194,8 @@ func (s GetHealthCheckStatusOutput) GoString() string { return s.String() } -// To retrieve a count of all your hosted zones, send a GET request to the /Route -// 53 API version/hostedzonecount resource. +// To retrieve a count of all your hosted zones, send a GET request to the /2013-04-01/hostedzonecount +// resource. type GetHostedZoneCountInput struct { _ struct{} `type:"structure"` } @@ -4893,12 +5210,12 @@ func (s GetHostedZoneCountInput) GoString() string { return s.String() } -// A complex type that contains the count of hosted zones associated with the -// current AWS account. +// A complex type that contains the response to a hostedzonecount request. type GetHostedZoneCountOutput struct { _ struct{} `type:"structure"` - // The number of hosted zones associated with the current AWS account. + // The total number of public and private hosted zones associated with the current + // AWS account. HostedZoneCount *int64 `type:"long" required:"true"` } @@ -4944,15 +5261,14 @@ func (s *GetHostedZoneInput) Validate() error { return nil } -// A complex type containing information about the specified hosted zone. +// A complex type containing the response information for the hosted zone. type GetHostedZoneOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the name servers for the specified - // hosted zone. + // A complex type that describes the name servers for this hosted zone. DelegationSet *DelegationSet `type:"structure"` - // A complex type that contains the information about the specified hosted zone. + // A complex type that contains general information about the hosted zone. HostedZone *HostedZone `type:"structure" required:"true"` // A complex type that contains information about VPCs associated with the specified @@ -5002,13 +5318,12 @@ func (s *GetReusableDelegationSetInput) Validate() error { return nil } -// A complex type containing information about the specified reusable delegation -// set. +// A complex type that contains the response to the GetReusableDelegationSet +// request. type GetReusableDelegationSetOutput struct { _ struct{} `type:"structure"` - // A complex type that contains the information about the nameservers for the - // specified delegation set ID. + // A complex type that contains information about the reusable delegation set. DelegationSet *DelegationSet `type:"structure" required:"true"` } @@ -5023,8 +5338,8 @@ func (s GetReusableDelegationSetOutput) GoString() string { } // Gets information about a specific traffic policy version. To get the information, -// send a GET request to the /Route 53 API version/trafficpolicy resource, and -// specify the ID and the version of the traffic policy. +// send a GET request to the /2013-04-01/trafficpolicy resource, and specify +// the ID and the version of the traffic policy. type GetTrafficPolicyInput struct { _ struct{} `type:"structure"` @@ -5066,7 +5381,7 @@ func (s *GetTrafficPolicyInput) Validate() error { } // To retrieve a count of all your traffic policy instances, send a GET request -// to the /Route 53 API version/trafficpolicyinstancecount resource. +// to the /2013-04-01/trafficpolicyinstancecount resource. type GetTrafficPolicyInstanceCountInput struct { _ struct{} `type:"structure"` } @@ -5081,8 +5396,8 @@ func (s GetTrafficPolicyInstanceCountInput) GoString() string { return s.String() } -// A complex type that contains information about the number of traffic policy -// instances that are associated with the current AWS account. +// A complex type that contains information about the resource record sets that +// Amazon Route 53 created based on a specified traffic policy. type GetTrafficPolicyInstanceCountOutput struct { _ struct{} `type:"structure"` @@ -5104,7 +5419,7 @@ func (s GetTrafficPolicyInstanceCountOutput) GoString() string { // Gets information about a specified traffic policy instance. // // To get information about a traffic policy instance, send a GET request to -// the /Route 53 API version/trafficpolicyinstance/Id resource. +// the /Amazon Route 53 API version/trafficpolicyinstance/Id resource. type GetTrafficPolicyInstanceInput struct { _ struct{} `type:"structure"` @@ -5172,18 +5487,19 @@ func (s GetTrafficPolicyOutput) GoString() string { return s.String() } -// A complex type that contains identifying information about the health check. +// A complex type that contains information about one health check that is associated +// with the current AWS account. type HealthCheck struct { _ struct{} `type:"structure"` - // A unique string that identifies the request to create the health check. + // A unique string that you specified when you created the health check. CallerReference *string `min:"1" type:"string" required:"true"` - // For CLOUDWATCH_METRIC health checks, a complex type that contains information - // about the CloudWatch alarm that you're associating with the health check. + // A complex type that contains information about the CloudWatch alarm that + // Amazon Route 53 is monitoring for this health check. CloudWatchAlarmConfiguration *CloudWatchAlarmConfiguration `type:"structure"` - // A complex type that contains the health check configuration. + // A complex type that contains detailed information about one health check. HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` // The version of the health check. You can optionally pass this value in a @@ -5191,7 +5507,10 @@ type HealthCheck struct { // check. HealthCheckVersion *int64 `min:"1" type:"long" required:"true"` - // The ID of the specified health check. + // The identifier that Amazon Route 53assigned to the health check when you + // created it. When you add or update a resource record set, you use this value + // to specify which health check to use. The value can be up to 64 characters + // long. Id *string `type:"string" required:"true"` } @@ -5205,88 +5524,239 @@ func (s HealthCheck) GoString() string { return s.String() } -// A complex type that contains the health check configuration. +// A complex type that contains information about the health check. type HealthCheckConfig struct { _ struct{} `type:"structure"` - // A complex type that contains information to uniquely identify the CloudWatch - // alarm that you're associating with a Route 53 health check. + // A complex type that identifies the CloudWatch alarm that you want Amazon + // Route 53 health checkers to use to determine whether this health check is + // healthy. AlarmIdentifier *AlarmIdentifier `type:"structure"` - // For a specified parent health check, a list of HealthCheckId values for the - // associated child health checks. + // (CALCULATED Health Checks Only) A complex type that contains one ChildHealthCheck + // element for each health check that you want to associate with a CALCULATED + // health check. ChildHealthChecks []*string `locationNameList:"ChildHealthCheck" type:"list"` // Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName - // to the endpoint in the client_hello message during TLS negotiation. If you - // don't specify a value for EnableSNI, Amazon Route 53 defaults to true when - // Type is HTTPS or HTTPS_STR_MATCH and defaults to false when Type is any other - // value. + // to the endpoint in the client_hello message during TLS negotiation. This + // allows the endpoint to respond to HTTPS health check requests with the applicable + // SSL/TLS certificate. + // + // Some endpoints require that HTTPS requests include the host name in the + // client_hello message. If you don't enable SNI, the status of the health check + // will be SSL alert handshake_failure. A health check can also have that status + // for other reasons. If SNI is enabled and you're still getting the error, + // check the SSL/TLS configuration on your endpoint and confirm that your certificate + // is valid. + // + // The SSL/TLS certificate on your endpoint includes a domain name in the Common + // Name field and possibly several more in the Subject Alternative Names field. + // One of the domain names in the certificate should match the value that you + // specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello + // message with a certificate that does not include the domain name that you + // specified in FullyQualifiedDomainName, a health checker will retry the handshake. + // In the second attempt, the health checker will omit FullyQualifiedDomainName + // from the client_hello message. EnableSNI *bool `type:"boolean"` // The number of consecutive health checks that an endpoint must pass or fail // for Amazon Route 53 to change the current status of the endpoint from unhealthy - // to healthy or vice versa. - // - // Valid values are integers between 1 and 10. For more information, see "How - // Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon - // Route 53 Developer Guide. + // to healthy or vice versa. For more information, see How Amazon Route 53 Determines + // Whether an Endpoint Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) + // in the Amazon Route 53 Developer Guide. FailureThreshold *int64 `min:"1" type:"integer"` - // Fully qualified domain name of the instance to be health checked. + // Amazon Route 53 behavior depends on whether you specify a value for IPAddress. + // + // If you specify IPAddress: + // + // The value that you want Amazon Route 53 to pass in the Host header in all + // health checks except TCP health checks. This is typically the fully qualified + // DNS name of the website that you are attempting to health check. When Amazon + // Route 53 checks the health of an endpoint, here is how it constructs the + // Host header: + // + // If you specify a value of 80 for Port and HTTP or HTTP_STR_MATCH for Type, + // Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint + // in the Host header. + // + // If you specify a value of 443 for Port and HTTPS or HTTPS_STR_MATCH for + // Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the + // endpoint in the Host header. + // + // If you specify another value for Port and any value except TCP for Type, + // Amazon Route 53 passes FullyQualifiedDomainName:Port to the endpoint in the + // Host header. + // + // If you don't specify a value for FullyQualifiedDomainName, Amazon Route + // 53 substitutes the value of IPAddress in the Host header in each of the preceding + // cases. + // + // If you don't specify IPAddress: + // + // If you don't specify a value for IPAddress, Amazon Route 53 sends a DNS + // request to the domain that you specify in FullyQualifiedDomainName at the + // interval you specify in RequestInterval. Using an IP address that DNS returns, + // Amazon Route 53 then checks the health of the endpoint. + // + // If you want to check the health of weighted, latency, or failover resource + // record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, + // we recommend that you create a separate health check for each endpoint. For + // example, create a health check for each HTTP server that is serving content + // for www.example.com. For the value of FullyQualifiedDomainName, specify the + // domain name of the server (such as us-east-1-www.example.com), not the name + // of the resource record sets (www.example.com). + // + // In this configuration, if you create a health check for which the value + // of FullyQualifiedDomainName matches the name of the resource record sets + // and you then associate the health check with those resource record sets, + // health check results will be unpredictable. + // + // In addition, if the value that you specify for Type is HTTP, HTTPS, HTTP_STR_MATCH, + // or HTTPS_STR_MATCH, Amazon Route 53 passes the value of FullyQualifiedDomainName + // in the Host header, as it does when you specify a value for IPAddress. If + // the value of Type is TCP, Amazon Route 53 doesn't pass a Host header. FullyQualifiedDomainName *string `type:"string"` - // The minimum number of child health checks that must be healthy for Amazon - // Route 53 to consider the parent health check to be healthy. Valid values - // are integers between 0 and 256, inclusive. + // The number of child health checks that are associated with a CALCULATED health + // that Amazon Route 53 must consider healthy for the CALCULATED health check + // to be considered healthy. To specify the child health checks that you want + // to associate with a CALCULATED health check, use the HealthCheckConfig$ChildHealthChecks + // and HealthCheckConfig$ChildHealthChecks elements. + // + // Note the following: + // + // If you specify a number greater than the number of child health checks, + // Amazon Route 53 always considers this health check to be unhealthy. + // + // If you specify 0, Amazon Route 53 always considers this health check to + // be healthy. HealthThreshold *int64 `type:"integer"` - // IP Address of the instance being checked. + // The IPv4 IP address of the endpoint on which you want Amazon Route 53 to + // perform health checks. If you don't specify a value for IPAddress, Amazon + // Route 53 sends a DNS request to resolve the domain name that you specify + // in FullyQualifiedDomainName at the interval that you specify in RequestInterval. + // Using an IP address that DNS returns, Amazon Route 53 then checks the health + // of the endpoint. + // + // If the endpoint is an Amazon EC2 instance, we recommend that you create + // an Elastic IP address, associate it with your Amazon EC2 instance, and specify + // the Elastic IP address for IPAddress. This ensures that the IP address of + // your instance will never change. + // + // For more information, see HealthCheckConfig$FullyQualifiedDomainName. + // + // Contraints: Amazon Route 53 cannot check the health of endpoints for which + // the IP address is in local, private, non-routable, or multicast ranges. For + // more information about IP addresses for which you cannot create health checks, + // see RFC 5735, Special Use IPv4 Addresses (https://tools.ietf.org/html/rfc5735) + // and RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space (https://tools.ietf.org/html/rfc6598). + // + // When the value of Type is CALCULATED or CLOUDWATCH_METRIC, omit IPAddress. IPAddress *string `type:"string"` - // The status of the health check when CloudWatch has insufficient data about - // the state of associated alarm. Valid values are Healthy, Unhealthy and LastKnownStatus. + // When CloudWatch has insufficient data about the metric to determine the alarm + // state, the status that you want Amazon Route 53 to assign to the health check: + // + // Healthy: Amazon Route 53 considers the health check to be healthy. + // + // Unhealthy: Amazon Route 53 considers the health check to be unhealthy. + // + // LastKnownStatus: Amazon Route 53uses the status of the health check from + // the last time CloudWatch had sufficient data to determine the alarm state. + // For new health checks that have no last known status, the default status + // for the health check is healthy. InsufficientDataHealthStatus *string `type:"string" enum:"InsufficientDataHealthStatus"` - // A boolean value that indicates whether the status of health check should - // be inverted. For example, if a health check is healthy but Inverted is True, - // then Amazon Route 53 considers the health check to be unhealthy. + // Specify whether you want Amazon Route 53 to invert the status of a health + // check, for example, to consider a health check unhealthy when it otherwise + // would be considered healthy. Inverted *bool `type:"boolean"` - // A Boolean value that indicates whether you want Amazon Route 53 to measure - // the latency between health checkers in multiple AWS regions and your endpoint - // and to display CloudWatch latency graphs in the Amazon Route 53 console. + // Specify whether you want Amazon Route 53 to measure the latency between health + // checkers in multiple AWS regions and your endpoint, and to display CloudWatch + // latency graphs on the Health Checks page in the Amazon Route 53 console. + // + // You can't change the value of MeasureLatency after you create a health + // check. MeasureLatency *bool `type:"boolean"` - // Port on which connection will be opened to the instance to health check. - // For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. - // For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified. + // The port on the endpoint on which you want Amazon Route 53 to perform health + // checks. Specify a value for Port only when you specify a value for IPAddress. Port *int64 `min:"1" type:"integer"` - // A list of HealthCheckRegion values that you want Amazon Route 53 to use to - // perform health checks for the specified endpoint. You must specify at least - // three regions. + // A complex type that contains one Region element for each region from which + // you want Amazon Route 53 health checkers to check the specified endpoint. Regions []*string `locationNameList:"Region" min:"1" type:"list"` // The number of seconds between the time that Amazon Route 53 gets a response // from your endpoint and the time that it sends the next health-check request. + // Each Amazon Route 53 health checker makes requests at this interval. // - // Each Amazon Route 53 health checker makes requests at this interval. Valid - // values are 10 and 30. The default value is 30. + // You can't change the value of RequestInterval after you create a health + // check. RequestInterval *int64 `min:"10" type:"integer"` - // Path to ping on the instance to check the health. Required for HTTP, HTTPS, - // HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued - // to the instance on the given port and path. + // The path, if any, that you want Amazon Route 53 to request when performing + // health checks. The path can be any value for which your endpoint will return + // an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, + // the file /docs/route53-health-check.html. ResourcePath *string `type:"string"` - // A string to search for in the body of a health check response. Required for - // HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers - // case when searching for SearchString in the response body. + // If the value of Type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that + // you want Amazon Route 53 to search for in the response body from the specified + // resource. If the string appears in the response body, Amazon Route 53 considers + // the resource healthy. + // + // Amazon Route 53 considers case when searching for SearchString in the response + // body. SearchString *string `type:"string"` - // The type of health check to be performed. Currently supported types are TCP, - // HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC. + // The type of health check that you want to create, which indicates how Amazon + // Route 53 determines whether an endpoint is healthy. + // + // You can't change the value of Type after you create a health check. + // + // You can create the following types of health checks: + // + // HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, + // Amazon Route 53 submits an HTTP request and waits for an HTTP status code + // of 200 or greater and less than 400. + // + // HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, + // Amazon Route 53 submits an HTTPS request and waits for an HTTP status code + // of 200 or greater and less than 400. + // + // If you specify HTTPS for the value of Type, the endpoint must support TLS + // v1.0 or later. + // + // HTTP_STR_MATCH: Amazon Route 53 tries to establish a TCP connection. + // If successful, Amazon Route 53 submits an HTTP request and searches the first + // 5,120 bytes of the response body for the string that you specify in SearchString. + // + // HTTPS_STR_MATCH: Amazon Route 53 tries to establish a TCP connection. + // If successful, Amazon Route 53 submits an HTTPS request and searches the + // first 5,120 bytes of the response body for the string that you specify in + // SearchString. + // + // TCP: Amazon Route 53 tries to establish a TCP connection. + // + // CLOUDWATCH_METRIC: The health check is associated with a CloudWatch alarm. + // If the state of the alarm is OK, the health check is considered healthy. + // If the state is ALARM, the health check is considered unhealthy. If CloudWatch + // doesn't have sufficient data to determine whether the state is OK or ALARM, + // the health check status depends on the setting for InsufficientDataHealthStatus: + // Healthy, Unhealthy, or LastKnownStatus. + // + // CALCULATED: For health checks that monitor the status of other health + // checks, Amazon Route 53 adds up the number of health checks that Amazon Route + // 53 health checkers consider to be healthy and compares that number with the + // value of HealthThreshold. + // + // For more information about how Amazon Route 53 determines whether an endpoint + // is healthy, see the introduction to this topic. Type *string `type:"string" required:"true" enum:"HealthCheckType"` } @@ -5330,21 +5800,21 @@ func (s *HealthCheckConfig) Validate() error { return nil } -// A complex type that contains the IP address of a Amazon Route 53 health checker -// and the reason for the health check status. +// A complex type that contains the last failure reason as reported by one Amazon +// Route 53 health checker. type HealthCheckObservation struct { _ struct{} `type:"structure"` - // The IP address of the Amazon Route 53 health checker that performed this - // health check. + // The IP address of the Amazon Route 53 health checker that provided the failure + // reason in StatusReport. IPAddress *string `type:"string"` - // The HealthCheckRegion of the Amazon Route 53 health checker that performed - // this health check. + // The region of the Amazon Route 53 health checker that provided the status + // in StatusReport. Region *string `min:"1" type:"string" enum:"HealthCheckRegion"` - // A complex type that contains information about the health check status for - // the current observation. + // A complex type that contains the last failure reason as reported by one Amazon + // Route 53 health checker and the time of the failed health check. StatusReport *StatusReport `type:"structure"` } @@ -5358,31 +5828,31 @@ func (s HealthCheckObservation) GoString() string { return s.String() } -// A complex type that contain information about the specified hosted zone. +// A complex type that contains general information about the hosted zone. type HostedZone struct { _ struct{} `type:"structure"` - // A unique string that identifies the request to create the hosted zone. + // The value that you specified for CallerReference when you created the hosted + // zone. CallerReference *string `min:"1" type:"string" required:"true"` - // A complex type that contains the Comment element. + // A complex type that includes the Comment and PrivateZone elements. If you + // omitted the HostedZoneConfig and Comment elements from the request, the Config + // and Comment elements don't appear in the response. Config *HostedZoneConfig `type:"structure"` - // The ID of the specified hosted zone. + // The ID that Amazon Route 53 assigned to the hosted zone when you created + // it. Id *string `type:"string" required:"true"` - // The name of the domain. This must be a fully-specified domain, for example, - // www.example.com. The trailing dot is optional; Amazon Route 53 assumes that - // the domain name is fully qualified. This means that Amazon Route 53 treats - // www.example.com (without a trailing dot) and www.example.com. (with a trailing - // dot) as identical. + // The name of the domain. For public hosted zones, this is the name that you + // have registered with your DNS registrar. // - // This is the name you have registered with your DNS registrar. You should - // ask your registrar to change the authoritative name servers for your domain - // to the set of NameServers elements returned in DelegationSet. + // For information about how to specify characters other than a-z, 0-9, and + // - (hyphen) and how to specify internationalized domain names, see CreateHostedZone. Name *string `type:"string" required:"true"` - // Total number of resource record sets in the hosted zone. + // The number of resource record sets in the hosted zone. ResourceRecordSetCount *int64 `type:"long"` } @@ -5397,22 +5867,15 @@ func (s HostedZone) GoString() string { } // A complex type that contains an optional comment about your hosted zone. -// If you don't want to specify a comment, you can omit the HostedZoneConfig -// and Comment elements from the XML document. +// If you don't want to specify a comment, omit both the HostedZoneConfig and +// Comment elements. type HostedZoneConfig struct { _ struct{} `type:"structure"` - // An optional comment about your hosted zone. If you don't want to specify - // a comment, you can omit the HostedZoneConfig and Comment elements from the - // XML document. + // Any comments that you want to include about the hosted zone. Comment *string `type:"string"` - // GetHostedZone and ListHostedZone responses: A Boolean value that indicates - // whether a hosted zone is private. - // - // CreateHostedZone requests: When you're creating a private hosted zone (when - // you specify values for VPCId and VPCRegion), you can optionally specify true - // for PrivateZone. + // A value that indicates whether this is a private hosted zone. PrivateZone *bool `type:"boolean"` } @@ -5475,7 +5938,7 @@ func (s *ListChangeBatchesByHostedZoneInput) Validate() error { return nil } -// The input for a ListChangeBatchesByHostedZone request. +// A complex type containing the response information for the request. type ListChangeBatchesByHostedZoneOutput struct { _ struct{} `deprecated:"true" type:"structure"` @@ -5485,10 +5948,13 @@ type ListChangeBatchesByHostedZoneOutput struct { // A flag that indicates if there are more change batches to list. IsTruncated *bool `type:"boolean"` - // The page marker. + // For the second and subsequent calls to ListHostedZones, Marker is the value + // that you specified for the marker parameter in the request that produced + // the current response. Marker *string `type:"string" required:"true"` - // The maximum number of items on a page. + // The value that you specified for the maxitems parameter in the call to ListHostedZones + // that produced the current response. MaxItems *string `type:"string" required:"true"` // The next page marker. @@ -5602,35 +6068,52 @@ func (s ListChangeBatchesByRRSetOutput) GoString() string { return s.String() } -// The input for a ListGeoLocations request. +// To get a list of geographic locations that Amazon Route 53 supports for geolocation, +// send a GET request to the /Amazon Route 53 API version/geolocations resource. +// The response to this request includes a GeoLocationDetails element for each +// location that Amazon Route 53 supports. +// +// Countries are listed first, and continents are listed last. If Amazon Route +// 53 supports subdivisions for a country (for example, states or provinces), +// the subdivisions for that country are listed in alphabetical order immediately +// after the corresponding country. type ListGeoLocationsInput struct { _ struct{} `type:"structure"` - // The maximum number of geo locations you want in the response body. + // (Optional) The maximum number of geolocations to be included in the response + // body for this request. If more than MaxItems geolocations remain to be listed, + // then the value of the IsTruncated element in the response is true. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` - // The first continent code in the lexicographic ordering of geo locations that - // you want the ListGeoLocations request to list. For non-continent geo locations, - // this should be null. + // The code for the continent with which you want to start listing locations + // that Amazon Route 53 supports for geolocation. If Amazon Route 53 has already + // returned a page or more of results, if IsTruncated is true, and if NextContinentCode + // from the previous response has a value, enter that value in StartContinentCode + // to return the next page of results. // - // Valid values: AF | AN | AS | EU | OC | NA | SA - // - // Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode - // returns an InvalidInput error. + // Include StartContinentCode only if you want to list continents. Don't include + // StartContinentCode when you're listing countries or countries with their + // subdivisions. StartContinentCode *string `location:"querystring" locationName:"startcontinentcode" min:"2" type:"string"` - // The first country code in the lexicographic ordering of geo locations that - // you want the ListGeoLocations request to list. + // The code for the country with which you want to start listing locations that + // Amazon Route 53 supports for geolocation. If Amazon Route 53 has already + // returned a page or more of results, if IsTruncated is true, and if NextCountryCode + // from the previous response has a value, enter that value in StartCountryCode + // to return the next page of results. // - // The default geo location uses a * for the country code. All other country - // codes follow the ISO 3166 two-character code. + // Amazon Route 53 uses the two-letter country codes that are specified in + // ISO standard 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). StartCountryCode *string `location:"querystring" locationName:"startcountrycode" min:"1" type:"string"` - // The first subdivision code in the lexicographic ordering of geo locations - // that you want the ListGeoLocations request to list. + // The code for the subdivision (for example, state or province) with which + // you want to start listing locations that Amazon Route 53 supports for geolocation. + // If Amazon Route 53 has already returned a page or more of results, if IsTruncated + // is true, and if NextSubdivisionCode from the previous response has a value, + // enter that value in StartSubdivisionCode to return the next page of results. // - // Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput - // error. + // To list subdivisions of a country, you must include both StartCountryCode + // and StartSubdivisionCode. StartSubdivisionCode *string `location:"querystring" locationName:"startsubdivisioncode" min:"1" type:"string"` } @@ -5663,40 +6146,37 @@ func (s *ListGeoLocationsInput) Validate() error { return nil } -// A complex type that contains information about the geo locations that are -// returned by the request and information about the response. +// A complex type containing the response information for the request. type ListGeoLocationsOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the geo locations that are - // returned by the request. + // A complex type that contains one GeoLocationDetails element for each location + // that Amazon Route 53 supports for geolocation. GeoLocationDetailsList []*GeoLocationDetails `locationNameList:"GeoLocationDetails" type:"list" required:"true"` - // A flag that indicates whether there are more geo locations to be listed. - // If your results were truncated, you can make a follow-up request for the - // next page of results by using the values included in the NextContinentCode, - // NextCountryCode, and NextSubdivisionCode elements. - // - // Valid Values: true | false + // A value that indicates whether more locations remain to be listed after the + // last location in this response. If so, the value of IsTruncated is true. + // To get more values, submit another request and include the values of NextContinentCode, + // NextCountryCode, and NextSubdivisionCode in the StartContinentCode, StartCountryCode, + // and StartSubdivisionCode, as applicable. IsTruncated *bool `type:"boolean" required:"true"` - // The maximum number of records you requested. The maximum value of MaxItems - // is 100. + // The value that you specified for MaxItems in the request. MaxItems *string `type:"string" required:"true"` - // If the results were truncated, the continent code of the next geo location - // in the list. This element is present only if IsTruncated is true and the - // next geo location to list is a continent location. + // If IsTruncated is true, you can make a follow-up request to display more + // locations. Enter the value of NextContinentCode in the StartContinentCode + // parameter in another GET ListGeoLocations request. NextContinentCode *string `min:"2" type:"string"` - // If the results were truncated, the country code of the next geo location - // in the list. This element is present only if IsTruncated is true and the - // next geo location to list is not a continent location. + // If IsTruncated is true, you can make a follow-up request to display more + // locations. Enter the value of NextCountryCode in the StartCountryCode parameter + // in another GET ListGeoLocations request. NextCountryCode *string `min:"1" type:"string"` - // If the results were truncated, the subdivision code of the next geo location - // in the list. This element is present only if IsTruncated is true and the - // next geo location has a subdivision. + // If IsTruncated is true, you can make a follow-up request to display more + // locations. Enter the value of NextSubdivisionCode in the StartSubdivisionCode + // parameter in another GET ListGeoLocations request. NextSubdivisionCode *string `min:"1" type:"string"` } @@ -5710,25 +6190,40 @@ func (s ListGeoLocationsOutput) GoString() string { return s.String() } -// To retrieve a list of your health checks, send a GET request to the /Route -// 53 API version/healthcheck resource. The response to this request includes -// a HealthChecks element with zero or more HealthCheck child elements. By default, -// the list of health checks is displayed on a single page. You can control -// the length of the page that is displayed by using the MaxItems parameter. -// You can use the Marker parameter to control the health check that the list -// begins with. +// To retrieve a list of your health checks, send a GET request to the /2013-04-01/healthcheck +// resource. The response to this request includes a HealthChecks element with +// zero or more HealthCheck child elements. By default, the list of health checks +// is displayed on a single page. You can control the length of the page that +// is displayed by using the MaxItems parameter. You can use the Marker parameter +// to control the health check that the list begins with. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to +// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to // a value greater than 100, Amazon Route 53 returns only the first 100. type ListHealthChecksInput struct { _ struct{} `type:"structure"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // If the response to a ListHealthChecks is more than one page, marker is the + // health check ID for the first health check on the next page of results. For + // more information, see ListHealthChecksResponse$MaxItems. Marker *string `location:"querystring" locationName:"marker" type:"string"` - // Specify the maximum number of health checks to return per page of results. + // The maximum number of HealthCheck elements you want ListHealthChecks to return + // on each page of the response body. If the AWS account includes more HealthCheck + // elements than the value of maxitems, the response is broken into pages. Each + // page contains the number of HealthCheck elements specified by maxitems. + // + // For example, suppose you specify 10 for maxitems and the current AWS account + // has 51 health checks. In the response, ListHealthChecks sets ListHealthChecksResponse$IsTruncated + // to true and includes the ListHealthChecksResponse$NextMarker element. To + // access the second and subsequent pages, you resend the GET ListHealthChecks + // request, add the ListHealthChecksResponse$Marker parameter to the request, + // and specify the value of the ListHealthChecksResponse$NextMarker element + // from the previous response. On the last (sixth) page of the response, which + // contains only one HealthCheck element: + // + // The value of ListHealthChecksResponse$IsTruncated is false. + // + // ListHealthChecksResponse$NextMarker is omitted. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` } @@ -5742,36 +6237,33 @@ func (s ListHealthChecksInput) GoString() string { return s.String() } -// A complex type that contains the response for the request. +// A complex type that contains the response to a ListHealthChecks request. type ListHealthChecksOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the health checks associated - // with the current AWS account. + // A complex type that contains one HealthCheck element for each health check + // that is associated with the current AWS account. HealthChecks []*HealthCheck `locationNameList:"HealthCheck" type:"list" required:"true"` - // A flag indicating whether there are more health checks to be listed. If your - // results were truncated, you can make a follow-up request for the next page - // of results by using the Marker element. + // A flag that indicates whether there are more health checks to be listed. + // If the response was truncated, you can get the next group of maxitems health + // checks by calling ListHealthChecks again and specifying the value of the + // NextMarker element in the marker parameter. // // Valid Values: true | false IsTruncated *bool `type:"boolean" required:"true"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // For the second and subsequent calls to ListHealthChecks, Marker is the value + // that you specified for the marker parameter in the previous request. Marker *string `type:"string" required:"true"` - // The maximum number of health checks to be included in the response body. - // If the number of health checks associated with this AWS account exceeds MaxItems, - // the value of IsTruncated in the response is true. Call ListHealthChecks again - // and specify the value of NextMarker from the last response in the Marker - // element of the next request to get the next page of results. + // The value that you specified for the maxitems parameter in the call to ListHealthChecks + // that produced the current response. MaxItems *string `type:"string" required:"true"` - // Indicates where to continue listing health checks. If IsTruncated is true, - // make another request to ListHealthChecks and include the value of the NextMarker - // element in the Marker element to get the next page of results. + // If IsTruncated is true, the value of NextMarker identifies the first health + // check in the next group of maxitems health checks. Call ListHealthChecks + // again and specify the value of NextMarker in the marker parameter. NextMarker *string `type:"string"` } @@ -5785,31 +6277,78 @@ func (s ListHealthChecksOutput) GoString() string { return s.String() } -// To retrieve a list of your hosted zones in lexicographic order, send a GET -// request to the /Route 53 API version/hostedzonesbyname resource. The response -// to this request includes a HostedZones element with zero or more HostedZone -// child elements lexicographically ordered by DNS name. By default, the list -// of hosted zones is displayed on a single page. You can control the length -// of the page that is displayed by using the MaxItems parameter. You can use -// the DNSName and HostedZoneId parameters to control the hosted zone that the -// list begins with. +// To retrieve a list of your public and private hosted zones in ASCII order +// by domain name, send a GET request to the /Amazon Route 53 API version/hostedzonesbyname +// resource. The response to this request includes a HostedZone child element +// for each hosted zone that was created by the current AWS account. ListHostedZonesByName +// sorts hosted zones by name with the labels reversed, for example: +// +// com.example.www. +// +// Note the trailing dot, which can change the sort order in some circumstances. +// +// If the domain name includes escape characters or Punycode, ListHostedZonesByName +// alphabetizes the domain name using the escaped or Punycoded value, which +// is the format that Amazon Route 53 saves in its database. For example, to +// create a hosted zone for exämple.com, you specify ex\344mple.com for the +// domain name. ListHostedZonesByName alphabetizes it as: com.ex\344mple. The +// labels are reversed, and it's alphabetized using the escaped value. For more +// information about valid domain name formats, including internationalized +// domain names, see DNS Domain Name Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) +// in the Amazon Route 53 Developer Guide. +// +// Amazon Route 53 returns up to 100 items in each response. If you have a +// lot of hosted zones, you can use the MaxItems parameter to list them in groups +// of up to 100. The response includes values that help you navigate from one +// group of MaxItems hosted zones to the next: +// +// The DNSName and HostedZoneId elements in the response contain the values, +// if any, that you specified for the dnsname and hostedzoneid parameters in +// the request that produced the current response. +// +// The MaxItems element in the response contains the value, if any, that +// you specified for the maxitems parameter in the request that produced the +// current response. +// +// If the value of IsTruncated in the response is true, there are more hosted +// zones associated with the current Amazon Route 53 account. +// +// If IsTruncated is false, this response includes the last hosted zone that +// is associated with the current account. The NextDNSName element and NextHostedZoneId +// elements are omitted from the response. +// +// The NextDNSName and NextHostedZoneId elements in the response contain +// the domain name and the hosted zone ID of the next hosted zone that is associated +// with the current AWS account. If you want to list more hosted zones, make +// another call to ListHostedZonesByName, and specify the value of NextDNSName +// and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. type ListHostedZonesByNameInput struct { _ struct{} `type:"structure"` - // The first name in the lexicographic ordering of domain names that you want - // the ListHostedZonesByNameRequest request to list. - // - // If the request returned more than one page of results, submit another request - // and specify the value of NextDNSName and NextHostedZoneId from the last response - // in the DNSName and HostedZoneId parameters to get the next page of results. + // (Optional) For your first request to ListHostedZonesByName, include the dnsname + // parameter only if you want to specify the name of the first hosted zone in + // the response. If you don't include the dnsname parameter, Amazon Route 53 + // returns all of the hosted zones that were created by the current AWS account, + // in ASCII order. For subsequent requests, include both dnsname and hostedzoneid + // parameters. For dnsname, specify the value of NextDNSName from the previous + // response. DNSName *string `location:"querystring" locationName:"dnsname" type:"string"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextDNSName and NextHostedZoneId from the last response - // in the DNSName and HostedZoneId parameters to get the next page of results. + // (Optional) For your first request to ListHostedZonesByName, do not include + // the hostedzoneid parameter. + // + // If you have more hosted zones than the value of maxitems, ListHostedZonesByName + // returns only the first maxitems hosted zones. To get the next group of maxitems + // hosted zones, submit another request to ListHostedZonesByName and include + // both dnsname and hostedzoneid parameters. For the value of hostedzoneid, + // specify the value of the NextHostedZoneId element from the previous response. HostedZoneId *string `location:"querystring" locationName:"hostedzoneid" type:"string"` - // Specify the maximum number of hosted zones to return per page of results. + // The maximum number of hosted zones to be included in the response body for + // this request. If you have more than maxitems hosted zones, then the value + // of the IsTruncated element in the response is true, and the values of NextDNSName + // and NextHostedZoneId specify the first hosted zone in the next group of maxitems + // hosted zones. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` } @@ -5823,46 +6362,47 @@ func (s ListHostedZonesByNameInput) GoString() string { return s.String() } -// A complex type that contains the response for the request. +// A complex type that contains the response information for the request. type ListHostedZonesByNameOutput struct { _ struct{} `type:"structure"` - // The DNSName value sent in the request. + // For the second and subsequent calls to ListHostedZonesByName, DNSName is + // the value that you specified for the dnsname parameter in the request that + // produced the current response. DNSName *string `type:"string"` - // The HostedZoneId value sent in the request. + // The ID that Amazon Route 53 assigned to the hosted zone when you created + // it. HostedZoneId *string `type:"string"` - // A complex type that contains information about the hosted zones associated - // with the current AWS account. + // A complex type that contains general information about the hosted zone. HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` - // A flag indicating whether there are more hosted zones to be listed. If your - // results were truncated, you can make a follow-up request for the next page - // of results by using the NextDNSName and NextHostedZoneId elements. - // - // Valid Values: true | false + // A flag that indicates whether there are more hosted zones to be listed. If + // the response was truncated, you can get the next group of maxitems hosted + // zones by calling ListHostedZonesByName again and specifying the values of + // NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid + // parameters. IsTruncated *bool `type:"boolean" required:"true"` - // The maximum number of hosted zones to be included in the response body. If - // the number of hosted zones associated with this AWS account exceeds MaxItems, - // the value of IsTruncated in the ListHostedZonesByNameResponse is true. Call - // ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId - // elements from the previous response to get the next page of results. + // The value that you specified for the maxitems parameter in the call to ListHostedZonesByName + // that produced the current response. MaxItems *string `type:"string" required:"true"` - // If the value of IsTruncated in the ListHostedZonesByNameResponse is true, - // there are more hosted zones associated with the current AWS account. To get - // the next page of results, make another request to ListHostedZonesByName. - // Specify the value of NextDNSName in the DNSName parameter. Specify NextHostedZoneId - // in the HostedZoneId parameter. + // If IsTruncated is true, the value of NextDNSName is the name of the first + // hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName + // again and specify the value of NextDNSName and NextHostedZoneId in the dnsname + // and hostedzoneid parameters, respectively. + // + // This element is present only if IsTruncated is true. NextDNSName *string `type:"string"` - // If the value of IsTruncated in the ListHostedZonesByNameResponse is true, - // there are more hosted zones associated with the current AWS account. To get - // the next page of results, make another request to ListHostedZonesByName. - // Specify the value of NextDNSName in the DNSName parameter. Specify NextHostedZoneId - // in the HostedZoneId parameter. + // If IsTruncated is true, the value of NextHostedZoneId identifies the first + // hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName + // again and specify the value of NextDNSName and NextHostedZoneId in the dnsname + // and hostedzoneid parameters, respectively. + // + // This element is present only if IsTruncated is true. NextHostedZoneId *string `type:"string"` } @@ -5876,27 +6416,54 @@ func (s ListHostedZonesByNameOutput) GoString() string { return s.String() } -// To retrieve a list of your hosted zones, send a GET request to the /Route -// 53 API version/hostedzone resource. The response to this request includes -// a HostedZones element with zero or more HostedZone child elements. By default, -// the list of hosted zones is displayed on a single page. You can control the -// length of the page that is displayed by using the MaxItems parameter. You -// can use the Marker parameter to control the hosted zone that the list begins -// with. +// To retrieve a list of your public and private hosted zones, send a GET request +// to the /2013-04-01/hostedzone resource. The response to this request includes +// a HostedZone child element for each hosted zone that was created by the current +// AWS account. // -// Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a -// value greater than 100, Amazon Route 53 returns only the first 100. +// Amazon Route 53 returns a maximum of 100 items in each response. If you +// have a lot of hosted zones, you can use the maxitems parameter to list them +// in groups of up to 100. The response includes four values that help you navigate +// from one group of maxitems hosted zones to the next: +// +// MaxItems is the value that you specified for the maxitems parameter in +// the request that produced the current response. +// +// If the value of IsTruncated in the response is true, there are more hosted +// zones associated with the current AWS account. +// +// If IsTruncated is false, this response includes the last hosted zone that +// is associated with the current account. +// +// NextMarker is the hosted zone ID of the next hosted zone that is associated +// with the current AWS account. If you want to list more hosted zones, make +// another call to ListHostedZones, and specify the value of the NextMarker +// element in the marker parameter. +// +// If IsTruncated is false, the NextMarker element is omitted from the response. +// +// If you're making the second or subsequent call to ListHostedZones, the +// Marker element matches the value that you specified in the marker parameter +// in the previous request. type ListHostedZonesInput struct { _ struct{} `type:"structure"` DelegationSetId *string `location:"querystring" locationName:"delegationsetid" type:"string"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // (Optional) If you have more hosted zones than the value of maxitems, ListHostedZones + // returns only the first maxitems hosted zones. To get the next group of maxitems + // hosted zones, submit another request to ListHostedZones. For the value of + // marker, specify the value of the NextMarker element that was returned in + // the previous response. + // + // Hosted zones are listed in the order in which they were created. Marker *string `location:"querystring" locationName:"marker" type:"string"` - // Specify the maximum number of hosted zones to return per page of results. + // (Optional) The maximum number of hosted zones to be included in the response + // body for this request. If you have more than maxitems hosted zones, the value + // of the IsTruncated element in the response is true, and the value of the + // NextMarker element is the hosted zone ID of the first hosted zone in the + // next group of maxitems hosted zones. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` } @@ -5910,36 +6477,32 @@ func (s ListHostedZonesInput) GoString() string { return s.String() } -// A complex type that contains the response for the request. type ListHostedZonesOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the hosted zones associated - // with the current AWS account. + // A complex type that contains general information about the hosted zone. HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` - // A flag indicating whether there are more hosted zones to be listed. If your - // results were truncated, you can make a follow-up request for the next page - // of results by using the Marker element. - // - // Valid Values: true | false + // A flag indicating whether there are more hosted zones to be listed. If the + // response was truncated, you can get the next group of maxitems hosted zones + // by calling ListHostedZones again and specifying the value of the NextMarker + // element in the marker parameter. IsTruncated *bool `type:"boolean" required:"true"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // For the second and subsequent calls to ListHostedZones, Marker is the value + // that you specified for the marker parameter in the request that produced + // the current response. Marker *string `type:"string" required:"true"` - // The maximum number of hosted zones to be included in the response body. If - // the number of hosted zones associated with this AWS account exceeds MaxItems, - // the value of IsTruncated in the response is true. Call ListHostedZones again - // and specify the value of NextMarker in the Marker parameter to get the next - // page of results. + // The value that you specified for the maxitems parameter in the call to ListHostedZones + // that produced the current response. MaxItems *string `type:"string" required:"true"` - // Indicates where to continue listing hosted zones. If IsTruncated is true, - // make another request to ListHostedZones and include the value of the NextMarker - // element in the Marker element to get the next page of results. + // If IsTruncated is true, the value of NextMarker identifies the first hosted + // zone in the next group of maxitems hosted zones. Call ListHostedZones again + // and specify the value of NextMarker in the marker parameter. + // + // This element is present only if IsTruncated is true. NextMarker *string `type:"string"` } @@ -5961,7 +6524,12 @@ type ListResourceRecordSetsInput struct { // want to get. HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` - // The maximum number of records you want in the response body. + // (Optional) The maximum number of resource records sets to include in the + // response body for this request. If the response includes more than maxitems + // resource record sets, the value of the IsTruncated element in the response + // is true, and the values of the NextRecordName and NextRecordType elements + // in the response identify the first resource record set in the next group + // of maxitems resource record sets. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` // Weighted resource record sets only: If results were truncated for a given @@ -5974,17 +6542,25 @@ type ListResourceRecordSetsInput struct { // the ListResourceRecordSets request to list. StartRecordName *string `location:"querystring" locationName:"name" type:"string"` - // The DNS type at which to begin the listing of resource record sets. + // The type of resource record set to begin the record listing from. // - // Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT + // Valid values for basic resource record sets: A | AAAA | CNAME | MX | NAPTR + // | NS | PTR | SOA | SPF | SRV | TXT // - // Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT + // Values for weighted, latency, geo, and failover resource record sets: A + // | AAAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT // - // Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT + // Values for alias resource record sets: // - // Values for Alias Resource Record Sets: A | AAAA + // CloudFront distribution: A // - // Constraint: Specifying type without specifying name returns an InvalidInput + // Elastic Beanstalk environment that has a regionalized subdomain: A + // + // ELB load balancer: A | AAAA + // + // Amazon S3 bucket: A + // + // Constraint: Specifying type without specifying name returns an InvalidInput // error. StartRecordType *string `location:"querystring" locationName:"type" type:"string" enum:"RRType"` } @@ -6015,37 +6591,34 @@ func (s *ListResourceRecordSetsInput) Validate() error { return nil } -// A complex type that contains information about the resource record sets that -// are returned by the request and information about the response. +// A complex type that contains list information for the resource record set. type ListResourceRecordSetsOutput struct { _ struct{} `type:"structure"` - // A flag that indicates whether there are more resource record sets to be listed. - // If your results were truncated, you can make a follow-up request for the - // next page of results by using the NextRecordName element. - // - // Valid Values: true | false + // A flag that indicates whether more resource record sets remain to be listed. + // If your results were truncated, you can make a follow-up pagination request + // by using the NextRecordName element. IsTruncated *bool `type:"boolean" required:"true"` - // The maximum number of records you requested. The maximum value of MaxItems - // is 100. + // The maximum number of records you requested. MaxItems *string `type:"string" required:"true"` - // Weighted resource record sets only: If results were truncated for a given - // DNS name and type, the value of SetIdentifier for the next resource record - // set that has the current DNS name and type. + // Weighted, latency, geolocation, and failover resource record sets only: If + // results were truncated for a given DNS name and type, the value of SetIdentifier + // for the next resource record set that has the current DNS name and type. NextRecordIdentifier *string `min:"1" type:"string"` - // If the results were truncated, the name of the next record in the list. This - // element is present only if IsTruncated is true. + // If the results were truncated, the name of the next record in the list. + // + // This element is present only if IsTruncated is true. NextRecordName *string `type:"string"` - // If the results were truncated, the type of the next record in the list. This - // element is present only if IsTruncated is true. + // If the results were truncated, the type of the next record in the list. + // + // This element is present only if IsTruncated is true. NextRecordType *string `type:"string" enum:"RRType"` - // A complex type that contains information about the resource record sets that - // are returned by the request. + // Information about multiple resource record sets. ResourceRecordSets []*ResourceRecordSet `locationNameList:"ResourceRecordSet" type:"list" required:"true"` } @@ -6060,8 +6633,8 @@ func (s ListResourceRecordSetsOutput) GoString() string { } // To retrieve a list of your reusable delegation sets, send a GET request to -// the /Route 53 API version/delegationset resource. The response to this request -// includes a DelegationSets element with zero or more DelegationSet child elements. +// the /2013-04-01/delegationset resource. The response to this request includes +// a DelegationSets element with zero or more DelegationSet child elements. // By default, the list of reusable delegation sets is displayed on a single // page. You can control the length of the page that is displayed by using the // MaxItems parameter. You can use the Marker parameter to control the delegation @@ -6072,13 +6645,13 @@ func (s ListResourceRecordSetsOutput) GoString() string { type ListReusableDelegationSetsInput struct { _ struct{} `type:"structure"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // If you're making the second or subsequent call to ListReusableDelegationSets, + // the Marker element matches the value that you specified in the marker parameter + // in the previous request. Marker *string `location:"querystring" locationName:"marker" type:"string"` - // Specify the maximum number of reusable delegation sets to return per page - // of results. + // The value that you specified for the maxitems parameter in the request that + // produced the current response. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` } @@ -6092,38 +6665,34 @@ func (s ListReusableDelegationSetsInput) GoString() string { return s.String() } -// A complex type that contains the response for the request. +// A complex type that contains information about the reusable delegation sets +// that are associated with the current AWS account. type ListReusableDelegationSetsOutput struct { _ struct{} `type:"structure"` - // A complex type that contains information about the reusable delegation sets - // associated with the current AWS account. + // A complex type that contains one DelegationSet element for each reusable + // delegation set that was created by the current AWS account. DelegationSets []*DelegationSet `locationNameList:"DelegationSet" type:"list" required:"true"` - // A flag indicating whether there are more reusable delegation sets to be listed. - // If your results were truncated, you can make a follow-up request for the - // next page of results by using the Marker element. - // - // Valid Values: true | false + // A flag that indicates whether there are more reusable delegation sets to + // be listed. If the response is truncated, you can get the next group of maxitems + // reusable delegation sets by calling ListReusableDelegationSets again and + // specifying the value of the NextMarker element in the marker parameter. IsTruncated *bool `type:"boolean" required:"true"` - // If the request returned more than one page of results, submit another request - // and specify the value of NextMarker from the last response in the marker - // parameter to get the next page of results. + // For the second and subsequent calls to ListReusableDelegationSets, Marker + // is the value that you specified for the marker parameter in the request that + // produced the current response. Marker *string `type:"string" required:"true"` - // The maximum number of reusable delegation sets to be included in the response - // body. If the number of reusable delegation sets associated with this AWS - // account exceeds MaxItems, the value of IsTruncated in the response is true. - // To get the next page of results, call ListReusableDelegationSets again and - // specify the value of NextMarker from the previous response in the Marker - // element of the request. + // The value that you specified for the maxitems parameter in the call to ListReusableDelegationSets + // that produced the current response. MaxItems *string `type:"string" required:"true"` - // Indicates where to continue listing reusable delegation sets. If IsTruncated - // is true, make another request to ListReusableDelegationSets and include the - // value of the NextMarker element in the Marker element of the previous response - // to get the next page of results. + // If IsTruncated is true, the value of NextMarker identifies the first reusable + // delegation set in the next group of maxitems reusable delegation sets. Call + // ListReusableDelegationSets again and specify the value of NextMarker in the + // marker parameter. NextMarker *string `type:"string"` } @@ -6147,9 +6716,9 @@ type ListTagsForResourceInput struct { // The type of the resource. // - // - The resource type for health checks is healthcheck. + // The resource type for health checks is healthcheck. // - // - The resource type for hosted zones is hostedzone. + // The resource type for hosted zones is hostedzone. ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -6179,7 +6748,8 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// A complex type containing tags for the specified resource. +// A complex type that contains information about the health checks or hosted +// zones for which you want to list tags. type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6197,8 +6767,8 @@ func (s ListTagsForResourceOutput) GoString() string { return s.String() } -// A complex type containing information about a request for a list of the tags -// that are associated with up to 10 specified resources. +// A complex type that contains information about the health checks or hosted +// zones for which you want to list tags. type ListTagsForResourcesInput struct { _ struct{} `locationName:"ListTagsForResourcesRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6208,9 +6778,9 @@ type ListTagsForResourcesInput struct { // The type of the resources. // - // - The resource type for health checks is healthcheck. + // The resource type for health checks is healthcheck. // - // - The resource type for hosted zones is hostedzone. + // The resource type for hosted zones is hostedzone. ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -6266,15 +6836,15 @@ func (s ListTagsForResourcesOutput) GoString() string { type ListTrafficPoliciesInput struct { _ struct{} `type:"structure"` - // The maximum number of traffic policies to be included in the response body - // for this request. If you have more than MaxItems traffic policies, the value - // of the IsTruncated element in the response is true, and the value of the - // TrafficPolicyIdMarker element is the ID of the first traffic policy in the - // next group of MaxItems traffic policies. + // (Optional) The maximum number of traffic policies to be included in the response + // body for this request. If you have more than MaxItems traffic policies, the + // value of the IsTruncated element in the response is true, and the value of + // the TrafficPolicyIdMarker element is the ID of the first traffic policy in + // the next group of MaxItems traffic policies. MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` - // For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker - // parameter. + // (Conditional) For your first request to ListTrafficPolicies, do not include + // the TrafficPolicyIdMarker parameter. // // If you have more traffic policies than the value of MaxItems, ListTrafficPolicies // returns only the first MaxItems traffic policies. To get the next group of @@ -6406,8 +6976,6 @@ type ListTrafficPolicyInstancesByHostedZoneOutput struct { // again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. - // - // Valid Values: true | false IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByHostedZone @@ -6541,8 +7109,6 @@ type ListTrafficPolicyInstancesByPolicyOutput struct { // and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. - // - // Valid Values: true | false IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy @@ -6646,8 +7212,6 @@ type ListTrafficPolicyInstancesOutput struct { // specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. - // - // Valid Values: true | false IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances @@ -6740,8 +7304,6 @@ type ListTrafficPolicyVersionsOutput struct { // If the response was truncated, you can get the next group of maxitems traffic // policies by calling ListTrafficPolicyVersions again and specifying the value // of the NextMarker element in the marker parameter. - // - // Valid Values: true | false IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions @@ -6771,19 +7333,22 @@ func (s ListTrafficPolicyVersionsOutput) GoString() string { return s.String() } -// A complex type that contains the value of the Value element for the current -// resource record set. +// Information specific to the resource record. +// +// If you are creating an alias resource record set, omit ResourceRecord. type ResourceRecord struct { _ struct{} `type:"structure"` // The current or new DNS record value, not to exceed 4,000 characters. In the // case of a DELETE action, if the current value does not match the actual value, // an error is returned. For descriptions about how to format Value for different - // record types, see Supported DNS Resource Record Types (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html) + // record types, see Supported DNS Resource Record Types (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeveloperGuide/ResourceRecordTypes.html) // in the Amazon Route 53 Developer Guide. // // You can specify more than one value for all record types except CNAME and // SOA. + // + // If you are creating an alias resource record set, omit Value. Value *string `type:"string" required:"true"` } @@ -6810,13 +7375,27 @@ func (s *ResourceRecord) Validate() error { return nil } -// A complex type that contains information about the current resource record -// set. +// Information about the resource record set to create or delete. type ResourceRecordSet struct { _ struct{} `type:"structure"` - // Alias resource record sets only: Information about the AWS resource to which - // you are redirecting traffic. + // Alias resource record sets only: Information about the CloudFront distribution, + // Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon + // Route 53 resource record set to which you are redirecting queries. The Elastic + // Beanstalk environment must have a regionalized subdomain. + // + // If you're creating resource records sets for a private hosted zone, note + // the following: + // + // You can't create alias resource record sets for CloudFront distributions + // in a private hosted zone. + // + // Creating geolocation alias resource record sets or latency alias resource + // record sets in a private hosted zone is unsupported. + // + // For information about creating failover resource record sets in a private + // hosted zone, see Configuring Failover in a Private Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html) + // in the Amazon Route 53 Developer Guide. AliasTarget *AliasTarget `type:"structure"` // Failover resource record sets only: To configure failover, you add the Failover @@ -6826,35 +7405,41 @@ type ResourceRecordSet struct { // specify the health check that you want Amazon Route 53 to perform for each // resource record set. // - // You can create failover and failover alias resource record sets only in - // public hosted zones. Except where noted, the following failover behaviors - // assume that you have included the HealthCheckId element in both resource - // record sets: + // Except where noted, the following failover behaviors assume that you have + // included the HealthCheckId element in both resource record sets: // - // When the primary resource record set is healthy, Amazon Route 53 responds + // When the primary resource record set is healthy, Amazon Route 53 responds // to DNS queries with the applicable value from the primary resource record - // set regardless of the health of the secondary resource record set. When the - // primary resource record set is unhealthy and the secondary resource record - // set is healthy, Amazon Route 53 responds to DNS queries with the applicable - // value from the secondary resource record set. When the secondary resource - // record set is unhealthy, Amazon Route 53 responds to DNS queries with the - // applicable value from the primary resource record set regardless of the health - // of the primary resource record set. If you omit the HealthCheckId element - // for the secondary resource record set, and if the primary resource record - // set is unhealthy, Amazon Route 53 always responds to DNS queries with the - // applicable value from the secondary resource record set. This is true regardless - // of the health of the associated endpoint. You cannot create non-failover - // resource record sets that have the same values for the Name and Type elements - // as failover resource record sets. + // set regardless of the health of the secondary resource record set. + // + // When the primary resource record set is unhealthy and the secondary resource + // record set is healthy, Amazon Route 53 responds to DNS queries with the applicable + // value from the secondary resource record set. + // + // When the secondary resource record set is unhealthy, Amazon Route 53 responds + // to DNS queries with the applicable value from the primary resource record + // set regardless of the health of the primary resource record set. + // + // If you omit the HealthCheckId element for the secondary resource record + // set, and if the primary resource record set is unhealthy, Amazon Route 53 + // always responds to DNS queries with the applicable value from the secondary + // resource record set. This is true regardless of the health of the associated + // endpoint. + // + // You cannot create non-failover resource record sets that have the same + // values for the Name and Type elements as failover resource record sets. // // For failover alias resource record sets, you must also include the EvaluateTargetHealth // element and set the value to true. // // For more information about configuring failover for Amazon Route 53, see - // Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) - // in the Amazon Route 53 Developer Guide. + // the following topics in the Amazon Route 53 Developer Guide: // - // Valid values: PRIMARY | SECONDARY + // Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) + // + // Configuring Failover in a Private Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html) + // + // Valid values: PRIMARY | SECONDARY Failover *string `type:"string" enum:"ResourceRecordSetFailover"` // Geo location resource record sets only: A complex type that lets you control @@ -6863,13 +7448,14 @@ type ResourceRecordSet struct { // to a web server with an IP address of 192.0.2.111, create a resource record // set with a Type of A and a ContinentCode of AF. // - // You can create geolocation and geolocation alias resource record sets only - // in public hosted zones. If you create separate resource record sets for overlapping - // geographic regions (for example, one resource record set for a continent - // and one for a country on the same continent), priority goes to the smallest - // geographic region. This allows you to route most queries for a continent - // to one resource and to route queries for a country on that continent to a - // different resource. + // Creating geolocation and geolocation alias resource record sets in private + // hosted zones is not supported. + // + // If you create separate resource record sets for overlapping geographic + // regions (for example, one resource record set for a continent and one for + // a country on the same continent), priority goes to the smallest geographic + // region. This allows you to route most queries for a continent to one resource + // and to route queries for a country on that continent to a different resource. // // You cannot create two geolocation resource record sets that specify the // same geographic location. @@ -6878,7 +7464,7 @@ type ResourceRecordSet struct { // that aren't specified in other geolocation resource record sets that have // the same values for the Name and Type elements. // - // Geolocation works by mapping IP addresses to locations. However, some IP + // Geolocation works by mapping IP addresses to locations. However, some IP // addresses aren't mapped to geographic locations, so even if you create geolocation // resource record sets that cover all seven continents, Amazon Route 53 will // receive some DNS queries from locations that it can't identify. We recommend @@ -6887,13 +7473,80 @@ type ResourceRecordSet struct { // created geolocation resource record sets and queries from IP addresses that // aren't mapped to a location. If you don't create a * resource record set, // Amazon Route 53 returns a "no answer" response for queries from those locations. - // You cannot create non-geolocation resource record sets that have the same + // + // You cannot create non-geolocation resource record sets that have the same // values for the Name and Type elements as geolocation resource record sets. GeoLocation *GeoLocation `type:"structure"` - // Health Check resource record sets only, not required for alias resource record - // sets: An identifier that is used to identify health check associated with - // the resource record set. + // If you want Amazon Route 53 to return this resource record set in response + // to a DNS query only when a health check is passing, include the HealthCheckId + // element and specify the ID of the applicable health check. + // + // Amazon Route 53 determines whether a resource record set is healthy based + // on one of the following: + // + // By periodically sending a request to the endpoint that is specified in + // the health check + // + // By aggregating the status of a specified group of health checks (calculated + // health checks) + // + // By determining the current state of a CloudWatch alarm (CloudWatch metric + // health checks) + // + // For information about how Amazon Route 53 determines whether a health + // check is healthy, see CreateHealthCheck. + // + // The HealthCheckId element is only useful when Amazon Route 53 is choosing + // between two or more resource record sets to respond to a DNS query, and you + // want Amazon Route 53 to base the choice in part on the status of a health + // check. Configuring health checks only makes sense in the following configurations: + // + // You're checking the health of the resource record sets in a weighted, + // latency, geolocation, or failover resource record set, and you specify health + // check IDs for all of the resource record sets. If the health check for one + // resource record set specifies an endpoint that is not healthy, Amazon Route + // 53 stops responding to queries using the value for that resource record set. + // + // You set EvaluateTargetHealth to true for the resource record sets in an + // alias, weighted alias, latency alias, geolocation alias, or failover alias + // resource record set, and you specify health check IDs for all of the resource + // record sets that are referenced by the alias resource record sets. + // + // Amazon Route 53 doesn't check the health of the endpoint specified in + // the resource record set, for example, the endpoint specified by the IP address + // in the Value element. When you add a HealthCheckId element to a resource + // record set, Amazon Route 53 checks the health of the endpoint that you specified + // in the health check. + // + // For geolocation resource record sets, if an endpoint is unhealthy, Amazon + // Route 53 looks for a resource record set for the larger, associated geographic + // region. For example, suppose you have resource record sets for a state in + // the United States, for the United States, for North America, and for all + // locations. If the endpoint for the state resource record set is unhealthy, + // Amazon Route 53 checks the resource record sets for the United States, for + // North America, and for all locations (a resource record set for which the + // value of CountryCode is *), in that order, until it finds a resource record + // set for which the endpoint is healthy. + // + // If your health checks specify the endpoint only by domain name, we recommend + // that you create a separate health check for each endpoint. For example, create + // a health check for each HTTP server that is serving content for www.example.com. + // For the value of FullyQualifiedDomainName, specify the domain name of the + // server (such as us-east-1-www.example.com), not the name of the resource + // record sets (example.com). + // + // n this configuration, if you create a health check for which the value + // of FullyQualifiedDomainName matches the name of the resource record sets + // and then associate the health check with those resource record sets, health + // check results will be unpredictable. + // + // For more informaiton, see the following topics in the Amazon Route 53 Developer + // Guide: + // + // Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) + // + // Configuring Failover in a Private Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html) HealthCheckId *string `type:"string"` // The name of the domain you want to perform the action on. @@ -6909,14 +7562,24 @@ type ResourceRecordSet struct { // Name Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) // in the Amazon Route 53 Developer Guide. // - // You can use an asterisk (*) character in the name. DNS treats the * character - // either as a wildcard or as the * character (ASCII 42), depending on where - // it appears in the name. For more information, see Using an Asterisk (*) in - // the Names of Hosted Zones and Resource Record Sets (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-asterisk) - // in the Amazon Route 53 Developer Guide + // You can use the asterisk (*) wildcard to replace the leftmost label in a + // domain name. For example, *.example.com. Note the following: // - // You can't use the * wildcard for resource records sets that have a type + // The * must replace the entire label. For example, you can't specify *prod.example.com + // or prod*.example.com. + // + // The * can't replace any of the middle labels, for example, marketing.*.example.com. + // + // If you include * in any position other than the leftmost label in a domain + // name, DNS treats it as an * character (ASCII 42), not as a wildcard. + // + // You can't use the * wildcard for resource records sets that have a type // of NS. + // + // You can use the * wildcard as the leftmost label in a domain name, for + // example, *.example.com. You cannot use an * for one of the middle labels, + // for example, marketing.*.example.com. In addition, the * must replace the + // entire label; for example, you can't specify prod*.example.com. Name *string `type:"string" required:"true"` // Latency-based resource record sets only: The Amazon EC2 region where the @@ -6925,51 +7588,60 @@ type ResourceRecordSet struct { // balancer, and is referred to by an IP address or a DNS domain name, depending // on the record type. // - // You can create latency and latency alias resource record sets only in public - // hosted zones. When Amazon Route 53 receives a DNS query for a domain name - // and type for which you have created latency resource record sets, Amazon - // Route 53 selects the latency resource record set that has the lowest latency - // between the end user and the associated Amazon EC2 region. Amazon Route 53 - // then returns the value that is associated with the selected resource record - // set. + // Creating latency and latency alias resource record sets in private hosted + // zones is not supported. + // + // When Amazon Route 53 receives a DNS query for a domain name and type for + // which you have created latency resource record sets, Amazon Route 53 selects + // the latency resource record set that has the lowest latency between the end + // user and the associated Amazon EC2 region. Amazon Route 53 then returns the + // value that is associated with the selected resource record set. // // Note the following: // - // You can only specify one ResourceRecord per latency resource record set. - // You can only create one latency resource record set for each Amazon EC2 region. - // You are not required to create latency resource record sets for all Amazon + // You can only specify one ResourceRecord per latency resource record set. + // + // You can only create one latency resource record set for each Amazon EC2 + // region. + // + // You are not required to create latency resource record sets for all Amazon // EC2 regions. Amazon Route 53 will choose the region with the best latency // from among the regions for which you create latency resource record sets. - // You cannot create non-latency resource record sets that have the same values - // for the Name and Type elements as latency resource record sets. + // + // You cannot create non-latency resource record sets that have the same + // values for the Name and Type elements as latency resource record sets. Region *string `min:"1" type:"string" enum:"ResourceRecordSetRegion"` - // A complex type that contains the resource records for the current resource - // record set. + // Information about the resource records to act upon. + // + // If you are creating an alias resource record set, omit ResourceRecords. ResourceRecords []*ResourceRecord `locationNameList:"ResourceRecord" min:"1" type:"list"` // Weighted, Latency, Geo, and Failover resource record sets only: An identifier // that differentiates among multiple resource record sets that have the same // combination of DNS name and type. The value of SetIdentifier must be unique // for each resource record set that has the same combination of DNS name and - // type. + // type. Omit SetIdentifier for any other types of record sets. SetIdentifier *string `min:"1" type:"string"` - // The cache time to live for the current resource record set. Note the following: + // The resource record cache time to live (TTL), in seconds. Note the following: // - // If you're creating a non-alias resource record set, TTL is required. If - // you're creating an alias resource record set, omit TTL. Amazon Route 53 uses - // the value of TTL for the alias target. If you're associating this resource - // record set with a health check (if you're adding a HealthCheckId element), - // we recommend that you specify a TTL of 60 seconds or less so clients respond - // quickly to changes in health status. All of the resource record sets in a - // group of weighted, latency, geolocation, or failover resource record sets - // must have the same value for TTL. If a group of weighted resource record - // sets includes one or more weighted alias resource record sets for which the - // alias target is an ELB load balancer, we recommend that you specify a TTL - // of 60 seconds for all of the non-alias weighted resource record sets that - // have the same name and type. Values other than 60 seconds (the TTL for load - // balancers) will change the effect of the values that you specify for Weight. + // If you're creating an alias resource record set, omit TTL. Amazon Route + // 53 uses the value of TTL for the alias target. + // + // If you're associating this resource record set with a health check (if + // you're adding a HealthCheckId element), we recommend that you specify a TTL + // of 60 seconds or less so clients respond quickly to changes in health status. + // + // All of the resource record sets in a group of weighted, latency, geolocation, + // or failover resource record sets must have the same value for TTL. + // + // If a group of weighted resource record sets includes one or more weighted + // alias resource record sets for which the alias target is an ELB load balancer, + // we recommend that you specify a TTL of 60 seconds for all of the non-alias + // weighted resource record sets that have the same name and type. Values other + // than 60 seconds (the TTL for load balancers) will change the effect of the + // values that you specify for Weight. TTL *int64 `type:"long"` TrafficPolicyInstanceId *string `type:"string"` @@ -6978,28 +7650,36 @@ type ResourceRecordSet struct { // data is encoded for them, see Supported DNS Resource Record Types (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html) // in the Amazon Route 53 Developer Guide. // - // Valid values for basic resource record sets: A | AAAA | CNAME | MX | NS - // | PTR | SOA | SPF | SRV | TXT + // Valid values for basic resource record sets: A | AAAA | CNAME | MX | NAPTR + // | NS | PTR | SOA | SPF | SRV | TXT // // Values for weighted, latency, geolocation, and failover resource record - // sets: A | AAAA | CNAME | MX | PTR | SPF | SRV | TXT. When creating a group - // of weighted, latency, geolocation, or failover resource record sets, specify - // the same value for all of the resource record sets in the group. + // sets: A | AAAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT. When creating + // a group of weighted, latency, geolocation, or failover resource record sets, + // specify the same value for all of the resource record sets in the group. // - // SPF records were formerly used to verify the identity of the sender of email - // messages. However, we no longer recommend that you create resource record - // sets for which the value of Type is SPF. RFC 7208, Sender Policy Framework + // SPF records were formerly used to verify the identity of the sender of + // email messages. However, we no longer recommend that you create resource + // record sets for which the value of Type is SPF. RFC 7208, Sender Policy Framework // (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated // to say, "...[I]ts existence and mechanism defined in [RFC4408] have led to // some interoperability issues. Accordingly, its use is no longer appropriate // for SPF version 1; implementations are not to use it." In RFC 7208, see section // 14.1, The SPF DNS Record Type (http://tools.ietf.org/html/rfc7208#section-14.1). - // Values for alias resource record sets: // - // CloudFront distributions: A ELB load balancers: A | AAAA Amazon S3 buckets: - // A Another resource record set in this hosted zone: Specify the type of the - // resource record set for which you're creating the alias. Specify any value - // except NS or SOA. + // Values for alias resource record sets: + // + // CloudFront distributions: A + // + // Elastic Beanstalk environment that has a regionalized subdomain: A + // + // ELB load balancers: A | AAAA + // + // Amazon S3 buckets: A + // + // Another resource record set in this hosted zone: Specify the type of + // the resource record set for which you're creating the alias. Specify any + // value except NS or SOA. Type *string `type:"string" required:"true" enum:"RRType"` // Weighted resource record sets only: Among resource record sets that have @@ -7010,17 +7690,23 @@ type ResourceRecordSet struct { // 53 then responds to queries based on the ratio of a resource's weight to // the total. Note the following: // - // You must specify a value for the Weight element for every weighted resource - // record set. You can only specify one ResourceRecord per weighted resource - // record set. You cannot create latency, failover, or geolocation resource - // record sets that have the same values for the Name and Type elements as weighted - // resource record sets. You can create a maximum of 100 weighted resource record - // sets that have the same values for the Name and Type elements. For weighted - // (but not weighted alias) resource record sets, if you set Weight to 0 for - // a resource record set, Amazon Route 53 never responds to queries with the - // applicable value for that resource record set. However, if you set Weight - // to 0 for all resource record sets that have the same combination of DNS name - // and type, traffic is routed to all resources with equal probability. + // You must specify a value for the Weight element for every weighted resource + // record set. + // + // You can only specify one ResourceRecord per weighted resource record set. + // + // You cannot create latency, failover, or geolocation resource record sets + // that have the same values for the Name and Type elements as weighted resource + // record sets. + // + // You can create a maximum of 100 weighted resource record sets that have + // the same values for the Name and Type elements. + // + // For weighted (but not weighted alias) resource record sets, if you set + // Weight to 0 for a resource record set, Amazon Route 53 never responds to + // queries with the applicable value for that resource record set. However, + // if you set Weight to 0 for all resource record sets that have the same combination + // of DNS name and type, traffic is routed to all resources with equal probability. // // The effect of setting Weight to 0 is different when you associate health // checks with weighted resource record sets. For more information, see Options @@ -7094,9 +7780,9 @@ type ResourceTagSet struct { // The type of the resource. // - // - The resource type for health checks is healthcheck. + // The resource type for health checks is healthcheck. // - // - The resource type for hosted zones is hostedzone. + // The resource type for hosted zones is hostedzone. ResourceType *string `type:"string" enum:"TagResourceType"` // The tags associated with the specified resource. @@ -7113,18 +7799,19 @@ func (s ResourceTagSet) GoString() string { return s.String() } -// A complex type that contains information about the health check status for -// the current observation. +// A complex type that contains the status that one Amazon Route 53 health checker +// reports and the time of the health check. type StatusReport struct { _ struct{} `type:"structure"` - // The date and time the health check status was observed, in the format YYYY-MM-DDThh:mm:ssZ, - // as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). - // The Z after the time indicates that the time is listed in Coordinated Universal - // Time (UTC). + // The time at which the health checker performed the health check in ISO 8601 + // format (https://en.wikipedia.org/wiki/ISO_8601) and Coordinated Universal + // Time (UTC). For example, the value 2014-10-27T17:48:16.751Z represents October + // 27, 2014 at 17:48:16.751 UTC. CheckedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - // The observed health check status. + // A description of the status of the health check endpoint as reported by one + // of the Amazon Route 53 health checkers. Status *string `type:"string"` } @@ -7138,14 +7825,32 @@ func (s StatusReport) GoString() string { return s.String() } -// A single tag containing a key and value. +// A complex type that contains information about a tag that you want to add +// or edit for the specified health check or hosted zone. type Tag struct { _ struct{} `type:"structure"` - // The key for a Tag. + // The value of Key depends on the operation that you want to perform: + // + // Add a tag to a health check or hosted zone: Key is the name that you + // want to give the new tag. + // + // Edit a tag: Key is the name of the tag whose Value element you want to + // remove. + // + // Delete a key: Key is the name of the tag you want to remove. + // + // Give a name to a health check: Edit the default Name tag. In the Amazon + // Route 53 console, the list of your health checks includes a Name column that + // lets you see the name that you've given to each health check. Key *string `type:"string"` - // The value for a Tag. + // The value of Value depends on the operation that you want to perform: + // + // Add a tag to a health check or hosted zone: Value is the value that you + // want to give the new tag. + // + // Edit a tag: Value is the new value that you want to assign the tag. Value *string `type:"string"` } @@ -7159,6 +7864,119 @@ func (s Tag) GoString() string { return s.String() } +// Gets the value that Amazon Route 53 returns in response to a DNS request +// for a specified record name and type. You can optionally specify the IP address +// of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. +// +// Parameters +// +// hostedzoneid The ID of the hosted zone that you want Amazon Route 53 to +// simulate a query for. +// +// recordname The name of the resource record set that you want Amazon Route +// 53 to simulate a query for. +// +// recordtype The type of the resource record set. +// +// resolverip (optional) If you want to simulate a request from a specific +// DNS resolver, specify the IP address for that resolver. If you omit this +// value, TestDNSAnswer uses the IP address of a DNS resolver in the AWS US +// East region. +// +// edns0clientsubnetip (optional) If the resolver that you specified for +// resolverip supports EDNS0, specify the IP address of a client in the applicable +// location. +// +// edns0clientsubnetmask (optional) If you specify an IP address for edns0clientsubnetip, +// you can optionally specify the number of bits of the IP address that you +// want the checking tool to include in the DNS query. For example, if you specify +// 192.0.2.44 for edns0clientsubnetip and 24 for edns0clientsubnetmask, the +// checking tool will simulate a request from 192.0.2.0/24. The default value +// is 24 bits. +type TestDNSAnswerInput struct { + _ struct{} `type:"structure"` + + EDNS0ClientSubnetIP *string `location:"querystring" locationName:"edns0clientsubnetip" type:"string"` + + EDNS0ClientSubnetMask *string `location:"querystring" locationName:"edns0clientsubnetmask" type:"string"` + + HostedZoneId *string `location:"querystring" locationName:"hostedzoneid" type:"string" required:"true"` + + RecordName *string `location:"querystring" locationName:"recordname" type:"string" required:"true"` + + RecordType *string `location:"querystring" locationName:"recordtype" type:"string" required:"true" enum:"RRType"` + + ResolverIP *string `location:"querystring" locationName:"resolverip" type:"string"` +} + +// String returns the string representation +func (s TestDNSAnswerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TestDNSAnswerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TestDNSAnswerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TestDNSAnswerInput"} + if s.HostedZoneId == nil { + invalidParams.Add(request.NewErrParamRequired("HostedZoneId")) + } + if s.RecordName == nil { + invalidParams.Add(request.NewErrParamRequired("RecordName")) + } + if s.RecordType == nil { + invalidParams.Add(request.NewErrParamRequired("RecordType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// A complex type that contains the response to a TestDNSAnswer request. +type TestDNSAnswerOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Route 53 name server used to respond to the request. + Nameserver *string `type:"string" required:"true"` + + // The protocol that Amazon Route 53 used to respond to the request, either + // UDP or TCP. + Protocol *string `type:"string" required:"true"` + + // A list that contains values that Amazon Route 53 returned for this resource + // record set. + RecordData []*string `locationNameList:"RecordDataEntry" type:"list" required:"true"` + + // The name of the resource record set that you submitted a request for. + RecordName *string `type:"string" required:"true"` + + // The type of the resource record set that you submitted a request for. + RecordType *string `type:"string" required:"true" enum:"RRType"` + + // A code that indicates whether the request is valid or not. The most common + // response code is NOERROR, meaning that the request is valid. If the response + // is not valid, Amazon Route 53 returns a response code that describes the + // error. For a list of possible response codes, see DNS RCODES (http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6) + // on the IANA website. + ResponseCode *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s TestDNSAnswerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TestDNSAnswerOutput) GoString() string { + return s.String() +} + type TrafficPolicy struct { _ struct{} `type:"structure"` @@ -7241,89 +8059,175 @@ func (s TrafficPolicySummary) GoString() string { return s.String() } -// >A complex type that contains information about the request to update a health -// check. +// A complex type that contains the health check request information. type UpdateHealthCheckInput struct { _ struct{} `locationName:"UpdateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // A complex type that contains information to uniquely identify the CloudWatch - // alarm that you're associating with a Route 53 health check. + // A complex type that identifies the CloudWatch alarm that you want Amazon + // Route 53 health checkers to use to determine whether this health check is + // healthy. AlarmIdentifier *AlarmIdentifier `type:"structure"` - // For a specified parent health check, a list of HealthCheckId values for the - // associated child health checks. - // - // Specify this value only if you want to change it. + // A complex type that contains one ChildHealthCheck element for each health + // check that you want to associate with a CALCULATED health check. ChildHealthChecks []*string `locationNameList:"ChildHealthCheck" type:"list"` // Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName - // to the endpoint in the client_hello message during TLS negotiation. If you - // don't specify a value for EnableSNI, Amazon Route 53 defaults to true when - // Type is HTTPS or HTTPS_STR_MATCH and defaults to false when Type is any other - // value. + // to the endpoint in the client_hello message during TLS negotiation. This + // allows the endpoint to respond to HTTPS health check requests with the applicable + // SSL/TLS certificate. // - // Specify this value only if you want to change it. + // Some endpoints require that HTTPS requests include the host name in the + // client_hello message. If you don't enable SNI, the status of the health check + // will be SSL alert handshake_failure. A health check can also have that status + // for other reasons. If SNI is enabled and you're still getting the error, + // check the SSL/TLS configuration on your endpoint and confirm that your certificate + // is valid. + // + // The SSL/TLS certificate on your endpoint includes a domain name in the Common + // Name field and possibly several more in the Subject Alternative Names field. + // One of the domain names in the certificate should match the value that you + // specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello + // message with a certificate that does not include the domain name that you + // specified in FullyQualifiedDomainName, a health checker will retry the handshake. + // In the second attempt, the health checker will omit FullyQualifiedDomainName + // from the client_hello message. EnableSNI *bool `type:"boolean"` // The number of consecutive health checks that an endpoint must pass or fail // for Amazon Route 53 to change the current status of the endpoint from unhealthy - // to healthy or vice versa. - // - // Valid values are integers between 1 and 10. For more information, see "How - // Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon - // Route 53 Developer Guide. - // - // Specify this value only if you want to change it. + // to healthy or vice versa. For more information, see How Amazon Route 53 Determines + // Whether an Endpoint Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) + // in the Amazon Route 53 Developer Guide. FailureThreshold *int64 `min:"1" type:"integer"` - // Fully qualified domain name of the instance to be health checked. + // Amazon Route 53 behavior depends on whether you specify a value for IPAddress. // - // Specify this value only if you want to change it. + // If a health check already has a value for IPAddress, you can change the + // value. However, you can't update an existing health check to add or remove + // the value of IPAddress. + // + // If you specify IPAddress: + // + // The value that you want Amazon Route 53 to pass in the Host header in all + // health checks except TCP health checks. This is typically the fully qualified + // DNS name of the endpoint on which you want Amazon Route 53 to perform health + // checks. When Amazon Route 53 checks the health of an endpoint, here is how + // it constructs the Host header: + // + // If you specify a value of 80 for Port and HTTP or HTTP_STR_MATCH for Type, + // Amazon Route 53 passes the value of FullyQualifiedDomainName to the endpoint + // in the Host header. + // + // If you specify a value of 443 for Port and HTTPS or HTTPS_STR_MATCH for + // Type, Amazon Route 53 passes the value of FullyQualifiedDomainName to the + // endpoint in the Host header. + // + // If you specify another value for Port and any value except TCP for Type, + // Amazon Route 53 passes FullyQualifiedDomainName:Port to the endpoint in + // the Host header. + // + // If you don't specify a value for FullyQualifiedDomainName, Amazon Route + // 53 substitutes the value of IPAddress in the Host header in each of the above + // cases. + // + // If you don't specify IPAddress: + // + // If you don't specify a value for IPAddress, Amazon Route 53 sends a DNS + // request to the domain that you specify in FullyQualifiedDomainName at the + // interval you specify in RequestInterval. Using an IP address that DNS returns, + // Amazon Route 53 then checks the health of the endpoint. + // + // If you want to check the health of weighted, latency, or failover resource + // record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, + // we recommend that you create a separate health check for each endpoint. For + // example, create a health check for each HTTP server that is serving content + // for www.example.com. For the value of FullyQualifiedDomainName, specify the + // domain name of the server (such as us-east-1-www.example.com), not the name + // of the resource record sets (www.example.com). + // + // In this configuration, if the value of FullyQualifiedDomainName matches + // the name of the resource record sets and you then associate the health check + // with those resource record sets, health check results will be unpredictable. + // + // In addition, if the value of Type is HTTP, HTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH, + // Amazon Route 53 passes the value of FullyQualifiedDomainName in the Host + // header, as it does when you specify a value for IPAddress. If the value of + // Type is TCP, Amazon Route 53 doesn't pass a Host header. FullyQualifiedDomainName *string `type:"string"` - // The ID of the health check to update. + // The ID for the health check for which you want detailed information. When + // you created the health check, CreateHealthCheck returned the ID in the response, + // in the HealthCheckId element. HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` - // Optional. When you specify a health check version, Amazon Route 53 compares - // this value with the current value in the health check, which prevents you - // from updating the health check when the versions don't match. Using HealthCheckVersion - // lets you prevent overwriting another change to the health check. + // A sequential counter that Amazon Route 53 sets to 1 when you create a health + // check and increments by 1 each time you update settings for the health check. + // + // We recommend that you use GetHealthCheck or ListHealthChecks to get the + // current value of HealthCheckVersion for the health check that you want to + // update, and that you include that value in your UpdateHealthCheck request. + // This prevents Amazon Route 53 from overwriting an intervening update: + // + // f the value in the UpdateHealthCheck request matches the value of HealthCheckVersion + // in the health check, Amazon Route 53 updates the health check with the new + // settings. + // + // If the value of HealthCheckVersion in the health check is greater, the + // health check was changed after you got the version number. Amazon Route 53 + // does not update the health check, and it returns a HealthCheckVersionMismatch + // error. HealthCheckVersion *int64 `min:"1" type:"long"` - // The minimum number of child health checks that must be healthy for Amazon - // Route 53 to consider the parent health check to be healthy. Valid values - // are integers between 0 and 256, inclusive. + // The number of child health checks that are associated with a CALCULATED health + // that Amazon Route 53 must consider healthy for the CALCULATED health check + // to be considered healthy. To specify the child health checks that you want + // to associate with a CALCULATED health check, use the ChildHealthChecks and + // ChildHealthCheck elements. // - // Specify this value only if you want to change it. + // Note the following: + // + // If you specify a number greater than the number of child health checks, + // Amazon Route 53 always considers this health check to be unhealthy. + // + // If you specify 0, Amazon Route 53 always considers this health check to + // be healthy. HealthThreshold *int64 `type:"integer"` - // The IP address of the resource that you want to check. + // The IPv4 IP address of the endpoint on which you want Amazon Route 53 to + // perform health checks. If you don't specify a value for IPAddress, Amazon + // Route 53 sends a DNS request to resolve the domain name that you specify + // in FullyQualifiedDomainName at the interval you specify in RequestInterval. + // Using an IP address that DNS returns, Amazon Route 53 then checks the health + // of the endpoint. // - // Specify this value only if you want to change it. + // f the endpoint is an Amazon EC2 instance, we recommend that you create an + // Elastic IP address, associate it with your Amazon EC2 instance, and specify + // the Elastic IP address for IPAddress. This ensures that the IP address of + // your instance never changes. For more information, see Elastic IP Addresses + // (EIP) (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) + // in the Amazon EC2 User Guide for Linux Instances. + // + // If a health check already has a value for IPAddress, you can change the + // value. However, you can't update an existing health check to add or remove + // the value of IPAddress. + // + // For more information, see UpdateHealthCheckRequest$FullyQualifiedDomainName. IPAddress *string `type:"string"` InsufficientDataHealthStatus *string `type:"string" enum:"InsufficientDataHealthStatus"` - // A boolean value that indicates whether the status of health check should - // be inverted. For example, if a health check is healthy but Inverted is True, - // then Amazon Route 53 considers the health check to be unhealthy. - // - // Specify this value only if you want to change it. + // Specify whether you want Amazon Route 53 to invert the status of a health + // check, for example, to consider a health check unhealthy when it otherwise + // would be considered healthy. Inverted *bool `type:"boolean"` - // The port on which you want Amazon Route 53 to open a connection to perform - // health checks. - // - // Specify this value only if you want to change it. + // The port on the endpoint on which you want Amazon Route 53 to perform health + // checks. Port *int64 `min:"1" type:"integer"` - // A list of HealthCheckRegion values that specify the Amazon EC2 regions that - // you want Amazon Route 53 to use to perform health checks. You must specify - // at least three regions. - // - // When you remove a region from the list, Amazon Route 53 will briefly continue - // to check your endpoint from that region. Specify this value only if you want - // to change it. + // A complex type that contains one Region element for each region from which + // you want Amazon Route 53 health checkers to check the specified endpoint. Regions []*string `locationNameList:"Region" min:"1" type:"list"` // The path that you want Amazon Route 53 to request when performing health @@ -7337,10 +8241,8 @@ type UpdateHealthCheckInput struct { // If the value of Type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that // you want Amazon Route 53 to search for in the response body from the specified // resource. If the string appears in the response body, Amazon Route 53 considers - // the resource healthy. Amazon Route 53 considers case when searching for SearchString - // in the response body. - // - // Specify this value only if you want to change it. + // the resource healthy. (You can't change the value of Type when you update + // a health check.) SearchString *string `type:"string"` } @@ -7387,7 +8289,8 @@ func (s *UpdateHealthCheckInput) Validate() error { type UpdateHealthCheckOutput struct { _ struct{} `type:"structure"` - // A complex type that contains identifying information about the health check. + // A complex type that contains information about one health check that is associated + // with the current AWS account. HealthCheck *HealthCheck `type:"structure" required:"true"` } @@ -7401,15 +8304,15 @@ func (s UpdateHealthCheckOutput) GoString() string { return s.String() } -// A complex type that contains information about the request to update a hosted -// zone comment. +// A complex type that contains the hosted zone request information. type UpdateHostedZoneCommentInput struct { _ struct{} `locationName:"UpdateHostedZoneCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` - // A comment about your hosted zone. + // The new comment for the hosted zone. If you don't specify a value for Comment, + // Amazon Route 53 deletes the existing value of the Comment element, if any. Comment *string `type:"string"` - // The ID of the hosted zone you want to update. + // The ID for the hosted zone for which you want to update the comment. Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -7436,12 +8339,11 @@ func (s *UpdateHostedZoneCommentInput) Validate() error { return nil } -// A complex type containing information about the specified hosted zone after -// the update. +// A complex type that contains the response to the UpdateHostedZoneCommentRequest. type UpdateHostedZoneCommentOutput struct { _ struct{} `type:"structure"` - // A complex type that contain information about the specified hosted zone. + // A complex type that contains general information about the hosted zone. HostedZone *HostedZone `type:"structure" required:"true"` } @@ -7656,6 +8558,8 @@ const ( // @enum CloudWatchRegion CloudWatchRegionEuWest1 = "eu-west-1" // @enum CloudWatchRegion + CloudWatchRegionApSouth1 = "ap-south-1" + // @enum CloudWatchRegion CloudWatchRegionApSoutheast1 = "ap-southeast-1" // @enum CloudWatchRegion CloudWatchRegionApSoutheast2 = "ap-southeast-2" @@ -7739,6 +8643,8 @@ const ( // @enum RRType RRTypeMx = "MX" // @enum RRType + RRTypeNaptr = "NAPTR" + // @enum RRType RRTypePtr = "PTR" // @enum RRType RRTypeSrv = "SRV" diff --git a/vendor/github.com/aws/aws-sdk-go/service/sns/api.go b/vendor/github.com/aws/aws-sdk-go/service/sns/api.go index 5f0be867c..65323a964 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sns/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sns/api.go @@ -1334,8 +1334,7 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output // To use the Publish action for sending a message to a mobile endpoint, such // as an app on a Kindle device or mobile phone, you must specify the EndpointArn // for the TargetArn parameter. The EndpointArn is returned when making a call -// with the CreatePlatformEndpoint action. The second example below shows a -// request and response for publishing to a mobile endpoint. +// with the CreatePlatformEndpoint action. // // For more information about formatting messages, see Send Custom Platform-Specific // Payloads in Messages to Mobile Devices (http://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-custommessage.html). @@ -1864,10 +1863,10 @@ type CheckIfPhoneNumberIsOptedOutOutput struct { // Indicates whether the phone number is opted out: // - // true – The phone number is opted out, meaning you cannot publish SMS messages - // to it. + // true – The phone number is opted out, meaning you cannot publish SMS + // messages to it. // - // false – The phone number is opted in, meaning you can publish SMS messages + // false – The phone number is opted in, meaning you can publish SMS messages // to it. IsOptedOut *bool `locationName:"isOptedOut" type:"boolean"` } @@ -2319,18 +2318,18 @@ type GetEndpointAttributesOutput struct { // Attributes include the following: // - // CustomUserData -- arbitrary user data to associate with the endpoint. Amazon - // SNS does not use this data. The data must be in UTF-8 format and less than - // 2KB. + // CustomUserData -- arbitrary user data to associate with the endpoint. + // Amazon SNS does not use this data. The data must be in UTF-8 format and less + // than 2KB. // - // Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS - // will set this to false when a notification service indicates to Amazon SNS - // that the endpoint is invalid. Users can set it back to true, typically after - // updating Token. + // Enabled -- flag that enables/disables delivery to the endpoint. Amazon + // SNS will set this to false when a notification service indicates to Amazon + // SNS that the endpoint is invalid. Users can set it back to true, typically + // after updating Token. // - // Token -- device token, also referred to as a registration id, for an app - // and mobile device. This is returned from the notification service when an - // app and mobile device are registered with the notification service. + // Token -- device token, also referred to as a registration id, for an + // app and mobile device. This is returned from the notification service when + // an app and mobile device are registered with the notification service. Attributes map[string]*string `type:"map"` } @@ -2381,16 +2380,16 @@ type GetPlatformApplicationAttributesOutput struct { // Attributes include the following: // - // EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications + // EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications // should be sent. // - // EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications + // EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications // should be sent. // - // EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications + // EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications // should be sent. // - // EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications + // EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications // should be sent upon Direct Publish delivery failure (permanent) to one of // the application's endpoints. Attributes map[string]*string `type:"map"` @@ -2485,19 +2484,19 @@ type GetSubscriptionAttributesOutput struct { // A map of the subscription's attributes. Attributes in this map include the // following: // - // SubscriptionArn -- the subscription's ARN + // SubscriptionArn -- the subscription's ARN // - // TopicArn -- the topic ARN that the subscription is associated with + // TopicArn -- the topic ARN that the subscription is associated with // - // Owner -- the AWS account ID of the subscription's owner + // Owner -- the AWS account ID of the subscription's owner // - // ConfirmationWasAuthenticated -- true if the subscription confirmation + // ConfirmationWasAuthenticated -- true if the subscription confirmation // request was authenticated // - // DeliveryPolicy -- the JSON serialization of the subscription's delivery + // DeliveryPolicy -- the JSON serialization of the subscription's delivery // policy // - // EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery + // EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery // policy that takes into account the topic delivery policy and account system // defaults Attributes map[string]*string `type:"map"` @@ -2550,26 +2549,26 @@ type GetTopicAttributesOutput struct { // A map of the topic's attributes. Attributes in this map include the following: // - // TopicArn -- the topic's ARN + // TopicArn -- the topic's ARN // - // Owner -- the AWS account ID of the topic's owner + // Owner -- the AWS account ID of the topic's owner // - // Policy -- the JSON serialization of the topic's access control policy + // Policy -- the JSON serialization of the topic's access control policy // - // DisplayName -- the human-readable name used in the "From" field for notifications + // DisplayName -- the human-readable name used in the "From" field for notifications // to email and email-json endpoints // - // SubscriptionsPending -- the number of subscriptions pending confirmation + // SubscriptionsPending -- the number of subscriptions pending confirmation // on this topic // - // SubscriptionsConfirmed -- the number of confirmed subscriptions on this + // SubscriptionsConfirmed -- the number of confirmed subscriptions on this // topic // - // SubscriptionsDeleted -- the number of deleted subscriptions on this topic + // SubscriptionsDeleted -- the number of deleted subscriptions on this topic // - // DeliveryPolicy -- the JSON serialization of the topic's delivery policy + // DeliveryPolicy -- the JSON serialization of the topic's delivery policy // - // EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery + // EffectiveDeliveryPolicy -- the JSON serialization of the effective delivery // policy that takes into account system defaults Attributes map[string]*string `type:"map"` } @@ -2989,8 +2988,7 @@ type PublishInput struct { // // If you want to send different messages for each transport protocol, set // the value of the MessageStructure parameter to json and use a JSON object - // for the Message parameter. See the Examples section for the format of the - // JSON object. + // for the Message parameter. // // Constraints: Messages must be UTF-8 encoded strings at most 256 KB in size // (262144 bytes, not 262144 characters). @@ -3034,8 +3032,8 @@ type PublishInput struct { // contain at least a top-level JSON key of "default" with a value that is // a string. // - // You can define other top-level keys that define the message you want - // to send to a specific transport protocol (e.g., "http"). + // You can define other top-level keys that define the message you want to + // send to a specific transport protocol (e.g., "http"). // // For information about sending different messages for each protocol using // the AWS Management Console, go to Create Different Messages for Each Protocol @@ -3183,18 +3181,18 @@ type SetEndpointAttributesInput struct { // A map of the endpoint attributes. Attributes in this map include the following: // - // CustomUserData -- arbitrary user data to associate with the endpoint. Amazon - // SNS does not use this data. The data must be in UTF-8 format and less than - // 2KB. + // CustomUserData -- arbitrary user data to associate with the endpoint. + // Amazon SNS does not use this data. The data must be in UTF-8 format and less + // than 2KB. // - // Enabled -- flag that enables/disables delivery to the endpoint. Amazon SNS - // will set this to false when a notification service indicates to Amazon SNS - // that the endpoint is invalid. Users can set it back to true, typically after - // updating Token. + // Enabled -- flag that enables/disables delivery to the endpoint. Amazon + // SNS will set this to false when a notification service indicates to Amazon + // SNS that the endpoint is invalid. Users can set it back to true, typically + // after updating Token. // - // Token -- device token, also referred to as a registration id, for an app - // and mobile device. This is returned from the notification service when an - // app and mobile device are registered with the notification service. + // Token -- device token, also referred to as a registration id, for an + // app and mobile device. This is returned from the notification service when + // an app and mobile device are registered with the notification service. Attributes map[string]*string `type:"map" required:"true"` // EndpointArn used for SetEndpointAttributes action. @@ -3248,34 +3246,34 @@ type SetPlatformApplicationAttributesInput struct { // A map of the platform application attributes. Attributes in this map include // the following: // - // PlatformCredential -- The credential received from the notification service. + // PlatformCredential -- The credential received from the notification service. // For APNS/APNS_SANDBOX, PlatformCredential is private key. For GCM, PlatformCredential // is "API key". For ADM, PlatformCredential is "client secret". // - // PlatformPrincipal -- The principal received from the notification service. + // PlatformPrincipal -- The principal received from the notification service. // For APNS/APNS_SANDBOX, PlatformPrincipal is SSL certificate. For GCM, PlatformPrincipal // is not applicable. For ADM, PlatformPrincipal is "client id". // - // EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications + // EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications // should be sent. // - // EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications + // EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications // should be sent. // - // EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications + // EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications // should be sent. // - // EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications + // EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications // should be sent upon Direct Publish delivery failure (permanent) to one of // the application's endpoints. // - // SuccessFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write access - // to use CloudWatch Logs on your behalf. + // SuccessFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write + // access to use CloudWatch Logs on your behalf. // - // FailureFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write access - // to use CloudWatch Logs on your behalf. + // FailureFeedbackRoleArn -- IAM role ARN used to give Amazon SNS write + // access to use CloudWatch Logs on your behalf. // - // SuccessFeedbackSampleRate -- Sample rate percentage (0-100) of successfully + // SuccessFeedbackSampleRate -- Sample rate percentage (0-100) of successfully // delivered messages. Attributes map[string]*string `type:"map" required:"true"` @@ -3330,7 +3328,7 @@ type SetSMSAttributesInput struct { // The default settings for sending SMS messages from your account. You can // set values for the following attribute names: // - // MonthlySpendLimit – The maximum amount in USD that you are willing to spend + // MonthlySpendLimit – The maximum amount in USD that you are willing to spend // each month to send SMS messages. When Amazon SNS determines that sending // an SMS message would incur a cost that exceeds this limit, it stops sending // SMS messages within minutes. @@ -3339,34 +3337,34 @@ type SetSMSAttributesInput struct { // crossed. During that interval, if you continue to send SMS messages, you // will incur costs that exceed your limit. // - // DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS + // DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS // to write logs about SMS deliveries in CloudWatch Logs. For each SMS message // that you send, Amazon SNS writes a log that includes the message price, the // success or failure status, the reason for failure (if the message failed), // the message dwell time, and other information. // - // DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries + // DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries // for which Amazon SNS will write logs in CloudWatch Logs. The value can be // an integer from 0 - 100. For example, to write logs only for failed deliveries, // set this value to 0. To write logs for 10% of your successful deliveries, // set it to 10. // - // DefaultSenderID – A string, such as your business brand, that is displayed + // DefaultSenderID – A string, such as your business brand, that is displayed // as the sender on the receiving device. Support for sender IDs varies by country. // The sender ID can be 1 - 11 alphanumeric characters, and it must contain // at least one letter. // - // DefaultSMSType – The type of SMS message that you will send by default. + // DefaultSMSType – The type of SMS message that you will send by default. // You can assign the following values: // - // Promotional – Noncritical messages, such as marketing messages. Amazon + // Promotional – Noncritical messages, such as marketing messages. Amazon // SNS optimizes the message delivery to incur the lowest cost. // - // Transactional – (Default) Critical messages that support customer transactions, + // Transactional – (Default) Critical messages that support customer transactions, // such as one-time passcodes for multi-factor authentication. Amazon SNS optimizes // the message delivery to achieve the highest reliability. // - // UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily + // UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily // SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage // report as a CSV file to the bucket. The report includes the following information // for each SMS message that was successfully delivered by your account: @@ -3392,9 +3390,9 @@ type SetSMSAttributesInput struct { // SNS service principle to perform the s3:PutObject and s3:GetBucketLocation // actions. // - // For an example bucket policy and usage report, see Viewing Statistics About - // SMS Message Delivery (http://docs.aws.amazon.com/sns/latest/dg/sms_stats.html) - // in the Amazon SNS Developer Guide. + // For an example bucket policy and usage report, see Monitoring SMS Activity + // (http://docs.aws.amazon.com/sns/latest/dg/sms_stats.html) in the Amazon SNS + // Developer Guide. Attributes map[string]*string `locationName:"attributes" type:"map" required:"true"` } @@ -3577,22 +3575,22 @@ type SubscribeInput struct { // The protocol you want to use. Supported protocols include: // - // http -- delivery of JSON-encoded message via HTTP POST + // http -- delivery of JSON-encoded message via HTTP POST // - // https -- delivery of JSON-encoded message via HTTPS POST + // https -- delivery of JSON-encoded message via HTTPS POST // - // email -- delivery of message via SMTP + // email -- delivery of message via SMTP // - // email-json -- delivery of JSON-encoded message via SMTP + // email-json -- delivery of JSON-encoded message via SMTP // - // sms -- delivery of message via SMS + // sms -- delivery of message via SMS // - // sqs -- delivery of JSON-encoded message to an Amazon SQS queue + // sqs -- delivery of JSON-encoded message to an Amazon SQS queue // - // application -- delivery of JSON-encoded message to an EndpointArn for + // application -- delivery of JSON-encoded message to an EndpointArn for // a mobile app and device. // - // lambda -- delivery of JSON-encoded message to an AWS Lambda function. + // lambda -- delivery of JSON-encoded message to an AWS Lambda function. Protocol *string `type:"string" required:"true"` // The ARN of the topic you want to subscribe to. diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go index 368830612..3246b39ed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go @@ -223,7 +223,8 @@ func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *requ // Associates the specified SSM document with the specified instance. // // When you associate an SSM document with an instance, the configuration agent -// on the instance processes the document and configures the instance as specified. +// on the instance (SSM agent for Linux and EC2Config service for Windows) processes +// the document and configures the instance as specified. // // If you associate a document with an instance that already has an associated // document, the system throws the AssociationAlreadyExists exception. @@ -277,7 +278,8 @@ func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) // Associates the specified SSM document with the specified instances. // // When you associate an SSM document with an instance, the configuration agent -// on the instance processes the document and configures the instance as specified. +// on the instance (SSM agent for Linux and EC2Config service for Windows) processes +// the document and configures the instance as specified. // // If you associate a document with an instance that already has an associated // document, the system throws the AssociationAlreadyExists exception. @@ -818,11 +820,11 @@ func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformat } // Describes one or more of your instances. You can use this to get information -// about instances like the operating system platform, the SSM agent version, -// status etc. If you specify one or more instance IDs, it returns information -// for those instances. If you do not specify instance IDs, it returns information -// for all your instances. If you specify an instance ID that is not valid or -// an instance that you do not own, you receive an error. +// about instances like the operating system platform, the SSM agent version +// (Linux), status etc. If you specify one or more instance IDs, it returns +// information for those instances. If you do not specify instance IDs, it returns +// information for all your instances. If you specify an instance ID that is +// not valid or an instance that you do not own, you receive an error. func (c *SSM) DescribeInstanceInformation(input *DescribeInstanceInformationInput) (*DescribeInstanceInformationOutput, error) { req, out := c.DescribeInstanceInformationRequest(input) err := req.Send() @@ -2987,7 +2989,7 @@ type InstanceInformation struct { // The activation ID created by SSM when the server or VM was registered. ActivationId *string `type:"string"` - // The version of the SSM agent running on your instance. + // The version of the SSM agent running on your Linux instance. AgentVersion *string `type:"string"` // The fully qualified host name of the managed instance. diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go index 26672eed2..a4f94b511 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go @@ -11,12 +11,12 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" ) -// This is the Amazon EC2 Simple Systems Manager (SSM) API Reference. SSM enables -// you to remotely manage the configuration of your Amazon EC2 instances, virtual -// machines (VMs), or servers in your on-premises environment or in an environment -// provided by other cloud providers using scripts, commands, or the Amazon -// EC2 console. SSM includes an on-demand solution called Amazon EC2 Run Command -// and a lightweight instance configuration solution called SSM Config. +// Amazon EC2 Simple Systems Manager (SSM) enables you to remotely manage the +// configuration of your Amazon EC2 instances, virtual machines (VMs), or servers +// in your on-premises environment or in an environment provided by other cloud +// providers using scripts, commands, or the Amazon EC2 console. SSM includes +// an on-demand solution called Amazon EC2 Run Command and a lightweight instance +// configuration solution called SSM Config. // // This references is intended to be used with the EC2 Run Command User Guide // for Linux (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/execute-remote-commands.html) diff --git a/vendor/vendor.json b/vendor/vendor.json index 1f98178d7..d128f3ca7 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -345,564 +345,564 @@ "revision": "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2" }, { - "checksumSHA1": "QhFYdDb2z6DMbZPsDi9oCQS9nRY=", + "checksumSHA1": "UN8gKREzowlQIH6xM5GJVOBhDYM=", "path": "github.com/aws/aws-sdk-go", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "dSo0vFXJGuTtd6H80q8ZczLszJM=", + "checksumSHA1": "4pvpNLmTBs+Wdfn4BpgUpkMoHLs=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "dkfyy7aRNZ6BmUZ4ZdLIcMMXiPA=", + "checksumSHA1": "ppmwInOtC5Mj/dBBWVxL0KPEI0I=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "RsYlRfQceaAgqjIrExwNsb/RBEM=", + "checksumSHA1": "H/tMKHZU+Qka6RtYiGB50s2uA0s=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "gNWirlrTfSLbOe421hISBAhTqa4=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "dNZNaOPfBPnzE2CBnfhXXZ9g9jU=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "KQiUK/zr3mqnAXD7x/X55/iNme0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "4Ipx+5xN0gso+cENC2MHMWmQlR4=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "nCMd1XKjgV21bEl7J8VZFqTV8PE=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "U0SthWum+t9ACanK7SDJOg3dO6M=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "NyUg1P8ZS/LHAAQAk/4C5O4X3og=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "tBdFneml1Vn7uvezcktsa+hUsGg=", + "checksumSHA1": "44uohX3kLsfZHHOqunr+qJnSCdw=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "7lla+sckQeF18wORAGuU2fFMlp4=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "Bm6UrYb2QCzpYseLwwgw6aetgRc=", "path": "github.com/aws/aws-sdk-go/private/endpoints", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "uNmSKXAF8B9HWEciW+iyUwZ99qQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "L7xWYwx0jNQnzlYHwBS+1q6DcCI=", + "checksumSHA1": "pNeF0Ey7TfBArH5LBQhKOQXQbLY=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "H9TymcQkQnXSXSVfjggiiS4bpzM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "isoix7lTx4qIq2zI2xFADtti5SI=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "5xzix1R8prUyWxgLnzUQoxTsfik=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "TW/7U+/8ormL7acf6z2rv2hDD+s=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "oUOTWZIpPJiGjc9p/hntdBDvS10=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "Y6Db2GGfGD9LPpcJIPj8vXE8BbQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "eUEkjyMPAuekKBE4ou+nM9tXEas=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "Eo9yODN5U99BK0pMzoqnBm7PCrY=", "path": "github.com/aws/aws-sdk-go/private/waiter", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "DXwm+kmVCiuvvGCcUTeZD/L31Kk=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "qoTWohhN8wMZvdMAbwi+B5YhQJ0=", + "checksumSHA1": "WEwNL8ueG/6RTZOIDF/qu9EkwXo=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "ygJl5okbywr9j3Cl2GTI/e8f94c=", + "checksumSHA1": "MXY2nnlU3Qf4+6nTV4+GFxSD5Y4=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "vp/AYdsQnZtoPqtX86VsgmLIx1w=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "CpWQcLIxUTtkF6NBRg0QwdeSA/k=", + "checksumSHA1": "xWLF/7zgljbFtQypmR6+M9o9sTY=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "eCFTaV9GKqv/UEzwRgFFUaFz098=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "G9CmCfw00Bjz0TtJsEnxGE6mv/0=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "mWNJKpt18ASs9/RhnIjILcsGlng=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "sP/qEaDICVBV3rRw2sl759YI0iw=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "p5a/DcdUvhTx0PCRR+/CRXk9g6c=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "N8Sgq+xG2vYJdKBikM3yQuIBZfs=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "i4hrcsFXLAQXzaxvWh6+BG8XcIU=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "y+pZPK8hcTDwq1zHuRduWE14flw=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "lJYBdjCwoqPpmmjNyW2yYk9VGiY=", + "checksumSHA1": "Unj4a0f5m6vhgXzIFjcgzWAcr3c=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "RUfkmRJpf1l6rHJfh/86gtG4Was=", + "checksumSHA1": "d5x+dDz7zdrEYAGDM9XpYnSW3FE=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "KRHODSkYmdWutb+y13JhuKlonNY=", + "checksumSHA1": "CvZ+vaOolbfpAdOQPAuKDn4Mmt4=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "1vOgFGxLhjNe6BK3RJaV1OqisCs=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "rjSScNzMTvEHv7Lk5KcxDpNU5EE=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "RZF1yHtJhAqaMwbeAM/6BdLLavk=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "VAlXnW+WxxWRcCv4xsCoox2kgE0=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "qHuJHGUAuuizD9834MP3gVupfdo=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "YiNiSOILzSOaKB4JwdM4SDw7daM=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "DdsbJgngbL7Ce18ipxreRsf3lYo=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "MA6U/Vj0D00yihMHD6bXKyjtfeE=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "TtIAgZ+evpkKB5bBYCB69k0wZoU=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "B1EtgBrv//gYqA+Sp6a/SK2zLO4=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "kXJ9ycLAIj0PFSFbfrA/LR/hIi8=", + "checksumSHA1": "dH2W7lR17dgn4a4OYiEzjpQH8hI=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "2n5/m0ClE4OyQRNdjfLwg+nSY3o=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "l6GbB/V5dPb3l+Nrb70wzyrYAgc=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "Qpi347xz5FIQISq73dZSdIf47AU=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "aLwDFgrPzIBidURxso1ujcr2pDs=", + "checksumSHA1": "8F0/GisnAvgIBhNv36A8bitepQU=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "abtQbJdjxwPxvt4p/X0My6FtfZI=", + "checksumSHA1": "1qd0UaN3y1qEOuKCXjOvklfHp/c=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "mgImZ/bluUOY9GpQ/oAnscIXwrA=", + "checksumSHA1": "SApEMc9VnHY0D10BAPcZKeFbj9k=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "y6jKUvrpTJxj5uh6OqQ4FujhCHU=", + "checksumSHA1": "Dw4DpBaYfuu+aQTlywfv1TCzHCg=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "imxJucuPrgaPRMPtAgsu+Y7soB4=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "o+bjuT6ycywUf+vXY9hYK4Z3okE=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "DW5kDRWLA2yAgYh9vsI+0uVqq/Q=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "+ic7vevBfganFLENR29pJaEf4Tw=", + "checksumSHA1": "Id0njZW0e+k+IyHfjH6VHhnawYc=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "oLAlquYlQzgYFS9ochS/iQ9+uXY=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { - "checksumSHA1": "bKDsdoxo5Mxft1f1UsGmTNhXRw8=", + "checksumSHA1": "Zw0GXDOn45IvrmAcCOlSHJMiljU=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "565027b24171359f23f883d0fc48c228cdde301d", - "revisionTime": "2016-07-21T22:15:38Z", - "version": "v1.2.7", - "versionExact": "v1.2.7" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "nH/itbdeFHpl4ysegdtgww9bFSA=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "35c21ff262580265c1d77095d6f712605fd0c3f4", - "revisionTime": "2016-08-16T21:54:33Z", - "version": "v1.4.2", - "versionExact": "v1.4.2" + "revision": "bc572378d109481c50d45d9dba4490d80386e98e", + "revisionTime": "2016-09-06T22:59:56Z", + "version": "v1.4.7", + "versionExact": "v1.4.7" }, { "checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=",