MCPcopy Create free account

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

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

↓ 1 callersMethodBeforeSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:226
↓ 1 callersMethodBeforeTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:249
↓ 1 callersMethodBigDecimal
BigDecimal encodes v as JSON value
encoding/json/value.go:108
↓ 1 callersMethodBigInteger
BigInteger encodes v as JSON value
encoding/json/value.go:103
↓ 1 callersMethodBlob
Blob encodes v as a base64 query string value
encoding/httpbinding/query.go:37
↓ 1 callersFunctionBool
Bool returns a pointer value for the bool value passed in.
ptr/to_ptr.go:9
↓ 1 callersFunctionBoolMap
BoolMap returns a map of bool pointers from the values passed in.
ptr/to_ptr.go:27
↓ 1 callersFunctionBoolSlice
BoolSlice returns a slice of bool pointers from the values passed in.
ptr/to_ptr.go:15
↓ 1 callersMethodBoolean
Boolean encodes v as a JSON boolean
encoding/json/value.go:72
↓ 1 callersMethodBuild
Build returns the constructed User-Agent string. May be called multiple times.
transport/http/user_agent.go:28
↓ 1 callersFunctionByte
Byte returns a pointer value for the byte value passed in.
ptr/to_ptr.go:38
↓ 1 callersMethodByte
Byte encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:113
↓ 1 callersFunctionByteMap
ByteMap returns a map of byte pointers from the values passed in.
ptr/to_ptr.go:56
↓ 1 callersFunctionByteSlice
ByteSlice returns a slice of byte pointers from the values passed in.
ptr/to_ptr.go:44
↓ 1 callersMethodBytes
Bytes returns the []byte slice of the XML encoder
encoding/xml/encoder.go:43
↓ 1 callersMethodBytes
Bytes returns the []byte slice of the JSON encoder
encoding/json/encoder.go:28
↓ 1 callersMethodBytes
Bytes returns the serialized CBOR bytes.
transport/http/protocol/internal/cbor/shape_serializer.go:41
↓ 1 callersMethodBytes
Bytes returns the serialized body bytes.
transport/http/protocol/internal/httpbinding/serializer.go:195
↓ 1 callersMethodClear
Clear removes all middleware in the step.
middleware/step_build.go:237
↓ 1 callersMethodClear
Clear removes all middleware in the step.
middleware/step_initialize.go:238
↓ 1 callersFunctionClearStackValues
ClearStackValues returns a context without any stack values.
middleware/stack_values.go:20
↓ 1 callersMethodClone
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 callersMethodClose
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 1 callersMethodClose
Close stops the reader and releases the underlying stream. Close is safe for concurrent calls.
transport/http/eventstream.go:188
↓ 1 callersMethodClose
Close sends a signed empty message to signal end-of-stream, then closes the underlying writer.
eventstream/signer.go:54
↓ 1 callersMethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:224
↓ 1 callersMethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:245
↓ 1 callersMethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:233
↓ 1 callersMethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:217
↓ 1 callersFunctionCollectUnknownField
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 callersFunctionCompareReaders
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 callersFunctionComputeDelay
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 callersMethodConnectStart
(string, string)
transport/http/metrics.go:128
↓ 1 callersMethodContentType
ContentType returns the resolved content type for the event message payload after serialization, which may be affected by bindings.
eventstream/serializer.go:35
↓ 1 callersMethodContext
()
tracing/tracing.go:70
↓ 1 callersMethodCreateBucket
(ctx context.Context, in *CreateBucketInput)
aws-http-auth/sigv4a/e2e_test.go:41
↓ 1 callersMethodCreateMRAP
(ctx context.Context, in *CreateMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:254
↓ 1 callersMethodCreateQueue
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 callersFunctionCryptoRandInt63n
CryptoRandInt63n returns a random int64 between zero and value of max obtained from the crypto rand source.
rand/rand.go:29
↓ 1 callersMethodDNSStart
(httptrace.DNSStartInfo)
transport/http/metrics.go:124
↓ 1 callersMethodDecode
Decode unmarshals a CBOR Value into the target.
document/cbor/decode.go:44
↓ 1 callersMethodDeleteBucket
(ctx context.Context, in *DeleteBucketInput)
aws-http-auth/sigv4a/e2e_test.go:64
↓ 1 callersMethodDeleteMRAP
(ctx context.Context, in *DeleteMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:315
↓ 1 callersMethodDeleteObjectMRAP
(ctx context.Context, in *DeleteObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:115
↓ 1 callersMethodDeleteQueue
(ctx context.Context, in *DeleteQueueInput)
aws-http-auth/sigv4/e2e_test.go:53
↓ 1 callersMethodDerive
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 callersMethodDescribeMRAPOperation
(ctx context.Context, in *DescribeMRAPOperationInput)
aws-http-auth/sigv4a/e2e_test.go:291
↓ 1 callersMethodDirectReadList
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 callersMethodDirectReadUnion
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 callersFunctionDiscardUnknownField
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 callersMethodEncode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 1 callersMethodErrorCode
ErrorCode returns the error code for the API exception.
errors.go:11
↓ 1 callersMethodErrorMessage
ErrorMessage returns the error message for the API exception.
errors.go:13
↓ 1 callersMethodErrorSet
ErrorSet returns a channel that is closed when an error occurs.
transport/http/eventstream.go:116
↓ 1 callersFunctionEscapePath
EscapePath escapes part of a URL path in Amazon style.
encoding/httpbinding/path_replace.go:82
↓ 1 callersMethodExpired
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 callersFunctionExtractElement
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 callersMethodField
Field Returns the field and context the error occurred.
validation.go:92
↓ 1 callersMethodFilepath
()
middleware/generate.go:382
↓ 1 callersFunctionFinalizeMiddlewareFunc
FinalizeMiddlewareFunc returns a FinalizeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_finalize.go:47
↓ 1 callersMethodFloat32
Float32 returns the number parsed as a 32-bit float, returns a float64.
document/document.go:209
↓ 1 callersFunctionFloat32Map
Float32Map returns a map of float32 pointers from the values passed in.
ptr/to_ptr.go:404
↓ 1 callersFunctionFloat32Slice
Float32Slice returns a slice of float32 pointers from the values passed in.
ptr/to_ptr.go:392
↓ 1 callersMethodFloat64Counter
floating-point/synchronous
metrics/metrics.go:37
↓ 1 callersMethodFloat64Gauge
(name string, opts ...InstrumentOption)
metrics/metrics.go:39
↓ 1 callersFunctionFloat64Map
Float64Map returns a map of float64 pointers from the values passed in.
ptr/to_ptr.go:433
↓ 1 callersFunctionFloat64Slice
Float64Slice returns a slice of float64 pointers from the values passed in.
ptr/to_ptr.go:421
↓ 1 callersMethodFloat64UpDownCounter
(name string, opts ...InstrumentOption)
metrics/metrics.go:38
↓ 1 callersMethodForget
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 callersFunctionFormatDateTime
FormatDateTime formats value as a date-time, (RFC3339 section 5.6) Example: 1985-04-12T23:20:50.52Z
time/time.go:30
↓ 1 callersFunctionFormatEpochSeconds
FormatEpochSeconds returns value as a Unix time in seconds with with decimal precision Example: 1515531081.123
time/time.go:69
↓ 1 callersFunctionFormatHTTPDate
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 callersMethodGet
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 callersMethodGet
Get retrieves the middleware identified by id. If the middleware is not present, returns false.
middleware/step_initialize.go:120
↓ 1 callersMethodGet
Get returns the Value associated with the header. Nil is returned if the value does not exist.
eventstream/header.go:36
↓ 1 callersFunctionGetAuthOptions
GetAuthOptions gets auth Options from Properties.
auth/option.go:17
↓ 1 callersFunctionGetDisableDoubleEncoding
GetDisableDoubleEncoding gets whether the payload is unsigned from Properties.
transport/http/properties.go:72
↓ 1 callersFunctionGetErrorResponseComponents
GetErrorResponseComponents returns the error fields from an xml error response body
encoding/xml/error_utils.go:17
↓ 1 callersMethodGetIdentity
GetIdentity returns AnonymousIdentity.
auth/identity.go:45
↓ 1 callersMethodGetIdentityResolver
(schemeID string)
auth/identity.go:25
↓ 1 callersFunctionGetIsContentTypeDefaultValue
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 callersFunctionGetIsUnsignedPayload
GetIsUnsignedPayload gets whether the payload is unsigned from Properties.
transport/http/properties.go:61
↓ 1 callersMethodGetMRAP
(ctx context.Context, in *GetMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:230
↓ 1 callersFunctionGetOperationTracer
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 callersMethodGetOrder
GetOrder returns the item in the order it should be invoked in.
middleware/ordered_group.go:131
↓ 1 callersMethodGetPayloadStream
()
serde.go:113
↓ 1 callersFunctionGetPreserveExpiredValues
GetPreserveExpiredValues looks up, and returns the PreserveExpressValues value in the context. Returning true if enabled, false otherwise.
context/suppress_expired.go:75
↓ 1 callersFunctionGetScalars
()
ptr/gen_scalars.go:8
↓ 1 callersFunctionGetSigV4ASigningName
GetSigV4ASigningName gets the v4a signing name from Properties.
transport/http/properties.go:39
↓ 1 callersFunctionGetSigV4ASigningRegions
GetSigV4ASigningRegion gets the v4a signing region set from Properties.
transport/http/properties.go:50
↓ 1 callersFunctionGetSigV4SigningName
GetSigV4SigningName gets the signing name from Properties.
transport/http/properties.go:17
↓ 1 callersFunctionGetSigV4SigningRegion
GetSigV4SigningRegion gets the signing region from Properties.
transport/http/properties.go:28
↓ 1 callersFunctionGetu4
Getu4 is copied from Go stdlib.
transport/http/protocol/internal/json/internal/stdlib/stdlib.go:21
↓ 1 callersMethodHTTPResponse
HTTPResponse returns the HTTP response received from the service.
transport/http/response.go:25
↓ 1 callersMethodHTTPStatusCode
HTTPStatusCode returns the HTTP response status code received from the service.
transport/http/response.go:22
↓ 1 callersMethodHandle
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 callersMethodHandleBuild
HandleBuild implements BuildHandler, converts types and delegates to underlying generic handler.
middleware/step_build.go:268
↓ 1 callersMethodHandleBuild
HandleBuild adds behavior to compute md5 checksum and add content-md5 header on http request
transport/http/checksum_middleware.go:29
↓ 1 callersMethodHandleBuild
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 callersMethodHandleBuild
(ctx context.Context, input middleware.BuildInput, next middleware.BuildHandler, )
private/protocol/middleware_capture_request.go:29
← previousnext →1,001–1,100 of 4,136, ranked by callers