Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,329 in github.com/aws/smithy-go
⨍
Functions
4,329
◇
Types & classes
889
↓ 1 callers
Function
NewEventStreamSigner
NewEventStreamSigner returns an EventStreamSigner for a single stream.
aws-http-auth/sigv4/stream.go:32
↓ 1 callers
Function
NewFinalizeStep
NewFinalizeStep returns an FinalizeStep ready to have middleware for finalize added to it.
middleware/step_finalize.go:85
↓ 1 callers
Function
NewSerializeStep
NewSerializeStep returns an SerializeStep ready to have middleware for serialize added to it.
middleware/step_serialize.go:89
↓ 1 callers
Function
NewShapeSerializer
NewShapeSerializer creates a new ShapeSerializer.
transport/http/protocol/internal/cbor/shape_serializer.go:32
↓ 1 callers
Function
NewShapeSerializer
NewShapeSerializer creates a ShapeSerializer for the given operation schema and request. It handles the initial setup from use of an httpbinding.Encod
transport/http/protocol/internal/httpbinding/serializer.go:65
↓ 1 callers
Function
NewShapeSerializer
NewShapeSerializer returns a serializer for a single Message.
eventstream/serializer.go:26
↓ 1 callers
Function
NewUserAgentBuilder
NewUserAgentBuilder returns a new UserAgentBuilder.
transport/http/user_agent.go:13
↓ 1 callers
Function
NotHaveHeaderKeys
NotHaveHeaderKeys validates that header set does not contains any of the keys. Returns an error if a header key is found in the header set.
testing/rest.go:80
↓ 1 callers
Function
NotHaveQueryKeys
NotHaveQueryKeys validates that the actual set of query items does not contain the keys provided. Returns an error if any key is found.
testing/rest.go:205
↓ 1 callers
Method
Package
Package returns the Go package name for the import. Returns alias if set.
ptr/gen_scalars.go:37
↓ 1 callers
Function
ParseDateTime
ParseDateTime parses a string as a date-time, (RFC3339 section 5.6) Example: 1985-04-12T23:20:50.52Z
time/time.go:37
↓ 1 callers
Function
ParseEpochSeconds
ParseEpochSeconds returns value as a Unix time in seconds with with decimal precision Example: 1515531081.123
time/time.go:77
↓ 1 callers
Function
ParseRawQuery
ParseRawQuery returns a slice of QueryItems extracted from the raw query string. The parsed QueryItems preserve escaping of key and values. All + esc
testing/rest.go:118
↓ 1 callers
Function
ParseTag
ParseTag splits a struct field tag into its name and comma-separated options.
document/internal/serde/tags.go:16
↓ 1 callers
Function
ParseURL
ParseURL returns a [URL] if the provided string could be parsed. Returns nil if the string could not be parsed. Any parsing error will be added to the
endpoints/private/rulesfn/uri.go:45
↓ 1 callers
Method
PayloadLen
()
eventstream/message.go:77
↓ 1 callers
Method
Pop
()
middleware/stack.go:194
↓ 1 callers
Function
PopSpan
PopSpan pops the current Span off the context, setting the active Span on the returned Context back to its parent and returning the REMOVED one. PopS
tracing/context.go:44
↓ 1 callers
Function
PtrToValue
PtrToValue given the input value will dereference pointers and returning the element pointed to.
document/internal/serde/serde.go:51
↓ 1 callers
Method
Put
Put returns the buffer if it is within the cap limit.
internal/sync/buffer_pool.go:47
↓ 1 callers
Method
PutIdleConn
(ctx context.Context)
transport/http/metrics.go:142
↓ 1 callers
Method
PutObjectMRAP
(ctx context.Context, in *PutObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:87
↓ 1 callers
Method
Read
(p []byte)
transport/http/internal/io/safe_test.go:16
↓ 1 callers
Method
Read
Read populates the passed in byte slice with the value the ByteLoop was created with. Returns the size of bytes written. If the reader is closed, io.E
testing/reader.go:19
↓ 1 callers
Method
ReadDocument
ReadDocument reads a JSON value into a document Value.
transport/http/protocol/internal/json/shape_deserializer.go:570
↓ 1 callers
Method
ReadMap
ReadMap implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:434
↓ 1 callers
Method
ReadMapKey
ReadMapKey implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:456
↓ 1 callers
Method
ReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:382
↓ 1 callers
Method
ReadStruct
ReadStruct implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:484
↓ 1 callers
Method
ReadStructMember
ReadStructMember implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:506
↓ 1 callers
Method
ReadTime
ReadTime implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:236
↓ 1 callers
Method
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_initialize.go:196
↓ 1 callers
Method
Reset
Reset clears the stack while retaining allocated capacity.
internal/serde/stack.go:42
↓ 1 callers
Function
ResolveProtocolErrorType
ResolveProtocolErrorType resolves the error type from the header value and body info, returning the type and whether one was found.
transport/http/protocol/internal/json/error.go:34
↓ 1 callers
Function
SanitizeErrorCode
SanitizeErrorCode strips namespace prefixes and URI suffixes from error codes received on the wire.
transport/http/protocol/internal/json/error.go:47
↓ 1 callers
Method
SchemeID
()
transport/http/auth.go:13
↓ 1 callers
Method
SchemeID
SchemeID implements [smithyhttp.AuthScheme].
aws-http-auth-schemes/sigv4/auth_scheme.go:23
↓ 1 callers
Method
SchemeID
SchemeID implements [smithyhttp.AuthScheme].
aws-http-auth-schemes/sigv4a/auth_scheme.go:23
↓ 1 callers
Method
Serialize
(s smithy.ShapeSerializer)
transport/http/protocol/internal/httpbinding/serializer_test.go:21
↓ 1 callers
Method
SetAll
SetAll accepts all of the given Properties into the receiver, overwriting any existing keys in the case of conflicts.
properties.go:49
↓ 1 callers
Function
SetAuthOptions
SetAuthOptions sets auth Options on Properties.
auth/option.go:23
↓ 1 callers
Function
SetDisableDoubleEncoding
SetDisableDoubleEncoding sets whether the payload is unsigned on Properties.
transport/http/properties.go:78
↓ 1 callers
Method
SetHeader
SetHeader returns a HeaderValue for setting the given header name
encoding/httpbinding/encode.go:86
↓ 1 callers
Function
SetIsUnsignedPayload
SetIsUnsignedPayload sets whether the payload is unsigned on Properties.
transport/http/properties.go:67
↓ 1 callers
Function
SetSigV4ASigningName
SetSigV4ASigningName sets the signing name on Properties.
transport/http/properties.go:45
↓ 1 callers
Function
SetSigV4ASigningRegions
SetSigV4ASigningRegions sets the v4a signing region set on Properties.
transport/http/properties.go:56
↓ 1 callers
Function
SetSigV4SigningName
SetSigV4SigningName sets the signing name on Properties.
transport/http/properties.go:23
↓ 1 callers
Function
SetSigV4SigningRegion
SetSigV4SigningRegion sets the signing region on Properties.
transport/http/properties.go:34
↓ 1 callers
Method
SetStatus
(status SpanStatus)
tracing/tracing.go:72
↓ 1 callers
Method
Short
Short encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:119
↓ 1 callers
Method
SignMessage
SignMessage computes the signature for the next message in the event stream.
aws-http-auth/sigv4/stream.go:43
↓ 1 callers
Method
SignMessage
(headers, payload []byte, signingTime time.Time)
eventstream/signer.go:12
↓ 1 callers
Method
SignString
(string)
aws-http-auth/internal/v4/signer.go:43
↓ 1 callers
Method
SignWithBearerToken
(context.Context, Token, Message)
auth/bearer/middleware.go:18
↓ 1 callers
Method
SignWithBearerToken
SignWithBearerToken returns a copy of the HTTP request with the bearer token added via the "Authorization" header, per RFC 6750, https://datatracker.i
auth/bearer/middleware.go:90
↓ 1 callers
Method
Signer
()
transport/http/auth.go:15
↓ 1 callers
Function
SplitHTTPDateTimestampHeaderListValues
SplitHTTPDateTimestampHeaderListValues attempts to split the HTTP-Date timestamp values in the slice by commas, and return a list of all values separa
transport/http/headerlist.go:126
↓ 1 callers
Function
SplitHeaderListValues
SplitHeaderListValues attempts to split the elements of the slice by commas, and return a list of all values separated. Returns error if unable to sep
transport/http/headerlist.go:27
↓ 1 callers
Function
StartSpan
StartSpan is a convenience API for creating tracing Spans from a Context. StartSpan uses the operation-scoped Tracer, previously stored using [WithOp
tracing/context.go:93
↓ 1 callers
Method
StartSpan
(ctx context.Context, name string, opts ...SpanOption)
tracing/tracing.go:54
↓ 1 callers
Method
Stop
()
metrics/metrics.go:103
↓ 1 callers
Method
String
String encodes v as a query string value
encoding/httpbinding/query.go:48
↓ 1 callers
Method
String
String encodes the value v as the header string value
encoding/httpbinding/header.go:52
↓ 1 callers
Method
String
String encodes v as a URI string value
encoding/httpbinding/uri.go:36
↓ 1 callers
Method
String
String returns the string output of the XML encoder
encoding/xml/encoder.go:38
↓ 1 callers
Method
String
String returns the String output of the JSON encoder
encoding/json/encoder.go:23
↓ 1 callers
Method
String
()
middleware/stack.go:135
↓ 1 callers
Method
String
()
eventstream/header_value.go:439
↓ 1 callers
Function
StringMap
StringMap returns a map of string pointers from the values passed in.
ptr/to_ptr.go:85
↓ 1 callers
Function
StringSlice
StringSlice returns a slice of string pointers from the values passed in.
ptr/to_ptr.go:73
↓ 1 callers
Function
StructToXML
StructToXML writes an XMLNode to a xml.Encoder as tokens.
testing/xml/xmlToStruct.go:135
↓ 1 callers
Function
SubString
Substring returns the substring of the input provided. If the start or stop indexes are not valid for the input nil will be returned. If errors occur
endpoints/private/rulesfn/strings.go:6
↓ 1 callers
Method
Swap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_build.go:182
↓ 1 callers
Method
Swap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_initialize.go:183
↓ 1 callers
Method
TLSHandshakeStart
()
transport/http/metrics.go:132
↓ 1 callers
Function
Time
Time returns a pointer value for the time.Time value passed in.
ptr/to_ptr.go:444
↓ 1 callers
Function
TimeMap
TimeMap returns a map of time.Time pointers from the values passed in.
ptr/to_ptr.go:462
↓ 1 callers
Function
TimeSlice
TimeSlice returns a slice of time.Time pointers from the values passed in.
ptr/to_ptr.go:450
↓ 1 callers
Method
Tracer
(scope string, opts ...TracerOption)
tracing/tracing.go:34
↓ 1 callers
Function
URIEncode
URIEncode returns an percent-encoded [RFC3986 section 2.1] version of the input string. [RFC3986 section 2.1]: https://www.rfc-editor.org/rfc/rfc3986
endpoints/private/rulesfn/uri.go:95
↓ 1 callers
Function
Uint16Slice
Uint16Slice returns a slice of uint16 pointers from the values passed in.
ptr/to_ptr.go:305
↓ 1 callers
Function
Uint32Map
Uint32Map returns a map of uint32 pointers from the values passed in.
ptr/to_ptr.go:346
↓ 1 callers
Function
Uint32Slice
Uint32Slice returns a slice of uint32 pointers from the values passed in.
ptr/to_ptr.go:334
↓ 1 callers
Function
Uint64Map
Uint64Map returns a map of uint64 pointers from the values passed in.
ptr/to_ptr.go:375
↓ 1 callers
Function
Uint64Slice
Uint64Slice returns a slice of uint64 pointers from the values passed in.
ptr/to_ptr.go:363
↓ 1 callers
Function
Uint8Map
Uint8Map returns a map of uint8 pointers from the values passed in.
ptr/to_ptr.go:288
↓ 1 callers
Function
Uint8Slice
Uint8Slice returns a slice of uint8 pointers from the values passed in.
ptr/to_ptr.go:276
↓ 1 callers
Function
UintSlice
UintSlice returns a slice of uint pointers from the values passed in.
ptr/to_ptr.go:247
↓ 1 callers
Method
Value
Value provides an abstraction to retrieve char data value within an xml element. The method will return an error if it encounters a nested xml element
encoding/xml/xml_decoder.go:106
↓ 1 callers
Method
Value
Value looks up the key, returning its value. If configured to not preserve values of expired context, and the wrapping context is canceled, nil will b
context/suppress_expired.go:28
↓ 1 callers
Method
WithContext
(context.Context)
logging/logger.go:35
↓ 1 callers
Method
WriteBlob
WriteBlob implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:202
↓ 1 callers
Method
WriteBool
WriteBool implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:137
↓ 1 callers
Method
WriteFloat64
WriteFloat64 implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:182
↓ 1 callers
Method
WriteKey
WriteKey implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:237
↓ 1 callers
Method
WriteList
WriteList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:217
↓ 1 callers
Method
WriteMap
WriteMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:230
↓ 1 callers
Method
WriteNil
WriteNil implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:297
↓ 1 callers
Method
WriteString
WriteString implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:131
↓ 1 callers
Method
WriteStruct
WriteStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:220
← previous
next →
1,201–1,300 of 4,329, ranked by callers