Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,136 in github.com/aws/smithy-go
⨍
Functions
4,136
◇
Types & classes
864
↓ 2 callers
Function
parseTimestamp
(schema *smithy.Schema, fallback, s string)
transport/http/protocol/internal/httpbinding/timestamp.go:31
↓ 2 callers
Method
patch
(int patch)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:362
↓ 2 callers
Function
payloadHashString
(p []byte)
aws-http-auth/internal/v4/signer.go:253
↓ 2 callers
Method
preRelease
(String preRelease)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:367
↓ 2 callers
Method
prefix
(String prefix)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:347
↓ 2 callers
Method
readEntry
(ks, vs *smithy.Schema)
transport/http/protocol/internal/xml/shape_deserializer.go:358
↓ 2 callers
Function
readFloat
(d *ShapeDeserializer, v *T)
transport/http/protocol/internal/cbor/shape_deserializer.go:686
↓ 2 callers
Method
readFloat
()
transport/http/protocol/internal/xml/shape_deserializer.go:698
↓ 2 callers
Method
readFloat64
()
transport/http/protocol/internal/cbor/shape_deserializer.go:135
↓ 2 callers
Method
readInt64
()
transport/http/protocol/internal/cbor/shape_deserializer.go:104
↓ 2 callers
Function
readNestedUnion
readNestedUnion mimics the calling pattern of SDK-generated code (smithy.ReadUnion in serde.go): repeatedly call ReadUnion until it returns no member,
transport/http/protocol/internal/json/union_in_union_test.go:39
↓ 2 callers
Function
readRawTestCases
(root, class string)
eventstream/shared_test.go:30
↓ 2 callers
Method
refreshBearerToken
(ctx context.Context)
auth/bearer/token_cache.go:165
↓ 2 callers
Method
removeLeadingInvalidIdentCharacters
(String value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:251
↓ 2 callers
Method
renderDeserializeMember
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:158
↓ 2 callers
Method
renderDeserializeValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:163
↓ 2 callers
Method
renderDocumentCast
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:146
↓ 2 callers
Method
renderDocumentCast
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:151
↓ 2 callers
Method
renderStructure
Renders a non-error structure. @param runnable A runnable that runs before the structure definition is closed. This can be used to write
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/StructureGenerator.java:106
↓ 2 callers
Method
renderVariadicTraits
(java.util.Collection<Trait> traits)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:151
↓ 2 callers
Method
renderZeroValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:106
↓ 2 callers
Method
renderZeroValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:108
↓ 2 callers
Function
replacePathElement
replacePathElement replaces a single element in the path []byte. Escape is used to control whether the value will be escaped using Amazon path escape
encoding/httpbinding/path_replace.go:24
↓ 2 callers
Method
resolveDeref
(Symbol ref, Symbol deserialized)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:287
↓ 2 callers
Method
resolveEndpointMethodName
(String resolveEndpointMethodName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:392
↓ 2 callers
Method
resolveIndirect
(Symbol ref, Symbol serialized)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:346
↓ 2 callers
Method
resolveProtocolGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerDirectedCodegen.java:100
↓ 2 callers
Method
returnTypeForCondition
Determine the Go type Symbol for a condition function's return value. This is used for conditionContext struct fields.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/FnGenerator.java:110
↓ 2 callers
Method
serializeCollection
Writes the code needed to serialize a collection in the document of a request. <p>Implementations of this method are expected to generate a function
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:134
↓ 2 callers
Method
setImportedNamespace
(Symbol.Builder builder, GoDependency dependency)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:177
↓ 2 callers
Method
signAndWrite
(payload []byte)
eventstream/signer.go:62
↓ 2 callers
Function
signV4
(signer *sigv4.Signer, creds credentials.Credentials, region string)
aws-http-auth/sigv4a/e2e_test.go:139
↓ 2 callers
Function
signV4A
(signer *Signer, creds credentials.Credentials, isUnsignedPayload bool)
aws-http-auth/sigv4a/e2e_test.go:150
↓ 2 callers
Method
sortParameters
(Parameters parameters)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:253
↓ 2 callers
Function
splitHeaderListValues
(vs []string, splitFn func(string) ([]string, error))
transport/http/headerlist.go:10
↓ 2 callers
Method
stdlib
Get a {@link GoDependency} representing the standard library package import path. @param importPath standard library import path @return the {@link G
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java:106
↓ 2 callers
Function
streamLength
(stream io.Reader, seekable bool, startPos int64)
transport/http/request.go:59
↓ 2 callers
Function
testWaitAsyncRefreshDone
(provider *TokenCache)
auth/bearer/token_cache_test.go:506
↓ 2 callers
Function
timeFromEpochMilli
(t int64)
eventstream/header_value.go:470
↓ 2 callers
Function
toOTELKeyValues
(props smithy.Properties)
metrics/smithyotelmetrics/attribute.go:52
↓ 2 callers
Function
toOTELKeyValues
(props smithy.Properties)
tracing/smithyoteltracing/attribute.go:52
↓ 2 callers
Function
toOTELSpanKind
(v tracing.SpanKind)
tracing/smithyoteltracing/adapt.go:116
↓ 2 callers
Function
toOTELSpanStatus
(v tracing.SpanStatus)
tracing/smithyoteltracing/adapt.go:131
↓ 2 callers
Function
tryParse
(v string, formats ...string)
time/time.go:86
↓ 2 callers
Method
useShapeTestWriter
Gets a previously created writer or creates a new one for the Go test file for the associated shape. @param shape Shape to create the writer
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDelegator.java:45
↓ 2 callers
Function
validateCRC
(r io.Reader, expect uint32)
eventstream/decode.go:207
↓ 2 callers
Method
value
(tok []byte)
transport/http/protocol/internal/json/parser.go:228
↓ 2 callers
Method
visitProjection
(ProjectionExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:279
↓ 2 callers
Function
withDefiniteList
(p []byte)
encoding/cbor/decode_test.go:1317
↓ 2 callers
Function
withDefiniteMap
(p []byte)
encoding/cbor/decode_test.go:1326
↓ 2 callers
Method
withHelper
Sets if the client include a With__ helper for this config option. @param withHelper if with helper should be generated or not. @return Returns the b
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:178
↓ 2 callers
Function
withMetrics
withMetrics instruments an HTTP client and context to collect HTTP metrics.
transport/http/metrics.go:17
↓ 2 callers
Method
withTemplate
( String template, Map<String, Object>[] argMaps, Consumer<String> fn
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:503
↓ 2 callers
Method
withUnit
(Model model)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:90
↓ 2 callers
Method
writeAssertComplexEqual
Writes the assertion for comparing two complex type values, e.g. structures. @param writer writer to write generated code with. @param expect
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:494
↓ 2 callers
Method
writeChardata
(s string)
transport/http/protocol/internal/xml/writer.go:24
↓ 2 callers
Method
writeDefaultHeaders
Writes any additional HTTP headers required by the protocol implementation. <p>Four parameters will be available in scope: <ul> <li>{@code input: <
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:258
↓ 2 callers
Function
writeFloat
(s *ShapeSerializer, schema *smithy.Schema, v T)
transport/http/protocol/internal/query/shape_serializer.go:223
↓ 2 callers
Method
writeGoBlockTemplate
Writes the contents as template as a code block instead of single content fo text. @param beforeNewLine text before new line @param afterNewLine tex
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:379
↓ 2 callers
Method
writeGoMod
( GoSettings settings, FileManifest manifest, GoModuleInfo goModuleInfo
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModGenerator.java:39
↓ 2 callers
Method
writeHeaderValueAccessor
Returns the header value accessor operand, and also if the target shape is a list/set will write the splitting of the header values by comma(,) utilit
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1467
↓ 2 callers
Method
writeIfNonZeroValue
Writes non-zero conditional checks around a lambda specific to the member shape type. <p> Note: Collections and map member values by default will not
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:51
↓ 2 callers
Method
writeIfZeroValue
Writes zero conditional checks around a lambda specific to the member shape type. <p> Members with containers of Collection and map shapes, will ignor
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:191
↓ 2 callers
Method
writeInline
(String contents, String... args)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:227
↓ 2 callers
Method
writeInlineBigDecimalInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:764
↓ 2 callers
Method
writeInlineBigIntegerInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:774
↓ 2 callers
Method
writeInternalDocumentImplementation
( GoWriter writer, Symbol typeSymbol, Runnable unmarshalMethodDefinition,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:412
↓ 2 callers
Method
writeKey
(schema *smithy.Schema)
transport/http/protocol/internal/json/shape_serializer.go:110
↓ 2 callers
Method
writeMatchedAcceptorReturn
Writes return statement for state where a waiter's acceptor state is a match. @param writer the Go writer @param acceptor the waiter acceptor who's
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:732
↓ 2 callers
Method
writeMemberDocs
Writes member shape documentation comments if docs are present. @param model Model used to dereference targets. @param member Shape to write the doc
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:775
↓ 2 callers
Method
writePackageDocs
Writes the doc to the Go package docs that are written prior to the go package statement. @param docs documentation to write to package doc. @return
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:711
↓ 2 callers
Method
writeRaw
(schema *smithy.Schema, p []byte)
transport/http/protocol/internal/json/shape_serializer.go:365
↓ 2 callers
Method
writeRenderedDocs
Writes documentation from an arbitrary Writable. @param writable Contents to be written. @return Returns the writer.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:693
↓ 2 callers
Method
writeStructureShapeValueInline
Writes a non-pointable structure shape value inline (no leading &).
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:116
↓ 2 callers
Method
writerSetup
(UnionShape inputEventStream)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:133
↓ 2 callers
Method
xmlns
resolution for @xmlNamespace, which is generally sane
transport/http/protocol/internal/xml/element_name.go:60
↓ 1 callers
Method
AddEvent
(name string, opts ...EventOption)
tracing/tracing.go:71
↓ 1 callers
Method
AddKey
AddKey adds the named component/product to the agent string
transport/http/user_agent.go:18
↓ 1 callers
Method
AddKeyValue
AddKeyValue adds the named key to the agent string with the given value.
transport/http/user_agent.go:23
↓ 1 callers
Method
AddNestedContext
AddNestedContext updates the error's context to include a nested level.
validation.go:76
↓ 1 callers
Method
Advance
(sec, ms time.Duration)
transport/http/metrics_test.go:22
↓ 1 callers
Method
AfterAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:307
↓ 1 callers
Method
AfterDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:293
↓ 1 callers
Method
AfterExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:320
↓ 1 callers
Method
AfterSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:194
↓ 1 callers
Method
AfterSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:238
↓ 1 callers
Method
AfterTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:263
↓ 1 callers
Method
Array
Array returns a new Array encoder
encoding/json/value.go:88
↓ 1 callers
Function
AsFloat32
AsFloat32 coerces a Value to its float32 representation if possible. A float32 may be represented by any of the following alternatives: - cbor uint (
encoding/cbor/coerce.go:97
↓ 1 callers
Function
AsFloat64
AsFloat64 coerces a Value to its float64 representation if possible. A float64 may be represented by any of the following alternatives: - float32 - c
encoding/cbor/coerce.go:123
↓ 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
← previous
next →
901–1,000 of 4,136, ranked by callers