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
BeforeSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:226
↓ 1 callers
Method
BeforeTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:249
↓ 1 callers
Method
BigDecimal
BigDecimal encodes v as JSON value
encoding/json/value.go:108
↓ 1 callers
Method
BigInteger
BigInteger encodes v as JSON value
encoding/json/value.go:103
↓ 1 callers
Method
Blob
Blob encodes v as a base64 query string value
encoding/httpbinding/query.go:37
↓ 1 callers
Function
Bool
Bool returns a pointer value for the bool value passed in.
ptr/to_ptr.go:9
↓ 1 callers
Function
BoolMap
BoolMap returns a map of bool pointers from the values passed in.
ptr/to_ptr.go:27
↓ 1 callers
Function
BoolSlice
BoolSlice returns a slice of bool pointers from the values passed in.
ptr/to_ptr.go:15
↓ 1 callers
Method
Boolean
Boolean encodes v as a JSON boolean
encoding/json/value.go:72
↓ 1 callers
Method
Build
Build returns the constructed User-Agent string. May be called multiple times.
transport/http/user_agent.go:28
↓ 1 callers
Function
Byte
Byte returns a pointer value for the byte value passed in.
ptr/to_ptr.go:38
↓ 1 callers
Method
Byte
Byte encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:113
↓ 1 callers
Function
ByteMap
ByteMap returns a map of byte pointers from the values passed in.
ptr/to_ptr.go:56
↓ 1 callers
Function
ByteSlice
ByteSlice returns a slice of byte pointers from the values passed in.
ptr/to_ptr.go:44
↓ 1 callers
Method
Bytes
Bytes returns the []byte slice of the XML encoder
encoding/xml/encoder.go:43
↓ 1 callers
Method
Bytes
Bytes returns the []byte slice of the JSON encoder
encoding/json/encoder.go:28
↓ 1 callers
Method
Bytes
Bytes returns the serialized CBOR bytes.
transport/http/protocol/internal/cbor/shape_serializer.go:41
↓ 1 callers
Method
Bytes
Bytes returns the serialized body bytes.
transport/http/protocol/internal/httpbinding/serializer.go:195
↓ 1 callers
Method
Clear
Clear removes all middleware in the step.
middleware/step_build.go:237
↓ 1 callers
Method
Clear
Clear removes all middleware in the step.
middleware/step_initialize.go:238
↓ 1 callers
Function
ClearStackValues
ClearStackValues returns a context without any stack values.
middleware/stack_values.go:20
↓ 1 callers
Method
Clone
Clone creates a shallow copy of Metadata entries, returning a new Metadata value with the original entries copied into it.
middleware/metadata.go:30
↓ 1 callers
Method
Close
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 1 callers
Method
Close
Close stops the reader and releases the underlying stream. Close is safe for concurrent calls.
transport/http/eventstream.go:188
↓ 1 callers
Method
Close
Close sends a signed empty message to signal end-of-stream, then closes the underlying writer.
eventstream/signer.go:54
↓ 1 callers
Method
CloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:224
↓ 1 callers
Method
CloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:245
↓ 1 callers
Method
CloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:233
↓ 1 callers
Method
CloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:217
↓ 1 callers
Function
CollectUnknownField
CollectUnknownField grabs the contents of unknown fields from the decoder body and returns them as a byte slice. This is useful for skipping unknown f
encoding/json/decoder_util.go:45
↓ 1 callers
Function
CompareReaders
CompareReaders two io.Reader values together to determine if they are equal. Will read the contents of the readers until they are empty.
testing/struct.go:183
↓ 1 callers
Function
ComputeDelay
ComputeDelay computes delay between waiter attempts. The function takes in a current attempt count, minimum delay, maximum delay, and remaining wait t
waiter/waiter.go:17
↓ 1 callers
Method
ConnectStart
(string, string)
transport/http/metrics.go:128
↓ 1 callers
Method
ContentType
ContentType returns the resolved content type for the event message payload after serialization, which may be affected by bindings.
eventstream/serializer.go:35
↓ 1 callers
Method
Context
()
tracing/tracing.go:70
↓ 1 callers
Method
CreateBucket
(ctx context.Context, in *CreateBucketInput)
aws-http-auth/sigv4a/e2e_test.go:41
↓ 1 callers
Method
CreateMRAP
(ctx context.Context, in *CreateMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:254
↓ 1 callers
Method
CreateQueue
all of these method definitions are very repetitive, it would be useful if there was some sort of API model we could generate code from...
aws-http-auth/sigv4/e2e_test.go:34
↓ 1 callers
Function
CryptoRandInt63n
CryptoRandInt63n returns a random int64 between zero and value of max obtained from the crypto rand source.
rand/rand.go:29
↓ 1 callers
Method
DNSStart
(httptrace.DNSStartInfo)
transport/http/metrics.go:124
↓ 1 callers
Method
Decode
Decode unmarshals a CBOR Value into the target.
document/cbor/decode.go:44
↓ 1 callers
Method
DeleteBucket
(ctx context.Context, in *DeleteBucketInput)
aws-http-auth/sigv4a/e2e_test.go:64
↓ 1 callers
Method
DeleteMRAP
(ctx context.Context, in *DeleteMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:315
↓ 1 callers
Method
DeleteObjectMRAP
(ctx context.Context, in *DeleteObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:115
↓ 1 callers
Method
DeleteQueue
(ctx context.Context, in *DeleteQueueInput)
aws-http-auth/sigv4/e2e_test.go:53
↓ 1 callers
Method
Derive
Derive computes and caches the ECDSA key-pair for the identity, returning the result. Future calls to Derive with the same set of credentials (identi
aws-http-auth/sigv4a/credentials.go:48
↓ 1 callers
Method
DescribeMRAPOperation
(ctx context.Context, in *DescribeMRAPOperationInput)
aws-http-auth/sigv4a/e2e_test.go:291
↓ 1 callers
Method
DirectReadList
DirectReadList is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads list elements directly using peek.
transport/http/protocol/internal/json/shape_deserializer.go:827
↓ 1 callers
Method
DirectReadUnion
DirectReadUnion is a concrete-type fast path that avoids interface dispatch. It opens the union object, finds the single non-null member, calls member
transport/http/protocol/internal/json/shape_deserializer.go:705
↓ 1 callers
Function
DiscardUnknownField
DiscardUnknownField discards unknown fields from a decoder body. This function is useful while deserializing a JSON body with additional unknown infor
encoding/json/decoder_util.go:13
↓ 1 callers
Method
Encode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 1 callers
Method
ErrorCode
ErrorCode returns the error code for the API exception.
errors.go:11
↓ 1 callers
Method
ErrorMessage
ErrorMessage returns the error message for the API exception.
errors.go:13
↓ 1 callers
Method
ErrorSet
ErrorSet returns a channel that is closed when an error occurs.
transport/http/eventstream.go:116
↓ 1 callers
Function
EscapePath
EscapePath escapes part of a URL path in Amazon style.
encoding/httpbinding/path_replace.go:82
↓ 1 callers
Method
Expired
Expired returns if the token's Expires time is before or equal to the time provided. If CanExpires is false, Expired will always return false.
auth/bearer/token.go:18
↓ 1 callers
Function
ExtractElement
ExtractElement finds the first occurrence of the named element in the XML and returns it as raw bytes, including the element's opening and closing tag
transport/http/protocol/internal/xml/extract.go:33
↓ 1 callers
Method
Field
Field Returns the field and context the error occurred.
validation.go:92
↓ 1 callers
Method
Filepath
()
middleware/generate.go:382
↓ 1 callers
Function
FinalizeMiddlewareFunc
FinalizeMiddlewareFunc returns a FinalizeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_finalize.go:47
↓ 1 callers
Method
Float32
Float32 returns the number parsed as a 32-bit float, returns a float64.
document/document.go:209
↓ 1 callers
Function
Float32Map
Float32Map returns a map of float32 pointers from the values passed in.
ptr/to_ptr.go:404
↓ 1 callers
Function
Float32Slice
Float32Slice returns a slice of float32 pointers from the values passed in.
ptr/to_ptr.go:392
↓ 1 callers
Method
Float64Counter
floating-point/synchronous
metrics/metrics.go:37
↓ 1 callers
Method
Float64Gauge
(name string, opts ...InstrumentOption)
metrics/metrics.go:39
↓ 1 callers
Function
Float64Map
Float64Map returns a map of float64 pointers from the values passed in.
ptr/to_ptr.go:433
↓ 1 callers
Function
Float64Slice
Float64Slice returns a slice of float64 pointers from the values passed in.
ptr/to_ptr.go:421
↓ 1 callers
Method
Float64UpDownCounter
(name string, opts ...InstrumentOption)
metrics/metrics.go:38
↓ 1 callers
Method
Forget
Forget tells the singleflight to forget about a key. Future calls to Do for this key will call the function rather than waiting for an earlier call t
internal/sync/singleflight/singleflight.go:203
↓ 1 callers
Function
FormatDateTime
FormatDateTime formats value as a date-time, (RFC3339 section 5.6) Example: 1985-04-12T23:20:50.52Z
time/time.go:30
↓ 1 callers
Function
FormatEpochSeconds
FormatEpochSeconds returns value as a Unix time in seconds with with decimal precision Example: 1515531081.123
time/time.go:69
↓ 1 callers
Function
FormatHTTPDate
FormatHTTPDate formats value as a http-date, (RFC 7231#section-7.1.1.1 IMF-fixdate) Example: Tue, 29 Apr 2014 18:30:38 GMT
time/time.go:49
↓ 1 callers
Method
Get
Get attempts to retrieve the value the key points to. Returns nil if the key was not found. Panics if key type is not comparable.
properties.go:24
↓ 1 callers
Method
Get
Get retrieves the middleware identified by id. If the middleware is not present, returns false.
middleware/step_initialize.go:120
↓ 1 callers
Method
Get
Get returns the Value associated with the header. Nil is returned if the value does not exist.
eventstream/header.go:36
↓ 1 callers
Function
GetAuthOptions
GetAuthOptions gets auth Options from Properties.
auth/option.go:17
↓ 1 callers
Function
GetDisableDoubleEncoding
GetDisableDoubleEncoding gets whether the payload is unsigned from Properties.
transport/http/properties.go:72
↓ 1 callers
Function
GetErrorResponseComponents
GetErrorResponseComponents returns the error fields from an xml error response body
encoding/xml/error_utils.go:17
↓ 1 callers
Method
GetIdentity
GetIdentity returns AnonymousIdentity.
auth/identity.go:45
↓ 1 callers
Method
GetIdentityResolver
(schemeID string)
auth/identity.go:25
↓ 1 callers
Function
GetIsContentTypeDefaultValue
GetIsContentTypeDefaultValue returns if the content-type HTTP header on the request is a default value that was auto assigned by an operation serializ
transport/http/middleware_headers.go:25
↓ 1 callers
Function
GetIsUnsignedPayload
GetIsUnsignedPayload gets whether the payload is unsigned from Properties.
transport/http/properties.go:61
↓ 1 callers
Method
GetMRAP
(ctx context.Context, in *GetMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:230
↓ 1 callers
Function
GetOperationTracer
GetOperationTracer returns the embedded operation-scoped Tracer on a Context. The boolean in the return indicates whether a Tracer was actually in th
tracing/context.go:71
↓ 1 callers
Method
GetOrder
GetOrder returns the item in the order it should be invoked in.
middleware/ordered_group.go:131
↓ 1 callers
Method
GetPayloadStream
()
serde.go:113
↓ 1 callers
Function
GetPreserveExpiredValues
GetPreserveExpiredValues looks up, and returns the PreserveExpressValues value in the context. Returning true if enabled, false otherwise.
context/suppress_expired.go:75
↓ 1 callers
Function
GetScalars
()
ptr/gen_scalars.go:8
↓ 1 callers
Function
GetSigV4ASigningName
GetSigV4ASigningName gets the v4a signing name from Properties.
transport/http/properties.go:39
↓ 1 callers
Function
GetSigV4ASigningRegions
GetSigV4ASigningRegion gets the v4a signing region set from Properties.
transport/http/properties.go:50
↓ 1 callers
Function
GetSigV4SigningName
GetSigV4SigningName gets the signing name from Properties.
transport/http/properties.go:17
↓ 1 callers
Function
GetSigV4SigningRegion
GetSigV4SigningRegion gets the signing region from Properties.
transport/http/properties.go:28
↓ 1 callers
Function
Getu4
Getu4 is copied from Go stdlib.
transport/http/protocol/internal/json/internal/stdlib/stdlib.go:21
↓ 1 callers
Method
HTTPResponse
HTTPResponse returns the HTTP response received from the service.
transport/http/response.go:25
↓ 1 callers
Method
HTTPStatusCode
HTTPStatusCode returns the HTTP response status code received from the service.
transport/http/response.go:22
↓ 1 callers
Method
Handle
Handle implements the middleware Handler interface, that will invoke the underlying HTTP client. Requires the input to be a Smithy *Request. Returns a
transport/http/client.go:61
↓ 1 callers
Method
HandleBuild
HandleBuild implements BuildHandler, converts types and delegates to underlying generic handler.
middleware/step_build.go:268
↓ 1 callers
Method
HandleBuild
HandleBuild adds behavior to compute md5 checksum and add content-md5 header on http request
transport/http/checksum_middleware.go:29
↓ 1 callers
Method
HandleBuild
HandleBuild adds the length of the serialized request to the HTTP header if the length can be determined.
transport/http/middleware_content_length.go:67
↓ 1 callers
Method
HandleBuild
(ctx context.Context, input middleware.BuildInput, next middleware.BuildHandler, )
private/protocol/middleware_capture_request.go:29
← previous
next →
1,001–1,100 of 4,136, ranked by callers