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
↓ 3 callers
Method
goDirective
(String goDirective)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModuleInfo.java:110
↓ 3 callers
Function
handle
(stack *middleware.Stack)
transport/http/middleware_header_comment_test.go:79
↓ 3 callers
Method
hasEventStreamOperations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:108
↓ 3 callers
Function
injectBuildRequest
(s *middleware.Stack)
transport/http/middleware_header_comment_test.go:93
↓ 3 callers
Method
interfaceSymbol
Creates a Symbol for a `Value` exported by this package. @param name The name. @return The symbol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:191
↓ 3 callers
Method
isDereferencable
Returns if the Go type generated for the shape can be dereferenced. @param shape the shape to check @return if the shape's go type is dereferencable
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:267
↓ 3 callers
Method
isMemberPointable
(MemberShape member, Shape targetShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:166
↓ 3 callers
Method
isShapePointable
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:188
↓ 3 callers
Method
listOf
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:384
↓ 3 callers
Method
loadExpectedFileStringFromResource
(String testPath, String filePath)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:48
↓ 3 callers
Method
loadSmithyModelFromResource
(String testPath)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:38
↓ 3 callers
Function
newTestStack
(fns ...func(*middleware.Stack) error)
transport/http/middleware_header_comment_test.go:69
↓ 3 callers
Method
operationHasEventStream
( Model model, StructureShape inputShape, StructureShape outputShape )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:45
↓ 3 callers
Function
reflectCall
(funcValue reflect.Value, args []interface{})
encoding/httpbinding/shared_test.go:8
↓ 3 callers
Method
registerAsyncFloat64
(i otelmetric.Float64Observable, cb metrics.Float64Callback)
metrics/smithyotelmetrics/metrics.go:181
↓ 3 callers
Method
registerAsyncInt64
(i otelmetric.Int64Observable, cb metrics.Int64Callback)
metrics/smithyotelmetrics/metrics.go:172
↓ 3 callers
Method
requiresDocumentSerdeFunction
Determines whether a document serde function is required for the given shape. <p> The following shape types will require a serde function: maps, lists
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:100
↓ 3 callers
Method
resolver
(Symbol resolver)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:150
↓ 3 callers
Method
setRequiredHeaders
()
aws-http-auth/internal/v4/signer.go:120
↓ 3 callers
Function
toOTELKeyValue
IMPORTANT: The contents of this file are mirrored in smithyotelmetrics/attribute.go. Any changes made here must be replicated in that module's copy of
tracing/smithyoteltracing/attribute.go:23
↓ 3 callers
Method
validateTemplateArgsNotNull
(Map<String, Object>[] argMaps)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:539
↓ 3 callers
Method
writeAssertNil
Writes assertion that a variable's value must be nil. @param writer writer to write generated code with. @param field the variable name of the value
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:460
↓ 3 callers
Method
writeAssertNotNil
Writes the assertion that a variable must not be nil. @param writer writer to write generated code with. @param field the variable name of the value
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:472
↓ 3 callers
Method
writeHeaderStructField
Writes a structure header member with values from a map. @param writer writer to write generated code with. @param field name of the field. @param v
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:372
↓ 3 callers
Method
writeHttpBindingSetter
( GenerationContext context, GoWriter writer, MemberShape memberShape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:771
↓ 3 callers
Method
writeIfNonZeroValueMember
Writes non-zero conditional check around a lambda specific to a member of a container. <p> Ignores empty strings of string pointers, and members neste
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:127
↓ 3 callers
Method
writeManifest
Write the manifest description of the Smithy model based generated source code. @param settings the go settings @param model the smithy mo
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:70
↓ 3 callers
Method
writeMemberValueInline
Writes generation of a member shape value type declaration for the given the parameters. @param writer writer to write generated code with. @param me
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:120
↓ 3 callers
Method
writer
(GoWriter writer)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:602
↓ 2 callers
Method
Add
(context.Context, float64, ...otelmetric.AddOption)
metrics/smithyotelmetrics/float64.go:11
↓ 2 callers
Method
AddHeader
AddHeader returns a HeaderValue for appending to the given header name
encoding/httpbinding/encode.go:81
↓ 2 callers
Method
AddQuery
AddQuery returns a QueryValue used for appending the given query key
encoding/httpbinding/encode.go:115
↓ 2 callers
Method
Base64EncodeBytes
Base64EncodeBytes writes v as a base64 value in JSON string
encoding/json/value.go:78
↓ 2 callers
Method
BigDecimal
BigDecimal encodes v big.Float as XML value. It will auto close the parent xml element tag.
encoding/xml/value.go:182
↓ 2 callers
Method
BigInteger
BigInteger encodes v big.Int as XML value. It will auto close the parent xml element tag.
encoding/xml/value.go:175
↓ 2 callers
Function
BuildMiddlewareFunc
BuildMiddlewareFunc returns a BuildMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_build.go:47
↓ 2 callers
Method
Close
()
aws-http-auth/sigv4a/e2e_test.go:25
↓ 2 callers
Method
Close
()
transport/http/internal/io/safe_test.go:23
↓ 2 callers
Function
CompareValues
CompareValues compares two values to determine if they are equal, specialized for comparison of SDK operation output types. CompareValues expects the
testing/struct.go:23
↓ 2 callers
Method
ConnectDone
(ctx context.Context)
transport/http/metrics.go:154
↓ 2 callers
Method
DNSDone
(ctx context.Context)
transport/http/metrics.go:148
↓ 2 callers
Function
Decode
Decode returns the Value encoded in the given byte slice.
encoding/cbor/cbor.go:133
↓ 2 callers
Function
DecoderFieldByIndex
DecoderFieldByIndex finds the field with the provided nested index, allocating embedded parent structs if needed
document/internal/serde/field.go:268
↓ 2 callers
Method
Double
Double encodes v as a JSON number
encoding/json/value.go:62
↓ 2 callers
Function
EncodeFloat
EncodeFloat encodes a float value as per the stdlib encoder for json and xml protocol This encodes a float value into dst while attempting to conform
encoding/encoding.go:14
↓ 2 callers
Function
EncoderFieldByIndex
EncoderFieldByIndex finds the field with the provided nested index
document/internal/serde/field.go:282
↓ 2 callers
Function
Float32
Float32 returns a pointer value for the float32 value passed in.
ptr/to_ptr.go:386
↓ 2 callers
Function
Float64
Float64 returns a pointer value for the float64 value passed in.
ptr/to_ptr.go:415
↓ 2 callers
Method
Float64Histogram
(name string, opts ...InstrumentOption)
metrics/metrics.go:40
↓ 2 callers
Method
Get
Retrieve the value associated with the given key. The returned boolean indicates whether the cache held a value for the given key.
container/private/cache/cache.go:15
↓ 2 callers
Method
Get
(key interface{})
middleware/metadata.go:6
↓ 2 callers
Function
GetSpan
GetSpan returns the active trace Span on the context. The boolean in the return indicates whether a Span was actually in the context, but a no-op imp
tracing/context.go:16
↓ 2 callers
Method
GotConn
(ctx context.Context)
transport/http/metrics.go:136
↓ 2 callers
Method
GotFirstResponseByte
(ctx context.Context)
transport/http/metrics.go:166
↓ 2 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:26
↓ 2 callers
Method
ID
()
middleware/stack.go:153
↓ 2 callers
Function
Indirect
Indirect will walk a value's interface or pointer value types. Returning the final value or the value a unmarshaler is defined on. Based on the enodi
document/internal/serde/serde.go:12
↓ 2 callers
Function
Int16
Int16 returns a pointer value for the int16 value passed in.
ptr/to_ptr.go:154
↓ 2 callers
Function
Int32
Int32 returns a pointer value for the int32 value passed in.
ptr/to_ptr.go:183
↓ 2 callers
Function
Int64
Int64 returns a pointer value for the int64 value passed in.
ptr/to_ptr.go:212
↓ 2 callers
Method
Int64UpDownCounter
(name string, opts ...InstrumentOption)
metrics/metrics.go:27
↓ 2 callers
Function
Int8
Int8 returns a pointer value for the int8 value passed in.
ptr/to_ptr.go:125
↓ 2 callers
Method
IsStreamSeekable
IsStreamSeekable returns whether the stream is seekable.
transport/http/request.go:114
↓ 2 callers
Function
IsZeroValue
IsZeroValue returns whether v is the zero-value for its type.
document/internal/serde/serde.go:66
↓ 2 callers
Method
Meter
(scope string, opts ...MeterOption)
metrics/metrics.go:12
↓ 2 callers
Function
NewEncoder
NewEncoder returns a new JSON encoder
encoding/json/encoder.go:15
↓ 2 callers
Function
NewSafeReadCloser
NewSafeReadCloser returns a new safeReadCloser that wraps readCloser.
transport/http/internal/io/safe.go:9
↓ 2 callers
Function
NewStandardLogger
NewStandardLogger returns a new StandardLogger
logging/logger.go:78
↓ 2 callers
Function
ParseHTTPDate
ParseHTTPDate parses a string 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:56
↓ 2 callers
Method
Push
()
middleware/stack.go:190
↓ 2 callers
Method
RetrieveBearerToken
(context.Context)
auth/bearer/token.go:28
↓ 2 callers
Function
SerializeMiddlewareFunc
SerializeMiddlewareFunc returns a SerializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_serialize.go:50
↓ 2 callers
Method
SetContext
SetContext updates the context of the error.
validation.go:73
↓ 2 callers
Method
SetProperty
(k, v any)
tracing/tracing.go:73
↓ 2 callers
Function
SortXML
SortXML sorts the reader's XML elements
testing/xml/sort.go:37
↓ 2 callers
Method
TLSHandshakeDone
(ctx context.Context)
transport/http/metrics.go:160
↓ 2 callers
Function
ToBool
ToBool returns bool value dereferenced if the passed in pointer was not nil. Returns a bool zero value if the pointer was nil.
ptr/from_ptr.go:11
↓ 2 callers
Function
ToByte
ToByte returns byte value dereferenced if the passed in pointer was not nil. Returns a byte zero value if the pointer was nil.
ptr/from_ptr.go:46
↓ 2 callers
Function
ToDuration
ToDuration returns time.Duration value dereferenced if the passed in pointer was not nil. Returns a time.Duration zero value if the pointer was nil.
ptr/from_ptr.go:571
↓ 2 callers
Function
ToFloat32
ToFloat32 returns float32 value dereferenced if the passed in pointer was not nil. Returns a float32 zero value if the pointer was nil.
ptr/from_ptr.go:466
↓ 2 callers
Function
ToFloat64
ToFloat64 returns float64 value dereferenced if the passed in pointer was not nil. Returns a float64 zero value if the pointer was nil.
ptr/from_ptr.go:501
↓ 2 callers
Function
ToInt
ToInt returns int value dereferenced if the passed in pointer was not nil. Returns a int zero value if the pointer was nil.
ptr/from_ptr.go:116
↓ 2 callers
Function
ToInt16
ToInt16 returns int16 value dereferenced if the passed in pointer was not nil. Returns a int16 zero value if the pointer was nil.
ptr/from_ptr.go:186
↓ 2 callers
Function
ToInt32
ToInt32 returns int32 value dereferenced if the passed in pointer was not nil. Returns a int32 zero value if the pointer was nil.
ptr/from_ptr.go:221
↓ 2 callers
Function
ToInt64
ToInt64 returns int64 value dereferenced if the passed in pointer was not nil. Returns a int64 zero value if the pointer was nil.
ptr/from_ptr.go:256
↓ 2 callers
Function
ToInt8
ToInt8 returns int8 value dereferenced if the passed in pointer was not nil. Returns a int8 zero value if the pointer was nil.
ptr/from_ptr.go:151
↓ 2 callers
Function
ToString
ToString returns string value dereferenced if the passed in pointer was not nil. Returns a string zero value if the pointer was nil.
ptr/from_ptr.go:81
↓ 2 callers
Function
ToTime
ToTime returns time.Time value dereferenced if the passed in pointer was not nil. Returns a time.Time zero value if the pointer was nil.
ptr/from_ptr.go:536
↓ 2 callers
Function
ToUint
ToUint returns uint value dereferenced if the passed in pointer was not nil. Returns a uint zero value if the pointer was nil.
ptr/from_ptr.go:291
↓ 2 callers
Function
ToUint16
ToUint16 returns uint16 value dereferenced if the passed in pointer was not nil. Returns a uint16 zero value if the pointer was nil.
ptr/from_ptr.go:361
↓ 2 callers
Function
ToUint32
ToUint32 returns uint32 value dereferenced if the passed in pointer was not nil. Returns a uint32 zero value if the pointer was nil.
ptr/from_ptr.go:396
↓ 2 callers
Function
ToUint64
ToUint64 returns uint64 value dereferenced if the passed in pointer was not nil. Returns a uint64 zero value if the pointer was nil.
ptr/from_ptr.go:431
↓ 2 callers
Function
ToUint8
ToUint8 returns uint8 value dereferenced if the passed in pointer was not nil. Returns a uint8 zero value if the pointer was nil.
ptr/from_ptr.go:326
↓ 2 callers
Method
ToXML
()
aws-http-auth/sigv4a/e2e_test.go:28
↓ 2 callers
Method
ULong
ULong encodes v as a JSON number
encoding/json/value.go:51
↓ 2 callers
Function
Uint16
Uint16 returns a pointer value for the uint16 value passed in.
ptr/to_ptr.go:299
↓ 2 callers
Function
Uint32
Uint32 returns a pointer value for the uint32 value passed in.
ptr/to_ptr.go:328
↓ 2 callers
Function
Uint64
Uint64 returns a pointer value for the uint64 value passed in.
ptr/to_ptr.go:357
↓ 2 callers
Function
Uint8
Uint8 returns a pointer value for the uint8 value passed in.
ptr/to_ptr.go:270
↓ 2 callers
Function
UintMap
UintMap returns a map of uint pointers from the values passed in.
ptr/to_ptr.go:259
← previous
next →
401–500 of 3,047, ranked by callers