// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // You don't have sufficient permission to perform this action. type AccessDeniedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AccessDeniedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AccessDeniedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AccessDeniedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AccessDeniedException" } return *e.ErrorCodeOverride } func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request has conflicting operations. This can occur if you're trying to // perform more than one operation on the same resource at the same time. type ConflictException struct { Message *string ErrorCodeOverride *string Resource *string ResourceType *string noSmithyDocumentSerde } func (e *ConflictException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConflictException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConflictException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConflictException" } return *e.ErrorCodeOverride } func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request couldn't be completed because it contains signal decoders with one // or more validation errors. type DecoderManifestValidationException struct { Message *string ErrorCodeOverride *string InvalidSignals []InvalidSignalDecoder InvalidNetworkInterfaces []InvalidNetworkInterface noSmithyDocumentSerde } func (e *DecoderManifestValidationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *DecoderManifestValidationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *DecoderManifestValidationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "DecoderManifestValidationException" } return *e.ErrorCodeOverride } func (e *DecoderManifestValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request couldn't be completed because the server temporarily failed. type InternalServerException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 noSmithyDocumentSerde } func (e *InternalServerException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InternalServerException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InternalServerException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InternalServerException" } return *e.ErrorCodeOverride } func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The specified node type doesn't match the expected node type for a node. You // can specify the node type as branch, sensor, actuator, or attribute. type InvalidNodeException struct { Message *string ErrorCodeOverride *string InvalidNodes []Node Reason *string noSmithyDocumentSerde } func (e *InvalidNodeException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidNodeException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidNodeException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidNodeException" } return *e.ErrorCodeOverride } func (e *InvalidNodeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request couldn't be completed because it contains signals that aren't valid. type InvalidSignalsException struct { Message *string ErrorCodeOverride *string InvalidSignals []InvalidSignal noSmithyDocumentSerde } func (e *InvalidSignalsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *InvalidSignalsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *InvalidSignalsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidSignalsException" } return *e.ErrorCodeOverride } func (e *InvalidSignalsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // A service quota was exceeded. type LimitExceededException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string noSmithyDocumentSerde } func (e *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *LimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *LimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "LimitExceededException" } return *e.ErrorCodeOverride } func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource wasn't found. type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string noSmithyDocumentSerde } func (e *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ResourceNotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ResourceNotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ResourceNotFoundException" } return *e.ErrorCodeOverride } func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request couldn't be completed due to throttling. type ThrottlingException struct { Message *string ErrorCodeOverride *string QuotaCode *string ServiceCode *string RetryAfterSeconds int32 noSmithyDocumentSerde } func (e *ThrottlingException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ThrottlingException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ThrottlingException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ThrottlingException" } return *e.ErrorCodeOverride } func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The input fails to satisfy the constraints specified by an Amazon Web Services // service. type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason FieldList []ValidationExceptionField noSmithyDocumentSerde } func (e *ValidationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ValidationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ValidationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ValidationException" } return *e.ErrorCodeOverride } func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }