Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,329 in github.com/aws/smithy-go
⨍
Functions
4,329
◇
Types & classes
889
↓ 1 callers
Method
setProtocol
Sets the protocol to generate. @param protocol Protocols to generate.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:295
↓ 1 callers
Function
setQueryValue
(qv QueryValue, args []interface{})
encoding/httpbinding/query_test.go:205
↓ 1 callers
Function
setURI
(uv URIValue, args []interface{})
encoding/httpbinding/uri_test.go:130
↓ 1 callers
Method
setUseLegacySerde
(Boolean value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:227
↓ 1 callers
Method
shapeValueGeneratorConfig
(ShapeValueGenerator.Config config)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:764
↓ 1 callers
Function
signMavenRepoInPlace
* Signs an already-built Maven repository directory (the unsigned * `localStaging` tree, i.e. `build/m2`, produced elsewhere via a plain * `./gradle
codegen/build.gradle.kts:106
↓ 1 callers
Method
singleRetrieve
(ctx context.Context)
auth/bearer/token_cache.go:184
↓ 1 callers
Method
skip
(Model model, OperationShape operation, EventStreamIndex eventStreamIndex)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeResponseSnapshotTests.java:542
↓ 1 callers
Method
skipIndefiniteBytes
()
transport/http/protocol/internal/cbor/shape_deserializer.go:680
↓ 1 callers
Method
smithy
(String relativePath)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java:126
↓ 1 callers
Method
snapshotTests
( Model model, ServiceShape service, SymbolProvider symbolProvider, SnapshotInputGenerator generat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeSnapshotTests.java:301
↓ 1 callers
Method
snapshotTests
(Model model, ServiceShape service, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareStackSnapshotTests.java:113
↓ 1 callers
Method
snapshotUpdaters
( Model model, ServiceShape service, SymbolProvider symbolProvider, SnapshotInputGenerator generat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeSnapshotTests.java:319
↓ 1 callers
Method
snapshotUpdaters
(Model model, ServiceShape service, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareStackSnapshotTests.java:105
↓ 1 callers
Function
sortFlattenedNodes
sortFlattenedNodes sorts nodes with nodes having same element tag but overall different values. The function will return list of pointer to XMLNode an
testing/xml/xmlToStruct.go:223
↓ 1 callers
Function
splitf16
(f uint16)
encoding/cbor/float16.go:19
↓ 1 callers
Function
splitf16
(f uint16)
transport/http/protocol/internal/cbor/float16.go:19
↓ 1 callers
Method
standardLibraryDependency
Get {@link GoDependency} representing the standard library import description. @param importPath the import path of the package @param version the
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:326
↓ 1 callers
Function
stdlibUnmarshalUseNumber
stdlibUnmarshalUseNumber is json.Unmarshal into any, but with numbers decoded as json.Number, which is what the parser produces.
transport/http/protocol/internal/json/fuzz_test.go:87
↓ 1 callers
Function
str
(v any)
metrics/smithyotelmetrics/attribute.go:60
↓ 1 callers
Function
str
(v any)
tracing/smithyoteltracing/attribute.go:60
↓ 1 callers
Function
strListSchema
()
transport/http/protocol/internal/json/shape_deserializer_test.go:13
↓ 1 callers
Function
stringify
stringify tries a bit to stringify v, without using fmt, since we don't want context depending on the unicode tables. This is only used by *valueCtx.S
middleware/stack_values.go:92
↓ 1 callers
Function
stripPrefix
(name string)
transport/http/protocol/internal/xml/shape_deserializer.go:745
↓ 1 callers
Method
structDeclShapeValue
Writes the declaration for a Go structure. Delegates to the runner for member fields within the structure. @param writer writer to write generated co
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:194
↓ 1 callers
Method
structEname
structs with @httpPayload are special, preferring in order: - member/target @xmlName - target shape name otherwise just use context-based name
transport/http/protocol/internal/xml/element_name.go:48
↓ 1 callers
Method
testCases
(List<T> testCases)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:724
↓ 1 callers
Method
testCheckSnapshot
(OperationShape operation, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareStackSnapshotTests.java:143
↓ 1 callers
Function
testDecodeJSONInterface
(t *testing.T, tt testCase)
document/json/decoder_test.go:147
↓ 1 callers
Function
testEncode
(t *testing.T, tt testCase)
document/json/encoder_test.go:134
↓ 1 callers
Method
testGoModule
(Path path)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:163
↓ 1 callers
Function
testUnzipContent
(content io.Reader, expect []byte, disableRequestCompression bool, requestMinCompressionSizeBytes int64)
private/requestcompression/request_compression_test.go:140
↓ 1 callers
Method
testUpdateSnapshot
(OperationShape operation, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareStackSnapshotTests.java:121
↓ 1 callers
Function
toOTELKeyValue
IMPORTANT: The contents of this file are mirrored in smithyoteltracing/attribute.go. Any changes made here must be replicated in that module's copy of
metrics/smithyotelmetrics/attribute.go:23
↓ 1 callers
Method
toString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:327
↓ 1 callers
Method
toString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:285
↓ 1 callers
Method
topoVisit
( Shape shape, Model model, Set<ShapeId> inSet, Set<ShapeId> v
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenVisitor.java:539
↓ 1 callers
Method
tryAsyncRefresh
tryAsyncRefresh attempts to asynchronously refresh the token returning the already cached token. If it AsyncRefreshMinimumDelay option is not zero, an
auth/bearer/token_cache.go:137
↓ 1 callers
Method
type
Sets the type of the client field. @param type A Symbol representing the type of the client field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMember.java:117
↓ 1 callers
Method
typeAssert
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:164
↓ 1 callers
Method
uintOfBitSize
(bitSize int)
document/document.go:204
↓ 1 callers
Method
unionDeclShapeValue
Writes the declaration for a Go union. @param writer writer to write generated code with. @param member the union shape. @param params the params.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:211
↓ 1 callers
Method
unitTestFuncNameArgs
Provides the unit test function name's format string arguments. @return returns a list of arguments used to format the unitTestFuncNameFormat returne
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:116
↓ 1 callers
Method
unitTestFuncNameFormat
Provides the unit test function's format string. @return returns format string paired with unitTestFuncNameArgs
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:109
↓ 1 callers
Method
universe
(String name)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoUniverseTypes.java:53
↓ 1 callers
Method
unknownEvent
(tag string, msg *eventstream.Message)
internal/eventstream/codec.go:133
↓ 1 callers
Method
unsupportedType
(rv reflect.Value)
document/cbor/decode.go:295
↓ 1 callers
Method
unsupportedType
(jv interface{}, rv reflect.Value)
document/json/decoder.go:337
↓ 1 callers
Method
updateCommonSource
(ShapeId protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeResponseSnapshotTests.java:249
↓ 1 callers
Method
updaters
( Model model, ServiceShape service, SymbolProvider symbolProvider, SnapshotOutputGenerator genera
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeResponseSnapshotTests.java:511
↓ 1 callers
Function
uriEncode
uriEncode implements "Amazon-style" URL escaping.
aws-http-auth/internal/v4/strings.go:30
↓ 1 callers
Method
useDependencies
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/OperationMetricsStruct.java:46
↓ 1 callers
Method
useShapeExportedTestWriter
Gets a previously created writer or creates a new one for the Go public package test file for the associated shape. @param shape Shape to cr
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDelegator.java:61
↓ 1 callers
Method
v2FuncBody
( java.util.Optional<software.amazon.smithy.model.knowledge.EventStreamInfo> inputInfo,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:277
↓ 1 callers
Method
v2ReaderSetup
(UnionShape outputEventStream)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:406
↓ 1 callers
Function
validPercentEncodedChar
(c byte)
endpoints/private/rulesfn/uri.go:109
↓ 1 callers
Method
validateContext
(String template)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:547
↓ 1 callers
Function
valueFromType
(typ valueType, val any)
eventstream/debug.go:109
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:177
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:204
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:242
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:279
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:316
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:353
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:391
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:429
↓ 1 callers
Method
valueType
valueType returns the EventStream header value type value.
eventstream/header_value.go:486
↓ 1 callers
Function
verifySignature
(key *ecdsa.PublicKey, hash []byte, signature []byte)
aws-http-auth/sigv4a/sigv4a_test.go:60
↓ 1 callers
Function
visibleFields
visibleFields will return a slice of fields which are visible based on Go's standard visiblity rules with the exception of ties being broken by depth
document/internal/serde/field.go:143
↓ 1 callers
Method
visitAnd
(AndExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:204
↓ 1 callers
Method
visitComparator
(ComparatorExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:237
↓ 1 callers
Method
visitContainsFunction
(List<JmespathExpression> args, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:364
↓ 1 callers
Method
visitField
(FieldExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:345
↓ 1 callers
Method
visitFilterProjection
(FilterProjectionExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:182
↓ 1 callers
Method
visitFlatten
(FlattenExpression tExpr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:255
↓ 1 callers
Method
visitFunction
(FunctionExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:355
↓ 1 callers
Method
visitKeysFunction
(List<JmespathExpression> args, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:406
↓ 1 callers
Method
visitLengthFunction
(List<JmespathExpression> args, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:383
↓ 1 callers
Method
visitLiteral
(LiteralExpression expr)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:220
↓ 1 callers
Method
visitMultiSelectList
(MultiSelectListExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:156
↓ 1 callers
Method
visitNot
(NotExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:149
↓ 1 callers
Method
visitOr
(OrExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:212
↓ 1 callers
Method
visitShapesToSerde
(Model model, Shape shape, Set<Shape> visited)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/SerdeUtil.java:90
↓ 1 callers
Method
visitSub
(Subexpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:326
↓ 1 callers
Method
walkValidationTree
(Walker walker, Shape shape, Consumer<Shape> visitor)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:185
↓ 1 callers
Method
wireName
(MemberShape member)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:141
↓ 1 callers
Function
withIctx
(ctx context.Context)
transport/http/interceptor_middleware.go:12
↓ 1 callers
Function
withIndefiniteList
(p []byte)
encoding/cbor/decode_test.go:1321
↓ 1 callers
Function
withIndefiniteMap
(p []byte)
encoding/cbor/decode_test.go:1331
↓ 1 callers
Method
withMembers
(StructureShape shape, List<MemberShape> members)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/OperationGenerator.java:352
↓ 1 callers
Function
withStackValue
(parent *stackValues, key, value interface{})
middleware/stack_values.go:43
↓ 1 callers
Method
workingDir
Sets the working directory for the command. @param workingDir working directory. @return builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/testutils/ExecuteCommand.java:136
↓ 1 callers
Method
wrapNilCheck
(Writable inner)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapSerializer.java:56
↓ 1 callers
Method
wrapNilCheck
(Writable inner)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListSerializer.java:55
↓ 1 callers
Method
writableStringSlice
(ArrayNode node)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/NodeUtil.java:27
↓ 1 callers
Method
writeAdditionalFiles
Writes additional files. @param settings Settings used to generate. @param model Model to generate from. @param symbolProvider Symbol provider used f
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:133
↓ 1 callers
Method
writeAssertForbidHeader
Writes the assertion that the header must not contain keys. @param writer writer to write generated code with. @param expect variable name with the e
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:651
↓ 1 callers
Method
writeAssertForbidQuery
Writes the assertion that an query must not contain keys. @param writer writer to write generated code with. @param expect variable name with the exp
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:615
↓ 1 callers
Method
writeAssertHasHeader
Writes the assertion that headers contain expected values. @param writer writer to write generated code with. @param expect variable name with the ex
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:627
↓ 1 callers
Method
writeAssertHasQuery
Writes the assertion that query contains expected values. @param writer writer to write generated code with. @param expect variable name with the exp
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:591
← previous
next →
2,101–2,200 of 4,329, ranked by callers