1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package alexaforbusiness
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The resource being created already exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// There is a concurrent modification of resources.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeDeviceNotRegisteredException for service response error code
// "DeviceNotRegisteredException".
//
// The request failed because this device is no longer registered and therefore
// no longer managed by this account.
ErrCodeDeviceNotRegisteredException = "DeviceNotRegisteredException"
// ErrCodeInvalidCertificateAuthorityException for service response error code
// "InvalidCertificateAuthorityException".
//
// The Certificate Authority can't issue or revoke a certificate.
ErrCodeInvalidCertificateAuthorityException = "InvalidCertificateAuthorityException"
// ErrCodeInvalidDeviceException for service response error code
// "InvalidDeviceException".
//
// The device is in an invalid state.
ErrCodeInvalidDeviceException = "InvalidDeviceException"
// ErrCodeInvalidSecretsManagerResourceException for service response error code
// "InvalidSecretsManagerResourceException".
//
// A password in SecretsManager is in an invalid state.
ErrCodeInvalidSecretsManagerResourceException = "InvalidSecretsManagerResourceException"
// ErrCodeInvalidServiceLinkedRoleStateException for service response error code
// "InvalidServiceLinkedRoleStateException".
//
// The service linked role is locked for deletion.
ErrCodeInvalidServiceLinkedRoleStateException = "InvalidServiceLinkedRoleStateException"
// ErrCodeInvalidUserStatusException for service response error code
// "InvalidUserStatusException".
//
// The attempt to update a user is invalid due to the user's current status.
ErrCodeInvalidUserStatusException = "InvalidUserStatusException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// You are performing an action that would put you beyond your account's limits.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNameInUseException for service response error code
// "NameInUseException".
//
// The name sent in the request is already in use.
ErrCodeNameInUseException = "NameInUseException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// The resource is not found.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeResourceAssociatedException for service response error code
// "ResourceAssociatedException".
//
// Another resource is associated with the resource in the request.
ErrCodeResourceAssociatedException = "ResourceAssociatedException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The resource in the request is already in use.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeSkillNotLinkedException for service response error code
// "SkillNotLinkedException".
//
// The skill must be linked to a third-party account.
ErrCodeSkillNotLinkedException = "SkillNotLinkedException"
// ErrCodeUnauthorizedException for service response error code
// "UnauthorizedException".
//
// The caller has no permissions to operate on the resource involved in the
// API call.
ErrCodeUnauthorizedException = "UnauthorizedException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AlreadyExistsException": newErrorAlreadyExistsException,
"ConcurrentModificationException": newErrorConcurrentModificationException,
"DeviceNotRegisteredException": newErrorDeviceNotRegisteredException,
"InvalidCertificateAuthorityException": newErrorInvalidCertificateAuthorityException,
"InvalidDeviceException": newErrorInvalidDeviceException,
"InvalidSecretsManagerResourceException": newErrorInvalidSecretsManagerResourceException,
"InvalidServiceLinkedRoleStateException": newErrorInvalidServiceLinkedRoleStateException,
"InvalidUserStatusException": newErrorInvalidUserStatusException,
"LimitExceededException": newErrorLimitExceededException,
"NameInUseException": newErrorNameInUseException,
"NotFoundException": newErrorNotFoundException,
"ResourceAssociatedException": newErrorResourceAssociatedException,
"ResourceInUseException": newErrorResourceInUseException,
"SkillNotLinkedException": newErrorSkillNotLinkedException,
"UnauthorizedException": newErrorUnauthorizedException,
}
|