Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,136 in github.com/aws/smithy-go
⨍
Functions
4,136
◇
Types & classes
864
↓ 1 callers
Method
HandleDeserialize
HandleDeserialize implements DeserializeHandler, converts types and delegates to underlying generic handler.
middleware/step_deserialize.go:269
↓ 1 callers
Method
HandleFinalize
HandleFinalize implements FinalizeHandler, converts types and delegates to underlying generic handler.
middleware/step_finalize.go:268
↓ 1 callers
Method
HandleInitialize
HandleInitialize implements InitializeHandler, converts types and delegates to underlying generic handler.
middleware/step_initialize.go:269
↓ 1 callers
Method
HandleMiddleware
Performs the middleware's handling of the input, returning the output, or error. The middleware can invoke the next Handler if handling should continu
middleware/middleware.go:38
↓ 1 callers
Method
HandleSerialize
HandleSerialize implements SerializeHandler, converts types and delegates to underlying generic handler.
middleware/step_serialize.go:275
↓ 1 callers
Method
HandleSerialize
HandleSerialize gzip compress the request's stream/body if enabled by config fields
private/requestcompression/request_compression.go:52
↓ 1 callers
Method
Has
Has returns whether the key exists in the metadata. Panics if the key type is not comparable.
middleware/metadata.go:59
↓ 1 callers
Function
HasHeader
HasHeader compares the header values and identifies if the actual header set includes all values specified in the expect set. Returns an error if not.
testing/rest.go:11
↓ 1 callers
Method
HasHeader
HasHeader returns if a header with the key specified exists with one or more value.
encoding/httpbinding/encode.go:100
↓ 1 callers
Function
HasHeaderKeys
HasHeaderKeys validates that header set contains all keys expected. Returns an error if a header key is not in the header set.
testing/rest.go:53
↓ 1 callers
Function
HasQuery
HasQuery validates that the expected set of query items are present in the actual set. Returns an error if any of the expected set are not found in th
testing/rest.go:138
↓ 1 callers
Method
HasQuery
HasQuery returns if a query with the key specified exists with one or more values.
encoding/httpbinding/encode.go:121
↓ 1 callers
Function
HasQueryKeys
HasQueryKeys validates that the actual set of query items contains the keys provided. Returns an error if any key is not found.
testing/rest.go:172
↓ 1 callers
Method
Headers
Headers returns a Header used for encoding headers with the given prefix
encoding/httpbinding/encode.go:91
↓ 1 callers
Function
InitializeMiddlewareFunc
InitializeMiddlewareFunc returns a InitializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_initialize.go:48
↓ 1 callers
Method
Insert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_initialize.go:155
↓ 1 callers
Function
Int16Map
Int16Map returns a map of int16 pointers from the values passed in.
ptr/to_ptr.go:172
↓ 1 callers
Function
Int16Slice
Int16Slice returns a slice of int16 pointers from the values passed in.
ptr/to_ptr.go:160
↓ 1 callers
Function
Int32Map
Int32Map returns a map of int32 pointers from the values passed in.
ptr/to_ptr.go:201
↓ 1 callers
Function
Int32Slice
Int32Slice returns a slice of int32 pointers from the values passed in.
ptr/to_ptr.go:189
↓ 1 callers
Function
Int63n
Int63n returns a int64 between zero and value of max, read from an io.Reader source.
rand/rand.go:18
↓ 1 callers
Method
Int64Counter
integer/synchronous
metrics/metrics.go:26
↓ 1 callers
Method
Int64Gauge
(name string, opts ...InstrumentOption)
metrics/metrics.go:28
↓ 1 callers
Method
Int64Histogram
(name string, opts ...InstrumentOption)
metrics/metrics.go:29
↓ 1 callers
Function
Int64Map
Int64Map returns a map of int64 pointers from the values passed in.
ptr/to_ptr.go:230
↓ 1 callers
Function
Int64Slice
Int64Slice returns a slice of int64 pointers from the values passed in.
ptr/to_ptr.go:218
↓ 1 callers
Function
Int8Map
Int8Map returns a map of int8 pointers from the values passed in.
ptr/to_ptr.go:143
↓ 1 callers
Function
Int8Slice
Int8Slice returns a slice of int8 pointers from the values passed in.
ptr/to_ptr.go:131
↓ 1 callers
Function
IntMap
IntMap returns a map of int pointers from the values passed in.
ptr/to_ptr.go:114
↓ 1 callers
Function
IntSlice
IntSlice returns a slice of int pointers from the values passed in.
ptr/to_ptr.go:102
↓ 1 callers
Method
IsHTTPS
IsHTTPS returns if the request is HTTPS. Returns false if no endpoint URL is set.
transport/http/request.go:37
↓ 1 callers
Method
IsSigned
(string)
aws-http-auth/v4/v4.go:60
↓ 1 callers
Method
IsUnitShape
IsUnitShape returns true if the serialized content represents a Unit shape (a struct with no defined input, marked with the UnitShape trait).
transport/http/protocol/internal/cbor/shape_serializer.go:47
↓ 1 callers
Function
IsValidHostLabel
IsValidHostLabel returns if the input is a single valid [RFC 1123] host label. If allowSubDomains is true, will allow validation to include nested hos
endpoints/private/rulesfn/uri.go:18
↓ 1 callers
Function
JoinPath
JoinPath returns an absolute URL path composed of the two paths provided. Enforces that the returned path begins with '/'. If added path is empty the
transport/http/url.go:8
↓ 1 callers
Function
JoinRawQuery
JoinRawQuery returns an absolute raw query expression. Any duplicate '&' will be collapsed to single separator between values.
transport/http/url.go:28
↓ 1 callers
Method
Len
Len returns the number of invalid parameter errors
validation.go:39
↓ 1 callers
Method
List
List returns a list of all middleware in the stack by step.
middleware/stack.go:113
↓ 1 callers
Method
Load
(t interface{})
document/internal/serde/field_cache.go:14
↓ 1 callers
Method
LoadOrStore
(t interface{}, fs *CachedFields)
document/internal/serde/field_cache.go:21
↓ 1 callers
Method
Logf
Logf logs the given classification and message to the underlying logger.
logging/logger.go:69
↓ 1 callers
Method
LookupEntry
LookupEntry returns the registry entry for the given shape ID.
type_registry.go:35
↓ 1 callers
Function
NewAnonymousScheme
NewAnonymousScheme returns the anonymous HTTP auth scheme.
transport/http/auth_schemes.go:11
↓ 1 callers
Function
NewAuthenticationMiddleware
NewAuthenticationMiddleware returns an initialized AuthenticationMiddleware.
auth/bearer/middleware.go:38
↓ 1 callers
Function
NewBuildStep
NewBuildStep returns an BuildStep ready to have middleware for build added to it.
middleware/step_build.go:85
↓ 1 callers
Function
NewClientHandler
NewClientHandler returns an initialized middleware handler for the client. Deprecated: Use [NewClientHandlerWithOptions].
transport/http/client.go:39
↓ 1 callers
Function
NewClientHandlerWithOptions
NewClientHandlerWithOptions returns an initialized middleware handler for the client with applied options.
transport/http/client.go:45
↓ 1 callers
Function
NewDeserializeStep
NewDeserializeStep returns an DeserializeStep ready to have middleware for deserialize added to it.
middleware/step_deserialize.go:86
↓ 1 callers
Function
NewEncoderWithRawPath
NewHTTPBindingEncoder creates a new encoder from the passed in request. All query and header values will be added on top of the request's existing val
encoding/httpbinding/encode.go:39
↓ 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
NewShapeDeserializer
NewShapeDeserializer creates a new ShapeDeserializer.
transport/http/protocol/internal/cbor/shape_deserializer.go:48
↓ 1 callers
Function
NewShapeSerializer
NewShapeSerializer creates a new ShapeSerializer.
transport/http/protocol/internal/cbor/shape_serializer.go:32
↓ 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
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
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_initialize.go:196
↓ 1 callers
Method
SchemeID
()
transport/http/auth.go:13
↓ 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
← previous
next →
1,101–1,200 of 4,136, ranked by callers