MCPcopy Create free account

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

Functions3,047 in github.com/aws/smithy-go

↓ 1 callersFunctionAsInt16
AsInt16 coerces a Value to its int16 representation if possible.
encoding/cbor/coerce.go:36
↓ 1 callersFunctionAsInt32
AsInt32 coerces a Value to its int32 representation if possible.
encoding/cbor/coerce.go:55
↓ 1 callersFunctionAsInt8
AsInt8 coerces a Value to its int8 representation if possible.
encoding/cbor/coerce.go:17
↓ 1 callersFunctionAsTime
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 callersMethodBase64EncodeBytes
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 callersMethodBeforeAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:215
↓ 1 callersMethodBeforeDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:278
↓ 1 callersMethodBeforeExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:173
↓ 1 callersMethodBeforeRetryLoop
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:203
↓ 1 callersMethodBeforeSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:184
↓ 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 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 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 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 callersMethodClose
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 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 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 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 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 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 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 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:123
↓ 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 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 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 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
↓ 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
← previousnext →701–800 of 3,047, ranked by callers