MCPcopy Create free account

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

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

↓ 1 callersMethodErrorSet
ErrorSet returns a channel that is closed when an error occurs.
transport/http/eventstream.go:122
↓ 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 consumes the given reader into a buffer from the pool, returning that buffer.
internal/sync/buffer_pool.go:37
↓ 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 callersMethodGetIdentity
(context.Context, smithy.Properties)
aws-http-auth-schemes/identity/identity.go:34
↓ 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 callersFunctionGetOperationName
GetOperationName retrieves the operation name from the context. This is typically the operation shape's name from its Smithy model.
middleware/context.go:38
↓ 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 callersFunctionGetProtocolErrorInfo
GetProtocolErrorInfo decodes error type/message from a JSON response body.
transport/http/protocol/internal/json/error.go:21
↓ 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:70
↓ 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 callersMethodHandleDeserialize
HandleDeserialize will log the request and response HTTP messages if configured accordingly.
transport/http/middleware_http_logging.go:28
↓ 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 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 callersFunctionNewBufferPool
NewBufferPool returns a buffer pool ready for use.
internal/sync/buffer_pool.go:29
↓ 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
← previousnext →1,101–1,200 of 4,329, ranked by callers