Skip to content

Commit

Permalink
Update renamer script with new ElasticBeanstalk changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Aug 12, 2015
1 parent c946dbe commit 866e234
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions awsmigrate/awsmigrate-renamer/rename/renames.go
Original file line number Diff line number Diff line change
Expand Up @@ -1195,6 +1195,7 @@ var renamedPackages = map[string]*packageRenames{
"EnvironmentID": "EnvironmentId",
"EnvironmentIDs": "EnvironmentIds",
"ID": "Id",
"OK": "Ok",
"RequestID": "RequestId",
"SourceEnvironmentID": "SourceEnvironmentId",
},
Expand Down
8 changes: 4 additions & 4 deletions service/elasticbeanstalk/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ type DescribeEnvironmentHealthInput struct {
AttributeNames []*string `type:"list"`

// Specifies the AWS Elastic Beanstalk environment ID.
EnvironmentID *string `locationName:"EnvironmentId" type:"string"`
EnvironmentId *string `type:"string"`

// Specifies the AWS Elastic Beanstalk environment name.
EnvironmentName *string `type:"string"`
Expand Down Expand Up @@ -2504,7 +2504,7 @@ type DescribeInstancesHealthInput struct {
AttributeNames []*string `type:"list"`

// Specifies the AWS Elastic Beanstalk environment ID.
EnvironmentID *string `locationName:"EnvironmentId" type:"string"`
EnvironmentId *string `type:"string"`

// Specifies the AWS Elastic Beanstalk environment name.
EnvironmentName *string `type:"string"`
Expand Down Expand Up @@ -2859,7 +2859,7 @@ type InstanceHealthSummary struct {

// Green. An instance is passing health checks and the health agent is not reporting
// any problems.
OK *int64 `locationName:"Ok" type:"integer"`
Ok *int64 `type:"integer"`

// Grey. An operation is in progress on an instance within the command timeout.
Pending *int64 `type:"integer"`
Expand Down Expand Up @@ -3433,7 +3433,7 @@ type SingleInstanceHealth struct {
HealthStatus *string `type:"string"`

// The ID of the Amazon EC2 instance.
InstanceID *string `locationName:"InstanceId" type:"string"`
InstanceId *string `type:"string"`

// The time at which the EC2 instance was launched.
LaunchedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
Expand Down
4 changes: 2 additions & 2 deletions service/elasticbeanstalk/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ func ExampleElasticBeanstalk_DescribeEnvironmentHealth() {
aws.String("EnvironmentHealthAttribute"), // Required
// More values...
},
EnvironmentID: aws.String("EnvironmentId"),
EnvironmentId: aws.String("EnvironmentId"),
EnvironmentName: aws.String("EnvironmentName"),
}
resp, err := svc.DescribeEnvironmentHealth(params)
Expand Down Expand Up @@ -648,7 +648,7 @@ func ExampleElasticBeanstalk_DescribeInstancesHealth() {
aws.String("InstancesHealthAttribute"), // Required
// More values...
},
EnvironmentID: aws.String("EnvironmentId"),
EnvironmentId: aws.String("EnvironmentId"),
EnvironmentName: aws.String("EnvironmentName"),
NextToken: aws.String("NextToken"),
}
Expand Down

0 comments on commit 866e234

Please sign in to comment.