MCPcopy Create free account

hub / github.com/aws/smithy-go / functions

Functions4,136 in github.com/aws/smithy-go

↓ 1 callersMethodHandleDeserialize
HandleDeserialize implements DeserializeHandler, converts types and delegates to underlying generic handler.
middleware/step_deserialize.go:269
↓ 1 callersMethodHandleFinalize
HandleFinalize implements FinalizeHandler, converts types and delegates to underlying generic handler.
middleware/step_finalize.go:268
↓ 1 callersMethodHandleInitialize
HandleInitialize implements InitializeHandler, converts types and delegates to underlying generic handler.
middleware/step_initialize.go:269
↓ 1 callersMethodHandleMiddleware
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 callersMethodHandleSerialize
HandleSerialize implements SerializeHandler, converts types and delegates to underlying generic handler.
middleware/step_serialize.go:275
↓ 1 callersMethodHandleSerialize
HandleSerialize gzip compress the request's stream/body if enabled by config fields
private/requestcompression/request_compression.go:52
↓ 1 callersMethodHas
Has returns whether the key exists in the metadata. Panics if the key type is not comparable.
middleware/metadata.go:59
↓ 1 callersFunctionHasHeader
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 callersMethodHasHeader
HasHeader returns if a header with the key specified exists with one or more value.
encoding/httpbinding/encode.go:100
↓ 1 callersFunctionHasHeaderKeys
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 callersFunctionHasQuery
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 callersMethodHasQuery
HasQuery returns if a query with the key specified exists with one or more values.
encoding/httpbinding/encode.go:121
↓ 1 callersFunctionHasQueryKeys
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 callersMethodHeaders
Headers returns a Header used for encoding headers with the given prefix
encoding/httpbinding/encode.go:91
↓ 1 callersFunctionInitializeMiddlewareFunc
InitializeMiddlewareFunc returns a InitializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_initialize.go:48
↓ 1 callersMethodInsert
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 callersFunctionInt16Map
Int16Map returns a map of int16 pointers from the values passed in.
ptr/to_ptr.go:172
↓ 1 callersFunctionInt16Slice
Int16Slice returns a slice of int16 pointers from the values passed in.
ptr/to_ptr.go:160
↓ 1 callersFunctionInt32Map
Int32Map returns a map of int32 pointers from the values passed in.
ptr/to_ptr.go:201
↓ 1 callersFunctionInt32Slice
Int32Slice returns a slice of int32 pointers from the values passed in.
ptr/to_ptr.go:189
↓ 1 callersFunctionInt63n
Int63n returns a int64 between zero and value of max, read from an io.Reader source.
rand/rand.go:18
↓ 1 callersMethodInt64Counter
integer/synchronous
metrics/metrics.go:26
↓ 1 callersMethodInt64Gauge
(name string, opts ...InstrumentOption)
metrics/metrics.go:28
↓ 1 callersMethodInt64Histogram
(name string, opts ...InstrumentOption)
metrics/metrics.go:29
↓ 1 callersFunctionInt64Map
Int64Map returns a map of int64 pointers from the values passed in.
ptr/to_ptr.go:230
↓ 1 callersFunctionInt64Slice
Int64Slice returns a slice of int64 pointers from the values passed in.
ptr/to_ptr.go:218
↓ 1 callersFunctionInt8Map
Int8Map returns a map of int8 pointers from the values passed in.
ptr/to_ptr.go:143
↓ 1 callersFunctionInt8Slice
Int8Slice returns a slice of int8 pointers from the values passed in.
ptr/to_ptr.go:131
↓ 1 callersFunctionIntMap
IntMap returns a map of int pointers from the values passed in.
ptr/to_ptr.go:114
↓ 1 callersFunctionIntSlice
IntSlice returns a slice of int pointers from the values passed in.
ptr/to_ptr.go:102
↓ 1 callersMethodIsHTTPS
IsHTTPS returns if the request is HTTPS. Returns false if no endpoint URL is set.
transport/http/request.go:37
↓ 1 callersMethodIsSigned
(string)
aws-http-auth/v4/v4.go:60
↓ 1 callersMethodIsUnitShape
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 callersFunctionIsValidHostLabel
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 callersFunctionJoinPath
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 callersFunctionJoinRawQuery
JoinRawQuery returns an absolute raw query expression. Any duplicate '&' will be collapsed to single separator between values.
transport/http/url.go:28
↓ 1 callersMethodLen
Len returns the number of invalid parameter errors
validation.go:39
↓ 1 callersMethodList
List returns a list of all middleware in the stack by step.
middleware/stack.go:113
↓ 1 callersMethodLoad
(t interface{})
document/internal/serde/field_cache.go:14
↓ 1 callersMethodLoadOrStore
(t interface{}, fs *CachedFields)
document/internal/serde/field_cache.go:21
↓ 1 callersMethodLogf
Logf logs the given classification and message to the underlying logger.
logging/logger.go:69
↓ 1 callersMethodLookupEntry
LookupEntry returns the registry entry for the given shape ID.
type_registry.go:35
↓ 1 callersFunctionNewAnonymousScheme
NewAnonymousScheme returns the anonymous HTTP auth scheme.
transport/http/auth_schemes.go:11
↓ 1 callersFunctionNewAuthenticationMiddleware
NewAuthenticationMiddleware returns an initialized AuthenticationMiddleware.
auth/bearer/middleware.go:38
↓ 1 callersFunctionNewBuildStep
NewBuildStep returns an BuildStep ready to have middleware for build added to it.
middleware/step_build.go:85
↓ 1 callersFunctionNewClientHandler
NewClientHandler returns an initialized middleware handler for the client. Deprecated: Use [NewClientHandlerWithOptions].
transport/http/client.go:39
↓ 1 callersFunctionNewClientHandlerWithOptions
NewClientHandlerWithOptions returns an initialized middleware handler for the client with applied options.
transport/http/client.go:45
↓ 1 callersFunctionNewDeserializeStep
NewDeserializeStep returns an DeserializeStep ready to have middleware for deserialize added to it.
middleware/step_deserialize.go:86
↓ 1 callersFunctionNewEncoderWithRawPath
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 callersFunctionNewEventStreamSigner
NewEventStreamSigner returns an EventStreamSigner for a single stream.
aws-http-auth/sigv4/stream.go:32
↓ 1 callersFunctionNewFinalizeStep
NewFinalizeStep returns an FinalizeStep ready to have middleware for finalize added to it.
middleware/step_finalize.go:85
↓ 1 callersFunctionNewSerializeStep
NewSerializeStep returns an SerializeStep ready to have middleware for serialize added to it.
middleware/step_serialize.go:89
↓ 1 callersFunctionNewShapeDeserializer
NewShapeDeserializer creates a new ShapeDeserializer.
transport/http/protocol/internal/cbor/shape_deserializer.go:48
↓ 1 callersFunctionNewShapeSerializer
NewShapeSerializer creates a new ShapeSerializer.
transport/http/protocol/internal/cbor/shape_serializer.go:32
↓ 1 callersFunctionNewShapeSerializer
NewShapeSerializer returns a serializer for a single Message.
eventstream/serializer.go:26
↓ 1 callersFunctionNewUserAgentBuilder
NewUserAgentBuilder returns a new UserAgentBuilder.
transport/http/user_agent.go:13
↓ 1 callersFunctionNotHaveHeaderKeys
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 callersFunctionNotHaveQueryKeys
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 callersMethodPackage
Package returns the Go package name for the import. Returns alias if set.
ptr/gen_scalars.go:37
↓ 1 callersFunctionParseDateTime
ParseDateTime parses a string as a date-time, (RFC3339 section 5.6) Example: 1985-04-12T23:20:50.52Z
time/time.go:37
↓ 1 callersFunctionParseEpochSeconds
ParseEpochSeconds returns value as a Unix time in seconds with with decimal precision Example: 1515531081.123
time/time.go:77
↓ 1 callersFunctionParseRawQuery
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 callersFunctionParseTag
ParseTag splits a struct field tag into its name and comma-separated options.
document/internal/serde/tags.go:16
↓ 1 callersFunctionParseURL
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 callersMethodPayloadLen
()
eventstream/message.go:77
↓ 1 callersMethodPop
()
middleware/stack.go:194
↓ 1 callersFunctionPopSpan
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 callersFunctionPtrToValue
PtrToValue given the input value will dereference pointers and returning the element pointed to.
document/internal/serde/serde.go:51
↓ 1 callersMethodPutIdleConn
(ctx context.Context)
transport/http/metrics.go:142
↓ 1 callersMethodPutObjectMRAP
(ctx context.Context, in *PutObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:87
↓ 1 callersMethodRead
(p []byte)
transport/http/internal/io/safe_test.go:16
↓ 1 callersMethodRead
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 callersMethodRemove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_initialize.go:196
↓ 1 callersMethodSchemeID
()
transport/http/auth.go:13
↓ 1 callersMethodSetAll
SetAll accepts all of the given Properties into the receiver, overwriting any existing keys in the case of conflicts.
properties.go:49
↓ 1 callersFunctionSetAuthOptions
SetAuthOptions sets auth Options on Properties.
auth/option.go:23
↓ 1 callersFunctionSetDisableDoubleEncoding
SetDisableDoubleEncoding sets whether the payload is unsigned on Properties.
transport/http/properties.go:78
↓ 1 callersMethodSetHeader
SetHeader returns a HeaderValue for setting the given header name
encoding/httpbinding/encode.go:86
↓ 1 callersFunctionSetIsUnsignedPayload
SetIsUnsignedPayload sets whether the payload is unsigned on Properties.
transport/http/properties.go:67
↓ 1 callersFunctionSetSigV4ASigningName
SetSigV4ASigningName sets the signing name on Properties.
transport/http/properties.go:45
↓ 1 callersFunctionSetSigV4ASigningRegions
SetSigV4ASigningRegions sets the v4a signing region set on Properties.
transport/http/properties.go:56
↓ 1 callersFunctionSetSigV4SigningName
SetSigV4SigningName sets the signing name on Properties.
transport/http/properties.go:23
↓ 1 callersFunctionSetSigV4SigningRegion
SetSigV4SigningRegion sets the signing region on Properties.
transport/http/properties.go:34
↓ 1 callersMethodSetStatus
(status SpanStatus)
tracing/tracing.go:72
↓ 1 callersMethodShort
Short encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:119
↓ 1 callersMethodSignMessage
SignMessage computes the signature for the next message in the event stream.
aws-http-auth/sigv4/stream.go:43
↓ 1 callersMethodSignMessage
(headers, payload []byte, signingTime time.Time)
eventstream/signer.go:12
↓ 1 callersMethodSignString
(string)
aws-http-auth/internal/v4/signer.go:43
↓ 1 callersMethodSignWithBearerToken
(context.Context, Token, Message)
auth/bearer/middleware.go:18
↓ 1 callersMethodSignWithBearerToken
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 callersMethodSigner
()
transport/http/auth.go:15
↓ 1 callersFunctionSplitHTTPDateTimestampHeaderListValues
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 callersFunctionSplitHeaderListValues
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 callersFunctionStartSpan
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 callersMethodStartSpan
(ctx context.Context, name string, opts ...SpanOption)
tracing/tracing.go:54
↓ 1 callersMethodStop
()
metrics/metrics.go:103
↓ 1 callersMethodString
String encodes v as a query string value
encoding/httpbinding/query.go:48
↓ 1 callersMethodString
String encodes the value v as the header string value
encoding/httpbinding/header.go:52
↓ 1 callersMethodString
String encodes v as a URI string value
encoding/httpbinding/uri.go:36
↓ 1 callersMethodString
String returns the string output of the XML encoder
encoding/xml/encoder.go:38
← previousnext →1,101–1,200 of 4,136, ranked by callers