func ExampleELBV2_DescribeSSLPolicies_shared00() {
	svc := elbv2.New(session.New())
	input := &elbv2.DescribeSSLPoliciesInput{
		Names: []*string{
			aws.String("ELBSecurityPolicy-2015-05"),
		},
	}

	result, err := svc.DescribeSSLPolicies(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elbv2.ErrCodeSSLPolicyNotFoundException:
				fmt.Println(elbv2.ErrCodeSSLPolicyNotFoundException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
// To describe a policy used for SSL negotiation
//
// This example describes the specified policy used for SSL negotiation.
To describe a policy used for SSL negotiation

This example describes the specified policy used for SSL negotiation.
// To describe a policy used for SSL negotiation // // This example describes the specified policy used for SSL negotiation .
func ExampleELBV2_DescribeSSLPolicies_shared00() {
	svc := elbv2.New(session.New())
	input := &elbv2.DescribeSSLPoliciesInput{
		Names: []*string{
			aws.String("ELBSecurityPolicy-2015-05"),
		},
	}
	result, err := svc.DescribeSSLPolicies(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elbv2.ErrCodeSSLPolicyNotFoundException:
				fmt.Println(elbv2.ErrCodeSSLPolicyNotFoundException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			fmt.Println(err.Error())
		}
		return
	}
	fmt.Println(result)
}
func ExampleELBV2_DescribeSSLPolicies_shared00 ( ) { svc := elbv2 . New ( session . New ( ) ) input := & elbv2 . DescribeSSLPoliciesInput { Names : [ ] * string { aws . String ( " " ) , } , } result , err := svc . DescribeSSLPolicies ( input ) if err != nil { if aerr , ok := err . ( awserr . Error ) ; ok { switch aerr . Code ( ) { case elbv2 . ErrCodeSSLPolicyNotFoundException : fmt . Println ( elbv2 . ErrCodeSSLPolicyNotFoundException , aerr . Error ( ) ) default : fmt . Println ( aerr . Error ( ) ) } } else { fmt . Println ( err . Error ( ) ) } return } fmt . Println ( result ) }
To describe a policy used for SSL negotiation
To describe a policy used for SSL negotiation
// Print the error, cast err to awserr.Error to get the Code and // Message from an error.