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
generateWriterAdapter
(GoWriter writer, UnionShape union)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:156
↓ 1 callers
Method
generateZeroValue
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonDeserializerGenerator.java:97
↓ 1 callers
Method
getAdditionalArguments
Gets any additional arguments needed for every deserializer function. @return a map of argument name to argument type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeDeserVisitor.java:454
↓ 1 callers
Method
getAdditionalClientOptions
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:57
↓ 1 callers
Method
getAdditionalClientOptions
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Paginators.java:50
↓ 1 callers
Method
getAdditionalSerArguments
Gets any additional arguments needed for every serializer function. <p> For example, a json protocol may wish to pass around a {@code smithy/json.Valu
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:363
↓ 1 callers
Method
getAllClientMembers
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:345
↓ 1 callers
Method
getAuthParameterResolvers
Gets the auth parameter resolvers that will be added by this plugin. @return the auth parameter resolvers.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:146
↓ 1 callers
Method
getAuthParameters
Gets the auth parameters that will be added by this plugin. @return the auth parameters.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:138
↓ 1 callers
Method
getAuthSchemeSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/ResolveAuthSchemeMiddlewareGenerator.java:202
↓ 1 callers
Method
getBuiltinMemberName
(Identifier ident)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/ExpressionGenerator.java:313
↓ 1 callers
Method
getCachedToken
getCachedToken returns the currently cached token and true if found. Returns false if no token is cached.
auth/bearer/token_cache.go:196
↓ 1 callers
Method
getCanonicalHeader
Converts the first letter and any letter following a hyphen to upper case. The remaining letters are lower cased. @param key the header @return the c
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1655
↓ 1 callers
Method
getClientMemberResolvers
Gets the client members that will be added to the client structure by this plugin. @return the client member resolvers.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:130
↓ 1 callers
Method
getClientMembers
Gets the client member fields that will be added to the client structure by this plugin. <p>Each client member field will be added to the client's st
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:253
↓ 1 callers
Method
getConfigFieldResolvers
Gets the config fields that will be added to the client config by this plugin. @return the config field resolvers.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:105
↓ 1 callers
Method
getConfigFields
Gets the config fields that will be added to the client config by this plugin. <p>Each config field will be added to the client's Config object and w
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:232
↓ 1 callers
Method
getContext
Gets the generation context. @return The generation context.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:82
↓ 1 callers
Method
getDeserializeResponseMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2ProtocolGenerator.java:37
↓ 1 callers
Method
getDocumentContentType
Gets the content-type for a request body. @return Returns the default content-type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:65
↓ 1 callers
Method
getDocumentContentType
Gets the default content-type when a document is synthesized in the body. @return Returns the default content-type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:186
↓ 1 callers
Method
getDocumentDeserializerFunctionName
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:221
↓ 1 callers
Method
getDocumentFilePath
(String fileName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:461
↓ 1 callers
Method
getDocumentPackage
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:453
↓ 1 callers
Method
getDocumentSerializerFunctionName
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:203
↓ 1 callers
Method
getDocumentSymbol
(String typeName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:465
↓ 1 callers
Method
getErrorCode
Returns an error code for an error shape. Defaults to error shape name as error code. @param service the service enclosure for the error shape. @p
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:439
↓ 1 callers
Method
getEventStreamInitialReplyPointableSymbol
( ServiceShape serviceShape, OperationShape operationShape )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:633
↓ 1 callers
Method
getEventStreamWriterAdapterName
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:652
↓ 1 callers
Method
getExportedParameterName
(Parameter parameter)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointClientPluginsGenerator.java:47
↓ 1 callers
Function
getExt
(s *smithy.Schema)
transport/http/protocol/internal/json/ext.go:13
↓ 1 callers
Method
getFields
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:35
↓ 1 callers
Method
getFuncBody
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:51
↓ 1 callers
Method
getFuncName
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:43
↓ 1 callers
Method
getGenerateGoMod
Gets the flag for generating go.mod file. @return Returns if go.mod will be generated (true) or not (false)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:210
↓ 1 callers
Method
getHandler
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:47
↓ 1 callers
Method
getHttpBindingEncoderSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:762
↓ 1 callers
Method
getHttpHeaderCollectionDeserializer
( GenerationContext context, GoWriter writer, MemberShape memberShape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1366
↓ 1 callers
Method
getInternalDocumentFilePath
(String fileName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:457
↓ 1 callers
Method
getInternalDocumentPackage
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:449
↓ 1 callers
Method
getLocalVarParameterName
(Parameter p)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:193
↓ 1 callers
Method
getMemberParameterName
(Parameter p)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:197
↓ 1 callers
Method
getMemberWithIdempotencyToken
Returns member shape which gets members decorated with Idempotency Token trait. @param model Model used for generation. @param operation Operatio
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:242
↓ 1 callers
Method
getMiddlewareAfterPositionSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:180
↓ 1 callers
Method
getMiddlewareBeforePositionSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:185
↓ 1 callers
Method
getName
Gets the protocol name. <p>All HTTP protocols should start with "http". All MQTT protocols should start with "mqtt". @return Returns the protocol na
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:75
↓ 1 callers
Method
getName
(Shape shape, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeDeserVisitor.java:63
↓ 1 callers
Method
getNameOfBoundOperation
(StructureShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:482
↓ 1 callers
Method
getOperationContextResolvers
Gets the operation context resolvers contributed by this plugin. <p>Each resolver is a symbol pointing to a function with the signature {@code func(c
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:122
↓ 1 callers
Method
getOperationPath
Provides the request path for the operation. @param context The generation context. @param operation The operation being generated. @return The pat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:268
↓ 1 callers
Method
getOperationTarget
(OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/aws/AwsJson10ProtocolGenerator.java:222
↓ 1 callers
Method
getOperationsWithEndpointPrefix
Gets a list of the operations decorated with the EndpointTrait. @param model Model used for generation. @param service Service for getting list of
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/EndpointHostPrefixMiddleware.java:180
↓ 1 callers
Method
getOperationsWithV2EventStream
Gets a list of the operations with v2 event streams (non-legacy event streams). @param model Model used for generation. @param service Service for
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/AddEventStreamMiddleware.java:115
↓ 1 callers
Function
getOrAddHeaderComment
(s *middleware.Stack)
transport/http/middleware_header_comment.go:63
↓ 1 callers
Method
getPayloadShapeMediaType
Returns the MediaType for the payload shape derived from the MediaTypeTrait, shape type, or document content type. @param payloadShape shape bound to
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:636
↓ 1 callers
Method
getProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerProtocolGenerator.java:31
↓ 1 callers
Method
getProtocolGenerators
Gets a list of protocol generators to register. @return Returns the list of protocol generators to register.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:175
↓ 1 callers
Method
getProtocolName
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2DeserializeResponseMiddleware.java:38
↓ 1 callers
Method
getProtocolName
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2SerializeRequestMiddleware.java:45
↓ 1 callers
Method
getRepoRootDir
Returns the path for the repository's root relative to the smithy-go-codegen module. @return repo root.
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:123
↓ 1 callers
Method
getResourceAsString
(String resourcePath)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:54
↓ 1 callers
Method
getSerializeRequestMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2ProtocolGenerator.java:33
↓ 1 callers
Method
getServerProtocolGenerators
Gets a list of server protocol generators to register. Protocol generators should generally be written to accept the codegen context at construction t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:191
↓ 1 callers
Method
getService
Get the service the skip test applies to. @return the service id
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:887
↓ 1 callers
Method
getSettingsNode
( String serviceShapeId, String moduleName, String moduleVersion, Boolean gene
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:98
↓ 1 callers
Method
getShapeDeserializers
Gets the registered shape deserializers. @return the deserializers.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:170
↓ 1 callers
Method
getShapesToSerde
(Model model, Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:57
↓ 1 callers
Function
getSignature
(r *http.Request)
aws-http-auth/sigv4a/sigv4a_test.go:353
↓ 1 callers
Method
getStreamingPayloadMember
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/StructureGenerator.java:179
↓ 1 callers
Method
getString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:59
↓ 1 callers
Method
getTestNames
Get the names of the tests the skip test applies to. @return the name of the test to skip
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:905
↓ 1 callers
Method
handleDenseListNull
(Symbol memberSymbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:256
↓ 1 callers
Method
handleDenseMapNull
(Symbol valueSymbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:307
↓ 1 callers
Method
handleMethodName
Sets the handler method name. @param handleMethodName the middleware handler method name to implement. @return the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:403
↓ 1 callers
Method
handleNullField
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:373
↓ 1 callers
Method
handleResponse
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2DeserializeResponseMiddleware.java:71
↓ 1 callers
Method
handleSparseList
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:156
↓ 1 callers
Method
handleSparseList
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:245
↓ 1 callers
Method
handleSparseMap
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:189
↓ 1 callers
Method
handleSparseMap
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:296
↓ 1 callers
Method
handlerType
Set the handler type symbol reference for the middleware. @param handlerType the symbol reference to the handler type. @return the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:458
↓ 1 callers
Method
hasBindings
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParameterOperationBindingsGenerator.java:56
↓ 1 callers
Function
hasBlobPayload
(output *smithy.Schema)
transport/http/protocol/internal/httpbinding/ext.go:24
↓ 1 callers
Function
hasBodyMembers
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:233
↓ 1 callers
Method
hasCodeMember
(StructureShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SerdeResponseSnapshotTests.java:568
↓ 1 callers
Method
hasEventStream
(Model model, Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/ProtocolUtil.java:50
↓ 1 callers
Method
hasGoInstalled
Returns true if the go command can be executed. @return go command can be executed.
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:134
↓ 1 callers
Method
hasNoEndpointRules
(Model model, ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DefaultEndpointResolverV2.java:22
↓ 1 callers
Method
hasOperationsWithIdempotencyToken
Returns if there are any operations within the service that use idempotency token auto fill trait. @param model Model used for generation. @param s
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:231
↓ 1 callers
Function
hostnameWithoutZone
hostname implements u.Hostname() but strips the ipv6 zone ID (if present) such that net.ParseIP can still recognize IPv6 addresses with zone IDs. FUT
endpoints/private/rulesfn/uri.go:123
↓ 1 callers
Function
icopy
(v []T)
transport/http/interceptor.go:7
↓ 1 callers
Method
indexFor
(UnionShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:438
↓ 1 callers
Method
init
()
aws-http-auth/internal/v4/signer.go:82
↓ 1 callers
Method
init
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:89
↓ 1 callers
Method
initialRequest
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:238
↓ 1 callers
Method
initialRequestWriter
(String inputSchemaName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:442
↓ 1 callers
Method
initialResponse
(software.amazon.smithy.model.shapes.Shape outputShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:260
↓ 1 callers
Method
inputType
Set the input type symbol reference for the middleware. @param inputType the symbol reference to the input type. @return the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:436
↓ 1 callers
Method
intOfBitSize
(bitSize int)
document/document.go:195
↓ 1 callers
Method
isBindingSet
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/deserializer.go:405
← previous
next →
1,801–1,900 of 4,329, ranked by callers