// Requests an ACM certificate for use with other AWS services. To request an 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. 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.
Requests an ACM certificate for use with other AWS services. To request an 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. 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
or
email validation
.
We recommend that you use DNS validation. ACM issues public certificates after
receiving approval from the domain owner.
// Requests an ACM certificate for use with other AWS services . To request an 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 . 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 .
func (c *Client) RequestCertificate(ctx context.Context, params *RequestCertificateInput, optFns ...func(*Options)) (*RequestCertificateOutput, error) {
	if params == nil {
		params = &RequestCertificateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "RequestCertificate", params, optFns, addOperationRequestCertificateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*RequestCertificateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) RequestCertificate ( ctx context . Context , params * RequestCertificateInput , optFns ... func ( * Options ) ) ( * RequestCertificateOutput , error ) { if params == nil { params = & RequestCertificateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationRequestCertificateMiddlewares ) if err != nil { return nil , err } out := result . ( * RequestCertificateOutput ) out . ResultMetadata = metadata return out , nil }
Requests an ACM certificate for use with other AWS services.
Requests an ACM certificate for use with other AWS services .