vendor: update github.com/aws/aws-sdk-go to get plan9 build fix
This commit is contained in:
parent
663e6f3ec0
commit
8b61692754
28 changed files with 4951 additions and 238 deletions
22
vendor/github.com/aws/aws-sdk-go/service/elb/examples_test.go
generated
vendored
22
vendor/github.com/aws/aws-sdk-go/service/elb/examples_test.go
generated
vendored
|
@ -377,6 +377,28 @@ func ExampleELB_DeregisterInstancesFromLoadBalancer() {
|
|||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleELB_DescribeAccountLimits() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := elb.New(sess)
|
||||
|
||||
params := &elb.DescribeAccountLimitsInput{
|
||||
Marker: aws.String("Marker"),
|
||||
PageSize: aws.Int64(1),
|
||||
}
|
||||
resp, err := svc.DescribeAccountLimits(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleELB_DescribeInstanceHealth() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue