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
Method
generateTestServer
Hook to generate the HTTP test server that will receive requests and provide responses back to the requester. @param writer writer to write generate
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:175
↓ 2 callers
Method
generateTestSetup
Hook to provide custom generated code within a test function before test cases are defined. @param writer writer to write generated code with.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:128
↓ 2 callers
Method
getAddMiddlewareStackHelperFunctionName
(OperationShape operationShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ValidationGenerator.java:314
↓ 2 callers
Method
getAddOperationMiddlewareFuncName
Returns the name of the operation's middleware mutator function, that adds all middleware for the operation to the stack. @param operation symbol for
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/OperationGenerator.java:339
↓ 2 callers
Method
getAddRequestCompressionMiddlewareFuncName
(String operationName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/requestcompression/RequestCompression.java:138
↓ 2 callers
Method
getArtifactType
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:59
↓ 2 callers
Method
getContentType
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2SerializeRequestMiddleware.java:47
↓ 2 callers
Method
getDefault
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:533
↓ 2 callers
Method
getDocumentPackage
(GoSettings settings)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:550
↓ 2 callers
Method
getDocumentTimestampFormat
Gets the default serde format for timestamps. @return Returns the default format.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:179
↓ 2 callers
Method
getDocumentation
@return Gets the optional documentation for the member field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMember.java:55
↓ 2 callers
Method
getEndpointBuiltinBindings
Gets the endpoint builtin bindings that will be rendered by this plugin. @return the bindings.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:135
↓ 2 callers
Method
getEndpointRules
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParameterBindingsGenerator.java:137
↓ 2 callers
Method
getEventStreamOperationStructureConstructor
( ServiceShape serviceShape, OperationShape operationShape )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:591
↓ 2 callers
Method
getEventStreamReaderAdapterConstructor
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:644
↓ 2 callers
Function
getExt
(s *smithy.Schema)
transport/http/protocol/internal/json/ext.go:23
↓ 2 callers
Method
getGoDependencies
Get the the set of {@link GoDependency} required by this dependency. @return the set of dependencies
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:92
↓ 2 callers
Method
getHttpBindingOperations
Get the operations with HTTP Bindings. @param context the generation context @return the list of operation shapes
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:114
↓ 2 callers
Method
getIdempotencyTokenMiddlewareHelperName
Get Idempotency Token Middleware Helper name. @param operationShape Operation shape for which middleware is defined. @return name of the idempotency
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:201
↓ 2 callers
Method
getIdempotencyTokenMiddlewareName
Get Idempotency Token Middleware name. @param operationShape Operation shape for which middleware is defined. @return name of the idempotency token m
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:191
↓ 2 callers
Method
getIdent
(Expression expr)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:37
↓ 2 callers
Method
getImportPath
Get the import path of the dependency. @return the import path of the dependency
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:128
↓ 2 callers
Method
getInlineRegisterMiddlewarePosition
@return symbol used to define the middleware position in the stack
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:66
↓ 2 callers
Method
getInlineRegisterMiddlewareStatement
@return string denoting inline middleware registration in the stack
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:59
↓ 2 callers
Method
getInputEventStreams
Get the input event streams and their usages in operations for the provided service. @param service the service shape @return the map of event stream
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoEventStreamIndex.java:85
↓ 2 callers
Method
getIntegrations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:556
↓ 2 callers
Method
getInternalDocumentPackage
(GoSettings settings)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:546
↓ 2 callers
Method
getMiddlewareHelperName
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/AddEventStreamMiddleware.java:202
↓ 2 callers
Method
getMiddlewareHelperName
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/EndpointHostPrefixMiddleware.java:196
↓ 2 callers
Method
getMiddlewareName
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/AddEventStreamMiddleware.java:198
↓ 2 callers
Method
getMiddlewareName
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/EndpointHostPrefixMiddleware.java:192
↓ 2 callers
Method
getMinimumNonStdLibDependencies
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModuleInfo.java:57
↓ 2 callers
Method
getName
@return Returns the name of the config field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:45
↓ 2 callers
Method
getName
@return Returns the name of the client member field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMember.java:41
↓ 2 callers
Method
getName
Get the config field name. @return the field name
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:733
↓ 2 callers
Method
getOperationHandlerName
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/HttpHandlerProtocolGenerator.java:178
↓ 2 callers
Method
getOperationHttpBindingsDeserFunctionName
Generates the name of a deserializer function for shapes of a service. @param shape The shape the deserializer function is being generated for. @p
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:188
↓ 2 callers
Method
getOperationHttpBindingsSerFunctionName
Generates the name of a serializer function for shapes of a service. @param shape The shape the serializer function is being generated for. @param
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:174
↓ 2 callers
Method
getOperationValidationMiddlewareName
(OperationShape operationShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ValidationGenerator.java:299
↓ 2 callers
Function
getOrAddHeaderValueHelper
(stack *middleware.Stack)
transport/http/middleware_headers.go:124
↓ 2 callers
Method
getOutputEventStreams
Get the output event streams and their usages in operations for the provided service. @param service the service shape @return the map of event strea
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoEventStreamIndex.java:95
↓ 2 callers
Method
getResolver
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:55
↓ 2 callers
Method
getServiceTitle
Attempts to get the title of the API's service from the model. If unalbe to get the title the fallback value will be returned instead. @param shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:407
↓ 2 callers
Method
getShapeValidationFunctionName
(Shape shape, boolean topLevelOpShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ValidationGenerator.java:304
↓ 2 callers
Method
getShapeValidatorName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerValidationgenerator.java:251
↓ 2 callers
Method
getShapesRequiringValidationHelpers
Get a set of shapes that require validation helpers. @param service service to find operations for @return operations requiring validation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:145
↓ 2 callers
Method
getShapesToSerde
Gets the set of all shapes that require serde codegen for the given root shape. This is generally called for every input/output shape in a model, with
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/SerdeUtil.java:53
↓ 2 callers
Method
getStructName
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:33
↓ 2 callers
Method
getSymbolDependency
Get the symbol dependency representing the dependency. @return the symbol dependency
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:101
↓ 2 callers
Method
getSymbolNamespaceAlias
Gets the alias to use when referencing the given symbol outside of its namespace. <p>The default value is the last path component of the symbol's nam
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:125
↓ 2 callers
Method
getType
@return Returns the type Symbol for the member field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMember.java:48
↓ 2 callers
Method
getWithHelper
@return Returns if the config option should have a with helper or not.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:59
↓ 2 callers
Method
goModuleInfo
(GoModuleInfo goModuleInfo)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:158
↓ 2 callers
Function
hasLess
(v uint64, n byte)
transport/http/protocol/internal/json/parser.go:316
↓ 2 callers
Method
hasV2EventStreamOperations
Checks if the service has any v2 (non-legacy) event stream operations.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:822
↓ 2 callers
Function
hasValue
(v uint64, c byte)
transport/http/protocol/internal/json/parser.go:311
↓ 2 callers
Method
isBlobStream
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:225
↓ 2 callers
Function
isEventBound
(schema *smithy.Schema)
eventstream/deserializer.go:280
↓ 2 callers
Method
isEventStreamErrorMember
(MemberShape memberShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/UnionGenerator.java:201
↓ 2 callers
Method
isFnResultOptional
(FunctionDefinition fn)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/FnGenerator.java:94
↓ 2 callers
Function
isHTTPLabel
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:207
↓ 2 callers
Function
isHTTPQueryParams
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:226
↓ 2 callers
Method
isHttpProtocol
Checks if the protocol is an HTTP based protocol. @return Returns true if it is HTTP based.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:84
↓ 2 callers
Function
isInCharacterRange
Decide whether the given rune is in the XML Character Range, per the Char production of https://www.xml.com/axml/testaxml.htm, Section 2.2 Characters.
encoding/xml/escape.go:33
↓ 2 callers
Method
isLegacyEventStreamGenerator
(OperationShape operationShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:323
↓ 2 callers
Method
isNumber
isNumber returns if the shape is a number shape. @param shape shape to check @return true if is a number shape.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:417
↓ 2 callers
Function
isPayload
(schema *smithy.Schema)
transport/http/protocol/internal/xml/shape_serializer.go:345
↓ 2 callers
Function
isRSB
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:617
↓ 2 callers
Method
isShapeEnum
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:219
↓ 2 callers
Method
isTopLevelCodeBlock
(Node node, int depth)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:239
↓ 2 callers
Method
isUnit
(ShapeId id)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:86
↓ 2 callers
Method
isUniverseType
Go declares several built-in language types in what is known as the Universe block. This function determines whether the provided symbol represents a
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:191
↓ 2 callers
Method
isZero
returns true if end element local name is empty
encoding/xml/element.go:89
↓ 2 callers
Method
location
(Location location)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:140
↓ 2 callers
Method
lookupShortName
(id string)
type_registry.go:49
↓ 2 callers
Method
major
(int major)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:352
↓ 2 callers
Method
makeUUIDv4
(u []byte)
rand/uuid.go:61
↓ 2 callers
Method
memberName
(schema *smithy.Schema)
transport/http/protocol/internal/query/shape_serializer.go:119
↓ 2 callers
Method
minor
(int minor)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:357
↓ 2 callers
Function
mockBuildMiddleware
(id string)
middleware/shared_test.go:44
↓ 2 callers
Function
mockDeserializeMiddleware
(id string)
middleware/shared_test.go:66
↓ 2 callers
Function
mockFinalizeMiddleware
(id string)
middleware/shared_test.go:55
↓ 2 callers
Function
mockSerializeMiddleware
(id string)
middleware/shared_test.go:33
↓ 2 callers
Method
modelShapeID
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:46
↓ 2 callers
Method
moduleDependency
Get {@link GoDependency} representing the provided module description. @param sourcePath the root source path for the given code @param importPath th
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:307
↓ 2 callers
Method
moduleName
(String moduleName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:148
↓ 2 callers
Function
newArray
(w *bytes.Buffer, scratch *[]byte)
encoding/json/array.go:14
↓ 2 callers
Function
newFlattenedMap
newFlattenedMap returns a map encoder which sets the map entry wrapper to the passed in memberWrapper`. A flattened map `someMap : {{key:"abc", value
encoding/xml/map.go:38
↓ 2 callers
Method
newHeaderValue
(key string, append bool)
encoding/httpbinding/header.go:28
↓ 2 callers
Function
newMap
newMap returns a map encoder which sets the default map entry wrapper to `entry`. A map `someMap : {{key:"abc", value:"123"}}` is represented as `<so
encoding/xml/map.go:25
↓ 2 callers
Function
newObject
(w *bytes.Buffer, scratch *[]byte)
encoding/json/object.go:14
↓ 2 callers
Method
newResolverFn
(Symbol newResolverFn)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:382
↓ 2 callers
Function
newURIValue
(path *[]byte, rawPath *[]byte, buffer *[]byte, key string)
encoding/httpbinding/uri.go:17
↓ 2 callers
Function
newWriter
()
transport/http/protocol/internal/xml/writer.go:14
↓ 2 callers
Function
normalize
normalize recursively walks a parsed value tree. Both parsers produce the same types (float64 for numbers, string, bool, nil, []any, map[string]any) s
transport/http/protocol/internal/json/fuzz_test.go:88
↓ 2 callers
Function
oldDeserialize
========================================================================== OLD PATH: json.Decoder -> interface{} -> tree walk ========================
transport/http/protocol/internal/json/benchmark_test.go:95
↓ 2 callers
Method
operation
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:663
↓ 2 callers
Method
parameterAsSymbol
(Parameter parameter)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:206
↓ 2 callers
Method
parametersType
(Symbol parametersType)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:387
↓ 2 callers
Function
parseInt
parseInt parses a decimal int directly from bytes, avoiding string alloc.
transport/http/protocol/internal/json/shape_deserializer.go:166
← previous
next →
801–900 of 4,136, ranked by callers