acm

package
v1.8.8-0...-2518e87 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package acm provides a client for AWS Certificate Manager.

Index

Examples

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 (
	// CertificateTypeImported is a CertificateType enum value
	CertificateTypeImported = "IMPORTED"

	// CertificateTypeAmazonIssued is a CertificateType enum value
	CertificateTypeAmazonIssued = "AMAZON_ISSUED"
)
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 (
	// 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"

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

	// KeyAlgorithmRsa1024 is a KeyAlgorithm enum value
	KeyAlgorithmRsa1024 = "RSA_1024"

	// KeyAlgorithmEcPrime256v1 is a KeyAlgorithm enum value
	KeyAlgorithmEcPrime256v1 = "EC_prime256v1"
)
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 (

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

	// ErrCodeInvalidStateException for service response error code
	// "InvalidStateException".
	//
	// Processing has reached an invalid state. For example, this exception can
	// occur if the specified domain is not using email validation, or the current
	// certificate status does not permit the requested operation. See the exception
	// message returned by ACM to determine which state is not valid.
	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 limit has been exceeded. For example, you may have input more domains
	// than are allowed or you've requested too many certificates for your account.
	// See the exception message returned by ACM to determine which limit you have
	// violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html)
	// topic.
	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 AWS 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"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// The request contains too many tags. Try the request again with fewer tags.
	ErrCodeTooManyTagsException = "TooManyTagsException"
)
View Source
const (
	ServiceName = "acm"       // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ACM

type ACM struct {
	*client.Client
}

Welcome to the AWS Certificate Manager (ACM) API documentation.

You can use ACM to manage SSL/TLS certificates for your AWS-based websites and applications. For general information about using ACM, see the AWS Certificate Manager User Guide (http://docs.aws.amazon.com/acm/latest/userguide/). The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08

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:

// 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 AWS 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 (http://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 Codes:

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

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

  • ErrCodeInvalidTagException "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:.

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

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

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.AddTagsToCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
		Tags: []*acm.Tag{ // Required
			{ // Required
				Key:   aws.String("TagKey"), // Required
				Value: aws.String("TagValue"),
			},
			// More values...
		},
	}
	resp, err := svc.AddTagsToCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See AddTagsToCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddTagsToCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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 an ACM Certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list of ACM Certificates 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 other AWS services.

You cannot delete an ACM Certificate that is being used by another AWS 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 Codes:

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

  • ErrCodeResourceInUseException "ResourceInUseException" The certificate is in use by another AWS service in the caller's account. Remove the association and try again.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.DeleteCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
	}
	resp, err := svc.DeleteCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See DeleteCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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.

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 Codes:

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.DescribeCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
	}
	resp, err := svc.DescribeCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See DescribeCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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) GetCertificate

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

GetCertificate API operation for AWS Certificate Manager.

Retrieves an ACM Certificate and certificate chain for the certificate specified by an ARN. The chain is an ordered list of certificates that contains the root certificate, intermediate certificates of subordinate CAs, and the ACM Certificate. The certificate and certificate chain are base64 encoded. If you want to decode the certificate chain to see the individual certificate fields, you can use OpenSSL.

Currently, ACM Certificates can be used only with Elastic Load Balancing and Amazon CloudFront.

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 Codes:

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

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.GetCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
	}
	resp, err := svc.GetCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See GetCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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 an SSL/TLS certificate into AWS Certificate Manager (ACM) to use with ACM's integrated AWS services (http://docs.aws.amazon.com/acm/latest/userguide/acm-services.html).

ACM does not provide managed renewal (http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for certificates that you import.

For more information about importing certificates into ACM, including the differences between certificates that you import and those that ACM provides, see Importing Certificates (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the AWS Certificate Manager User Guide.

To import a certificate, you must provide the certificate and the matching private key. When the certificate is not self-signed, you must also provide a certificate chain. You can omit the certificate chain when importing a self-signed certificate.

The certificate, private key, and certificate chain must be PEM-encoded. For more information about converting these items to PEM format, see Importing Certificates Troubleshooting (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html#import-certificate-troubleshooting) in the AWS Certificate Manager User Guide.

To import a new certificate, omit the CertificateArn field. Include this field only when you want to replace a previously imported certificate.

This operation returns the Amazon Resource Name (ARN) (http://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 Codes:

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

  • ErrCodeLimitExceededException "LimitExceededException" An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html) topic.

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.ImportCertificateInput{
		Certificate:      []byte("PAYLOAD"), // Required
		PrivateKey:       []byte("PAYLOAD"), // Required
		CertificateArn:   aws.String("Arn"),
		CertificateChain: []byte("PAYLOAD"),
	}
	resp, err := svc.ImportCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See ImportCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ImportCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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 ACM Certificates and the domain name for each. You can optionally filter the list to return only the certificates that match the specified status.

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.ListCertificatesInput{
		CertificateStatuses: []*string{
			aws.String("CertificateStatus"), // Required
			// More values...
		},
		MaxItems:  aws.Int64(1),
		NextToken: aws.String("NextToken"),
	}
	resp, err := svc.ListCertificates(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 *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 can be used to capture response data after the request's "Send" method is called.

See ListCertificates for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListCertificates method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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 Codes:

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.ListTagsForCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
	}
	resp, err := svc.ListTagsForCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See ListTagsForCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTagsForCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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) 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 Codes:

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

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

  • ErrCodeInvalidTagException "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:.

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

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.RemoveTagsFromCertificateInput{
		CertificateArn: aws.String("Arn"), // Required
		Tags: []*acm.Tag{ // Required
			{ // Required
				Key:   aws.String("TagKey"), // Required
				Value: aws.String("TagValue"),
			},
			// More values...
		},
	}
	resp, err := svc.RemoveTagsFromCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See RemoveTagsFromCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveTagsFromCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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) RequestCertificate

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

RequestCertificate API operation for AWS Certificate Manager.

Requests an ACM Certificate for use with other AWS services. To request an ACM Certificate, you must specify the fully qualified domain name (FQDN) for your site. You can also specify additional FQDNs if users can reach your site by using other names. For each domain name you specify, email is sent to the domain owner to request approval to issue the certificate. After receiving approval from the domain owner, the ACM Certificate is issued. For more information, see the AWS Certificate Manager User Guide (http://docs.aws.amazon.com/acm/latest/userguide/).

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 Codes:

  • ErrCodeLimitExceededException "LimitExceededException" An ACM limit has been exceeded. For example, you may have input more domains than are allowed or you've requested too many certificates for your account. See the exception message returned by ACM to determine which limit you have violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html) topic.

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

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

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.RequestCertificateInput{
		DomainName: aws.String("DomainNameString"), // Required
		DomainValidationOptions: []*acm.DomainValidationOption{
			{ // Required
				DomainName:       aws.String("DomainNameString"), // Required
				ValidationDomain: aws.String("DomainNameString"), // Required
			},
			// More values...
		},
		IdempotencyToken: aws.String("IdempotencyToken"),
		SubjectAlternativeNames: []*string{
			aws.String("DomainNameString"), // Required
			// More values...
		},
	}
	resp, err := svc.RequestCertificate(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See RequestCertificate for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RequestCertificate method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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.

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 Codes:

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

  • ErrCodeInvalidStateException "InvalidStateException" Processing has reached an invalid state. For example, this exception can occur if the specified domain is not using email validation, or the current certificate status does not permit the requested operation. See the exception message returned by ACM to determine which state is not valid.

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

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

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

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := acm.New(sess)

	params := &acm.ResendValidationEmailInput{
		CertificateArn:   aws.String("Arn"),              // Required
		Domain:           aws.String("DomainNameString"), // Required
		ValidationDomain: aws.String("DomainNameString"), // Required
	}
	resp, err := svc.ResendValidationEmail(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

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 can be used to capture response data after the request's "Send" method is called.

See ResendValidationEmail for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResendValidationEmail method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// 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)
}

Please also see 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.

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) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateRequest

func (AddTagsToCertificateInput) GoString

func (s AddTagsToCertificateInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateOutput

func (AddTagsToCertificateOutput) GoString

func (s AddTagsToCertificateOutput) GoString() string

GoString returns the string representation

func (AddTagsToCertificateOutput) String

String returns the string representation

type CertificateDetail

type CertificateDetail struct {

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

	// The time at which the certificate was requested. This value exists only when
	// the certificate type is AMAZON_ISSUED.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"unix"`

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

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

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

	// A list of ARNs for the AWS resources that are using the certificate. A certificate
	// can be used by multiple AWS 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" timestampFormat:"unix"`

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

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

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

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

	// Contains information about the status of ACM's managed renewal (http://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" timestampFormat:"unix"`

	// 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.
	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 (http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html)
	// for imported certificates. For more information about the differences between
	// certificates that you import and those that ACM provides, see Importing Certificates
	// (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
	// in the AWS 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail

func (CertificateDetail) GoString

func (s CertificateDetail) GoString() string

GoString returns the string representation

func (*CertificateDetail) SetCertificateArn

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

SetCertificateArn sets the CertificateArn 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) 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) 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) 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

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) and AWS
	// Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	CertificateArn *string `min:"20" type:"string"`

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

This structure is returned in the response object of ListCertificates action. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateSummary

func (CertificateSummary) GoString

func (s CertificateSummary) GoString() string

GoString returns the string representation

func (*CertificateSummary) SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

func (*CertificateSummary) SetDomainName

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

SetDomainName sets the DomainName field's value.

func (CertificateSummary) String

func (s CertificateSummary) String() string

String returns the string representation

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) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateRequest

func (DeleteCertificateInput) GoString

func (s DeleteCertificateInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateOutput

func (DeleteCertificateOutput) GoString

func (s DeleteCertificateOutput) GoString() string

GoString returns the string representation

func (DeleteCertificateOutput) String

func (s DeleteCertificateOutput) String() string

String returns the string representation

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) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateRequest

func (DescribeCertificateInput) GoString

func (s DescribeCertificateInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateResponse

func (DescribeCertificateOutput) GoString

func (s DescribeCertificateOutput) GoString() string

GoString returns the string representation

func (*DescribeCertificateOutput) SetCertificate

SetCertificate sets the Certificate field's value.

func (DescribeCertificateOutput) String

func (s DescribeCertificateOutput) String() string

String returns the string representation

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

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

	// The validation status of the domain name.
	ValidationStatus *string `type:"string" enum:"DomainStatus"`
	// contains filtered or unexported fields
}

Contains information about the validation of each domain name in the certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidation

func (DomainValidation) GoString

func (s DomainValidation) GoString() string

GoString returns the string representation

func (*DomainValidation) SetDomainName

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

SetDomainName sets the DomainName 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) 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

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 to validate your ownership of the domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationOption

func (DomainValidationOption) GoString

func (s DomainValidationOption) GoString() string

GoString returns the string representation

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

func (*DomainValidationOption) Validate

func (s *DomainValidationOption) Validate() error

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

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) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateRequest

func (GetCertificateInput) GoString

func (s GetCertificateInput) GoString() string

GoString returns the string representation

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

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 {

	// String that contains the ACM Certificate represented by the ARN specified
	// at input.
	Certificate *string `min:"1" type:"string"`

	// The certificate chain that contains the root certificate issued by the certificate
	// authority (CA).
	CertificateChain *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse

func (GetCertificateOutput) GoString

func (s GetCertificateOutput) GoString() string

GoString returns the string representation

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

type ImportCertificateInput

type ImportCertificateInput struct {

	// The certificate to import. It must meet the following requirements:
	//
	//    * Must be PEM-encoded.
	//
	//    * Must contain a 1024-bit or 2048-bit RSA public key.
	//
	//    * Must be valid at the time of import. You cannot import a certificate
	//    before its validity period begins (the certificate's NotBefore date) or
	//    after it expires (the certificate's NotAfter date).
	//
	// 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) (http://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 certificate chain. It must be PEM-encoded.
	//
	// 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. It must meet
	// the following requirements:
	//
	//    * Must be PEM-encoded.
	//
	//    * Must be unencrypted. You cannot import a private key that is protected
	//    by a password or passphrase.
	//
	// PrivateKey is automatically base64 encoded/decoded by the SDK.
	//
	// PrivateKey is a required field
	PrivateKey []byte `min:"1" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateRequest

func (ImportCertificateInput) GoString

func (s ImportCertificateInput) GoString() string

GoString returns the string representation

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) String

func (s ImportCertificateInput) String() string

String returns the string representation

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) (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateResponse

func (ImportCertificateOutput) GoString

func (s ImportCertificateOutput) GoString() string

GoString returns the string representation

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

type ListCertificatesInput

type ListCertificatesInput struct {

	// The status or statuses on which to filter the list of ACM Certificates.
	CertificateStatuses []*string `type:"list"`

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesRequest

func (ListCertificatesInput) GoString

func (s ListCertificatesInput) GoString() string

GoString returns the string representation

func (*ListCertificatesInput) SetCertificateStatuses

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

SetCertificateStatuses sets the CertificateStatuses 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) String

func (s ListCertificatesInput) String() string

String returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse

func (ListCertificatesOutput) GoString

func (s ListCertificatesOutput) GoString() string

GoString returns the string representation

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

type ListTagsForCertificateInput

type ListTagsForCertificateInput struct {

	// String that contains the ARN of the ACM Certificate for which you want to
	// list the tags. This has the following form:
	//
	// arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
	//
	// For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateRequest

func (ListTagsForCertificateInput) GoString

func (s ListTagsForCertificateInput) GoString() string

GoString returns the string representation

func (*ListTagsForCertificateInput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (ListTagsForCertificateInput) String

String returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateResponse

func (ListTagsForCertificateOutput) GoString

func (s ListTagsForCertificateOutput) GoString() string

GoString returns the string representation

func (*ListTagsForCertificateOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForCertificateOutput) String

String returns the string representation

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) and AWS
	// Service Namespaces (http://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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateRequest

func (RemoveTagsFromCertificateInput) GoString

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateOutput

func (RemoveTagsFromCertificateOutput) GoString

GoString returns the string representation

func (RemoveTagsFromCertificateOutput) String

String returns the string representation

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

Contains information about the status of ACM's managed renewal (http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for the certificate. This structure exists only when the certificate type is AMAZON_ISSUED. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewalSummary

func (RenewalSummary) GoString

func (s RenewalSummary) GoString() string

GoString returns the string representation

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) String

func (s RenewalSummary) String() string

String returns the string representation

type RequestCertificateInput

type RequestCertificateInput struct {

	// Fully qualified domain name (FQDN), such as www.example.com, of the site
	// that you want to secure with an ACM Certificate. Use an asterisk (*) to create
	// a wildcard certificate that protects several sites in the same domain. For
	// example, *.example.com protects www.example.com, site.example.com, and images.example.com.
	//
	// 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 to validate your
	// ownership of the domain.
	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"`

	// 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.
	SubjectAlternativeNames []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest

func (RequestCertificateInput) GoString

func (s RequestCertificateInput) GoString() string

GoString returns the string representation

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) SetSubjectAlternativeNames

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

SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.

func (RequestCertificateInput) String

func (s RequestCertificateInput) String() string

String returns the string representation

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateResponse

func (RequestCertificateOutput) GoString

func (s RequestCertificateOutput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailRequest

func (ResendValidationEmailInput) GoString

func (s ResendValidationEmailInput) GoString() string

GoString returns the string representation

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

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailOutput

func (ResendValidationEmailOutput) GoString

func (s ResendValidationEmailOutput) GoString() string

GoString returns the string representation

func (ResendValidationEmailOutput) String

String returns the string representation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

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

func (*Tag) Validate

func (s *Tag) Validate() error

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

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