acm

package
v0.0.0-...-fd14076 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package acm provides the client and types for making API requests to AWS Certificate Manager.

You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites and applications. For more information about using ACM, see the Certificate Manager User Guide (https://docs.aws.amazon.com/acm/latest/userguide/).

See https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08 for more information on this service.

See acm package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/acm/

Using the Client

To contact AWS Certificate Manager with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Certificate Manager client ACM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/acm/#New

Index

Constants

View Source
const (
	// CertificateStatusPendingValidation is a CertificateStatus enum value
	CertificateStatusPendingValidation = "PENDING_VALIDATION"

	// CertificateStatusIssued is a CertificateStatus enum value
	CertificateStatusIssued = "ISSUED"

	// CertificateStatusInactive is a CertificateStatus enum value
	CertificateStatusInactive = "INACTIVE"

	// CertificateStatusExpired is a CertificateStatus enum value
	CertificateStatusExpired = "EXPIRED"

	// CertificateStatusValidationTimedOut is a CertificateStatus enum value
	CertificateStatusValidationTimedOut = "VALIDATION_TIMED_OUT"

	// CertificateStatusRevoked is a CertificateStatus enum value
	CertificateStatusRevoked = "REVOKED"

	// CertificateStatusFailed is a CertificateStatus enum value
	CertificateStatusFailed = "FAILED"
)
View Source
const (
	// CertificateTransparencyLoggingPreferenceEnabled is a CertificateTransparencyLoggingPreference enum value
	CertificateTransparencyLoggingPreferenceEnabled = "ENABLED"

	// CertificateTransparencyLoggingPreferenceDisabled is a CertificateTransparencyLoggingPreference enum value
	CertificateTransparencyLoggingPreferenceDisabled = "DISABLED"
)
View Source
const (
	// CertificateTypeImported is a CertificateType enum value
	CertificateTypeImported = "IMPORTED"

	// CertificateTypeAmazonIssued is a CertificateType enum value
	CertificateTypeAmazonIssued = "AMAZON_ISSUED"

	// CertificateTypePrivate is a CertificateType enum value
	CertificateTypePrivate = "PRIVATE"
)
View Source
const (
	// DomainStatusPendingValidation is a DomainStatus enum value
	DomainStatusPendingValidation = "PENDING_VALIDATION"

	// DomainStatusSuccess is a DomainStatus enum value
	DomainStatusSuccess = "SUCCESS"

	// DomainStatusFailed is a DomainStatus enum value
	DomainStatusFailed = "FAILED"
)
View Source
const (
	// ExtendedKeyUsageNameTlsWebServerAuthentication is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameTlsWebServerAuthentication = "TLS_WEB_SERVER_AUTHENTICATION"

	// ExtendedKeyUsageNameTlsWebClientAuthentication is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameTlsWebClientAuthentication = "TLS_WEB_CLIENT_AUTHENTICATION"

	// ExtendedKeyUsageNameCodeSigning is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameCodeSigning = "CODE_SIGNING"

	// ExtendedKeyUsageNameEmailProtection is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameEmailProtection = "EMAIL_PROTECTION"

	// ExtendedKeyUsageNameTimeStamping is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameTimeStamping = "TIME_STAMPING"

	// ExtendedKeyUsageNameOcspSigning is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameOcspSigning = "OCSP_SIGNING"

	// ExtendedKeyUsageNameIpsecEndSystem is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameIpsecEndSystem = "IPSEC_END_SYSTEM"

	// ExtendedKeyUsageNameIpsecTunnel is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameIpsecTunnel = "IPSEC_TUNNEL"

	// ExtendedKeyUsageNameIpsecUser is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameIpsecUser = "IPSEC_USER"

	// ExtendedKeyUsageNameAny is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameAny = "ANY"

	// ExtendedKeyUsageNameNone is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameNone = "NONE"

	// ExtendedKeyUsageNameCustom is a ExtendedKeyUsageName enum value
	ExtendedKeyUsageNameCustom = "CUSTOM"
)
View Source
const (
	// FailureReasonNoAvailableContacts is a FailureReason enum value
	FailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS"

	// FailureReasonAdditionalVerificationRequired is a FailureReason enum value
	FailureReasonAdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED"

	// FailureReasonDomainNotAllowed is a FailureReason enum value
	FailureReasonDomainNotAllowed = "DOMAIN_NOT_ALLOWED"

	// 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"

	// FailureReasonPcaLimitExceeded is a FailureReason enum value
	FailureReasonPcaLimitExceeded = "PCA_LIMIT_EXCEEDED"

	// FailureReasonPcaInvalidArn is a FailureReason enum value
	FailureReasonPcaInvalidArn = "PCA_INVALID_ARN"

	// FailureReasonPcaInvalidState is a FailureReason enum value
	FailureReasonPcaInvalidState = "PCA_INVALID_STATE"

	// FailureReasonPcaRequestFailed is a FailureReason enum value
	FailureReasonPcaRequestFailed = "PCA_REQUEST_FAILED"

	// FailureReasonPcaNameConstraintsValidation is a FailureReason enum value
	FailureReasonPcaNameConstraintsValidation = "PCA_NAME_CONSTRAINTS_VALIDATION"

	// FailureReasonPcaResourceNotFound is a FailureReason enum value
	FailureReasonPcaResourceNotFound = "PCA_RESOURCE_NOT_FOUND"

	// 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"

	// FailureReasonSlrNotFound is a FailureReason enum value
	FailureReasonSlrNotFound = "SLR_NOT_FOUND"

	// FailureReasonOther is a FailureReason enum value
	FailureReasonOther = "OTHER"
)
View Source
const (
	// KeyAlgorithmRsa1024 is a KeyAlgorithm enum value
	KeyAlgorithmRsa1024 = "RSA_1024"

	// KeyAlgorithmRsa2048 is a KeyAlgorithm enum value
	KeyAlgorithmRsa2048 = "RSA_2048"

	// KeyAlgorithmRsa3072 is a KeyAlgorithm enum value
	KeyAlgorithmRsa3072 = "RSA_3072"

	// KeyAlgorithmRsa4096 is a KeyAlgorithm enum value
	KeyAlgorithmRsa4096 = "RSA_4096"

	// KeyAlgorithmEcPrime256v1 is a KeyAlgorithm enum value
	KeyAlgorithmEcPrime256v1 = "EC_prime256v1"

	// KeyAlgorithmEcSecp384r1 is a KeyAlgorithm enum value
	KeyAlgorithmEcSecp384r1 = "EC_secp384r1"

	// KeyAlgorithmEcSecp521r1 is a KeyAlgorithm enum value
	KeyAlgorithmEcSecp521r1 = "EC_secp521r1"
)
View Source
const (
	// KeyUsageNameDigitalSignature is a KeyUsageName enum value
	KeyUsageNameDigitalSignature = "DIGITAL_SIGNATURE"

	// KeyUsageNameNonRepudiation is a KeyUsageName enum value
	KeyUsageNameNonRepudiation = "NON_REPUDIATION"

	// KeyUsageNameKeyEncipherment is a KeyUsageName enum value
	KeyUsageNameKeyEncipherment = "KEY_ENCIPHERMENT"

	// KeyUsageNameDataEncipherment is a KeyUsageName enum value
	KeyUsageNameDataEncipherment = "DATA_ENCIPHERMENT"

	// KeyUsageNameKeyAgreement is a KeyUsageName enum value
	KeyUsageNameKeyAgreement = "KEY_AGREEMENT"

	// KeyUsageNameCertificateSigning is a KeyUsageName enum value
	KeyUsageNameCertificateSigning = "CERTIFICATE_SIGNING"

	// KeyUsageNameCrlSigning is a KeyUsageName enum value
	KeyUsageNameCrlSigning = "CRL_SIGNING"

	// KeyUsageNameEncipherOnly is a KeyUsageName enum value
	KeyUsageNameEncipherOnly = "ENCIPHER_ONLY"

	// KeyUsageNameDecipherOnly is a KeyUsageName enum value
	KeyUsageNameDecipherOnly = "DECIPHER_ONLY"

	// KeyUsageNameAny is a KeyUsageName enum value
	KeyUsageNameAny = "ANY"

	// KeyUsageNameCustom is a KeyUsageName enum value
	KeyUsageNameCustom = "CUSTOM"
)
View Source
const (
	// RenewalEligibilityEligible is a RenewalEligibility enum value
	RenewalEligibilityEligible = "ELIGIBLE"

	// RenewalEligibilityIneligible is a RenewalEligibility enum value
	RenewalEligibilityIneligible = "INELIGIBLE"
)
View Source
const (
	// RenewalStatusPendingAutoRenewal is a RenewalStatus enum value
	RenewalStatusPendingAutoRenewal = "PENDING_AUTO_RENEWAL"

	// RenewalStatusPendingValidation is a RenewalStatus enum value
	RenewalStatusPendingValidation = "PENDING_VALIDATION"

	// RenewalStatusSuccess is a RenewalStatus enum value
	RenewalStatusSuccess = "SUCCESS"

	// RenewalStatusFailed is a RenewalStatus enum value
	RenewalStatusFailed = "FAILED"
)
View Source
const (
	// RevocationReasonUnspecified is a RevocationReason enum value
	RevocationReasonUnspecified = "UNSPECIFIED"

	// RevocationReasonKeyCompromise is a RevocationReason enum value
	RevocationReasonKeyCompromise = "KEY_COMPROMISE"

	// RevocationReasonCaCompromise is a RevocationReason enum value
	RevocationReasonCaCompromise = "CA_COMPROMISE"

	// RevocationReasonAffiliationChanged is a RevocationReason enum value
	RevocationReasonAffiliationChanged = "AFFILIATION_CHANGED"

	// RevocationReasonSuperceded is a RevocationReason enum value
	RevocationReasonSuperceded = "SUPERCEDED"

	// RevocationReasonCessationOfOperation is a RevocationReason enum value
	RevocationReasonCessationOfOperation = "CESSATION_OF_OPERATION"

	// RevocationReasonCertificateHold is a RevocationReason enum value
	RevocationReasonCertificateHold = "CERTIFICATE_HOLD"

	// RevocationReasonRemoveFromCrl is a RevocationReason enum value
	RevocationReasonRemoveFromCrl = "REMOVE_FROM_CRL"

	// RevocationReasonPrivilegeWithdrawn is a RevocationReason enum value
	RevocationReasonPrivilegeWithdrawn = "PRIVILEGE_WITHDRAWN"

	// RevocationReasonAACompromise is a RevocationReason enum value
	RevocationReasonAACompromise = "A_A_COMPROMISE"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "ASCENDING"

	// SortOrderDescending is a SortOrder enum value
	SortOrderDescending = "DESCENDING"
)
View Source
const (
	// ValidationMethodEmail is a ValidationMethod enum value
	ValidationMethodEmail = "EMAIL"

	// ValidationMethodDns is a ValidationMethod enum value
	ValidationMethodDns = "DNS"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have access required to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// You are trying to update a resource or configuration that is already being
	// created or updated. Wait for the previous operation to finish and try again.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInvalidArgsException for service response error code
	// "InvalidArgsException".
	//
	// One or more of of request parameters specified is not valid.
	ErrCodeInvalidArgsException = "InvalidArgsException"

	// ErrCodeInvalidArnException for service response error code
	// "InvalidArnException".
	//
	// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
	ErrCodeInvalidArnException = "InvalidArnException"

	// ErrCodeInvalidDomainValidationOptionsException for service response error code
	// "InvalidDomainValidationOptionsException".
	//
	// One or more values in the DomainValidationOption structure is incorrect.
	ErrCodeInvalidDomainValidationOptionsException = "InvalidDomainValidationOptionsException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// An input parameter was invalid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidStateException for service response error code
	// "InvalidStateException".
	//
	// Processing has reached an invalid state.
	ErrCodeInvalidStateException = "InvalidStateException"

	// ErrCodeInvalidTagException for service response error code
	// "InvalidTagException".
	//
	// One or both of the values that make up the key-value pair is not valid. For
	// example, you cannot specify a tag value that begins with aws:.
	ErrCodeInvalidTagException = "InvalidTagException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// An ACM quota has been exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeRequestInProgressException for service response error code
	// "RequestInProgressException".
	//
	// The certificate request is in process and the certificate in your account
	// has not yet been issued.
	ErrCodeRequestInProgressException = "RequestInProgressException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The certificate is in use by another Amazon Web Services service in the caller's
	// account. Remove the association and try again.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified certificate cannot be found in the caller's account or the
	// caller's account cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeTagPolicyException for service response error code
	// "TagPolicyException".
	//
	// A specified tag did not comply with an existing tag policy and was rejected.
	ErrCodeTagPolicyException = "TagPolicyException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied because it exceeded a quota.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The request contains too many tags. Try the request again with fewer tags.
	ErrCodeTooManyTagsException = "TooManyTagsException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The supplied input failed to satisfy constraints of an Amazon Web Services
	// service.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "acm"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "ACM"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// RecordTypeCname is a RecordType enum value
	RecordTypeCname = "CNAME"
)
View Source
const (
	// SortByCreatedAt is a SortBy enum value
	SortByCreatedAt = "CREATED_AT"
)

Variables

This section is empty.

Functions

func CertificateStatus_Values

func CertificateStatus_Values() []string

CertificateStatus_Values returns all elements of the CertificateStatus enum

func CertificateTransparencyLoggingPreference_Values

func CertificateTransparencyLoggingPreference_Values() []string

CertificateTransparencyLoggingPreference_Values returns all elements of the CertificateTransparencyLoggingPreference enum

func CertificateType_Values

func CertificateType_Values() []string

CertificateType_Values returns all elements of the CertificateType enum

func DomainStatus_Values

func DomainStatus_Values() []string

DomainStatus_Values returns all elements of the DomainStatus enum

func ExtendedKeyUsageName_Values

func ExtendedKeyUsageName_Values() []string

ExtendedKeyUsageName_Values returns all elements of the ExtendedKeyUsageName enum

func FailureReason_Values

func FailureReason_Values() []string

FailureReason_Values returns all elements of the FailureReason enum

func KeyAlgorithm_Values

func KeyAlgorithm_Values() []string

KeyAlgorithm_Values returns all elements of the KeyAlgorithm enum

func KeyUsageName_Values

func KeyUsageName_Values() []string

KeyUsageName_Values returns all elements of the KeyUsageName enum

func RecordType_Values

func RecordType_Values() []string

RecordType_Values returns all elements of the RecordType enum

func RenewalEligibility_Values

func RenewalEligibility_Values() []string

RenewalEligibility_Values returns all elements of the RenewalEligibility enum

func RenewalStatus_Values

func RenewalStatus_Values() []string

RenewalStatus_Values returns all elements of the RenewalStatus enum

func RevocationReason_Values

func RevocationReason_Values() []string

RevocationReason_Values returns all elements of the RevocationReason enum

func SortBy_Values

func SortBy_Values() []string

SortBy_Values returns all elements of the SortBy enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

func ValidationMethod_Values

func ValidationMethod_Values() []string

ValidationMethod_Values returns all elements of the ValidationMethod enum

Types

type ACM

type ACM struct {
	*client.Client
}

ACM provides the API operation methods for making requests to AWS Certificate Manager. See this package's package overview docs for details on the service.

ACM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *ACM

New creates a new instance of the ACM client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ACM client from just a session.
svc := acm.New(mySession)

// Create a ACM client with additional configuration
svc := acm.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ACM) AddTagsToCertificate

func (c *ACM) AddTagsToCertificate(input *AddTagsToCertificateInput) (*AddTagsToCertificateOutput, error)

AddTagsToCertificate API operation for AWS Certificate Manager.

Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.

You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources 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 (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 action.

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 AddTagsToCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.

  • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

  • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.

  • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.

  • InvalidParameterException An input parameter was invalid.

  • ThrottlingException The request was denied because it exceeded a quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate

func (*ACM) AddTagsToCertificateRequest

func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req *request.Request, output *AddTagsToCertificateOutput)

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 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 AddTagsToCertificate for more information on using the AddTagsToCertificate 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 AddTagsToCertificateRequest method.
req, resp := client.AddTagsToCertificateRequest(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/AddTagsToCertificate

func (*ACM) AddTagsToCertificateWithContext

func (c *ACM) AddTagsToCertificateWithContext(ctx aws.Context, input *AddTagsToCertificateInput, opts ...request.Option) (*AddTagsToCertificateOutput, error)

AddTagsToCertificateWithContext is the same as AddTagsToCertificate with the addition of the ability to pass a context and additional request options.

See AddTagsToCertificate 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 (*ACM) DeleteCertificate

func (c *ACM) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error)

DeleteCertificate API operation for AWS Certificate Manager.

Deletes a certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services services integrated with ACM.

You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, the certificate association must first be removed.

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 DeleteCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • ResourceInUseException The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.

  • AccessDeniedException You do not have access required to perform this action.

  • ThrottlingException The request was denied because it exceeded a quota.

  • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

  • 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/DeleteCertificate

func (*ACM) DeleteCertificateRequest

func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput)

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 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 DeleteCertificate for more information on using the DeleteCertificate 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 DeleteCertificateRequest method.
req, resp := client.DeleteCertificateRequest(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/DeleteCertificate

func (*ACM) DeleteCertificateWithContext

func (c *ACM) DeleteCertificateWithContext(ctx aws.Context, input *DeleteCertificateInput, opts ...request.Option) (*DeleteCertificateOutput, error)

DeleteCertificateWithContext is the same as DeleteCertificate with the addition of the ability to pass a context and additional request options.

See DeleteCertificate 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 (*ACM) DescribeCertificate

func (c *ACM) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error)

DescribeCertificate API operation for AWS Certificate Manager.

Returns detailed metadata about the specified ACM certificate.

If you have just created a certificate using the RequestCertificate action, there is a delay of several seconds before you can retrieve information about it.

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 DescribeCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • 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/DescribeCertificate

func (*ACM) DescribeCertificateRequest

func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput)

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 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 DescribeCertificate for more information on using the DescribeCertificate 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 DescribeCertificateRequest method.
req, resp := client.DescribeCertificateRequest(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/DescribeCertificate

func (*ACM) DescribeCertificateWithContext

func (c *ACM) DescribeCertificateWithContext(ctx aws.Context, input *DescribeCertificateInput, opts ...request.Option) (*DescribeCertificateOutput, error)

DescribeCertificateWithContext is the same as DescribeCertificate with the addition of the ability to pass a context and additional request options.

See DescribeCertificate 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 (*ACM) ExportCertificate

func (c *ACM) ExportCertificate(input *ExportCertificateInput) (*ExportCertificateOutput, error)

ExportCertificate API operation for AWS Certificate Manager.

Exports a private certificate issued by a private certificate authority (CA) for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private 2048-bit RSA key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it.

For information about exporting and formatting a certificate using the ACM console or CLI, see Export a Private Certificate (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-export-private.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 the error.

See the AWS API reference guide for AWS Certificate Manager's API operation ExportCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.

  • 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/ExportCertificate

func (*ACM) ExportCertificateRequest

func (c *ACM) ExportCertificateRequest(input *ExportCertificateInput) (req *request.Request, output *ExportCertificateOutput)

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 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 ExportCertificate for more information on using the ExportCertificate 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 ExportCertificateRequest method.
req, resp := client.ExportCertificateRequest(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/ExportCertificate

func (*ACM) ExportCertificateWithContext

func (c *ACM) ExportCertificateWithContext(ctx aws.Context, input *ExportCertificateInput, opts ...request.Option) (*ExportCertificateOutput, error)

ExportCertificateWithContext is the same as ExportCertificate with the addition of the ability to pass a context and additional request options.

See ExportCertificate 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 (*ACM) GetAccountConfiguration

func (c *ACM) GetAccountConfiguration(input *GetAccountConfigurationInput) (*GetAccountConfigurationOutput, error)

GetAccountConfiguration API operation for AWS Certificate Manager.

Returns the account configuration options associated with an Amazon Web Services account.

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 GetAccountConfiguration for usage and error information.

Returned Error Types:

  • AccessDeniedException You do not have access required to perform this action.

  • ThrottlingException The request was denied because it exceeded a quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetAccountConfiguration

func (*ACM) GetAccountConfigurationRequest

func (c *ACM) GetAccountConfigurationRequest(input *GetAccountConfigurationInput) (req *request.Request, output *GetAccountConfigurationOutput)

GetAccountConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetAccountConfiguration 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 GetAccountConfiguration for more information on using the GetAccountConfiguration 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 GetAccountConfigurationRequest method.
req, resp := client.GetAccountConfigurationRequest(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/GetAccountConfiguration

func (*ACM) GetAccountConfigurationWithContext

func (c *ACM) GetAccountConfigurationWithContext(ctx aws.Context, input *GetAccountConfigurationInput, opts ...request.Option) (*GetAccountConfigurationOutput, error)

GetAccountConfigurationWithContext is the same as GetAccountConfiguration with the addition of the ability to pass a context and additional request options.

See GetAccountConfiguration 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 (*ACM) GetCertificate

func (c *ACM) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error)

GetCertificate API operation for AWS Certificate Manager.

Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL (https://wiki.openssl.org/index.php/Command_Line_Utilities) to decode the certificates and inspect individual fields.

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 GetCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • RequestInProgressException The certificate request is in process and the certificate in your account has not yet been issued.

  • 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/GetCertificate

func (*ACM) GetCertificateRequest

func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Request, output *GetCertificateOutput)

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 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 GetCertificate for more information on using the GetCertificate 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 GetCertificateRequest method.
req, resp := client.GetCertificateRequest(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/GetCertificate

func (*ACM) GetCertificateWithContext

func (c *ACM) GetCertificateWithContext(ctx aws.Context, input *GetCertificateInput, opts ...request.Option) (*GetCertificateOutput, error)

GetCertificateWithContext is the same as GetCertificate with the addition of the ability to pass a context and additional request options.

See GetCertificate 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 (*ACM) ImportCertificate

func (c *ACM) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error)

ImportCertificate API operation for AWS Certificate Manager.

Imports a certificate into Certificate Manager (ACM) to use with services 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 (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the Certificate Manager User Guide.

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:

  • You must enter the private key that matches the certificate you are importing.

  • The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.

  • The private key must be no larger than 5 KB (5,120 bytes).

  • If the certificate you are importing is not self-signed, you must enter its certificate chain.

  • If a certificate chain is included, the issuer must be the subject of one of the certificates in the chain.

  • The certificate, private key, and certificate chain must be PEM-encoded.

  • The current time must be between the Not Before and Not After certificate fields.

  • The Issuer field must not be empty.

  • The OCSP authority URL, if present, must not exceed 1000 characters.

  • 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, you must specify the certificate, the certificate chain, and the private key by their file names preceded by fileb://. For example, you can specify a certificate saved in the C:\temp folder as fileb://C:\temp\certificate_to_import.pem. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.

  • 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.

  • The cryptographic algorithm of an imported certificate must match the algorithm of the signing CA. For example, if the signing CA key type is RSA, then the certificate key type must also be RSA.

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 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 ImportCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • LimitExceededException An ACM quota has been exceeded.

  • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

  • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.

  • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.

  • InvalidParameterException An input parameter was invalid.

  • 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/ImportCertificate

func (*ACM) ImportCertificateRequest

func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput)

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 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 ImportCertificate for more information on using the ImportCertificate 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 ImportCertificateRequest method.
req, resp := client.ImportCertificateRequest(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/ImportCertificate

func (*ACM) ImportCertificateWithContext

func (c *ACM) ImportCertificateWithContext(ctx aws.Context, input *ImportCertificateInput, opts ...request.Option) (*ImportCertificateOutput, error)

ImportCertificateWithContext is the same as ImportCertificate with the addition of the ability to pass a context and additional request options.

See ImportCertificate 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 (*ACM) ListCertificates

func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error)

ListCertificates API operation for AWS Certificate Manager.

Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see Filters.

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 ListCertificates for usage and error information.

Returned Error Types:

  • InvalidArgsException One or more of of request parameters specified is not valid.

  • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates

func (*ACM) ListCertificatesPages

func (c *ACM) ListCertificatesPages(input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool) error

ListCertificatesPages iterates over the pages of a ListCertificates operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCertificates method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCertificates operation.
pageNum := 0
err := client.ListCertificatesPages(params,
    func(page *acm.ListCertificatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ACM) ListCertificatesPagesWithContext

func (c *ACM) ListCertificatesPagesWithContext(ctx aws.Context, input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool, opts ...request.Option) error

ListCertificatesPagesWithContext same as ListCertificatesPages except it takes a Context and allows setting request options on the pages.

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 (*ACM) ListCertificatesRequest

func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput)

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 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 ListCertificates for more information on using the ListCertificates 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 ListCertificatesRequest method.
req, resp := client.ListCertificatesRequest(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/ListCertificates

func (*ACM) ListCertificatesWithContext

func (c *ACM) ListCertificatesWithContext(ctx aws.Context, input *ListCertificatesInput, opts ...request.Option) (*ListCertificatesOutput, error)

ListCertificatesWithContext is the same as ListCertificates with the addition of the ability to pass a context and additional request options.

See ListCertificates 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 (*ACM) ListTagsForCertificate

func (c *ACM) ListTagsForCertificate(input *ListTagsForCertificateInput) (*ListTagsForCertificateOutput, error)

ListTagsForCertificate API operation for AWS Certificate Manager.

Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.

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 ListTagsForCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • 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/ListTagsForCertificate

func (*ACM) ListTagsForCertificateRequest

func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) (req *request.Request, output *ListTagsForCertificateOutput)

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 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 ListTagsForCertificate for more information on using the ListTagsForCertificate 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 ListTagsForCertificateRequest method.
req, resp := client.ListTagsForCertificateRequest(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/ListTagsForCertificate

func (*ACM) ListTagsForCertificateWithContext

func (c *ACM) ListTagsForCertificateWithContext(ctx aws.Context, input *ListTagsForCertificateInput, opts ...request.Option) (*ListTagsForCertificateOutput, error)

ListTagsForCertificateWithContext is the same as ListTagsForCertificate with the addition of the ability to pass a context and additional request options.

See ListTagsForCertificate 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 (*ACM) PutAccountConfiguration

func (c *ACM) PutAccountConfiguration(input *PutAccountConfigurationInput) (*PutAccountConfigurationOutput, error)

PutAccountConfiguration API operation for AWS Certificate Manager.

Adds or modifies account-level configurations in ACM.

The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.

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 PutAccountConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The supplied input failed to satisfy constraints of an Amazon Web Services service.

  • ThrottlingException The request was denied because it exceeded a quota.

  • AccessDeniedException You do not have access required to perform this action.

  • ConflictException You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfiguration

func (*ACM) PutAccountConfigurationRequest

func (c *ACM) PutAccountConfigurationRequest(input *PutAccountConfigurationInput) (req *request.Request, output *PutAccountConfigurationOutput)

PutAccountConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutAccountConfiguration 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 PutAccountConfiguration for more information on using the PutAccountConfiguration 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 PutAccountConfigurationRequest method.
req, resp := client.PutAccountConfigurationRequest(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/PutAccountConfiguration

func (*ACM) PutAccountConfigurationWithContext

func (c *ACM) PutAccountConfigurationWithContext(ctx aws.Context, input *PutAccountConfigurationInput, opts ...request.Option) (*PutAccountConfigurationOutput, error)

PutAccountConfigurationWithContext is the same as PutAccountConfiguration with the addition of the ability to pass a context and additional request options.

See PutAccountConfiguration 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 (*ACM) RemoveTagsFromCertificate

func (c *ACM) RemoveTagsFromCertificate(input *RemoveTagsFromCertificateInput) (*RemoveTagsFromCertificateOutput, error)

RemoveTagsFromCertificate API operation for AWS Certificate Manager.

Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.

To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.

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 RemoveTagsFromCertificate for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.

  • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

  • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.

  • InvalidParameterException An input parameter was invalid.

  • ThrottlingException The request was denied because it exceeded a quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate

func (*ACM) RemoveTagsFromCertificateRequest

func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateInput) (req *request.Request, output *RemoveTagsFromCertificateOutput)

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 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 RemoveTagsFromCertificate for more information on using the RemoveTagsFromCertificate 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 RemoveTagsFromCertificateRequest method.
req, resp := client.RemoveTagsFromCertificateRequest(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/RemoveTagsFromCertificate

func (*ACM) RemoveTagsFromCertificateWithContext

func (c *ACM) RemoveTagsFromCertificateWithContext(ctx aws.Context, input *RemoveTagsFromCertificateInput, opts ...request.Option) (*RemoveTagsFromCertificateOutput, error)

RemoveTagsFromCertificateWithContext is the same as RemoveTagsFromCertificate with the addition of the ability to pass a context and additional request options.

See RemoveTagsFromCertificate 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 (*ACM) RenewCertificate

func (c *ACM) RenewCertificate(input *RenewCertificateInput) (*RenewCertificateOutput, error)

RenewCertificate API operation for AWS Certificate Manager.

Renews an eligible ACM certificate. At this time, only exported private certificates can be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first grant the ACM service principal permission to do so (https://docs.aws.amazon.com/privateca/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 Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • 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 (*ACM) RenewCertificateRequest

func (c *ACM) RenewCertificateRequest(input *RenewCertificateInput) (req *request.Request, output *RenewCertificateOutput)

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 (*ACM) RenewCertificateWithContext

func (c *ACM) RenewCertificateWithContext(ctx aws.Context, input *RenewCertificateInput, opts ...request.Option) (*RenewCertificateOutput, error)

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 (*ACM) RequestCertificate

func (c *ACM) RequestCertificate(input *RequestCertificateInput) (*RequestCertificateOutput, error)

RequestCertificate API operation for AWS Certificate Manager.

Requests an ACM certificate for use with other Amazon Web Services 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.

ACM behavior differs from the RFC 6125 (https://datatracker.ietf.org/doc/html/rfc6125#appendix-B.2) specification of the certificate validation process. ACM first checks for a Subject Alternative Name, and, if it finds one, ignores the common name (CN).

After successful completion of the RequestCertificate action, there is a delay of several seconds before you can retrieve information about the new certificate.

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 RequestCertificate for usage and error information.

Returned Error Types:

  • LimitExceededException An ACM quota has been exceeded.

  • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.

  • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.

  • InvalidTagException One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

  • TooManyTagsException The request contains too many tags. Try the request again with fewer tags.

  • TagPolicyException A specified tag did not comply with an existing tag policy and was rejected.

  • InvalidParameterException An input parameter was invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate

func (*ACM) RequestCertificateRequest

func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *request.Request, output *RequestCertificateOutput)

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 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 RequestCertificate for more information on using the RequestCertificate 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 RequestCertificateRequest method.
req, resp := client.RequestCertificateRequest(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/RequestCertificate

func (*ACM) RequestCertificateWithContext

func (c *ACM) RequestCertificateWithContext(ctx aws.Context, input *RequestCertificateInput, opts ...request.Option) (*RequestCertificateOutput, error)

RequestCertificateWithContext is the same as RequestCertificate with the addition of the ability to pass a context and additional request options.

See RequestCertificate 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 (*ACM) ResendValidationEmail

func (c *ACM) ResendValidationEmail(input *ResendValidationEmailInput) (*ResendValidationEmailOutput, error)

ResendValidationEmail API operation for AWS Certificate Manager.

Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking I Approve. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that 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 (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 the error.

See the AWS API reference guide for AWS Certificate Manager's API operation ResendValidationEmail for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • InvalidStateException Processing has reached an invalid state.

  • InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.

  • InvalidDomainValidationOptionsException One or more values in the DomainValidationOption structure is incorrect.

See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail

func (*ACM) ResendValidationEmailRequest

func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (req *request.Request, output *ResendValidationEmailOutput)

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 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 ResendValidationEmail for more information on using the ResendValidationEmail 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 ResendValidationEmailRequest method.
req, resp := client.ResendValidationEmailRequest(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/ResendValidationEmail

func (*ACM) ResendValidationEmailWithContext

func (c *ACM) ResendValidationEmailWithContext(ctx aws.Context, input *ResendValidationEmailInput, opts ...request.Option) (*ResendValidationEmailOutput, error)

ResendValidationEmailWithContext is the same as ResendValidationEmail with the addition of the ability to pass a context and additional request options.

See ResendValidationEmail 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 (*ACM) UpdateCertificateOptions

func (c *ACM) UpdateCertificateOptions(input *UpdateCertificateOptionsInput) (*UpdateCertificateOptionsOutput, error)

UpdateCertificateOptions API operation for AWS Certificate Manager.

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 (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 the error.

See the AWS API reference guide for AWS Certificate Manager's API operation UpdateCertificateOptions for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

  • LimitExceededException An ACM quota has been exceeded.

  • InvalidStateException Processing has reached an invalid state.

  • 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/UpdateCertificateOptions

func (*ACM) UpdateCertificateOptionsRequest

func (c *ACM) UpdateCertificateOptionsRequest(input *UpdateCertificateOptionsInput) (req *request.Request, output *UpdateCertificateOptionsOutput)

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 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 UpdateCertificateOptions for more information on using the UpdateCertificateOptions 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 UpdateCertificateOptionsRequest method.
req, resp := client.UpdateCertificateOptionsRequest(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/UpdateCertificateOptions

func (*ACM) UpdateCertificateOptionsWithContext

func (c *ACM) UpdateCertificateOptionsWithContext(ctx aws.Context, input *UpdateCertificateOptionsInput, opts ...request.Option) (*UpdateCertificateOptionsOutput, error)

UpdateCertificateOptionsWithContext is the same as UpdateCertificateOptions with the addition of the ability to pass a context and additional request options.

See UpdateCertificateOptions 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 (*ACM) WaitUntilCertificateValidated

func (c *ACM) WaitUntilCertificateValidated(input *DescribeCertificateInput) error

WaitUntilCertificateValidated uses the ACM API operation DescribeCertificate to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*ACM) WaitUntilCertificateValidatedWithContext

func (c *ACM) WaitUntilCertificateValidatedWithContext(ctx aws.Context, input *DescribeCertificateInput, opts ...request.WaiterOption) error

WaitUntilCertificateValidatedWithContext is an extended version of WaitUntilCertificateValidated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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.

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You do not have access required to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTagsToCertificateInput

type AddTagsToCertificateInput struct {

	// String that contains the ARN of the ACM certificate to which the tag is to
	// be applied. 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) (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"`

	// The key-value pair that defines the tag. The tag value is optional.
	//
	// Tags is a required field
	Tags []*Tag `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddTagsToCertificateInput) GoString

func (s AddTagsToCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsToCertificateInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*AddTagsToCertificateInput) SetTags

SetTags sets the Tags field's value.

func (AddTagsToCertificateInput) String

func (s AddTagsToCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsToCertificateInput) Validate

func (s *AddTagsToCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsToCertificateOutput

type AddTagsToCertificateOutput struct {
	// contains filtered or unexported fields
}

func (AddTagsToCertificateOutput) GoString

func (s AddTagsToCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AddTagsToCertificateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CertificateDetail

type CertificateDetail struct {

	// The Amazon Resource Name (ARN) of the certificate. For more information about
	// ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the Amazon Web Services General Reference.
	CertificateArn *string `min:"20" type:"string"`

	// The Amazon Resource Name (ARN) of the private certificate authority (CA)
	// that issued the certificate. This has the following format:
	//
	// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
	CertificateAuthorityArn *string `min:"20" type:"string"`

	// The time at which the certificate was requested.
	CreatedAt *time.Time `type:"timestamp"`

	// The fully qualified domain name for the certificate, such as www.example.com
	// or example.com.
	DomainName *string `min:"1" type:"string"`

	// Contains information about the initial validation of each domain name that
	// occurs as a result of the RequestCertificate request. This field exists only
	// when the certificate type is AMAZON_ISSUED.
	DomainValidationOptions []*DomainValidation `min:"1" type:"list"`

	// Contains a list of Extended Key Usage X.509 v3 extension objects. Each object
	// specifies a purpose for which the certificate public key can be used and
	// consists of a name and an object identifier (OID).
	ExtendedKeyUsages []*ExtendedKeyUsage `type:"list"`

	// The reason the certificate request failed. This value exists only when the
	// certificate status is FAILED. For more information, see Certificate Request
	// Failed (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed)
	// in the Certificate Manager User Guide.
	FailureReason *string `type:"string" enum:"FailureReason"`

	// The date and time when the certificate was imported. This value exists only
	// when the certificate type is IMPORTED.
	ImportedAt *time.Time `type:"timestamp"`

	// A list of ARNs for the Amazon Web Services resources that are using the certificate.
	// A certificate can be used by multiple Amazon Web Services resources.
	InUseBy []*string `type:"list"`

	// The time at which the certificate was issued. This value exists only when
	// the certificate type is AMAZON_ISSUED.
	IssuedAt *time.Time `type:"timestamp"`

	// The name of the certificate authority that issued and signed the certificate.
	Issuer *string `type:"string"`

	// The algorithm that was used to generate the public-private key pair.
	KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"`

	// A list of Key Usage X.509 v3 extension objects. Each object is a string value
	// that identifies the purpose of the public key contained in the certificate.
	// Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION,
	// and more.
	KeyUsages []*KeyUsage `type:"list"`

	// The time after which the certificate is not valid.
	NotAfter *time.Time `type:"timestamp"`

	// The time before which the certificate is not valid.
	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
	// have been mistakenly or maliciously issued. A browser might respond to certificate
	// that has not been logged by showing an error message. The logs are cryptographically
	// secure.
	Options *CertificateOptions `type:"structure"`

	// 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 (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"`

	// The reason the certificate was revoked. This value exists only when the certificate
	// status is REVOKED.
	RevocationReason *string `type:"string" enum:"RevocationReason"`

	// The time at which the certificate was revoked. This value exists only when
	// the certificate status is REVOKED.
	RevokedAt *time.Time `type:"timestamp"`

	// The serial number of the certificate.
	Serial *string `type:"string"`

	// The algorithm that was used to sign the certificate.
	SignatureAlgorithm *string `type:"string"`

	// The status of the certificate.
	//
	// A certificate enters status PENDING_VALIDATION upon being requested, unless
	// it fails for any of the reasons given in the troubleshooting topic Certificate
	// request fails (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html).
	// ACM makes repeated attempts to validate a certificate for 72 hours and then
	// times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT,
	// delete the request, correct the issue with DNS validation (https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html)
	// or Email validation (https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html),
	// and try again. If validation succeeds, the certificate enters status ISSUED.
	Status *string `type:"string" enum:"CertificateStatus"`

	// The name of the entity that is associated with the public key contained in
	// the certificate.
	Subject *string `type:"string"`

	// One or more domain names (subject alternative names) included in the certificate.
	// This list contains the domain names that are bound to the public key that
	// is contained in the certificate. The subject alternative names include the
	// canonical domain name (CN) of the certificate and additional domain names
	// that can be used to connect to the website.
	SubjectAlternativeNames []*string `min:"1" type:"list"`

	// 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 (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
	// (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
	// in the Certificate Manager User Guide.
	Type *string `type:"string" enum:"CertificateType"`
	// contains filtered or unexported fields
}

Contains metadata about an ACM certificate. This structure is returned in the response to a DescribeCertificate request.

func (CertificateDetail) GoString

func (s CertificateDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CertificateDetail) SetCertificateArn

func (s *CertificateDetail) SetCertificateArn(v string) *CertificateDetail

SetCertificateArn sets the CertificateArn field's value.

func (*CertificateDetail) SetCertificateAuthorityArn

func (s *CertificateDetail) SetCertificateAuthorityArn(v string) *CertificateDetail

SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value.

func (*CertificateDetail) SetCreatedAt

func (s *CertificateDetail) SetCreatedAt(v time.Time) *CertificateDetail

SetCreatedAt sets the CreatedAt field's value.

func (*CertificateDetail) SetDomainName

func (s *CertificateDetail) SetDomainName(v string) *CertificateDetail

SetDomainName sets the DomainName field's value.

func (*CertificateDetail) SetDomainValidationOptions

func (s *CertificateDetail) SetDomainValidationOptions(v []*DomainValidation) *CertificateDetail

SetDomainValidationOptions sets the DomainValidationOptions field's value.

func (*CertificateDetail) SetExtendedKeyUsages

func (s *CertificateDetail) SetExtendedKeyUsages(v []*ExtendedKeyUsage) *CertificateDetail

SetExtendedKeyUsages sets the ExtendedKeyUsages field's value.

func (*CertificateDetail) SetFailureReason

func (s *CertificateDetail) SetFailureReason(v string) *CertificateDetail

SetFailureReason sets the FailureReason field's value.

func (*CertificateDetail) SetImportedAt

func (s *CertificateDetail) SetImportedAt(v time.Time) *CertificateDetail

SetImportedAt sets the ImportedAt field's value.

func (*CertificateDetail) SetInUseBy

func (s *CertificateDetail) SetInUseBy(v []*string) *CertificateDetail

SetInUseBy sets the InUseBy field's value.

func (*CertificateDetail) SetIssuedAt

func (s *CertificateDetail) SetIssuedAt(v time.Time) *CertificateDetail

SetIssuedAt sets the IssuedAt field's value.

func (*CertificateDetail) SetIssuer

func (s *CertificateDetail) SetIssuer(v string) *CertificateDetail

SetIssuer sets the Issuer field's value.

func (*CertificateDetail) SetKeyAlgorithm

func (s *CertificateDetail) SetKeyAlgorithm(v string) *CertificateDetail

SetKeyAlgorithm sets the KeyAlgorithm field's value.

func (*CertificateDetail) SetKeyUsages

func (s *CertificateDetail) SetKeyUsages(v []*KeyUsage) *CertificateDetail

SetKeyUsages sets the KeyUsages field's value.

func (*CertificateDetail) SetNotAfter

func (s *CertificateDetail) SetNotAfter(v time.Time) *CertificateDetail

SetNotAfter sets the NotAfter field's value.

func (*CertificateDetail) SetNotBefore

func (s *CertificateDetail) SetNotBefore(v time.Time) *CertificateDetail

SetNotBefore sets the NotBefore field's value.

func (*CertificateDetail) SetOptions

SetOptions sets the Options field's value.

func (*CertificateDetail) SetRenewalEligibility

func (s *CertificateDetail) SetRenewalEligibility(v string) *CertificateDetail

SetRenewalEligibility sets the RenewalEligibility field's value.

func (*CertificateDetail) SetRenewalSummary

func (s *CertificateDetail) SetRenewalSummary(v *RenewalSummary) *CertificateDetail

SetRenewalSummary sets the RenewalSummary field's value.

func (*CertificateDetail) SetRevocationReason

func (s *CertificateDetail) SetRevocationReason(v string) *CertificateDetail

SetRevocationReason sets the RevocationReason field's value.

func (*CertificateDetail) SetRevokedAt

func (s *CertificateDetail) SetRevokedAt(v time.Time) *CertificateDetail

SetRevokedAt sets the RevokedAt field's value.

func (*CertificateDetail) SetSerial

func (s *CertificateDetail) SetSerial(v string) *CertificateDetail

SetSerial sets the Serial field's value.

func (*CertificateDetail) SetSignatureAlgorithm

func (s *CertificateDetail) SetSignatureAlgorithm(v string) *CertificateDetail

SetSignatureAlgorithm sets the SignatureAlgorithm field's value.

func (*CertificateDetail) SetStatus

func (s *CertificateDetail) SetStatus(v string) *CertificateDetail

SetStatus sets the Status field's value.

func (*CertificateDetail) SetSubject

func (s *CertificateDetail) SetSubject(v string) *CertificateDetail

SetSubject sets the Subject field's value.

func (*CertificateDetail) SetSubjectAlternativeNames

func (s *CertificateDetail) SetSubjectAlternativeNames(v []*string) *CertificateDetail

SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.

func (*CertificateDetail) SetType

SetType sets the Type field's value.

func (CertificateDetail) String

func (s CertificateDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CertificateOptions

type CertificateOptions struct {

	// You can opt out of certificate transparency logging by specifying the DISABLED
	// option. Opt in by specifying ENABLED.
	CertificateTransparencyLoggingPreference *string `type:"string" enum:"CertificateTransparencyLoggingPreference"`
	// contains filtered or unexported fields
}

Structure that contains options for your certificate. Currently, you can use this only to specify whether to opt in to or out of certificate transparency logging. Some browsers require that public certificates issued for your domain 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 (https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency).

func (CertificateOptions) GoString

func (s CertificateOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CertificateOptions) SetCertificateTransparencyLoggingPreference

func (s *CertificateOptions) SetCertificateTransparencyLoggingPreference(v string) *CertificateOptions

SetCertificateTransparencyLoggingPreference sets the CertificateTransparencyLoggingPreference field's value.

func (CertificateOptions) String

func (s CertificateOptions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CertificateSummary

type CertificateSummary struct {

	// Amazon Resource Name (ARN) of the certificate. This is of the form:
	//
	// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	CertificateArn *string `min:"20" type:"string"`

	// The time at which the certificate was requested.
	CreatedAt *time.Time `type:"timestamp"`

	// Fully qualified domain name (FQDN), such as www.example.com or example.com,
	// for the certificate.
	DomainName *string `min:"1" type:"string"`

	// Indicates whether the certificate has been exported. This value exists only
	// when the certificate type is PRIVATE.
	Exported *bool `type:"boolean"`

	// Contains a list of Extended Key Usage X.509 v3 extension objects. Each object
	// specifies a purpose for which the certificate public key can be used and
	// consists of a name and an object identifier (OID).
	ExtendedKeyUsages []*string `type:"list" enum:"ExtendedKeyUsageName"`

	// When called by ListCertificates (https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html),
	// indicates whether the full list of subject alternative names has been included
	// in the response. If false, the response includes all of the subject alternative
	// names included in the certificate. If true, the response only includes the
	// first 100 subject alternative names included in the certificate. To display
	// the full list of subject alternative names, use DescribeCertificate (https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html).
	HasAdditionalSubjectAlternativeNames *bool `type:"boolean"`

	// The date and time when the certificate was imported. This value exists only
	// when the certificate type is IMPORTED.
	ImportedAt *time.Time `type:"timestamp"`

	// Indicates whether the certificate is currently in use by any Amazon Web Services
	// resources.
	InUse *bool `type:"boolean"`

	// The time at which the certificate was issued. This value exists only when
	// the certificate type is AMAZON_ISSUED.
	IssuedAt *time.Time `type:"timestamp"`

	// The algorithm that was used to generate the public-private key pair.
	KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"`

	// A list of Key Usage X.509 v3 extension objects. Each object is a string value
	// that identifies the purpose of the public key contained in the certificate.
	// Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION,
	// and more.
	KeyUsages []*string `type:"list" enum:"KeyUsageName"`

	// The time after which the certificate is not valid.
	NotAfter *time.Time `type:"timestamp"`

	// The time before which the certificate is not valid.
	NotBefore *time.Time `type:"timestamp"`

	// 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"`

	// The time at which the certificate was revoked. This value exists only when
	// the certificate status is REVOKED.
	RevokedAt *time.Time `type:"timestamp"`

	// The status of the certificate.
	//
	// A certificate enters status PENDING_VALIDATION upon being requested, unless
	// it fails for any of the reasons given in the troubleshooting topic Certificate
	// request fails (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html).
	// ACM makes repeated attempts to validate a certificate for 72 hours and then
	// times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT,
	// delete the request, correct the issue with DNS validation (https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html)
	// or Email validation (https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html),
	// and try again. If validation succeeds, the certificate enters status ISSUED.
	Status *string `type:"string" enum:"CertificateStatus"`

	// One or more domain names (subject alternative names) included in the certificate.
	// This list contains the domain names that are bound to the public key that
	// is contained in the certificate. The subject alternative names include the
	// canonical domain name (CN) of the certificate and additional domain names
	// that can be used to connect to the website.
	//
	// When called by ListCertificates (https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html),
	// this parameter will only return the first 100 subject alternative names included
	// in the certificate. To display the full list of subject alternative names,
	// use DescribeCertificate (https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html).
	SubjectAlternativeNameSummaries []*string `min:"1" type:"list"`

	// 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 (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
	// (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
	// in the Certificate Manager User Guide.
	Type *string `type:"string" enum:"CertificateType"`
	// contains filtered or unexported fields
}

This structure is returned in the response object of ListCertificates action.

func (CertificateSummary) GoString

func (s CertificateSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CertificateSummary) SetCertificateArn

func (s *CertificateSummary) SetCertificateArn(v string) *CertificateSummary

SetCertificateArn sets the CertificateArn field's value.

func (*CertificateSummary) SetCreatedAt

func (s *CertificateSummary) SetCreatedAt(v time.Time) *CertificateSummary

SetCreatedAt sets the CreatedAt field's value.

func (*CertificateSummary) SetDomainName

func (s *CertificateSummary) SetDomainName(v string) *CertificateSummary

SetDomainName sets the DomainName field's value.

func (*CertificateSummary) SetExported

func (s *CertificateSummary) SetExported(v bool) *CertificateSummary

SetExported sets the Exported field's value.

func (*CertificateSummary) SetExtendedKeyUsages

func (s *CertificateSummary) SetExtendedKeyUsages(v []*string) *CertificateSummary

SetExtendedKeyUsages sets the ExtendedKeyUsages field's value.

func (*CertificateSummary) SetHasAdditionalSubjectAlternativeNames

func (s *CertificateSummary) SetHasAdditionalSubjectAlternativeNames(v bool) *CertificateSummary

SetHasAdditionalSubjectAlternativeNames sets the HasAdditionalSubjectAlternativeNames field's value.

func (*CertificateSummary) SetImportedAt

func (s *CertificateSummary) SetImportedAt(v time.Time) *CertificateSummary

SetImportedAt sets the ImportedAt field's value.

func (*CertificateSummary) SetInUse

func (s *CertificateSummary) SetInUse(v bool) *CertificateSummary

SetInUse sets the InUse field's value.

func (*CertificateSummary) SetIssuedAt

func (s *CertificateSummary) SetIssuedAt(v time.Time) *CertificateSummary

SetIssuedAt sets the IssuedAt field's value.

func (*CertificateSummary) SetKeyAlgorithm

func (s *CertificateSummary) SetKeyAlgorithm(v string) *CertificateSummary

SetKeyAlgorithm sets the KeyAlgorithm field's value.

func (*CertificateSummary) SetKeyUsages

func (s *CertificateSummary) SetKeyUsages(v []*string) *CertificateSummary

SetKeyUsages sets the KeyUsages field's value.

func (*CertificateSummary) SetNotAfter

func (s *CertificateSummary) SetNotAfter(v time.Time) *CertificateSummary

SetNotAfter sets the NotAfter field's value.

func (*CertificateSummary) SetNotBefore

func (s *CertificateSummary) SetNotBefore(v time.Time) *CertificateSummary

SetNotBefore sets the NotBefore field's value.

func (*CertificateSummary) SetRenewalEligibility

func (s *CertificateSummary) SetRenewalEligibility(v string) *CertificateSummary

SetRenewalEligibility sets the RenewalEligibility field's value.

func (*CertificateSummary) SetRevokedAt

func (s *CertificateSummary) SetRevokedAt(v time.Time) *CertificateSummary

SetRevokedAt sets the RevokedAt field's value.

func (*CertificateSummary) SetStatus

func (s *CertificateSummary) SetStatus(v string) *CertificateSummary

SetStatus sets the Status field's value.

func (*CertificateSummary) SetSubjectAlternativeNameSummaries

func (s *CertificateSummary) SetSubjectAlternativeNameSummaries(v []*string) *CertificateSummary

SetSubjectAlternativeNameSummaries sets the SubjectAlternativeNameSummaries field's value.

func (*CertificateSummary) SetType

SetType sets the Type field's value.

func (CertificateSummary) String

func (s CertificateSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteCertificateInput

type DeleteCertificateInput struct {

	// String that contains the ARN of the ACM certificate to be deleted. 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) (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"`
	// contains filtered or unexported fields
}

func (DeleteCertificateInput) GoString

func (s DeleteCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCertificateInput) SetCertificateArn

func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (DeleteCertificateInput) String

func (s DeleteCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCertificateInput) Validate

func (s *DeleteCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCertificateOutput

type DeleteCertificateOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCertificateOutput) GoString

func (s DeleteCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteCertificateOutput) String

func (s DeleteCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeCertificateInput

type DescribeCertificateInput struct {

	// The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have
	// the following form:
	//
	// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) (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"`
	// contains filtered or unexported fields
}

func (DescribeCertificateInput) GoString

func (s DescribeCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificateInput) SetCertificateArn

func (s *DescribeCertificateInput) SetCertificateArn(v string) *DescribeCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (DescribeCertificateInput) String

func (s DescribeCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificateInput) Validate

func (s *DescribeCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCertificateOutput

type DescribeCertificateOutput struct {

	// Metadata about an ACM certificate.
	Certificate *CertificateDetail `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCertificateOutput) GoString

func (s DescribeCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCertificateOutput) SetCertificate

SetCertificate sets the Certificate field's value.

func (DescribeCertificateOutput) String

func (s DescribeCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainValidation

type DomainValidation struct {

	// A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
	// or example.com.
	//
	// DomainName is a required field
	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 (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html).
	//
	// Note: The CNAME information that you need does not include the name of your
	// domain. If you include your domain name in the DNS database CNAME record,
	// validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com",
	// only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
	ResourceRecord *ResourceRecord `type:"structure"`

	// The domain name that ACM used to send domain validation emails.
	ValidationDomain *string `min:"1" type:"string"`

	// A list of email addresses that ACM used to send domain validation emails.
	ValidationEmails []*string `type:"list"`

	// Specifies the domain validation method.
	ValidationMethod *string `type:"string" enum:"ValidationMethod"`

	// The validation status of the domain name. This can be one of the following
	// values:
	//
	//    * PENDING_VALIDATION
	//
	//    * SUCCESS
	//
	//    * FAILED
	ValidationStatus *string `type:"string" enum:"DomainStatus"`
	// contains filtered or unexported fields
}

Contains information about the validation of each domain name in the certificate.

func (DomainValidation) GoString

func (s DomainValidation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainValidation) SetDomainName

func (s *DomainValidation) SetDomainName(v string) *DomainValidation

SetDomainName sets the DomainName field's value.

func (*DomainValidation) SetResourceRecord

func (s *DomainValidation) SetResourceRecord(v *ResourceRecord) *DomainValidation

SetResourceRecord sets the ResourceRecord field's value.

func (*DomainValidation) SetValidationDomain

func (s *DomainValidation) SetValidationDomain(v string) *DomainValidation

SetValidationDomain sets the ValidationDomain field's value.

func (*DomainValidation) SetValidationEmails

func (s *DomainValidation) SetValidationEmails(v []*string) *DomainValidation

SetValidationEmails sets the ValidationEmails field's value.

func (*DomainValidation) SetValidationMethod

func (s *DomainValidation) SetValidationMethod(v string) *DomainValidation

SetValidationMethod sets the ValidationMethod field's value.

func (*DomainValidation) SetValidationStatus

func (s *DomainValidation) SetValidationStatus(v string) *DomainValidation

SetValidationStatus sets the ValidationStatus field's value.

func (DomainValidation) String

func (s DomainValidation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DomainValidationOption

type DomainValidationOption struct {

	// A fully qualified domain name (FQDN) in the certificate request.
	//
	// DomainName is a required field
	DomainName *string `min:"1" type:"string" required:"true"`

	// The domain name that you want ACM to use to send you validation emails. This
	// domain name is the suffix of the email addresses that you want ACM to use.
	// This must be the same as the DomainName value or a superdomain of the DomainName
	// value. For example, if you request a certificate for testing.example.com,
	// you can specify example.com for this value. In that case, ACM sends domain
	// validation emails to the following five addresses:
	//
	//    * admin@example.com
	//
	//    * administrator@example.com
	//
	//    * hostmaster@example.com
	//
	//    * postmaster@example.com
	//
	//    * webmaster@example.com
	//
	// ValidationDomain is a required field
	ValidationDomain *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.

func (DomainValidationOption) GoString

func (s DomainValidationOption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainValidationOption) SetDomainName

SetDomainName sets the DomainName field's value.

func (*DomainValidationOption) SetValidationDomain

func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidationOption

SetValidationDomain sets the ValidationDomain field's value.

func (DomainValidationOption) String

func (s DomainValidationOption) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DomainValidationOption) Validate

func (s *DomainValidationOption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExpiryEventsConfiguration

type ExpiryEventsConfiguration struct {

	// Specifies the number of days prior to certificate expiration when ACM starts
	// generating EventBridge events. ACM sends one event per day per certificate
	// until the certificate expires. By default, accounts receive events starting
	// 45 days before certificate expiration.
	DaysBeforeExpiry *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Object containing expiration events options associated with an Amazon Web Services account.

func (ExpiryEventsConfiguration) GoString

func (s ExpiryEventsConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExpiryEventsConfiguration) SetDaysBeforeExpiry

func (s *ExpiryEventsConfiguration) SetDaysBeforeExpiry(v int64) *ExpiryEventsConfiguration

SetDaysBeforeExpiry sets the DaysBeforeExpiry field's value.

func (ExpiryEventsConfiguration) String

func (s ExpiryEventsConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExpiryEventsConfiguration) Validate

func (s *ExpiryEventsConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportCertificateInput

type ExportCertificateInput struct {

	// An Amazon Resource Name (ARN) of the issued certificate. This must be of
	// the form:
	//
	// arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
	//
	// CertificateArn is a required field
	CertificateArn *string `min:"20" type:"string" required:"true"`

	// Passphrase to associate with the encrypted exported private key.
	//
	// When creating your passphrase, you can use any ASCII character except #,
	// $, or %.
	//
	// If you want to later decrypt the private key, you must have the passphrase.
	// You can use the following OpenSSL command to decrypt a private key. After
	// entering the command, you are prompted for the passphrase.
	//
	// openssl rsa -in encrypted_key.pem -out decrypted_key.pem
	//
	// Passphrase is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ExportCertificateInput's
	// String and GoString methods.
	//
	// Passphrase is automatically base64 encoded/decoded by the SDK.
	//
	// Passphrase is a required field
	Passphrase []byte `min:"4" type:"blob" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ExportCertificateInput) GoString

func (s ExportCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportCertificateInput) SetCertificateArn

func (s *ExportCertificateInput) SetCertificateArn(v string) *ExportCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (*ExportCertificateInput) SetPassphrase

func (s *ExportCertificateInput) SetPassphrase(v []byte) *ExportCertificateInput

SetPassphrase sets the Passphrase field's value.

func (ExportCertificateInput) String

func (s ExportCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportCertificateInput) Validate

func (s *ExportCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportCertificateOutput

type ExportCertificateOutput struct {

	// The base64 PEM-encoded certificate.
	Certificate *string `min:"1" type:"string"`

	// The base64 PEM-encoded certificate chain. This does not include the certificate
	// that you are exporting.
	CertificateChain *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 is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ExportCertificateOutput's
	// String and GoString methods.
	PrivateKey *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ExportCertificateOutput) GoString

func (s ExportCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportCertificateOutput) SetCertificate

SetCertificate sets the Certificate field's value.

func (*ExportCertificateOutput) SetCertificateChain

func (s *ExportCertificateOutput) SetCertificateChain(v string) *ExportCertificateOutput

SetCertificateChain sets the CertificateChain field's value.

func (*ExportCertificateOutput) SetPrivateKey

SetPrivateKey sets the PrivateKey field's value.

func (ExportCertificateOutput) String

func (s ExportCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExtendedKeyUsage

type ExtendedKeyUsage struct {

	// The name of an Extended Key Usage value.
	Name *string `type:"string" enum:"ExtendedKeyUsageName"`

	// An object identifier (OID) for the extension value. OIDs are strings of numbers
	// separated by periods. The following OIDs are defined in RFC 3280 and RFC
	// 5280.
	//
	//    * 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION)
	//
	//    * 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION)
	//
	//    * 1.3.6.1.5.5.7.3.3 (CODE_SIGNING)
	//
	//    * 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION)
	//
	//    * 1.3.6.1.5.5.7.3.8 (TIME_STAMPING)
	//
	//    * 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING)
	//
	//    * 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM)
	//
	//    * 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL)
	//
	//    * 1.3.6.1.5.5.7.3.7 (IPSEC_USER)
	OID *string `type:"string"`
	// contains filtered or unexported fields
}

The Extended Key Usage X.509 v3 extension defines one or more purposes for which the public key can be used. This is in addition to or in place of the basic purposes specified by the Key Usage extension.

func (ExtendedKeyUsage) GoString

func (s ExtendedKeyUsage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExtendedKeyUsage) SetName

func (s *ExtendedKeyUsage) SetName(v string) *ExtendedKeyUsage

SetName sets the Name field's value.

func (*ExtendedKeyUsage) SetOID

SetOID sets the OID field's value.

func (ExtendedKeyUsage) String

func (s ExtendedKeyUsage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Filters

type Filters struct {

	// Specify one or more ExtendedKeyUsage extension values.
	ExtendedKeyUsage []*string `locationName:"extendedKeyUsage" type:"list" enum:"ExtendedKeyUsageName"`

	// Specify one or more algorithms that can be used to generate key pairs.
	//
	// Default filtering returns only RSA_1024 and RSA_2048 certificates that have
	// at least one domain. To return other certificate types, provide the desired
	// type signatures in a comma-separated list. For example, "keyTypes": ["RSA_2048","RSA_4096"]
	// returns both RSA_2048 and RSA_4096 certificates.
	KeyTypes []*string `locationName:"keyTypes" type:"list" enum:"KeyAlgorithm"`

	// Specify one or more KeyUsage extension values.
	KeyUsage []*string `locationName:"keyUsage" type:"list" enum:"KeyUsageName"`
	// contains filtered or unexported fields
}

This structure can be used in the ListCertificates action to filter the output of the certificate list.

func (Filters) GoString

func (s Filters) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Filters) SetExtendedKeyUsage

func (s *Filters) SetExtendedKeyUsage(v []*string) *Filters

SetExtendedKeyUsage sets the ExtendedKeyUsage field's value.

func (*Filters) SetKeyTypes

func (s *Filters) SetKeyTypes(v []*string) *Filters

SetKeyTypes sets the KeyTypes field's value.

func (*Filters) SetKeyUsage

func (s *Filters) SetKeyUsage(v []*string) *Filters

SetKeyUsage sets the KeyUsage field's value.

func (Filters) String

func (s Filters) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccountConfigurationInput

type GetAccountConfigurationInput struct {
	// contains filtered or unexported fields
}

func (GetAccountConfigurationInput) GoString

func (s GetAccountConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetAccountConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccountConfigurationOutput

type GetAccountConfigurationOutput struct {

	// Expiration events configuration options associated with the Amazon Web Services
	// account.
	ExpiryEvents *ExpiryEventsConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccountConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccountConfigurationOutput) SetExpiryEvents

SetExpiryEvents sets the ExpiryEvents field's value.

func (GetAccountConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetCertificateInput

type GetCertificateInput struct {

	// String that contains a certificate ARN in the following format:
	//
	// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) (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"`
	// contains filtered or unexported fields
}

func (GetCertificateInput) GoString

func (s GetCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCertificateInput) SetCertificateArn

func (s *GetCertificateInput) SetCertificateArn(v string) *GetCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (GetCertificateInput) String

func (s GetCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCertificateInput) Validate

func (s *GetCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCertificateOutput

type GetCertificateOutput struct {

	// The ACM-issued certificate corresponding to the ARN specified as input.
	Certificate *string `min:"1" type:"string"`

	// Certificates forming the requested certificate's chain of trust. The chain
	// consists of the certificate of the issuing CA and the intermediate certificates
	// of any other subordinate CAs.
	CertificateChain *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetCertificateOutput) GoString

func (s GetCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetCertificateOutput) SetCertificate

func (s *GetCertificateOutput) SetCertificate(v string) *GetCertificateOutput

SetCertificate sets the Certificate field's value.

func (*GetCertificateOutput) SetCertificateChain

func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutput

SetCertificateChain sets the CertificateChain field's value.

func (GetCertificateOutput) String

func (s GetCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImportCertificateInput

type ImportCertificateInput struct {

	// The certificate to import.
	// Certificate is automatically base64 encoded/decoded by the SDK.
	//
	// Certificate is a required field
	Certificate []byte `min:"1" type:"blob" required:"true"`

	// 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"`

	// The PEM encoded certificate chain.
	// CertificateChain is automatically base64 encoded/decoded by the SDK.
	CertificateChain []byte `min:"1" type:"blob"`

	// The private key that matches the public key in the certificate.
	//
	// PrivateKey is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ImportCertificateInput's
	// String and GoString methods.
	//
	// PrivateKey is automatically base64 encoded/decoded by the SDK.
	//
	// PrivateKey is a required field
	PrivateKey []byte `min:"1" type:"blob" required:"true" sensitive:"true"`

	// One or more resource tags to associate with the imported certificate.
	//
	// Note: You cannot apply tags when reimporting a certificate.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ImportCertificateInput) GoString

func (s ImportCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportCertificateInput) SetCertificate

func (s *ImportCertificateInput) SetCertificate(v []byte) *ImportCertificateInput

SetCertificate sets the Certificate field's value.

func (*ImportCertificateInput) SetCertificateArn

func (s *ImportCertificateInput) SetCertificateArn(v string) *ImportCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (*ImportCertificateInput) SetCertificateChain

func (s *ImportCertificateInput) SetCertificateChain(v []byte) *ImportCertificateInput

SetCertificateChain sets the CertificateChain field's value.

func (*ImportCertificateInput) SetPrivateKey

func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput

SetPrivateKey sets the PrivateKey field's value.

func (*ImportCertificateInput) SetTags

SetTags sets the Tags field's value.

func (ImportCertificateInput) String

func (s ImportCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportCertificateInput) Validate

func (s *ImportCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportCertificateOutput

type ImportCertificateOutput struct {

	// 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"`
	// contains filtered or unexported fields
}

func (ImportCertificateOutput) GoString

func (s ImportCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportCertificateOutput) SetCertificateArn

func (s *ImportCertificateOutput) SetCertificateArn(v string) *ImportCertificateOutput

SetCertificateArn sets the CertificateArn field's value.

func (ImportCertificateOutput) String

func (s ImportCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidArgsException

type InvalidArgsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

One or more of of request parameters specified is not valid.

func (*InvalidArgsException) Code

func (s *InvalidArgsException) Code() string

Code returns the exception type name.

func (*InvalidArgsException) Error

func (s *InvalidArgsException) Error() string

func (InvalidArgsException) GoString

func (s InvalidArgsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidArgsException) Message

func (s *InvalidArgsException) Message() string

Message returns the exception's message.

func (*InvalidArgsException) OrigErr

func (s *InvalidArgsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidArgsException) RequestID

func (s *InvalidArgsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidArgsException) StatusCode

func (s *InvalidArgsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidArgsException) String

func (s InvalidArgsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidArnException

type InvalidArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

func (*InvalidArnException) Code

func (s *InvalidArnException) Code() string

Code returns the exception type name.

func (*InvalidArnException) Error

func (s *InvalidArnException) Error() string

func (InvalidArnException) GoString

func (s InvalidArnException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidArnException) Message

func (s *InvalidArnException) Message() string

Message returns the exception's message.

func (*InvalidArnException) OrigErr

func (s *InvalidArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidArnException) RequestID

func (s *InvalidArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidArnException) StatusCode

func (s *InvalidArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidArnException) String

func (s InvalidArnException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidDomainValidationOptionsException

type InvalidDomainValidationOptionsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

One or more values in the DomainValidationOption structure is incorrect.

func (*InvalidDomainValidationOptionsException) Code

Code returns the exception type name.

func (*InvalidDomainValidationOptionsException) Error

func (InvalidDomainValidationOptionsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidDomainValidationOptionsException) Message

Message returns the exception's message.

func (*InvalidDomainValidationOptionsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidDomainValidationOptionsException) RequestID

RequestID returns the service's response RequestID for request.

func (*InvalidDomainValidationOptionsException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (InvalidDomainValidationOptionsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidParameterException

type InvalidParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An input parameter was invalid.

func (*InvalidParameterException) Code

Code returns the exception type name.

func (*InvalidParameterException) Error

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString

func (s InvalidParameterException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidParameterException) Message

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String

func (s InvalidParameterException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidStateException

type InvalidStateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Processing has reached an invalid state.

func (*InvalidStateException) Code

func (s *InvalidStateException) Code() string

Code returns the exception type name.

func (*InvalidStateException) Error

func (s *InvalidStateException) Error() string

func (InvalidStateException) GoString

func (s InvalidStateException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidStateException) Message

func (s *InvalidStateException) Message() string

Message returns the exception's message.

func (*InvalidStateException) OrigErr

func (s *InvalidStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidStateException) RequestID

func (s *InvalidStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidStateException) StatusCode

func (s *InvalidStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidStateException) String

func (s InvalidStateException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTagException

type InvalidTagException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

One or both of the values that make up the key-value pair is not valid. For example, you cannot specify a tag value that begins with aws:.

func (*InvalidTagException) Code

func (s *InvalidTagException) Code() string

Code returns the exception type name.

func (*InvalidTagException) Error

func (s *InvalidTagException) Error() string

func (InvalidTagException) GoString

func (s InvalidTagException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTagException) Message

func (s *InvalidTagException) Message() string

Message returns the exception's message.

func (*InvalidTagException) OrigErr

func (s *InvalidTagException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTagException) RequestID

func (s *InvalidTagException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTagException) StatusCode

func (s *InvalidTagException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTagException) String

func (s InvalidTagException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KeyUsage

type KeyUsage struct {

	// A string value that contains a Key Usage extension name.
	Name *string `type:"string" enum:"KeyUsageName"`
	// contains filtered or unexported fields
}

The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.

func (KeyUsage) GoString

func (s KeyUsage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeyUsage) SetName

func (s *KeyUsage) SetName(v string) *KeyUsage

SetName sets the Name field's value.

func (KeyUsage) String

func (s KeyUsage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LimitExceededException

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An ACM quota has been exceeded.

func (*LimitExceededException) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCertificatesInput

type ListCertificatesInput struct {

	// Filter the certificate list by status value.
	CertificateStatuses []*string `type:"list" enum:"CertificateStatus"`

	// Filter the certificate list. For more information, see the Filters structure.
	Includes *Filters `type:"structure"`

	// Use this parameter when paginating results to specify the maximum number
	// of items to return in the response. If additional items exist beyond the
	// number you specify, the NextToken element is sent in the response. Use this
	// NextToken value in a subsequent request to retrieve additional items.
	MaxItems *int64 `min:"1" type:"integer"`

	// Use this parameter only when paginating results and only in a subsequent
	// request after you receive a response with truncated results. Set it to the
	// value of NextToken from the response you just received.
	NextToken *string `min:"1" type:"string"`

	// Specifies the field to sort results by. If you specify SortBy, you must also
	// specify SortOrder.
	SortBy *string `type:"string" enum:"SortBy"`

	// Specifies the order of sorted results. If you specify SortOrder, you must
	// also specify SortBy.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (ListCertificatesInput) GoString

func (s ListCertificatesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCertificatesInput) SetCertificateStatuses

func (s *ListCertificatesInput) SetCertificateStatuses(v []*string) *ListCertificatesInput

SetCertificateStatuses sets the CertificateStatuses field's value.

func (*ListCertificatesInput) SetIncludes

SetIncludes sets the Includes field's value.

func (*ListCertificatesInput) SetMaxItems

SetMaxItems sets the MaxItems field's value.

func (*ListCertificatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListCertificatesInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*ListCertificatesInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (ListCertificatesInput) String

func (s ListCertificatesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCertificatesInput) Validate

func (s *ListCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCertificatesOutput

type ListCertificatesOutput struct {

	// A list of ACM certificates.
	CertificateSummaryList []*CertificateSummary `type:"list"`

	// When the list is truncated, this value is present and contains the value
	// to use for the NextToken parameter in a subsequent pagination request.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListCertificatesOutput) GoString

func (s ListCertificatesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCertificatesOutput) SetCertificateSummaryList

func (s *ListCertificatesOutput) SetCertificateSummaryList(v []*CertificateSummary) *ListCertificatesOutput

SetCertificateSummaryList sets the CertificateSummaryList field's value.

func (*ListCertificatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListCertificatesOutput) String

func (s ListCertificatesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForCertificateInput

type ListTagsForCertificateInput struct {

	// String that contains the ARN of the ACM certificate for which you want to
	// list the tags. This must have the following form:
	//
	// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) (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"`
	// contains filtered or unexported fields
}

func (ListTagsForCertificateInput) GoString

func (s ListTagsForCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForCertificateInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (ListTagsForCertificateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForCertificateInput) Validate

func (s *ListTagsForCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForCertificateOutput

type ListTagsForCertificateOutput struct {

	// The key-value pairs that define the applied tags.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForCertificateOutput) GoString

func (s ListTagsForCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForCertificateOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForCertificateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccountConfigurationInput

type PutAccountConfigurationInput struct {

	// Specifies expiration events associated with an account.
	ExpiryEvents *ExpiryEventsConfiguration `type:"structure"`

	// Customer-chosen string used to distinguish between calls to PutAccountConfiguration.
	// Idempotency tokens time out after one hour. If you call PutAccountConfiguration
	// multiple times with the same unexpired idempotency token, ACM treats it as
	// the same request and returns the original result. If you change the idempotency
	// token for each call, ACM treats each call as a new request.
	//
	// IdempotencyToken is a required field
	IdempotencyToken *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccountConfigurationInput) GoString

func (s PutAccountConfigurationInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountConfigurationInput) SetExpiryEvents

SetExpiryEvents sets the ExpiryEvents field's value.

func (*PutAccountConfigurationInput) SetIdempotencyToken

SetIdempotencyToken sets the IdempotencyToken field's value.

func (PutAccountConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountConfigurationInput) Validate

func (s *PutAccountConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutAccountConfigurationOutput

type PutAccountConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (PutAccountConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveTagsFromCertificateInput

type RemoveTagsFromCertificateInput struct {

	// String that contains the ARN of the ACM Certificate with one or more tags
	// that you want to remove. 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) (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"`

	// The key-value pair that defines the tag to remove.
	//
	// Tags is a required field
	Tags []*Tag `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveTagsFromCertificateInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsFromCertificateInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*RemoveTagsFromCertificateInput) SetTags

SetTags sets the Tags field's value.

func (RemoveTagsFromCertificateInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsFromCertificateInput) Validate

func (s *RemoveTagsFromCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveTagsFromCertificateOutput

type RemoveTagsFromCertificateOutput struct {
	// contains filtered or unexported fields
}

func (RemoveTagsFromCertificateOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveTagsFromCertificateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RenewCertificateInput

type RenewCertificateInput struct {

	// 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) (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"`
	// contains filtered or unexported fields
}

func (RenewCertificateInput) GoString

func (s RenewCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RenewCertificateInput) SetCertificateArn

func (s *RenewCertificateInput) SetCertificateArn(v string) *RenewCertificateInput

SetCertificateArn sets the CertificateArn field's value.

func (RenewCertificateInput) String

func (s RenewCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RenewCertificateInput) Validate

func (s *RenewCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RenewCertificateOutput

type RenewCertificateOutput struct {
	// contains filtered or unexported fields
}

func (RenewCertificateOutput) GoString

func (s RenewCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RenewCertificateOutput) String

func (s RenewCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RenewalSummary

type RenewalSummary struct {

	// Contains information about the validation of each domain name in the certificate,
	// 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.
	//
	// DomainValidationOptions is a required field
	DomainValidationOptions []*DomainValidation `min:"1" type:"list" required:"true"`

	// 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"`
	// contains filtered or unexported fields
}

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.

func (RenewalSummary) GoString

func (s RenewalSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RenewalSummary) SetDomainValidationOptions

func (s *RenewalSummary) SetDomainValidationOptions(v []*DomainValidation) *RenewalSummary

SetDomainValidationOptions sets the DomainValidationOptions field's value.

func (*RenewalSummary) SetRenewalStatus

func (s *RenewalSummary) SetRenewalStatus(v string) *RenewalSummary

SetRenewalStatus sets the RenewalStatus field's value.

func (*RenewalSummary) SetRenewalStatusReason

func (s *RenewalSummary) SetRenewalStatusReason(v string) *RenewalSummary

SetRenewalStatusReason sets the RenewalStatusReason field's value.

func (*RenewalSummary) SetUpdatedAt

func (s *RenewalSummary) SetUpdatedAt(v time.Time) *RenewalSummary

SetUpdatedAt sets the UpdatedAt field's value.

func (RenewalSummary) String

func (s RenewalSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RequestCertificateInput

type RequestCertificateInput struct {

	// The Amazon Resource Name (ARN) of the private certificate authority (CA)
	// 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
	// Amazon Web Services Private Certificate Authority (https://docs.aws.amazon.com/privateca/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, 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.
	//
	// In compliance with RFC 5280 (https://datatracker.ietf.org/doc/html/rfc5280),
	// the length of the domain name (technically, the Common Name) that you provide
	// cannot exceed 64 octets (characters), including periods. To add a longer
	// domain name, specify it in the Subject Alternative Name field, which supports
	// names up to 253 octets in length.
	//
	// DomainName is a required field
	DomainName *string `min:"1" type:"string" required:"true"`

	// The domain name that you want ACM to use to send you emails so that you can
	// validate domain ownership.
	DomainValidationOptions []*DomainValidationOption `min:"1" type:"list"`

	// Customer chosen string that can be used to distinguish between calls to RequestCertificate.
	// Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate
	// multiple times with the same idempotency token within one hour, ACM recognizes
	// that you are requesting only one certificate and will issue only one. If
	// you change the idempotency token for each call, ACM recognizes that you are
	// requesting multiple certificates.
	IdempotencyToken *string `min:"1" type:"string"`

	// Specifies the algorithm of the public and private key pair that your certificate
	// uses to encrypt data. RSA is the default key algorithm for ACM certificates.
	// Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering
	// security comparable to RSA keys but with greater computing efficiency. However,
	// ECDSA is not supported by all network clients. Some AWS services may require
	// RSA keys, or only support ECDSA keys of a particular size, while others allow
	// the use of either RSA and ECDSA keys to ensure that compatibility is not
	// broken. Check the requirements for the AWS service where you plan to deploy
	// your certificate.
	//
	// Default: RSA_2048
	KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"`

	// Currently, you can use this parameter to specify whether to add the certificate
	// to a certificate transparency log. Certificate transparency makes it possible
	// 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 (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
	// 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. The maximum number of domain names that you can
	// add to an ACM certificate is 100. However, the initial quota is 10 domain
	// names. If you need more than 10 names, you must request a quota increase.
	// For more information, see Quotas (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.
	// 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.
	SubjectAlternativeNames []*string `min:"1" type:"list"`

	// One or more resource tags to associate with the certificate.
	Tags []*Tag `min:"1" type:"list"`

	// 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"`
	// contains filtered or unexported fields
}

func (RequestCertificateInput) GoString

func (s RequestCertificateInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestCertificateInput) SetCertificateAuthorityArn

func (s *RequestCertificateInput) SetCertificateAuthorityArn(v string) *RequestCertificateInput

SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value.

func (*RequestCertificateInput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*RequestCertificateInput) SetDomainValidationOptions

func (s *RequestCertificateInput) SetDomainValidationOptions(v []*DomainValidationOption) *RequestCertificateInput

SetDomainValidationOptions sets the DomainValidationOptions field's value.

func (*RequestCertificateInput) SetIdempotencyToken

func (s *RequestCertificateInput) SetIdempotencyToken(v string) *RequestCertificateInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*RequestCertificateInput) SetKeyAlgorithm

SetKeyAlgorithm sets the KeyAlgorithm field's value.

func (*RequestCertificateInput) SetOptions

SetOptions sets the Options field's value.

func (*RequestCertificateInput) SetSubjectAlternativeNames

func (s *RequestCertificateInput) SetSubjectAlternativeNames(v []*string) *RequestCertificateInput

SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.

func (*RequestCertificateInput) SetTags

SetTags sets the Tags field's value.

func (*RequestCertificateInput) SetValidationMethod

func (s *RequestCertificateInput) SetValidationMethod(v string) *RequestCertificateInput

SetValidationMethod sets the ValidationMethod field's value.

func (RequestCertificateInput) String

func (s RequestCertificateInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestCertificateInput) Validate

func (s *RequestCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RequestCertificateOutput

type RequestCertificateOutput struct {

	// String that contains the ARN of the issued certificate. This must be of the
	// form:
	//
	// arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012
	CertificateArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (RequestCertificateOutput) GoString

func (s RequestCertificateOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestCertificateOutput) SetCertificateArn

func (s *RequestCertificateOutput) SetCertificateArn(v string) *RequestCertificateOutput

SetCertificateArn sets the CertificateArn field's value.

func (RequestCertificateOutput) String

func (s RequestCertificateOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RequestInProgressException

type RequestInProgressException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The certificate request is in process and the certificate in your account has not yet been issued.

func (*RequestInProgressException) Code

Code returns the exception type name.

func (*RequestInProgressException) Error

func (RequestInProgressException) GoString

func (s RequestInProgressException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RequestInProgressException) Message

func (s *RequestInProgressException) Message() string

Message returns the exception's message.

func (*RequestInProgressException) OrigErr

func (s *RequestInProgressException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RequestInProgressException) RequestID

func (s *RequestInProgressException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RequestInProgressException) StatusCode

func (s *RequestInProgressException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RequestInProgressException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResendValidationEmailInput

type ResendValidationEmailInput struct {

	// String that contains the ARN of the requested certificate. The certificate
	// ARN is generated and returned by the RequestCertificate action as soon as
	// the request is made. By default, using this parameter causes email to be
	// sent to all top-level domains you specified in the certificate request. The
	// ARN must be of the form:
	//
	// arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// CertificateArn is a required field
	CertificateArn *string `min:"20" type:"string" required:"true"`

	// The fully qualified domain name (FQDN) of the certificate that needs to be
	// validated.
	//
	// Domain is a required field
	Domain *string `min:"1" type:"string" required:"true"`

	// The base validation domain that will act as the suffix of the email addresses
	// that are used to send the emails. This must be the same as the Domain value
	// or a superdomain of the Domain value. For example, if you requested a certificate
	// for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com,
	// ACM sends email to the domain registrant, technical contact, and administrative
	// contact in WHOIS and the following five addresses:
	//
	//    * admin@subdomain.example.com
	//
	//    * administrator@subdomain.example.com
	//
	//    * hostmaster@subdomain.example.com
	//
	//    * postmaster@subdomain.example.com
	//
	//    * webmaster@subdomain.example.com
	//
	// ValidationDomain is a required field
	ValidationDomain *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ResendValidationEmailInput) GoString

func (s ResendValidationEmailInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResendValidationEmailInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*ResendValidationEmailInput) SetDomain

SetDomain sets the Domain field's value.

func (*ResendValidationEmailInput) SetValidationDomain

SetValidationDomain sets the ValidationDomain field's value.

func (ResendValidationEmailInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResendValidationEmailInput) Validate

func (s *ResendValidationEmailInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResendValidationEmailOutput

type ResendValidationEmailOutput struct {
	// contains filtered or unexported fields
}

func (ResendValidationEmailOutput) GoString

func (s ResendValidationEmailOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ResendValidationEmailOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceInUseException

type ResourceInUseException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The certificate is in use by another Amazon Web Services service in the caller's account. Remove the association and try again.

func (*ResourceInUseException) Code

func (s *ResourceInUseException) Code() string

Code returns the exception type name.

func (*ResourceInUseException) Error

func (s *ResourceInUseException) Error() string

func (ResourceInUseException) GoString

func (s ResourceInUseException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceInUseException) Message

func (s *ResourceInUseException) Message() string

Message returns the exception's message.

func (*ResourceInUseException) OrigErr

func (s *ResourceInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceInUseException) RequestID

func (s *ResourceInUseException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceInUseException) StatusCode

func (s *ResourceInUseException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceInUseException) String

func (s ResourceInUseException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceRecord

type ResourceRecord struct {

	// The name of the DNS record to create in your domain. This is supplied by
	// ACM.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The type of DNS record. Currently this can be CNAME.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"RecordType"`

	// The value of the CNAME record to add to your DNS database. This is supplied
	// by ACM.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains a DNS record value that you can use to validate ownership or control of a domain. This is used by the DescribeCertificate action.

func (ResourceRecord) GoString

func (s ResourceRecord) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceRecord) SetName

func (s *ResourceRecord) SetName(v string) *ResourceRecord

SetName sets the Name field's value.

func (*ResourceRecord) SetType

func (s *ResourceRecord) SetType(v string) *ResourceRecord

SetType sets the Type field's value.

func (*ResourceRecord) SetValue

func (s *ResourceRecord) SetValue(v string) *ResourceRecord

SetValue sets the Value field's value.

func (ResourceRecord) String

func (s ResourceRecord) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// The key of the tag.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The value of the tag.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A key-value pair that identifies or specifies metadata about an ACM resource.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagPolicyException

type TagPolicyException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A specified tag did not comply with an existing tag policy and was rejected.

func (*TagPolicyException) Code

func (s *TagPolicyException) Code() string

Code returns the exception type name.

func (*TagPolicyException) Error

func (s *TagPolicyException) Error() string

func (TagPolicyException) GoString

func (s TagPolicyException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagPolicyException) Message

func (s *TagPolicyException) Message() string

Message returns the exception's message.

func (*TagPolicyException) OrigErr

func (s *TagPolicyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagPolicyException) RequestID

func (s *TagPolicyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagPolicyException) StatusCode

func (s *TagPolicyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TagPolicyException) String

func (s TagPolicyException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied because it exceeded a quota.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyTagsException

type TooManyTagsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request contains too many tags. Try the request again with fewer tags.

func (*TooManyTagsException) Code

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateCertificateOptionsInput

type UpdateCertificateOptionsInput struct {

	// ARN of the requested certificate to update. This must be of the form:
	//
	// arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012
	//
	// CertificateArn is a required field
	CertificateArn *string `min:"20" type:"string" required:"true"`

	// Use to update the options for your certificate. Currently, you can specify
	// whether to add your certificate to a transparency log. Certificate transparency
	// makes it possible 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.
	//
	// Options is a required field
	Options *CertificateOptions `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateCertificateOptionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCertificateOptionsInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*UpdateCertificateOptionsInput) SetOptions

SetOptions sets the Options field's value.

func (UpdateCertificateOptionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCertificateOptionsInput) Validate

func (s *UpdateCertificateOptionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCertificateOptionsOutput

type UpdateCertificateOptionsOutput struct {
	// contains filtered or unexported fields
}

func (UpdateCertificateOptionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateCertificateOptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The supplied input failed to satisfy constraints of an Amazon Web Services service.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package acmiface provides an interface to enable mocking the AWS Certificate Manager service client for testing your code.
Package acmiface provides an interface to enable mocking the AWS Certificate Manager service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL