Upgrading github.com/aws/smithy-go 0.5 to 1
Breakingv0.5.0 → v1.28.11Platform1New24Changed5Fixed14Other5
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- This package now requires Go 1.24 or newer to build.
Must act 1 item needs code or config changes
Drops github.com/google/go-cmp.
What you must change
Platform1
Bumps the minimum Go version to 1.24.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
const ExtCBOR: ExtensionID - added:
const ExtHTTPBinding: ExtensionID - added:
const ExtJSON: ExtensionID - added:
const ExtQuery: ExtensionID - added:
const ExtXML: ExtensionID - added:
const ShapeTypeBigDecimal: ShapeType - added:
const ShapeTypeBigInteger: ShapeType - added:
const ShapeTypeBlob: ShapeType - added:
const ShapeTypeBoolean: ShapeType - added:
const ShapeTypeByte: ShapeType - added:
const ShapeTypeDocument: ShapeType - added:
const ShapeTypeDouble: ShapeType - added:
const ShapeTypeEnum: ShapeType - added:
const ShapeTypeFloat: ShapeType - added:
const ShapeTypeIntEnum: ShapeType - added:
const ShapeTypeInteger: ShapeType - added:
const ShapeTypeList: ShapeType - added:
const ShapeTypeLong: ShapeType - added:
const ShapeTypeMap: ShapeType - added:
const ShapeTypeMember: ShapeType - added:
const ShapeTypeOperation: ShapeType - added:
const ShapeTypeResource: ShapeType - added:
const ShapeTypeService: ShapeType - added:
const ShapeTypeSet: ShapeType - added:
const ShapeTypeShort: ShapeType - added:
const ShapeTypeString: ShapeType - added:
const ShapeTypeStructure: ShapeType - added:
const ShapeTypeTimestamp: ShapeType - added:
const ShapeTypeUnion: ShapeType - added:
field OperationSchema.Input: *Schema - added:
field OperationSchema.Output: *Schema - added:
field OperationSchema.Schema: embedded *Schema - added:
field ServiceSchema.Schema: embedded *Schema - added:
field ServiceSchema.Version: string - added:
field ShapeID.Member: string - added:
field ShapeID.Name: string - added:
field ShapeID.Namespace: string - added:
field TypeRegistry.Entries: map[string]*TypeRegistryEntry - added:
field TypeRegistryEntry.New: func() any - added:
field TypeRegistryEntry.Schema: *Schema - added:
func NewOperationSchema(*Schema, *Schema, *Schema) *OperationSchema - added:
func NewSchema(ShapeID, ShapeType, int, ...Trait) *Schema - added:
func NewServiceSchema(*Schema, string) *ServiceSchema - added:
func ReadList(ShapeDeserializer, *Schema, func() error) error - added:
func ReadMap(ShapeDeserializer, *Schema, func(string) error) error - added:
func ReadStruct(ShapeDeserializer, *Schema, func(*Schema) error) error - added:
func ReadUnion(ShapeDeserializer, *Schema, func(*Schema) error) error - added:
func RegistryEntry[T any](*Schema) *TypeRegistryEntry - added:
func SchemaDirectTrait[T Trait](*Schema) (T, bool) - added:
func SchemaExtension[T any](*Schema, ExtensionID, func(*Schema) *T) *T - added:
func SchemaTrait[T Trait](*Schema) (T, bool) - added:
method Deserializable.Deserialize(ShapeDeserializer) error - added:
method DeserializableError.Deserialize(ShapeDeserializer) error - added:
method IndexableTrait.TraitID() ShapeID - added:
method IndexableTrait.TraitIndex() int - added:
method OperationSchema.IsInputEventStream() bool - added:
method OperationSchema.IsOutputEventStream() bool - added:
method Properties.Get(any) any - added:
method Properties.Has(any) bool - added:
method Properties.Set(any, any) - added:
method Properties.SetAll(*Properties) - added:
method Properties.Values() map[any]any - added:
method PropertiesReader.Get(any) any - added:
method Schema.AddMember(string, *Schema, ...Trait) *Schema - added:
method Schema.ID() ShapeID - added:
method Schema.ListMember() *Schema - added:
method Schema.MapKey() *Schema - added:
method Schema.MapValue() *Schema - added:
method Schema.Member(string) *Schema - added:
method Schema.MemberName() string - added:
method Schema.Members() map[string]*Schema - added:
method Schema.TargetID() ShapeID - added:
method Schema.Type() ShapeType - added:
method Serializable.Serialize(ShapeSerializer) - added:
method ShapeDeserializer.ReadBigFloat(*Schema, *big.Float) error - added:
method ShapeDeserializer.ReadBigInt(*Schema, *big.Int) error - added:
method ShapeDeserializer.ReadBlob(*Schema, *[]byte) error - added:
method ShapeDeserializer.ReadBool(*Schema, *bool) error - added:
method ShapeDeserializer.ReadDocument(*Schema, *document.Value) error - added:
method ShapeDeserializer.ReadFloat32(*Schema, *float32) error - added:
method ShapeDeserializer.ReadFloat64(*Schema, *float64) error - added:
method ShapeDeserializer.ReadInt16(*Schema, *int16) error - added:
method ShapeDeserializer.ReadInt32(*Schema, *int32) error - added:
method ShapeDeserializer.ReadInt64(*Schema, *int64) error - added:
method ShapeDeserializer.ReadInt8(*Schema, *int8) error - added:
method ShapeDeserializer.ReadList(*Schema) error - added:
method ShapeDeserializer.ReadListItem(*Schema) (bool, error) - added:
method ShapeDeserializer.ReadMap(*Schema) error - added:
method ShapeDeserializer.ReadMapKey(*Schema) (string, bool, error) - added:
method ShapeDeserializer.ReadNil(*Schema) (bool, error) - added:
method ShapeDeserializer.ReadString(*Schema, *string) error - added:
method ShapeDeserializer.ReadStruct(*Schema) error - added:
method ShapeDeserializer.ReadStructMember() (*Schema, error) - added:
method ShapeDeserializer.ReadTime(*Schema, *time.Time) error - added:
method ShapeDeserializer.ReadUnion(*Schema) (*Schema, error) - added:
method ShapeID.String() string - added:
method ShapeSerializer.Bytes() []byte - added:
method ShapeSerializer.CloseList() - added:
method ShapeSerializer.CloseMap() - added:
method ShapeSerializer.CloseStruct() - added:
method ShapeSerializer.CloseUnion() - added:
method ShapeSerializer.WriteBigFloat(*Schema, *big.Float) - added:
method ShapeSerializer.WriteBigInt(*Schema, *big.Int) - added:
method ShapeSerializer.WriteBlob(*Schema, []byte) - added:
method ShapeSerializer.WriteBool(*Schema, bool) - added:
method ShapeSerializer.WriteDocument(*Schema, document.Value) - added:
method ShapeSerializer.WriteFloat32(*Schema, float32) - added:
method ShapeSerializer.WriteFloat64(*Schema, float64) - added:
method ShapeSerializer.WriteInt16(*Schema, int16) - added:
method ShapeSerializer.WriteInt32(*Schema, int32) - added:
method ShapeSerializer.WriteInt64(*Schema, int64) - added:
method ShapeSerializer.WriteInt8(*Schema, int8) - added:
method ShapeSerializer.WriteKey(*Schema, string) - added:
method ShapeSerializer.WriteList(*Schema) - added:
method ShapeSerializer.WriteMap(*Schema) - added:
method ShapeSerializer.WriteNil(*Schema) - added:
method ShapeSerializer.WriteString(*Schema, string) - added:
method ShapeSerializer.WriteStruct(*Schema) - added:
method ShapeSerializer.WriteTime(*Schema, time.Time) - added:
method ShapeSerializer.WriteUnion(*Schema, *Schema) - added:
method StreamingInput.GetPayloadStream() io.Reader - added:
method StreamingOutput.SetPayloadStream(io.ReadCloser) - added:
method Trait.TraitID() ShapeID - added:
method TypeRegistry.DeserializableError(string) (DeserializableError, bool) - added:
method TypeRegistry.LookupEntry(string) (*TypeRegistryEntry, bool) - added:
type Deserializable: interface - added:
type DeserializableError: interface{Deserializable; error} - added:
type ExtensionID: int - added:
type IndexableTrait: interface{Trait} - added:
type OperationSchema: struct - added:
type Properties: struct - added:
type PropertiesReader: interface - added:
type Schema: struct - added:
type Serializable: interface - added:
type ServiceSchema: struct - added:
type ShapeDeserializer: interface - added:
type ShapeID: struct - added:
type ShapeSerializer: interface - added:
type ShapeType: int - added:
type StreamingInput: interface - added:
type StreamingOutput: interface - added:
type Trait: interface - added:
type TypeRegistry: struct - added:
type TypeRegistryEntry: struct
- added:
const SchemeIDAnonymous - added:
const SchemeIDHTTPAPIKey - added:
const SchemeIDHTTPBasic - added:
const SchemeIDHTTPBearer - added:
const SchemeIDHTTPDigest - added:
const SchemeIDSigV4 - added:
const SchemeIDSigV4A - added:
field Option.IdentityProperties: smithy.Properties - added:
field Option.SchemeID: string - added:
field Option.SignerProperties: smithy.Properties - added:
func GetAuthOptions(*smithy.Properties) ([]*Option, bool) - added:
func SetAuthOptions(*smithy.Properties, []*Option) - added:
method AnonymousIdentity.Expiration() time.Time - added:
method AnonymousIdentityResolver.GetIdentity(context.Context, smithy.Properties) (Identity, error) - added:
method Identity.Expiration() time.Time - added:
method IdentityResolver.GetIdentity(context.Context, smithy.Properties) (Identity, error) - added:
method IdentityResolverOptions.GetIdentityResolver(string) IdentityResolver - added:
type AnonymousIdentity: struct - added:
type AnonymousIdentityResolver: struct - added:
type Identity: interface - added:
type IdentityResolver: interface - added:
type IdentityResolverOptions: interface - added:
type Option: struct
- added:
field StaticTokenProvider.Token: Token - added:
field Token.CanExpire: bool - added:
field Token.Expires: time.Time - added:
field Token.Value: string - added:
field TokenCacheOptions.AsyncRefreshMinimumDelay: time.Duration - added:
field TokenCacheOptions.DisableAsyncRefresh: bool - added:
field TokenCacheOptions.RefreshBeforeExpires: time.Duration - added:
field TokenCacheOptions.RetrieveBearerTokenTimeout: time.Duration - added:
func AddAuthenticationMiddleware(*middleware.Stack, Signer, TokenProvider) error - added:
func NewAuthenticationMiddleware(Signer, TokenProvider) *AuthenticationMiddleware - added:
func NewSignHTTPSMessage() *SignHTTPSMessage - added:
func NewTokenCache(TokenProvider, ...func(*TokenCacheOptions)) *TokenCache - added:
method AuthenticationMiddleware.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method AuthenticationMiddleware.ID() string - added:
method SignHTTPSMessage.SignWithBearerToken(context.Context, Token, Message) (Message, error) - added:
method Signer.SignWithBearerToken(context.Context, Token, Message) (Message, error) - added:
method StaticTokenProvider.RetrieveBearerToken(context.Context) (Token, error) - added:
method Token.Expired(time.Time) bool - added:
method TokenCache.RetrieveBearerToken(context.Context) (Token, error) - added:
method TokenProvider.RetrieveBearerToken(context.Context) (Token, error) - added:
method TokenProviderFunc.RetrieveBearerToken(context.Context) (Token, error) - added:
type AuthenticationMiddleware: struct - added:
type Message: interface - added:
type SignHTTPSMessage: struct - added:
type Signer: interface - added:
type StaticTokenProvider: struct - added:
type Token: struct - added:
type TokenCache: struct - added:
type TokenCacheOptions: struct - added:
type TokenProvider: interface - added:
type TokenProviderFunc: func(context.Context) (Token, error)
- added:
method Cache.Get(interface{}) (interface{}, bool) - added:
method Cache.Put(interface{}, interface{}) - added:
type Cache: interface
- added:
func New(int) cache.Cache
- added:
func GetPreserveExpiredValues(context.Context) bool - added:
func WithPreserveExpiredValues(context.Context, bool) context.Context - added:
func WithSuppressCancel(context.Context) context.Context
- added:
field InvalidMarshalError.Message: string - added:
field InvalidUnmarshalError.Type: reflect.Type - added:
field Opaque.Value: any - added:
field Structure.Discriminator: string - added:
field Structure.Members: map[string]Value - added:
field UnmarshalError.Err: error - added:
field UnmarshalError.Type: reflect.Type - added:
field UnmarshalError.Value: string - added:
field UnmarshalTypeError.Type: reflect.Type - added:
field UnmarshalTypeError.Value: string - added:
func IsNoSerde(interface{}) bool - added:
method InvalidMarshalError.Error() string - added:
method InvalidUnmarshalError.Error() string - added:
method Marshaler.MarshalSmithyDocument() ([]byte, error) - added:
method Number.BigFloat() (*big.Float, error) - added:
method Number.BigInt() (*big.Int, error) - added:
method Number.Float32() (float64, error) - added:
method Number.Float64() (float64, error) - added:
method Number.Int64() (int64, error) - added:
method Number.String() string - added:
method Number.Uint64() (uint64, error) - added:
method UnmarshalError.Error() string - added:
method UnmarshalError.Unwrap() error - added:
method UnmarshalTypeError.Error() string - added:
method Unmarshaler.UnmarshalSmithyDocument(interface{}) error - added:
type Blob: []byte - added:
type Boolean: bool - added:
type InvalidMarshalError: struct - added:
type InvalidUnmarshalError: struct - added:
type List: []Value - added:
type Map: map[string]Value - added:
type Marshaler: interface - added:
type NoSerde: struct - added:
type Null: struct - added:
type Number: string - added:
type Opaque: struct - added:
type String: string - added:
type Structure: struct - added:
type Timestamp: time.Time - added:
type UnmarshalError: struct - added:
type UnmarshalTypeError: struct - added:
type Unmarshaler: interface - added:
type Value: interface
- added:
func NewDecoder(...func(*DecoderOptions)) *Decoder - added:
func NewEncoder(...func(options *EncoderOptions)) *Encoder - added:
method Decoder.DecodeJSONInterface(interface{}, interface{}) error - added:
method Encoder.Encode(interface{}) ([]byte, error) - added:
type Decoder: struct - added:
type DecoderOptions: struct - added:
type Encoder: struct - added:
type EncoderOptions: struct
- added:
field Tag.ID: uint64 - added:
field Tag.Value: Value - added:
func AsBigInt(Value) (*big.Int, error) - added:
func AsFloat32(Value) (float32, error) - added:
func AsFloat64(Value) (float64, error) - added:
func AsInt16(Value) (int16, error) - added:
func AsInt32(Value) (int32, error) - added:
func AsInt64(Value) (int64, error) - added:
func AsInt8(Value) (int8, error) - added:
func AsTime(Value) (time.Time, error) - added:
func Decode([]byte) (Value, error) - added:
func Encode(Value) []byte - added:
type Bool: bool - added:
type EncodeFixedNegInt: uint64 - added:
type EncodeFixedUint: uint64 - added:
type EncodeRaw: []byte - added:
type Float32: float32 - added:
type Float64: float64 - added:
type List: []Value - added:
type Map: map[string]Value - added:
type NegInt: uint64 - added:
type Nil: struct - added:
type Slice: []byte - added:
type String: string - added:
type Tag: struct - added:
type Uint: uint64 - added:
type Undefined: struct - added:
type Value: interface
- added:
func NewEncoderWithRawPath(string, string, string, http.Header) (*Encoder, error) - added:
method Encoder.HasQuery(string) bool
- added:
method Value.ULong(uint64)
- added:
field Endpoint.Headers: http.Header - added:
field Endpoint.Properties: smithy.Properties - added:
field Endpoint.URI: url.URL - added:
type Endpoint: struct
- added:
func Evaluate([]int32, int32, func(int) bool) int32
- added:
field URL.Authority: string - added:
field URL.IsIp: bool - added:
field URL.NormalizedPath: string - added:
field URL.Path: string - added:
field URL.Scheme: string - added:
func IsValidHostLabel(string, bool) bool - added:
func ParseURL(string) *URL - added:
func Split(string, string, int) []string - added:
func SubString(string, int, int, bool) *string - added:
func URIEncode(string) string - added:
method StringSlice.Get(int) *string - added:
type StringSlice: []string - added:
type URL: struct
- added:
const ChunkSignatureHeader - added:
const ContentTypeHeader - added:
const DateHeader - added:
const ErrorCodeHeader - added:
const ErrorMessageHeader - added:
const ErrorMessageType - added:
const EventMessageType - added:
const EventTypeHeader - added:
const ExceptionMessageType - added:
const ExceptionTypeHeader - added:
const MessageTypeHeader - added:
field DecoderOptions.LogMessages: bool - added:
field DecoderOptions.Logger: logging.Logger - added:
field EncoderOptions.LogMessages: bool - added:
field EncoderOptions.Logger: logging.Logger - added:
field Header.Name: string - added:
field Header.Value: Value - added:
field LengthError.Have: int - added:
field LengthError.Part: string - added:
field LengthError.Value: any - added:
field LengthError.Want: int - added:
field Message.Headers: Headers - added:
field Message.Payload: []byte - added:
field ShapeDeserializer.Message: *Message - added:
field ShapeSerializer.Message: *Message - added:
field UnknownMessageError.Message: *Message - added:
field UnknownMessageError.Type: string - added:
field UnknownUnionMember.Tag: string - added:
field UnknownUnionMember.Value: []byte - added:
func EncodeHeaders(io.Writer, Headers) error - added:
func NewDecoder(...func(*DecoderOptions)) *Decoder - added:
func NewEncoder(...func(*EncoderOptions)) *Encoder - added:
func NewShapeDeserializer(*Message, smithy.ShapeDeserializer) *ShapeDeserializer - added:
func NewShapeSerializer(*Message, smithy.ShapeSerializer) *ShapeSerializer - added:
func NewSigningWriter(io.WriteCloser, MessageSigner) *SigningWriter - added:
method BoolValue.Get() any - added:
method BoolValue.String() string - added:
method BytesValue.Get() any - added:
method BytesValue.String() string - added:
method ChecksumError.Error() string - added:
method Decoder.Decode(io.Reader, []byte) (Message, error) - added:
method Encoder.Encode(io.Writer, Message) (error) - added:
method Headers.Clone() Headers - added:
method Headers.Del(string) - added:
method Headers.Get(string) Value - added:
method Headers.Set(string, Value) - added:
method Int16Value.Get() any - added:
method Int16Value.String() string - added:
method Int32Value.Get() any - added:
method Int32Value.String() string - added:
method Int64Value.Get() any - added:
method Int64Value.String() string - added:
method Int8Value.Get() any - added:
method Int8Value.String() string - added:
method LengthError.Error() string - added:
method Message.Clone() Message - added:
method MessageSigner.SignMessage([]byte, []byte, time.Time) ([]byte, error) - added:
method ShapeDeserializer.ReadBigFloat(*smithy.Schema, *big.Float) error - added:
method ShapeDeserializer.ReadBigInt(*smithy.Schema, *big.Int) error - added:
method ShapeDeserializer.ReadBlob(*smithy.Schema, *[]byte) error - added:
method ShapeDeserializer.ReadBool(*smithy.Schema, *bool) error - added:
method ShapeDeserializer.ReadDocument(*smithy.Schema, *document.Value) error - added:
method ShapeDeserializer.ReadFloat32(*smithy.Schema, *float32) error - added:
method ShapeDeserializer.ReadFloat64(*smithy.Schema, *float64) error - added:
method ShapeDeserializer.ReadInt16(*smithy.Schema, *int16) error - added:
method ShapeDeserializer.ReadInt32(*smithy.Schema, *int32) error - added:
method ShapeDeserializer.ReadInt64(*smithy.Schema, *int64) error - added:
method ShapeDeserializer.ReadInt8(*smithy.Schema, *int8) error - added:
method ShapeDeserializer.ReadList(*smithy.Schema) error - added:
method ShapeDeserializer.ReadListItem(*smithy.Schema) (bool, error) - added:
method ShapeDeserializer.ReadMap(*smithy.Schema) error - added:
method ShapeDeserializer.ReadMapKey(*smithy.Schema) (string, bool, error) - added:
method ShapeDeserializer.ReadNil(*smithy.Schema) (bool, error) - added:
method ShapeDeserializer.ReadString(*smithy.Schema, *string) error - added:
method ShapeDeserializer.ReadStruct(*smithy.Schema) error - added:
method ShapeDeserializer.ReadStructMember() (*smithy.Schema, error) - added:
method ShapeDeserializer.ReadTime(*smithy.Schema, *time.Time) error - added:
method ShapeDeserializer.ReadUnion(*smithy.Schema) (*smithy.Schema, error) - added:
method ShapeSerializer.Bytes() []byte - added:
method ShapeSerializer.CloseList() - added:
method ShapeSerializer.CloseMap() - added:
method ShapeSerializer.CloseStruct() - added:
method ShapeSerializer.CloseUnion() - added:
method ShapeSerializer.ContentType() string - added:
method ShapeSerializer.WriteBigFloat(*smithy.Schema, *big.Float) - added:
method ShapeSerializer.WriteBigInt(*smithy.Schema, *big.Int) - added:
method ShapeSerializer.WriteBlob(*smithy.Schema, []byte) - added:
method ShapeSerializer.WriteBool(*smithy.Schema, bool) - added:
method ShapeSerializer.WriteDocument(*smithy.Schema, document.Value) - added:
method ShapeSerializer.WriteFloat32(*smithy.Schema, float32) - added:
method ShapeSerializer.WriteFloat64(*smithy.Schema, float64) - added:
method ShapeSerializer.WriteInt16(*smithy.Schema, int16) - added:
method ShapeSerializer.WriteInt32(*smithy.Schema, int32) - added:
method ShapeSerializer.WriteInt64(*smithy.Schema, int64) - added:
method ShapeSerializer.WriteInt8(*smithy.Schema, int8) - added:
method ShapeSerializer.WriteKey(*smithy.Schema, string) - added:
method ShapeSerializer.WriteList(*smithy.Schema) - added:
method ShapeSerializer.WriteMap(*smithy.Schema) - added:
method ShapeSerializer.WriteNil(*smithy.Schema) - added:
method ShapeSerializer.WriteString(*smithy.Schema, string) - added:
method ShapeSerializer.WriteStruct(*smithy.Schema) - added:
method ShapeSerializer.WriteTime(*smithy.Schema, time.Time) - added:
method ShapeSerializer.WriteUnion(*smithy.Schema, *smithy.Schema) - added:
method SigningWriter.Close() error - added:
method SigningWriter.Write([]byte) (int, error) - added:
method StringValue.Get() any - added:
method StringValue.String() string - added:
method TimestampValue.Get() any - added:
method TimestampValue.MarshalJSON() ([]byte, error) - added:
method TimestampValue.String() string - added:
method UUIDValue.Get() any - added:
method UUIDValue.String() string - added:
method UnknownMessageError.Error() string - added:
method UnknownUnionMember.Deserialize(smithy.ShapeDeserializer) error - added:
method Value.Get() any - added:
method Value.String() string - added:
type BoolValue: bool - added:
type BytesValue: []byte - added:
type ChecksumError: struct - added:
type Decoder: struct - added:
type DecoderOptions: struct - added:
type Encoder: struct - added:
type EncoderOptions: struct - added:
type Header: struct - added:
type Headers: []Header - added:
type Int16Value: int16 - added:
type Int32Value: int32 - added:
type Int64Value: int64 - added:
type Int8Value: int8 - added:
type LengthError: struct - added:
type Message: struct - added:
type MessageSigner: interface - added:
type ShapeDeserializer: struct - added:
type ShapeSerializer: struct - added:
type SigningWriter: struct - added:
type StringValue: string - added:
type TimestampValue: time.Time - added:
type UUIDValue: [16]byte - added:
type UnknownMessageError: struct - added:
type UnknownUnionMember: struct - added:
type Value: interface
- added:
method RingBuffer.Len() int
- added:
method LoggerFunc.Logf(Classification, string, ...interface{}) - added:
type LoggerFunc: func(classification Classification, format string, v ...interface{})
- added:
field InstrumentOptions.Description: string - added:
field InstrumentOptions.UnitLabel: string - added:
field MeterOptions.Properties: smithy.Properties - added:
field RecordMetricOptions.Properties: smithy.Properties - added:
method AsyncInstrument.Stop() - added:
method Float64Counter.Add(context.Context, float64, ...RecordMetricOption) - added:
method Float64Gauge.Sample(context.Context, float64, ...RecordMetricOption) - added:
method Float64Histogram.Record(context.Context, float64, ...RecordMetricOption) - added:
method Float64Observer.Observe(context.Context, float64, ...RecordMetricOption) - added:
method Float64UpDownCounter.Add(context.Context, float64, ...RecordMetricOption) - added:
method Int64Counter.Add(context.Context, int64, ...RecordMetricOption) - added:
method Int64Gauge.Sample(context.Context, int64, ...RecordMetricOption) - added:
method Int64Histogram.Record(context.Context, int64, ...RecordMetricOption) - added:
method Int64Observer.Observe(context.Context, int64, ...RecordMetricOption) - added:
method Int64UpDownCounter.Add(context.Context, int64, ...RecordMetricOption) - added:
method Meter.Float64AsyncCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Float64AsyncGauge(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Float64AsyncUpDownCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Float64Counter(string, ...InstrumentOption) (Float64Counter, error) - added:
method Meter.Float64Gauge(string, ...InstrumentOption) (Float64Gauge, error) - added:
method Meter.Float64Histogram(string, ...InstrumentOption) (Float64Histogram, error) - added:
method Meter.Float64UpDownCounter(string, ...InstrumentOption) (Float64UpDownCounter, error) - added:
method Meter.Int64AsyncCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Int64AsyncGauge(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Int64AsyncUpDownCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method Meter.Int64Counter(string, ...InstrumentOption) (Int64Counter, error) - added:
method Meter.Int64Gauge(string, ...InstrumentOption) (Int64Gauge, error) - added:
method Meter.Int64Histogram(string, ...InstrumentOption) (Int64Histogram, error) - added:
method Meter.Int64UpDownCounter(string, ...InstrumentOption) (Int64UpDownCounter, error) - added:
method MeterProvider.Meter(string, ...MeterOption) Meter - added:
method NopMeter.Float64AsyncCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Float64AsyncGauge(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Float64AsyncUpDownCounter(string, Float64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Float64Counter(string, ...InstrumentOption) (Float64Counter, error) - added:
method NopMeter.Float64Gauge(string, ...InstrumentOption) (Float64Gauge, error) - added:
method NopMeter.Float64Histogram(string, ...InstrumentOption) (Float64Histogram, error) - added:
method NopMeter.Float64UpDownCounter(string, ...InstrumentOption) (Float64UpDownCounter, error) - added:
method NopMeter.Int64AsyncCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Int64AsyncGauge(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Int64AsyncUpDownCounter(string, Int64Callback, ...InstrumentOption) (AsyncInstrument, error) - added:
method NopMeter.Int64Counter(string, ...InstrumentOption) (Int64Counter, error) - added:
method NopMeter.Int64Gauge(string, ...InstrumentOption) (Int64Gauge, error) - added:
method NopMeter.Int64Histogram(string, ...InstrumentOption) (Int64Histogram, error) - added:
method NopMeter.Int64UpDownCounter(string, ...InstrumentOption) (Int64UpDownCounter, error) - added:
method NopMeterProvider.Meter(string, ...MeterOption) Meter - added:
type AsyncInstrument: interface - added:
type Float64Callback: func(context.Context, Float64Observer) - added:
type Float64Counter: interface - added:
type Float64Gauge: interface - added:
type Float64Histogram: interface - added:
type Float64Observer: interface - added:
type Float64UpDownCounter: interface - added:
type InstrumentOption: func(o *InstrumentOptions) - added:
type InstrumentOptions: struct - added:
type Int64Callback: func(context.Context, Int64Observer) - added:
type Int64Counter: interface - added:
type Int64Gauge: interface - added:
type Int64Histogram: interface - added:
type Int64Observer: interface - added:
type Int64UpDownCounter: interface - added:
type Meter: interface - added:
type MeterOption: func(o *MeterOptions) - added:
type MeterOptions: struct - added:
type MeterProvider: interface - added:
type NopMeter: struct - added:
type NopMeterProvider: struct - added:
type RecordMetricOption: func(o *RecordMetricOptions) - added:
type RecordMetricOptions: struct
- removed:
func GetMiddlewareIDs(context.Context) []string - removed:
func RecordMiddleware(context.Context, string) context.Context - added:
func AddEventStreamOutputToMetadata(*Metadata, any) - added:
func ClearStackValues(context.Context) context.Context - added:
func GetEventStreamOutputToMetadata[T any](*Metadata) (*T, bool) - added:
func GetOperationName(context.Context) string - added:
func GetServiceID(context.Context) string - added:
func GetStackValue(context.Context, interface{}) interface - added:
func WithOperationName(context.Context, string) context.Context - added:
func WithServiceID(context.Context, string) context.Context - added:
func WithStackValue(context.Context, interface{}, interface{}) context.Context - added:
method Metadata.Clone() Metadata
- added:
var BigDecimal - added:
var BigInteger - added:
var Blob - added:
var Boolean - added:
var Byte - added:
var Document - added:
var Double - added:
var Float - added:
var Integer - added:
var Long - added:
var PrimitiveBoolean - added:
var PrimitiveByte - added:
var PrimitiveDouble - added:
var PrimitiveFloat - added:
var PrimitiveInteger - added:
var PrimitiveLong - added:
var PrimitiveShort - added:
var Short - added:
var String - added:
var Timestamp - added:
var Unit
- added:
func AddCaptureRequestMiddleware(*middleware.Stack, *http.Request) error
- added:
const GZIP - added:
const MaxRequestMinCompressSizeBytes - added:
func AddCaptureUncompressedRequestMiddleware(*middleware.Stack, *bytes.Buffer) error - added:
func AddRequestCompression(*middleware.Stack, bool, int64, []string) error
- added:
func Duration(time.Duration) *time.Duration - added:
func DurationMap(map[string]time.Duration) map[string]*time.Duration - added:
func DurationSlice([]time.Duration) []*time.Duration - added:
func ToDuration(*time.Duration) (time.Duration) - added:
func ToDurationMap(map[string]*time.Duration) map[string]time.Duration - added:
func ToDurationSlice([]*time.Duration) []time.Duration
- added:
method UUID.GetBytes() ([]byte, error)
- added:
func NewOnceErr() *OnceErr - added:
method OnceErr.Err() error - added:
method OnceErr.ErrorSet() <-chan struct - added:
method OnceErr.SetError(error) - added:
type OnceErr: struct
- changed:
func CompareValues(interface{}, interface{}, ...cmp.Option) error → func CompareValues(interface{}, interface{}, ...interface{}) error - added:
const GZIP - added:
func CompareCBOR(io.Reader, string) error - added:
func CompareCompressedBytes(*bytes.Buffer, io.Reader, bool, int64, string) error - added:
func GzipCompareCompressBytes([]byte, io.Reader) error
- added:
const SpanKindClient: SpanKind - added:
const SpanKindConsumer: SpanKind - added:
const SpanKindInternal: SpanKind - added:
const SpanKindProducer: SpanKind - added:
const SpanKindServer: SpanKind - added:
const SpanStatusError: SpanStatus - added:
const SpanStatusOK: SpanStatus - added:
const SpanStatusUnset: SpanStatus - added:
field EventOptions.Properties: smithy.Properties - added:
field SpanContext.IsRemote: bool - added:
field SpanContext.SpanID: string - added:
field SpanContext.TraceID: string - added:
field SpanOptions.Kind: SpanKind - added:
field SpanOptions.Properties: smithy.Properties - added:
field TracerOptions.Properties: smithy.Properties - added:
func GetOperationTracer(context.Context) (Tracer, bool) - added:
func GetSpan(context.Context) (Span, bool) - added:
func PopSpan(context.Context) (context.Context, Span) - added:
func StartSpan(context.Context, string, ...SpanOption) (context.Context, Span) - added:
func WithOperationTracer(context.Context, Tracer) context.Context - added:
func WithSpan(context.Context, Span) context.Context - added:
method NopTracerProvider.Tracer(string, ...TracerOption) Tracer - added:
method Span.AddEvent(string, ...EventOption) - added:
method Span.Context() SpanContext - added:
method Span.End() - added:
method Span.Name() string - added:
method Span.SetProperty(any, any) - added:
method Span.SetStatus(SpanStatus) - added:
method SpanContext.IsValid() bool - added:
method Tracer.StartSpan(context.Context, string, ...SpanOption) (context.Context, Span) - added:
method TracerProvider.Tracer(string, ...TracerOption) Tracer - added:
type EventOption: func(o *EventOptions) - added:
type EventOptions: struct - added:
type NopTracerProvider: struct - added:
type Span: interface - added:
type SpanContext: struct - added:
type SpanKind: int - added:
type SpanOption: func(o *SpanOptions) - added:
type SpanOptions: struct - added:
type SpanStatus: int - added:
type Tracer: interface - added:
type TracerOption: func(o *TracerOptions) - added:
type TracerOptions: struct - added:
type TracerProvider: interface
- added:
field AWSQueryError.ErrorCode: string - added:
field AWSQueryError.StatusCode: int - added:
field EC2QueryName.Name: string - added:
field Error.Type: string - added:
field HTTP.Code: int - added:
field HTTP.Method: string - added:
field HTTP.URI: string - added:
field HTTPError.Code: int - added:
field HTTPHeader.Name: string - added:
field HTTPPrefixHeaders.Prefix: string - added:
field HTTPQuery.Name: string - added:
field JSONName.Name: string - added:
field MediaType.Type: string - added:
field TimestampFormat.Format: string - added:
field XMLName.Name: string - added:
field XMLNamespace.Prefix: string - added:
field XMLNamespace.URI: string - added:
method AWSQueryCompatible.TraitID() smithy.ShapeID - added:
method AWSQueryError.TraitID() smithy.ShapeID - added:
method AWSQueryError.TraitIndex() int - added:
method ContextParam.TraitID() smithy.ShapeID - added:
method ContextParam.TraitIndex() int - added:
method EC2QueryName.TraitID() smithy.ShapeID - added:
method EC2QueryName.TraitIndex() int - added:
method Error.TraitID() smithy.ShapeID - added:
method EventHeader.TraitID() smithy.ShapeID - added:
method EventHeader.TraitIndex() int - added:
method EventPayload.TraitID() smithy.ShapeID - added:
method EventPayload.TraitIndex() int - added:
method HTTP.TraitID() smithy.ShapeID - added:
method HTTP.TraitIndex() int - added:
method HTTPError.TraitID() smithy.ShapeID - added:
method HTTPError.TraitIndex() int - added:
method HTTPHeader.TraitID() smithy.ShapeID - added:
method HTTPHeader.TraitIndex() int - added:
method HTTPLabel.TraitID() smithy.ShapeID - added:
method HTTPLabel.TraitIndex() int - added:
method HTTPPayload.TraitID() smithy.ShapeID - added:
method HTTPPayload.TraitIndex() int - added:
method HTTPPrefixHeaders.TraitID() smithy.ShapeID - added:
method HTTPPrefixHeaders.TraitIndex() int - added:
method HTTPQuery.TraitID() smithy.ShapeID - added:
method HTTPQuery.TraitIndex() int - added:
method HTTPQueryParams.TraitID() smithy.ShapeID - added:
method HTTPQueryParams.TraitIndex() int - added:
method HTTPResponseCode.TraitID() smithy.ShapeID - added:
method HTTPResponseCode.TraitIndex() int - added:
method HostLabel.TraitID() smithy.ShapeID - added:
method HostLabel.TraitIndex() int - added:
method JSONName.TraitID() smithy.ShapeID - added:
method JSONName.TraitIndex() int - added:
method MediaType.TraitID() smithy.ShapeID - added:
method MediaType.TraitIndex() int - added:
method Sensitive.TraitID() smithy.ShapeID - added:
method Sensitive.TraitIndex() int - added:
method Streaming.TraitID() smithy.ShapeID - added:
method Streaming.TraitIndex() int - added:
method TimestampFormat.TraitID() smithy.ShapeID - added:
method TimestampFormat.TraitIndex() int - added:
method UnitShape.TraitID() smithy.ShapeID - added:
method UnitShape.TraitIndex() int - added:
method XMLAttribute.TraitID() smithy.ShapeID - added:
method XMLAttribute.TraitIndex() int - added:
method XMLFlattened.TraitID() smithy.ShapeID - added:
method XMLFlattened.TraitIndex() int - added:
method XMLName.TraitID() smithy.ShapeID - added:
method XMLName.TraitIndex() int - added:
method XMLNamespace.TraitID() smithy.ShapeID - added:
method XMLNamespace.TraitIndex() int - added:
type AWSQueryCompatible: struct - added:
type AWSQueryError: struct - added:
type ContextParam: struct - added:
type EC2QueryName: struct - added:
type Error: struct - added:
type EventHeader: struct - added:
type EventPayload: struct - added:
type HTTP: struct - added:
type HTTPError: struct - added:
type HTTPHeader: struct - added:
type HTTPLabel: struct - added:
type HTTPPayload: struct - added:
type HTTPPrefixHeaders: struct - added:
type HTTPQuery: struct - added:
type HTTPQueryParams: struct - added:
type HTTPResponseCode: struct - added:
type HostLabel: struct - added:
type JSONName: struct - added:
type MediaType: struct - added:
type Sensitive: struct - added:
type Streaming: struct - added:
type TimestampFormat: struct - added:
type UnitShape: struct - added:
type XMLAttribute: struct - added:
type XMLFlattened: struct - added:
type XMLName: struct - added:
type XMLNamespace: struct
- added:
field ClientHandler.Meter: metrics.Meter - added:
field InterceptAfterDeserialization.Interceptors: []AfterDeserializationInterceptor - added:
field InterceptAfterSerialization.Interceptors: []AfterSerializationInterceptor - added:
field InterceptAfterSigning.Interceptors: []AfterSigningInterceptor - added:
field InterceptAttempt.AfterAttempt: []AfterAttemptInterceptor - added:
field InterceptAttempt.BeforeAttempt: []BeforeAttemptInterceptor - added:
field InterceptBeforeDeserialization.Interceptors: []BeforeDeserializationInterceptor - added:
field InterceptBeforeRetryLoop.Interceptors: []BeforeRetryLoopInterceptor - added:
field InterceptBeforeSerialization.Interceptors: []BeforeSerializationInterceptor - added:
field InterceptBeforeSigning.Interceptors: []BeforeSigningInterceptor - added:
field InterceptExecution.AfterExecution: []AfterExecutionInterceptor - added:
field InterceptExecution.BeforeExecution: []BeforeExecutionInterceptor - added:
field InterceptTransmit.AfterTransmit: []AfterTransmitInterceptor - added:
field InterceptTransmit.BeforeTransmit: []BeforeTransmitInterceptor - added:
field InterceptorContext.Input: any - added:
field InterceptorContext.Output: any - added:
field InterceptorContext.Request: *Request - added:
field InterceptorContext.Response: *Response - added:
field InterceptorRegistry.AfterAttempt: []AfterAttemptInterceptor - added:
field InterceptorRegistry.AfterDeserialization: []AfterDeserializationInterceptor - added:
field InterceptorRegistry.AfterExecution: []AfterExecutionInterceptor - added:
field InterceptorRegistry.AfterSerialization: []AfterSerializationInterceptor - added:
field InterceptorRegistry.AfterSigning: []AfterSigningInterceptor - added:
field InterceptorRegistry.AfterTransmit: []AfterTransmitInterceptor - added:
field InterceptorRegistry.BeforeAttempt: []BeforeAttemptInterceptor - added:
field InterceptorRegistry.BeforeDeserialization: []BeforeDeserializationInterceptor - added:
field InterceptorRegistry.BeforeExecution: []BeforeExecutionInterceptor - added:
field InterceptorRegistry.BeforeRetryLoop: []BeforeRetryLoopInterceptor - added:
field InterceptorRegistry.BeforeSerialization: []BeforeSerializationInterceptor - added:
field InterceptorRegistry.BeforeSigning: []BeforeSigningInterceptor - added:
field InterceptorRegistry.BeforeTransmit: []BeforeTransmitInterceptor - added:
field RequireMinimumProtocol.ProtoMajor: int - added:
field RequireMinimumProtocol.ProtoMinor: int - added:
func AddInitializeStreamWriter(*middleware.Stack) error - added:
func AddNoPayloadDefaultContentTypeRemover(*middleware.Stack) (error) - added:
func AddRequireMinimumProtocol(*middleware.Stack, int, int) error - added:
func CloseResponseBody(context.Context, *Response, bool, error) - added:
func GetDisableDoubleEncoding(*smithy.Properties) (bool, bool) - added:
func GetInputStreamWriter(context.Context) io.WriteCloser - added:
func GetIsContentTypeDefaultValue(context.Context) bool - added:
func GetIsUnsignedPayload(*smithy.Properties) (bool, bool) - added:
func GetSigV4ASigningName(*smithy.Properties) (string, bool) - added:
func GetSigV4ASigningRegions(*smithy.Properties) ([]string, bool) - added:
func GetSigV4SigningName(*smithy.Properties) (string, bool) - added:
func GetSigV4SigningRegion(*smithy.Properties) (string, bool) - added:
func JoinPath(string, string) string - added:
func JoinRawQuery(string, string) string - added:
func NewAnonymousScheme() AuthScheme - added:
func NewClientHandlerWithOptions(ClientDo, ...func(*ClientHandler)) ClientHandler - added:
func NewEventStreamReader(ClientProtocol, *smithy.Schema, *smithy.TypeRegistry, io.ReadCloser) *EventStreamReader - added:
func NewEventStreamWriter(ClientProtocol, *smithy.Schema, io.WriteCloser) *EventStreamWriter - added:
func ParseTime(string) (time.Time, error) - added:
func RemoveNoPayloadDefaultContentTypeRemover(*middleware.Stack) (error) - added:
func SetDisableDoubleEncoding(*smithy.Properties, bool) - added:
func SetIsContentTypeDefaultValue(context.Context, bool) context.Context - added:
func SetIsUnsignedPayload(*smithy.Properties, bool) - added:
func SetSigV4ASigningName(*smithy.Properties, string) - added:
func SetSigV4ASigningRegions(*smithy.Properties, []string) - added:
func SetSigV4SigningName(*smithy.Properties, string) - added:
func SetSigV4SigningRegion(*smithy.Properties, string) - added:
func ValidPortNumber(string) bool - added:
func WithHeaderComment(string, string) func(*middleware.Stack) error - added:
method AfterAttemptInterceptor.AfterAttempt(context.Context, *InterceptorContext) error - added:
method AfterDeserializationInterceptor.AfterDeserialization(context.Context, *InterceptorContext) error - added:
method AfterExecutionInterceptor.AfterExecution(context.Context, *InterceptorContext) error - added:
method AfterSerializationInterceptor.AfterSerialization(context.Context, *InterceptorContext) error - added:
method AfterSigningInterceptor.AfterSigning(context.Context, *InterceptorContext) error - added:
method AfterTransmitInterceptor.AfterTransmit(context.Context, *InterceptorContext) error - added:
method AuthScheme.IdentityResolver(auth.IdentityResolverOptions) auth.IdentityResolver - added:
method AuthScheme.SchemeID() string - added:
method AuthScheme.Signer() Signer - added:
method BeforeAttemptInterceptor.BeforeAttempt(context.Context, *InterceptorContext) error - added:
method BeforeDeserializationInterceptor.BeforeDeserialization(context.Context, *InterceptorContext) error - added:
method BeforeExecutionInterceptor.BeforeExecution(context.Context, *InterceptorContext) error - added:
method BeforeRetryLoopInterceptor.BeforeRetryLoop(context.Context, *InterceptorContext) error - added:
method BeforeSerializationInterceptor.BeforeSerialization(context.Context, *InterceptorContext) error - added:
method BeforeSigningInterceptor.BeforeSigning(context.Context, *InterceptorContext) error - added:
method BeforeTransmitInterceptor.BeforeTransmit(context.Context, *InterceptorContext) error - added:
method ClientProtocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method ClientProtocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method ClientProtocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *Response, smithy.Deserializable) error - added:
method ClientProtocol.HasInitialEventMessage() bool - added:
method ClientProtocol.ID() smithy.ShapeID - added:
method ClientProtocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method ClientProtocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method ClientProtocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *Request) error - added:
method EventStreamReader.Close() error - added:
method EventStreamReader.Closed() <-chan struct - added:
method EventStreamReader.Err() error - added:
method EventStreamReader.ErrorSet() <-chan struct - added:
method EventStreamReader.Events() <-chan smithy.Deserializable - added:
method EventStreamSigner.NewMessageSigner(context.Context, *Request, auth.Identity, smithy.Properties) (eventstream.MessageSigner, error) - added:
method EventStreamWriter.Close() error - added:
method EventStreamWriter.Err() error - added:
method EventStreamWriter.ErrorSet() <-chan struct - added:
method EventStreamWriter.Send(context.Context, *smithy.Schema, smithy.Serializable) error - added:
method InitializeStreamWriter.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method InitializeStreamWriter.ID() string - added:
method InterceptAfterDeserialization.HandleDeserialize(context.Context, middleware.DeserializeInput, middleware.DeserializeHandler) (middleware.DeserializeOutput, middleware.Metadata, error) - added:
method InterceptAfterDeserialization.ID() string - added:
method InterceptAfterSerialization.HandleSerialize(context.Context, middleware.SerializeInput, middleware.SerializeHandler) (middleware.SerializeOutput, middleware.Metadata, error) - added:
method InterceptAfterSerialization.ID() string - added:
method InterceptAfterSigning.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method InterceptAfterSigning.ID() string - added:
method InterceptAttempt.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method InterceptAttempt.ID() string - added:
method InterceptBeforeDeserialization.HandleDeserialize(context.Context, middleware.DeserializeInput, middleware.DeserializeHandler) (middleware.DeserializeOutput, middleware.Metadata, error) - added:
method InterceptBeforeDeserialization.ID() string - added:
method InterceptBeforeRetryLoop.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method InterceptBeforeRetryLoop.ID() string - added:
method InterceptBeforeSerialization.HandleSerialize(context.Context, middleware.SerializeInput, middleware.SerializeHandler) (middleware.SerializeOutput, middleware.Metadata, error) - added:
method InterceptBeforeSerialization.ID() string - added:
method InterceptBeforeSigning.HandleFinalize(context.Context, middleware.FinalizeInput, middleware.FinalizeHandler) (middleware.FinalizeOutput, middleware.Metadata, error) - added:
method InterceptBeforeSigning.ID() string - added:
method InterceptExecution.HandleInitialize(context.Context, middleware.InitializeInput, middleware.InitializeHandler) (middleware.InitializeOutput, middleware.Metadata, error) - added:
method InterceptExecution.ID() string - added:
method InterceptTransmit.HandleDeserialize(context.Context, middleware.DeserializeInput, middleware.DeserializeHandler) (middleware.DeserializeOutput, middleware.Metadata, error) - added:
method InterceptTransmit.ID() string - added:
method InterceptorRegistry.AddAfterAttempt(AfterAttemptInterceptor) - added:
method InterceptorRegistry.AddAfterDeserialization(AfterDeserializationInterceptor) - added:
method InterceptorRegistry.AddAfterExecution(AfterExecutionInterceptor) - added:
method InterceptorRegistry.AddAfterSerialization(AfterSerializationInterceptor) - added:
method InterceptorRegistry.AddAfterSigning(AfterSigningInterceptor) - added:
method InterceptorRegistry.AddAfterTransmit(AfterTransmitInterceptor) - added:
method InterceptorRegistry.AddBeforeAttempt(BeforeAttemptInterceptor) - added:
method InterceptorRegistry.AddBeforeDeserialization(BeforeDeserializationInterceptor) - added:
method InterceptorRegistry.AddBeforeExecution(BeforeExecutionInterceptor) - added:
method InterceptorRegistry.AddBeforeRetryLoop(BeforeRetryLoopInterceptor) - added:
method InterceptorRegistry.AddBeforeSerialization(BeforeSerializationInterceptor) - added:
method InterceptorRegistry.AddBeforeSigning(BeforeSigningInterceptor) - added:
method InterceptorRegistry.AddBeforeTransmit(BeforeTransmitInterceptor) - added:
method InterceptorRegistry.Copy() InterceptorRegistry - added:
method MinimumProtocolError.Error() string - added:
method Request.IsHTTPS() bool - added:
method RequireMinimumProtocol.HandleDeserialize(context.Context, middleware.DeserializeInput, middleware.DeserializeHandler) (middleware.DeserializeOutput, middleware.Metadata, error) - added:
method RequireMinimumProtocol.ID() string - added:
method Signer.SignRequest(context.Context, *Request, auth.Identity, smithy.Properties) error - added:
type AfterAttemptInterceptor: interface - added:
type AfterDeserializationInterceptor: interface - added:
type AfterExecutionInterceptor: interface - added:
type AfterSerializationInterceptor: interface - added:
type AfterSigningInterceptor: interface - added:
type AfterTransmitInterceptor: interface - added:
type AuthScheme: interface - added:
type BeforeAttemptInterceptor: interface - added:
type BeforeDeserializationInterceptor: interface - added:
type BeforeExecutionInterceptor: interface - added:
type BeforeRetryLoopInterceptor: interface - added:
type BeforeSerializationInterceptor: interface - added:
type BeforeSigningInterceptor: interface - added:
type BeforeTransmitInterceptor: interface - added:
type ClientProtocol: interface - added:
type EventStreamReader: struct - added:
type EventStreamSigner: interface - added:
type EventStreamWriter: struct - added:
type InitializeStreamWriter: struct - added:
type InterceptAfterDeserialization: struct - added:
type InterceptAfterSerialization: struct - added:
type InterceptAfterSigning: struct - added:
type InterceptAttempt: struct - added:
type InterceptBeforeDeserialization: struct - added:
type InterceptBeforeRetryLoop: struct - added:
type InterceptBeforeSerialization: struct - added:
type InterceptBeforeSigning: struct - added:
type InterceptExecution: struct - added:
type InterceptTransmit: struct - added:
type InterceptorContext: struct - added:
type InterceptorRegistry: struct - added:
type MinimumProtocolError: struct - added:
type RequireMinimumProtocol: struct - added:
type Signer: interface
- added:
func New10(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
func New11(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct
- added:
func New(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct
- added:
func New(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct
- added:
func New(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct
- added:
func New(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct
- added:
func NewCBOR(*smithy.ServiceSchema, ...func(*ProtocolOptions)) *Protocol - added:
method Protocol.DeserializeEventMessage(*smithy.Schema, *smithy.TypeRegistry, io.Reader) (smithy.Deserializable, error) - added:
method Protocol.DeserializeInitialResponse(*smithy.Schema, io.Reader, smithy.Deserializable) error - added:
method Protocol.DeserializeResponse(context.Context, *smithy.OperationSchema, *smithy.TypeRegistry, *smithyhttp.Response, smithy.Deserializable) error - added:
method Protocol.HasInitialEventMessage() bool - added:
method Protocol.ID() smithy.ShapeID - added:
method Protocol.SerializeEventMessage(*smithy.Schema, *smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeInitialRequest(*smithy.Schema, smithy.Serializable, io.Writer) error - added:
method Protocol.SerializeRequest(context.Context, *smithy.OperationSchema, smithy.Serializable, *smithyhttp.Request) error - added:
type Protocol: struct - added:
type ProtocolOptions: struct