Documentation
¶
Index ¶
- type ClientOptionalDefaults
- type ComplexError
- type ComplexNestedErrorData
- type Defaults
- type FooEnum
- type GreetingStruct
- type IntegerEnum
- type InvalidGreeting
- type RecursiveShapesInputOutputNested1
- type RecursiveShapesInputOutputNested2
- type StructureListMember
- type TestEnum
- type TestIntEnum
- type ValidationException
- type ValidationExceptionField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOptionalDefaults ¶
type ClientOptionalDefaults struct {
Member *int32
// contains filtered or unexported fields
}
type ComplexError ¶
type ComplexError struct {
Message *string
ErrorCodeOverride *string
TopLevel *string
Nested *ComplexNestedErrorData
// contains filtered or unexported fields
}
This error is thrown when a request is invalid.
func (*ComplexError) Error ¶
func (e *ComplexError) Error() string
func (*ComplexError) ErrorCode ¶
func (e *ComplexError) ErrorCode() string
func (*ComplexError) ErrorFault ¶
func (e *ComplexError) ErrorFault() smithy.ErrorFault
func (*ComplexError) ErrorMessage ¶
func (e *ComplexError) ErrorMessage() string
type ComplexNestedErrorData ¶
type ComplexNestedErrorData struct {
Foo *string
// contains filtered or unexported fields
}
type Defaults ¶
type Defaults struct {
DefaultBlob []byte
DefaultBoolean *bool
DefaultByte *int8
DefaultDouble *float64
DefaultEnum TestEnum
DefaultFloat *float32
DefaultIntEnum TestIntEnum
DefaultInteger *int32
DefaultList []string
DefaultLong *int64
DefaultMap map[string]string
DefaultShort *int16
DefaultString *string
DefaultTimestamp *time.Time
EmptyBlob []byte
EmptyString *string
FalseBoolean bool
ZeroByte int8
ZeroDouble float64
ZeroFloat float32
ZeroInteger int32
ZeroLong int64
ZeroShort int16
// contains filtered or unexported fields
}
type FooEnum ¶
type FooEnum string
type GreetingStruct ¶
type GreetingStruct struct {
Hi *string
// contains filtered or unexported fields
}
type IntegerEnum ¶
type IntegerEnum = int32
const ( IntegerEnumA IntegerEnum = 1 IntegerEnumB IntegerEnum = 2 IntegerEnumC IntegerEnum = 3 )
Enum values for IntegerEnum
type InvalidGreeting ¶
type InvalidGreeting struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This error is thrown when an invalid greeting value is provided.
func (*InvalidGreeting) Error ¶
func (e *InvalidGreeting) Error() string
func (*InvalidGreeting) ErrorCode ¶
func (e *InvalidGreeting) ErrorCode() string
func (*InvalidGreeting) ErrorFault ¶
func (e *InvalidGreeting) ErrorFault() smithy.ErrorFault
func (*InvalidGreeting) ErrorMessage ¶
func (e *InvalidGreeting) ErrorMessage() string
type RecursiveShapesInputOutputNested1 ¶
type RecursiveShapesInputOutputNested1 struct {
Foo *string
Nested *RecursiveShapesInputOutputNested2
// contains filtered or unexported fields
}
type RecursiveShapesInputOutputNested2 ¶
type RecursiveShapesInputOutputNested2 struct {
Bar *string
RecursiveMember *RecursiveShapesInputOutputNested1
// contains filtered or unexported fields
}
type StructureListMember ¶
type TestIntEnum ¶
type TestIntEnum = int32
const ( TestIntEnumOne TestIntEnum = 1 TestIntEnumTwo TestIntEnum = 2 )
Enum values for TestIntEnum
type ValidationException ¶
type ValidationException struct {
Message *string
ErrorCodeOverride *string
FieldList []ValidationExceptionField
// contains filtered or unexported fields
}
A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionField ¶
type ValidationExceptionField struct {
// A detailed description of the validation failure.
//
// This member is required.
Message *string
// A JSONPointer expression to the structure member whose value failed to satisfy
// the modeled constraints.
//
// This member is required.
Path *string
// contains filtered or unexported fields
}
Describes one specific validation failure for an input member.
Click to show internal directories.
Click to hide internal directories.