mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+32
@@ -120,6 +120,10 @@ func ExampleELBV2_CreateListener_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyTargetsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -192,6 +196,10 @@ func ExampleELBV2_CreateListener_shared01() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyTargetsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -372,6 +380,12 @@ func ExampleELBV2_CreateRule_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyTargetsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeUnsupportedProtocolException:
|
||||
fmt.Println(elbv2.ErrCodeUnsupportedProtocolException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -600,6 +614,8 @@ func ExampleELBV2_DescribeListeners_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeListenerNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeLoadBalancerNotFoundException:
|
||||
fmt.Println(elbv2.ErrCodeLoadBalancerNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeUnsupportedProtocolException:
|
||||
fmt.Println(elbv2.ErrCodeUnsupportedProtocolException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -693,6 +709,8 @@ func ExampleELBV2_DescribeRules_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeListenerNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeRuleNotFoundException:
|
||||
fmt.Println(elbv2.ErrCodeRuleNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeUnsupportedProtocolException:
|
||||
fmt.Println(elbv2.ErrCodeUnsupportedProtocolException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -956,6 +974,10 @@ func ExampleELBV2_ModifyListener_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyTargetsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -1014,6 +1036,10 @@ func ExampleELBV2_ModifyListener_shared01() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyTargetsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -1184,6 +1210,12 @@ func ExampleELBV2_ModifyRule_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
|
||||
case elbv2.ErrCodeTargetGroupNotFoundException:
|
||||
fmt.Println(elbv2.ErrCodeTargetGroupNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeUnsupportedProtocolException:
|
||||
fmt.Println(elbv2.ErrCodeUnsupportedProtocolException, aerr.Error())
|
||||
case elbv2.ErrCodeTooManyActionsException:
|
||||
fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
|
||||
case elbv2.ErrCodeInvalidLoadBalancerActionException:
|
||||
fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user