types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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
const (
	FooEnumFoo  FooEnum = "Foo"
	FooEnumBaz  FooEnum = "Baz"
	FooEnumBar  FooEnum = "Bar"
	FooEnumOne  FooEnum = "1"
	FooEnumZero FooEnum = "0"
)

Enum values for FooEnum

func (FooEnum) Values

func (FooEnum) Values() []FooEnum

Values returns all known values for FooEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

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 StructureListMember struct {
	A *string

	B *string
	// contains filtered or unexported fields
}

type TestEnum

type TestEnum string
const (
	TestEnumFoo TestEnum = "FOO"
	TestEnumBar TestEnum = "BAR"
	TestEnumBaz TestEnum = "BAZ"
)

Enum values for TestEnum

func (TestEnum) Values

func (TestEnum) Values() []TestEnum

Values returns all known values for TestEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL