AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ErrCodeAccessDeniedException - ErrCodeUnauthenticatedException

import "github.com/aws/aws-sdk-go/service/lightsail"

const ( ErrCodeAccessDeniedException = "AccessDeniedException" ErrCodeAccountSetupInProgressException = "AccountSetupInProgressException" ErrCodeInvalidInputException = "InvalidInputException" ErrCodeNotFoundException = "NotFoundException" ErrCodeOperationFailureException = "OperationFailureException" ErrCodeServiceException = "ServiceException" ErrCodeUnauthenticatedException = "UnauthenticatedException" )

ErrCodeAccessDeniedException

ErrCodeAccessDeniedException for service response error code "AccessDeniedException".

Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.

ErrCodeAccountSetupInProgressException

ErrCodeAccountSetupInProgressException for service response error code "AccountSetupInProgressException".

Lightsail throws this exception when an account is still in the setup in progress state.

ErrCodeInvalidInputException

ErrCodeInvalidInputException for service response error code "InvalidInputException".

Lightsail throws this exception when user input does not conform to the validation rules of an input field.

Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your AWS Region configuration to us-east-1 to create, view, or edit these resources.

ErrCodeNotFoundException

ErrCodeNotFoundException for service response error code "NotFoundException".

Lightsail throws this exception when it cannot find a resource.

ErrCodeOperationFailureException

ErrCodeOperationFailureException for service response error code "OperationFailureException".

Lightsail throws this exception when an operation fails to execute.

ErrCodeServiceException

ErrCodeServiceException for service response error code "ServiceException".

A general service exception.

ErrCodeUnauthenticatedException

ErrCodeUnauthenticatedException for service response error code "UnauthenticatedException".

Lightsail throws this exception when the user has not been authenticated.

On this page: