vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2017-07-23 08:51:42 +01:00
parent 0b6fba34a3
commit eb87cf6f12
2008 changed files with 352633 additions and 1004750 deletions

View file

@ -979,6 +979,8 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r
// the mail be resent within 72 hours of requesting the ACM Certificate. If
// more than 72 hours have elapsed since your original request or since your
// last attempt to resend validation mail, you must request a new certificate.
// For more information about setting up your contact email addresses, see Configure
// Email for your Domain (http://docs.aws.amazon.com/acm/latest/userguide/setup-email.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@ -2181,6 +2183,20 @@ type RequestCertificateInput struct {
// a wildcard certificate that protects several sites in the same domain. For
// example, *.example.com protects www.example.com, site.example.com, and images.example.com.
//
// The maximum length of a DNS name is 253 octets. The name is made up of multiple
// labels separated by periods. No label can be longer than 63 octets. Consider
// the following examples:
//
// (63 octets).(63 octets).(63 octets).(61 octets) is legal because the total
// length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets.
//
// (64 octets).(63 octets).(63 octets).(61 octets) is not legal because the
// total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds
// 63 octets.
//
// (63 octets).(63 octets).(63 octets).(62 octets) is not legal because the
// total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.
//
// DomainName is a required field
DomainName *string `min:"1" type:"string" required:"true"`
@ -2199,7 +2215,10 @@ type RequestCertificateInput struct {
// Additional FQDNs to be included in the Subject Alternative Name extension
// of the ACM Certificate. For example, add the name www.example.net to a certificate
// for which the DomainName field is www.example.com if users can reach your
// site by using either name.
// site by using either name. The maximum number of domain names that you can
// add to an ACM Certificate is 100. However, the initial limit is 10 domain
// names. If you need more than 10 names, you must request a limit increase.
// For more information, see Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
SubjectAlternativeNames []*string `min:"1" type:"list"`
}

View file

@ -1,262 +0,0 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acm_test
import (
"bytes"
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/acm"
)
var _ time.Duration
var _ bytes.Buffer
func ExampleACM_AddTagsToCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.AddTagsToCertificateInput{
CertificateArn: aws.String("Arn"), // Required
Tags: []*acm.Tag{ // Required
{ // Required
Key: aws.String("TagKey"), // Required
Value: aws.String("TagValue"),
},
// More values...
},
}
resp, err := svc.AddTagsToCertificate(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 ExampleACM_DeleteCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.DeleteCertificateInput{
CertificateArn: aws.String("Arn"), // Required
}
resp, err := svc.DeleteCertificate(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 ExampleACM_DescribeCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.DescribeCertificateInput{
CertificateArn: aws.String("Arn"), // Required
}
resp, err := svc.DescribeCertificate(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 ExampleACM_GetCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.GetCertificateInput{
CertificateArn: aws.String("Arn"), // Required
}
resp, err := svc.GetCertificate(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 ExampleACM_ImportCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.ImportCertificateInput{
Certificate: []byte("PAYLOAD"), // Required
PrivateKey: []byte("PAYLOAD"), // Required
CertificateArn: aws.String("Arn"),
CertificateChain: []byte("PAYLOAD"),
}
resp, err := svc.ImportCertificate(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 ExampleACM_ListCertificates() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.ListCertificatesInput{
CertificateStatuses: []*string{
aws.String("CertificateStatus"), // Required
// More values...
},
MaxItems: aws.Int64(1),
NextToken: aws.String("NextToken"),
}
resp, err := svc.ListCertificates(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 ExampleACM_ListTagsForCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.ListTagsForCertificateInput{
CertificateArn: aws.String("Arn"), // Required
}
resp, err := svc.ListTagsForCertificate(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 ExampleACM_RemoveTagsFromCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.RemoveTagsFromCertificateInput{
CertificateArn: aws.String("Arn"), // Required
Tags: []*acm.Tag{ // Required
{ // Required
Key: aws.String("TagKey"), // Required
Value: aws.String("TagValue"),
},
// More values...
},
}
resp, err := svc.RemoveTagsFromCertificate(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 ExampleACM_RequestCertificate() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.RequestCertificateInput{
DomainName: aws.String("DomainNameString"), // Required
DomainValidationOptions: []*acm.DomainValidationOption{
{ // Required
DomainName: aws.String("DomainNameString"), // Required
ValidationDomain: aws.String("DomainNameString"), // Required
},
// More values...
},
IdempotencyToken: aws.String("IdempotencyToken"),
SubjectAlternativeNames: []*string{
aws.String("DomainNameString"), // Required
// More values...
},
}
resp, err := svc.RequestCertificate(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 ExampleACM_ResendValidationEmail() {
sess := session.Must(session.NewSession())
svc := acm.New(sess)
params := &acm.ResendValidationEmailInput{
CertificateArn: aws.String("Arn"), // Required
Domain: aws.String("DomainNameString"), // Required
ValidationDomain: aws.String("DomainNameString"), // Required
}
resp, err := svc.ResendValidationEmail(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)
}