Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
3,047 in github.com/aws/smithy-go
⨍
Functions
3,047
◇
Types & classes
681
↓ 1 callers
Function
AsInt16
AsInt16 coerces a Value to its int16 representation if possible.
encoding/cbor/coerce.go:36
↓ 1 callers
Function
AsInt32
AsInt32 coerces a Value to its int32 representation if possible.
encoding/cbor/coerce.go:55
↓ 1 callers
Function
AsInt8
AsInt8 coerces a Value to its int8 representation if possible.
encoding/cbor/coerce.go:17
↓ 1 callers
Function
AsTime
AsTime coerces a Value to its time.Time representation if possible. This coercion will check that the given Value is a Tag with the registered number
encoding/cbor/coerce.go:156
↓ 1 callers
Method
Base64EncodeBytes
Base64EncodeBytes writes v as a base64 value in XML string. It will auto close the parent xml element tag.
encoding/xml/value.go:168
↓ 1 callers
Method
BeforeAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:215
↓ 1 callers
Method
BeforeDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:278
↓ 1 callers
Method
BeforeExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:173
↓ 1 callers
Method
BeforeRetryLoop
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:203
↓ 1 callers
Method
BeforeSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:184
↓ 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
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
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
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
Close
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 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
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
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
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
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
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
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:123
↓ 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
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
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
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
↓ 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
← previous
next →
701–800 of 3,047, ranked by callers