mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+281
-98
@@ -18,7 +18,7 @@ const opAddTagsToCertificate = "AddTagsToCertificate"
|
||||
// AddTagsToCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTagsToCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -52,8 +52,7 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req
|
||||
|
||||
output = &AddTagsToCertificateOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -71,7 +70,7 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req
|
||||
// if you want to specify a relationship among those resources. For example,
|
||||
// you can add the same tag to an ACM certificate and an Elastic Load Balancing
|
||||
// load balancer to indicate that they are both used by the same website. For
|
||||
// more information, see Tagging ACM certificates (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/tags.html).
|
||||
// more information, see Tagging ACM certificates (https://docs.aws.amazon.com/acm/latest/userguide/tags.html).
|
||||
//
|
||||
// To remove one or more tags, use the RemoveTagsFromCertificate action. To
|
||||
// view all of the tags that have been applied to the certificate, use the ListTagsForCertificate
|
||||
@@ -126,7 +125,7 @@ const opDeleteCertificate = "DeleteCertificate"
|
||||
// DeleteCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -160,8 +159,7 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ
|
||||
|
||||
output = &DeleteCertificateOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -223,7 +221,7 @@ const opDescribeCertificate = "DescribeCertificate"
|
||||
// DescribeCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -306,7 +304,7 @@ const opExportCertificate = "ExportCertificate"
|
||||
// ExportCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ExportCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -345,12 +343,13 @@ func (c *ACM) ExportCertificateRequest(input *ExportCertificateInput) (req *requ
|
||||
|
||||
// ExportCertificate API operation for AWS Certificate Manager.
|
||||
//
|
||||
// Exports a certificate for use anywhere. You can export the certificate, the
|
||||
// certificate chain, and the encrypted private key associated with the public
|
||||
// key embedded in the certificate. You must store the private key securely.
|
||||
// The private key is a 2048 bit RSA key. You must provide a passphrase for
|
||||
// the private key when exporting it. You can use the following OpenSSL command
|
||||
// to decrypt it later. Provide the passphrase when prompted.
|
||||
// Exports a private certificate issued by a private certificate authority (CA)
|
||||
// for use anywhere. You can export the certificate, the certificate chain,
|
||||
// and the encrypted private key associated with the public key embedded in
|
||||
// the certificate. You must store the private key securely. The private key
|
||||
// is a 2048 bit RSA key. You must provide a passphrase for the private key
|
||||
// when exporting it. You can use the following OpenSSL command to decrypt it
|
||||
// later. Provide the passphrase when prompted.
|
||||
//
|
||||
// openssl rsa -in encrypted_key.pem -out decrypted_key.pem
|
||||
//
|
||||
@@ -400,7 +399,7 @@ const opGetCertificate = "GetCertificate"
|
||||
// GetCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -492,7 +491,7 @@ const opImportCertificate = "ImportCertificate"
|
||||
// ImportCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ImportCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -532,15 +531,15 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ
|
||||
// ImportCertificate API operation for AWS Certificate Manager.
|
||||
//
|
||||
// Imports a certificate into AWS Certificate Manager (ACM) to use with services
|
||||
// that are integrated with ACM. Note that integrated services (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-services.html)
|
||||
// that are integrated with ACM. Note that integrated services (https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html)
|
||||
// allow only certificate types and keys they support to be associated with
|
||||
// their resources. Further, their support differs depending on whether the
|
||||
// certificate is imported into IAM or into ACM. For more information, see the
|
||||
// documentation for each service. For more information about importing certificates
|
||||
// into ACM, see Importing Certificates (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/import-certificate.html)
|
||||
// into ACM, see Importing Certificates (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
|
||||
// in the AWS Certificate Manager User Guide.
|
||||
//
|
||||
// ACM does not provide managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html)
|
||||
// ACM does not provide managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
|
||||
// for certificates that you import.
|
||||
//
|
||||
// Note the following guidelines when importing third party certificates:
|
||||
@@ -569,14 +568,18 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ
|
||||
// * To import a new certificate, omit the CertificateArn argument. Include
|
||||
// this argument only when you want to replace a previously imported certificate.
|
||||
//
|
||||
// * When you import a certificate by using the CLI or one of the SDKs, you
|
||||
// must specify the certificate, the certificate chain, and the private key
|
||||
// by their file names preceded by file://. For example, you can specify
|
||||
// a certificate saved in the C:\temp folder as file://C:\temp\certificate_to_import.pem.
|
||||
// * When you import a certificate by using the CLI, you must specify the
|
||||
// certificate, the certificate chain, and the private key by their file
|
||||
// names preceded by file://. For example, you can specify a certificate
|
||||
// saved in the C:\temp folder as file://C:\temp\certificate_to_import.pem.
|
||||
// If you are making an HTTP or HTTPS Query request, include these arguments
|
||||
// as BLOBs.
|
||||
//
|
||||
// This operation returns the Amazon Resource Name (ARN) (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// * When you import a certificate by using an SDK, you must specify the
|
||||
// certificate, the certificate chain, and the private key files in the manner
|
||||
// required by the programming language you're using.
|
||||
//
|
||||
// This operation returns the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// of the imported certificate.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
@@ -621,7 +624,7 @@ const opListCertificates = "ListCertificates"
|
||||
// ListCertificatesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListCertificates operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -676,6 +679,11 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques
|
||||
//
|
||||
// See the AWS API reference guide for AWS Certificate Manager's
|
||||
// API operation ListCertificates for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeInvalidArgsException "InvalidArgsException"
|
||||
// One or more of of request parameters specified is not valid.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates
|
||||
func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) {
|
||||
req, out := c.ListCertificatesRequest(input)
|
||||
@@ -709,7 +717,7 @@ func (c *ACM) ListCertificatesWithContext(ctx aws.Context, input *ListCertificat
|
||||
// // Example iterating over at most 3 pages of a ListCertificates operation.
|
||||
// pageNum := 0
|
||||
// err := client.ListCertificatesPages(params,
|
||||
// func(page *ListCertificatesOutput, lastPage bool) bool {
|
||||
// func(page *acm.ListCertificatesOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
@@ -753,7 +761,7 @@ const opListTagsForCertificate = "ListTagsForCertificate"
|
||||
// ListTagsForCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -839,7 +847,7 @@ const opRemoveTagsFromCertificate = "RemoveTagsFromCertificate"
|
||||
// RemoveTagsFromCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTagsFromCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -873,8 +881,7 @@ func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateI
|
||||
|
||||
output = &RemoveTagsFromCertificateOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -930,12 +937,101 @@ func (c *ACM) RemoveTagsFromCertificateWithContext(ctx aws.Context, input *Remov
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRenewCertificate = "RenewCertificate"
|
||||
|
||||
// RenewCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RenewCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// See RenewCertificate for more information on using the RenewCertificate
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the RenewCertificateRequest method.
|
||||
// req, resp := client.RenewCertificateRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewCertificate
|
||||
func (c *ACM) RenewCertificateRequest(input *RenewCertificateInput) (req *request.Request, output *RenewCertificateOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRenewCertificate,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &RenewCertificateInput{}
|
||||
}
|
||||
|
||||
output = &RenewCertificateOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
// RenewCertificate API operation for AWS Certificate Manager.
|
||||
//
|
||||
// Renews an eligable ACM certificate. At this time, only exported private certificates
|
||||
// can be renewed with this operation. In order to renew your ACM PCA certificates
|
||||
// with ACM, you must first grant the ACM service principal permission to do
|
||||
// so (https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaPermissions.html).
|
||||
// For more information, see Testing Managed Renewal (https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html)
|
||||
// in the ACM User Guide.
|
||||
//
|
||||
// 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
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for AWS Certificate Manager's
|
||||
// API operation RenewCertificate for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// The specified certificate cannot be found in the caller's account or the
|
||||
// caller's account cannot be found.
|
||||
//
|
||||
// * ErrCodeInvalidArnException "InvalidArnException"
|
||||
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewCertificate
|
||||
func (c *ACM) RenewCertificate(input *RenewCertificateInput) (*RenewCertificateOutput, error) {
|
||||
req, out := c.RenewCertificateRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// RenewCertificateWithContext is the same as RenewCertificate with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See RenewCertificate for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *ACM) RenewCertificateWithContext(ctx aws.Context, input *RenewCertificateInput, opts ...request.Option) (*RenewCertificateOutput, error) {
|
||||
req, out := c.RenewCertificateRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRequestCertificate = "RequestCertificate"
|
||||
|
||||
// RequestCertificateRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RequestCertificate operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -975,22 +1071,17 @@ func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *re
|
||||
// RequestCertificate API operation for AWS Certificate Manager.
|
||||
//
|
||||
// Requests an ACM certificate for use with other AWS services. To request an
|
||||
// ACM certificate, you must specify the fully qualified domain name (FQDN)
|
||||
// for your site in the DomainName parameter. You can also specify additional
|
||||
// FQDNs in the SubjectAlternativeNames parameter.
|
||||
// ACM certificate, you must specify a fully qualified domain name (FQDN) in
|
||||
// the DomainName parameter. You can also specify additional FQDNs in the SubjectAlternativeNames
|
||||
// parameter.
|
||||
//
|
||||
// Each domain name that you specify must be validated to verify that you own
|
||||
// or control the domain. You can use DNS validation (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html)
|
||||
// or email validation (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html).
|
||||
// We recommend that you use DNS validation.
|
||||
//
|
||||
// If you choose email validation, email is sent to the domain owner to request
|
||||
// approval to issue the certificate. Email is sent to three registered contact
|
||||
// addresses in the WHOIS database and to five common system administration
|
||||
// addresses formed from the DomainName you enter or the optional ValidationDomain
|
||||
// parameter. For more information, see Validate with Email (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html).
|
||||
//
|
||||
// After receiving approval from the domain owner, the ACM certificate is issued.
|
||||
// If you are requesting a private certificate, domain validation is not required.
|
||||
// If you are requesting a public certificate, each domain name that you specify
|
||||
// must be validated to verify that you own or control the domain. You can use
|
||||
// DNS validation (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html)
|
||||
// or email validation (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html).
|
||||
// We recommend that you use DNS validation. ACM issues public certificates
|
||||
// after receiving approval from the domain owner.
|
||||
//
|
||||
// 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
|
||||
@@ -1036,7 +1127,7 @@ const opResendValidationEmail = "ResendValidationEmail"
|
||||
// ResendValidationEmailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ResendValidationEmail operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1070,8 +1161,7 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r
|
||||
|
||||
output = &ResendValidationEmailOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -1087,7 +1177,7 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r
|
||||
// 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/http:/docs.aws.amazon.comacm/latest/userguide/setup-email.html).
|
||||
// Email for your Domain (https://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
|
||||
@@ -1137,7 +1227,7 @@ const opUpdateCertificateOptions = "UpdateCertificateOptions"
|
||||
// UpdateCertificateOptionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateCertificateOptions operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
// successfully.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
@@ -1171,8 +1261,7 @@ func (c *ACM) UpdateCertificateOptionsRequest(input *UpdateCertificateOptionsInp
|
||||
|
||||
output = &UpdateCertificateOptionsOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler)
|
||||
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
|
||||
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -1180,8 +1269,8 @@ func (c *ACM) UpdateCertificateOptionsRequest(input *UpdateCertificateOptionsInp
|
||||
//
|
||||
// Updates a certificate. Currently, you can use this function to specify whether
|
||||
// to opt in to or out of recording your certificate in a certificate transparency
|
||||
// log. For more information, see Opting Out of Certificate Transparency Logging
|
||||
// (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
||||
// log. For more information, see Opting Out of Certificate Transparency Logging
|
||||
// (https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
||||
//
|
||||
// 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
|
||||
@@ -1235,7 +1324,7 @@ type AddTagsToCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -1320,7 +1409,7 @@ type CertificateDetail struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) of the certificate. For more information about
|
||||
// ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// in the AWS General Reference.
|
||||
CertificateArn *string `min:"20" type:"string"`
|
||||
|
||||
@@ -1332,7 +1421,7 @@ type CertificateDetail struct {
|
||||
|
||||
// The time at which the certificate was requested. This value exists only when
|
||||
// the certificate type is AMAZON_ISSUED.
|
||||
CreatedAt *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
CreatedAt *time.Time `type:"timestamp"`
|
||||
|
||||
// The fully qualified domain name for the certificate, such as www.example.com
|
||||
// or example.com.
|
||||
@@ -1350,13 +1439,13 @@ type CertificateDetail struct {
|
||||
|
||||
// The reason the certificate request failed. This value exists only when the
|
||||
// certificate status is FAILED. For more information, see Certificate Request
|
||||
// Failed (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/troubleshooting.html#troubleshooting-failed)
|
||||
// Failed (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed)
|
||||
// in the AWS Certificate Manager User Guide.
|
||||
FailureReason *string `type:"string" enum:"FailureReason"`
|
||||
|
||||
// The date and time at which the certificate was imported. This value exists
|
||||
// only when the certificate type is IMPORTED.
|
||||
ImportedAt *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
ImportedAt *time.Time `type:"timestamp"`
|
||||
|
||||
// A list of ARNs for the AWS resources that are using the certificate. A certificate
|
||||
// can be used by multiple AWS resources.
|
||||
@@ -1364,7 +1453,7 @@ type CertificateDetail struct {
|
||||
|
||||
// The time at which the certificate was issued. This value exists only when
|
||||
// the certificate type is AMAZON_ISSUED.
|
||||
IssuedAt *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
IssuedAt *time.Time `type:"timestamp"`
|
||||
|
||||
// The name of the certificate authority that issued and signed the certificate.
|
||||
Issuer *string `type:"string"`
|
||||
@@ -1379,10 +1468,10 @@ type CertificateDetail struct {
|
||||
KeyUsages []*KeyUsage `type:"list"`
|
||||
|
||||
// The time after which the certificate is not valid.
|
||||
NotAfter *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
NotAfter *time.Time `type:"timestamp"`
|
||||
|
||||
// The time before which the certificate is not valid.
|
||||
NotBefore *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
NotBefore *time.Time `type:"timestamp"`
|
||||
|
||||
// Value that specifies whether to add the certificate to a transparency log.
|
||||
// Certificate transparency makes it possible to detect SSL certificates that
|
||||
@@ -1391,10 +1480,12 @@ type CertificateDetail struct {
|
||||
// secure.
|
||||
Options *CertificateOptions `type:"structure"`
|
||||
|
||||
// Specifies whether the certificate is eligible for renewal.
|
||||
// Specifies whether the certificate is eligible for renewal. At this time,
|
||||
// only exported private certificates can be renewed with the RenewCertificate
|
||||
// command.
|
||||
RenewalEligibility *string `type:"string" enum:"RenewalEligibility"`
|
||||
|
||||
// Contains information about the status of ACM's managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html)
|
||||
// Contains information about the status of ACM's managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
|
||||
// for the certificate. This field exists only when the certificate type is
|
||||
// AMAZON_ISSUED.
|
||||
RenewalSummary *RenewalSummary `type:"structure"`
|
||||
@@ -1405,7 +1496,7 @@ type CertificateDetail struct {
|
||||
|
||||
// The time at which the certificate was revoked. This value exists only when
|
||||
// the certificate status is REVOKED.
|
||||
RevokedAt *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
RevokedAt *time.Time `type:"timestamp"`
|
||||
|
||||
// The serial number of the certificate.
|
||||
Serial *string `type:"string"`
|
||||
@@ -1429,10 +1520,10 @@ type CertificateDetail struct {
|
||||
|
||||
// The source of the certificate. For certificates provided by ACM, this value
|
||||
// is AMAZON_ISSUED. For certificates that you imported with ImportCertificate,
|
||||
// this value is IMPORTED. ACM does not provide managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html)
|
||||
// this value is IMPORTED. ACM does not provide managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
|
||||
// for imported certificates. For more information about the differences between
|
||||
// certificates that you import and those that ACM provides, see Importing Certificates
|
||||
// (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/import-certificate.html)
|
||||
// (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
|
||||
// in the AWS Certificate Manager User Guide.
|
||||
Type *string `type:"string" enum:"CertificateType"`
|
||||
}
|
||||
@@ -1609,7 +1700,7 @@ func (s *CertificateDetail) SetType(v string) *CertificateDetail {
|
||||
// be recorded in a log. Certificates that are not logged typically generate
|
||||
// a browser error. Transparency makes it possible for you to detect SSL/TLS
|
||||
// certificates that have been mistakenly or maliciously issued for your domain.
|
||||
// For general information, see Certificate Transparency Logging (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-concepts.html#concept-transparency).
|
||||
// For general information, see Certificate Transparency Logging (https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency).
|
||||
type CertificateOptions struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1643,7 +1734,7 @@ type CertificateSummary struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
CertificateArn *string `min:"20" type:"string"`
|
||||
|
||||
// Fully qualified domain name (FQDN), such as www.example.com or example.com,
|
||||
@@ -1682,7 +1773,7 @@ type DeleteCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -1743,7 +1834,7 @@ type DescribeCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -1815,7 +1906,7 @@ type DomainValidation struct {
|
||||
DomainName *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// Contains the CNAME record that you add to your DNS database for domain validation.
|
||||
// For more information, see Use DNS to Validate Domain Ownership (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html).
|
||||
// For more information, see Use DNS to Validate Domain Ownership (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html).
|
||||
ResourceRecord *ResourceRecord `type:"structure"`
|
||||
|
||||
// The domain name that ACM used to send domain validation emails.
|
||||
@@ -1979,7 +2070,7 @@ type ExportCertificateInput struct {
|
||||
// Passphrase is automatically base64 encoded/decoded by the SDK.
|
||||
//
|
||||
// Passphrase is a required field
|
||||
Passphrase []byte `min:"4" type:"blob" required:"true"`
|
||||
Passphrase []byte `min:"4" type:"blob" required:"true" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -2036,8 +2127,9 @@ type ExportCertificateOutput struct {
|
||||
// that you are exporting.
|
||||
CertificateChain *string `min:"1" type:"string"`
|
||||
|
||||
// The PEM-encoded private key associated with the public key in the certificate.
|
||||
PrivateKey *string `min:"1" type:"string"`
|
||||
// The encrypted private key associated with the public key in the certificate.
|
||||
// The key is output in PKCS #8 format and is base64 PEM-encoded.
|
||||
PrivateKey *string `min:"1" type:"string" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -2174,7 +2266,7 @@ type GetCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -2256,7 +2348,7 @@ type ImportCertificateInput struct {
|
||||
// Certificate is a required field
|
||||
Certificate []byte `min:"1" type:"blob" required:"true"`
|
||||
|
||||
// The Amazon Resource Name (ARN) (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// of an imported certificate to replace. To import a new certificate, omit
|
||||
// this field.
|
||||
CertificateArn *string `min:"20" type:"string"`
|
||||
@@ -2271,7 +2363,7 @@ type ImportCertificateInput struct {
|
||||
// PrivateKey is automatically base64 encoded/decoded by the SDK.
|
||||
//
|
||||
// PrivateKey is a required field
|
||||
PrivateKey []byte `min:"1" type:"blob" required:"true"`
|
||||
PrivateKey []byte `min:"1" type:"blob" required:"true" sensitive:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -2339,7 +2431,7 @@ func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput
|
||||
type ImportCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||
// of the imported certificate.
|
||||
CertificateArn *string `min:"20" type:"string"`
|
||||
}
|
||||
@@ -2498,7 +2590,7 @@ type ListTagsForCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -2568,7 +2660,7 @@ type RemoveTagsFromCertificateInput struct {
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
@@ -2647,14 +2739,75 @@ func (s RemoveTagsFromCertificateOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Contains information about the status of ACM's managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html)
|
||||
type RenewCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// String that contains the ARN of the ACM certificate to be renewed. This must
|
||||
// be of the form:
|
||||
//
|
||||
// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
|
||||
//
|
||||
// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
|
||||
// Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
|
||||
//
|
||||
// CertificateArn is a required field
|
||||
CertificateArn *string `min:"20" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RenewCertificateInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RenewCertificateInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *RenewCertificateInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "RenewCertificateInput"}
|
||||
if s.CertificateArn == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("CertificateArn"))
|
||||
}
|
||||
if s.CertificateArn != nil && len(*s.CertificateArn) < 20 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("CertificateArn", 20))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetCertificateArn sets the CertificateArn field's value.
|
||||
func (s *RenewCertificateInput) SetCertificateArn(v string) *RenewCertificateInput {
|
||||
s.CertificateArn = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type RenewCertificateOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RenewCertificateOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RenewCertificateOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Contains information about the status of ACM's managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
|
||||
// for the certificate. This structure exists only when the certificate type
|
||||
// is AMAZON_ISSUED.
|
||||
type RenewalSummary struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Contains information about the validation of each domain name in the certificate,
|
||||
// as it pertains to ACM's managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html).
|
||||
// as it pertains to ACM's managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html).
|
||||
// This is different from the initial validation that occurs as a result of
|
||||
// the RequestCertificate request. This field exists only when the certificate
|
||||
// type is AMAZON_ISSUED.
|
||||
@@ -2662,11 +2815,19 @@ type RenewalSummary struct {
|
||||
// DomainValidationOptions is a required field
|
||||
DomainValidationOptions []*DomainValidation `min:"1" type:"list" required:"true"`
|
||||
|
||||
// The status of ACM's managed renewal (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-renewal.html)
|
||||
// The status of ACM's managed renewal (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
|
||||
// of the certificate.
|
||||
//
|
||||
// RenewalStatus is a required field
|
||||
RenewalStatus *string `type:"string" required:"true" enum:"RenewalStatus"`
|
||||
|
||||
// The reason that a renewal request was unsuccessful.
|
||||
RenewalStatusReason *string `type:"string" enum:"FailureReason"`
|
||||
|
||||
// The time at which the renewal summary was last updated.
|
||||
//
|
||||
// UpdatedAt is a required field
|
||||
UpdatedAt *time.Time `type:"timestamp" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -2691,22 +2852,35 @@ func (s *RenewalSummary) SetRenewalStatus(v string) *RenewalSummary {
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRenewalStatusReason sets the RenewalStatusReason field's value.
|
||||
func (s *RenewalSummary) SetRenewalStatusReason(v string) *RenewalSummary {
|
||||
s.RenewalStatusReason = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUpdatedAt sets the UpdatedAt field's value.
|
||||
func (s *RenewalSummary) SetUpdatedAt(v time.Time) *RenewalSummary {
|
||||
s.UpdatedAt = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type RequestCertificateInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The Amazon Resource Name (ARN) of the private certificate authority (CA)
|
||||
// that will be used to issue the certificate. For more information about private
|
||||
// CAs, see the AWS Certificate Manager Private Certificate Authority (PCA)
|
||||
// (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm-pca/latest/userguide/PcaWelcome.html)
|
||||
// that will be used to issue the certificate. If you do not provide an ARN
|
||||
// and you are trying to request a private certificate, ACM will attempt to
|
||||
// issue a public certificate. For more information about private CAs, see the
|
||||
// AWS Certificate Manager Private Certificate Authority (PCA) (https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html)
|
||||
// user guide. The ARN must have the following form:
|
||||
//
|
||||
// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
|
||||
CertificateAuthorityArn *string `min:"20" type:"string"`
|
||||
|
||||
// Fully qualified domain name (FQDN), such as www.example.com, of the site
|
||||
// that you want to secure with an ACM Certificate. Use an asterisk (*) to create
|
||||
// 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.
|
||||
// Fully qualified domain name (FQDN), such as www.example.com, that you want
|
||||
// to secure with an ACM certificate. Use an asterisk (*) to create 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 first domain name you enter cannot exceed 63 octets, including periods.
|
||||
// Each subsequent Subject Alternative Name (SAN), however, can be up to 253
|
||||
@@ -2732,7 +2906,7 @@ type RequestCertificateInput struct {
|
||||
// to detect SSL/TLS certificates that have been mistakenly or maliciously issued.
|
||||
// Certificates that have not been logged typically produce an error message
|
||||
// in a browser. For more information, see Opting Out of Certificate Transparency
|
||||
// Logging (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
||||
// Logging (https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency).
|
||||
Options *CertificateOptions `type:"structure"`
|
||||
|
||||
// Additional FQDNs to be included in the Subject Alternative Name extension
|
||||
@@ -2741,7 +2915,7 @@ type RequestCertificateInput struct {
|
||||
// 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/http:/docs.aws.amazon.comacm/latest/userguide/acm-limits.html).
|
||||
// For more information, see Limits (https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
|
||||
//
|
||||
// The maximum length of a SAN DNS name is 253 octets. The name is made up of
|
||||
// multiple labels separated by periods. No label can be longer than 63 octets.
|
||||
@@ -2759,9 +2933,9 @@ type RequestCertificateInput struct {
|
||||
// the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.
|
||||
SubjectAlternativeNames []*string `min:"1" type:"list"`
|
||||
|
||||
// The method you want to use to validate that you own or control domain. You
|
||||
// can validate with DNS (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-dns.html)
|
||||
// or validate with email (http://docs.aws.amazon.com/http:/docs.aws.amazon.comacm/latest/userguide/gs-acm-validate-email.html).
|
||||
// The method you want to use if you are requesting a public certificate to
|
||||
// validate that you own or control domain. You can validate with DNS (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html)
|
||||
// or validate with email (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html).
|
||||
// We recommend that you use DNS validation.
|
||||
ValidationMethod *string `type:"string" enum:"ValidationMethod"`
|
||||
}
|
||||
@@ -3274,6 +3448,9 @@ const (
|
||||
// FailureReasonInvalidPublicDomain is a FailureReason enum value
|
||||
FailureReasonInvalidPublicDomain = "INVALID_PUBLIC_DOMAIN"
|
||||
|
||||
// FailureReasonDomainValidationDenied is a FailureReason enum value
|
||||
FailureReasonDomainValidationDenied = "DOMAIN_VALIDATION_DENIED"
|
||||
|
||||
// FailureReasonCaaError is a FailureReason enum value
|
||||
FailureReasonCaaError = "CAA_ERROR"
|
||||
|
||||
@@ -3295,6 +3472,12 @@ const (
|
||||
// FailureReasonPcaInvalidArgs is a FailureReason enum value
|
||||
FailureReasonPcaInvalidArgs = "PCA_INVALID_ARGS"
|
||||
|
||||
// FailureReasonPcaInvalidDuration is a FailureReason enum value
|
||||
FailureReasonPcaInvalidDuration = "PCA_INVALID_DURATION"
|
||||
|
||||
// FailureReasonPcaAccessDenied is a FailureReason enum value
|
||||
FailureReasonPcaAccessDenied = "PCA_ACCESS_DENIED"
|
||||
|
||||
// FailureReasonOther is a FailureReason enum value
|
||||
FailureReasonOther = "OTHER"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user