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
↓ 14 callers
Method
getOutput
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/middleware/OperationMiddleware.java:49
↓ 14 callers
Method
goDocTemplate
(String contents)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:158
↓ 14 callers
Method
nextIdent
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:422
↓ 14 callers
Function
toInstrumentOpts
(opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/option.go:8
↓ 14 callers
Method
write
(Writable w)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:842
↓ 13 callers
Method
HandleDeserialize
(ctx context.Context, in DeserializeInput)
middleware/step_deserialize.go:25
↓ 13 callers
Method
Logf
Logf is expected to support the standard fmt package "verbs".
logging/logger.go:21
↓ 13 callers
Method
SignRequest
(context.Context, *Request, auth.Identity, smithy.Properties)
transport/http/auth.go:21
↓ 13 callers
Method
getService
Gets the id of the service that is being generated. @return Returns the service id. @throws NullPointerException if the service has not been set.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:110
↓ 13 callers
Function
isHTTPHeader
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:199
↓ 13 callers
Method
isPointable
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:196
↓ 13 callers
Method
registerMiddleware
Gets the optionally present middleware registrar object that resolves to middleware registering function. @return Returns the optionally present Midd
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:160
↓ 13 callers
Method
service
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoCodegenContext.java:45
↓ 13 callers
Function
unquote
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:583
↓ 13 callers
Method
visit
(JmespathExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:85
↓ 12 callers
Method
Members
Members returns the schema's members as a map of name to schema.
schema.go:218
↓ 12 callers
Function
fmtNegint
(v NegInt)
encoding/cbor/coerce.go:9
↓ 12 callers
Method
integrations
(Collection<GoIntegration> integrations)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:599
↓ 12 callers
Method
peekMajor
()
transport/http/protocol/internal/cbor/shape_deserializer.go:60
↓ 12 callers
Method
pointableSymbol
Creates a pointable Symbol for a name 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:200
↓ 12 callers
Method
version
Set the dependency version. @param version the version @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:418
↓ 12 callers
Method
writePrefix
writePrefix handles the key-or-comma logic before a value, respecting noKey.
transport/http/protocol/internal/json/shape_serializer.go:98
↓ 11 callers
Method
AddQuery
AddQuery returns a QueryValue used for appending the given query key
encoding/httpbinding/encode.go:115
↓ 11 callers
Method
Do
(*http.Request)
transport/http/client.go:16
↓ 11 callers
Method
Next
()
transport/http/protocol/internal/json/parser.go:51
↓ 11 callers
Method
SetHeader
SetHeader returns a HeaderValue used to set the value of prefix+key
encoding/httpbinding/header.go:24
↓ 11 callers
Function
assertValue
(t *testing.T, e, a Value)
encoding/cbor/decode_test.go:1215
↓ 11 callers
Method
builder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:75
↓ 11 callers
Method
eof
()
transport/http/protocol/internal/cbor/shape_deserializer.go:56
↓ 11 callers
Method
getDeserializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:62
↓ 11 callers
Method
getVersion
Get the version of the dependency. @return the version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:146
↓ 11 callers
Method
resolvedFunction
Set the name of the MiddlewareRegistrar function. @param resolvedFunction a symbol that resolves to the function . @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:118
↓ 11 callers
Method
string
(String string)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:82
↓ 11 callers
Method
toBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:77
↓ 10 callers
Method
AddHeader
AddHeader returns a HeaderValue used to append values to prefix+key
encoding/httpbinding/header.go:19
↓ 10 callers
Method
HandleBuild
(ctx context.Context, in BuildInput)
middleware/step_build.go:24
↓ 10 callers
Method
List
()
middleware/stack.go:159
↓ 10 callers
Method
Member
Member adds a new member to the XML array. It returns a Value encoder.
encoding/xml/array.go:45
↓ 10 callers
Method
SetQuery
SetQuery returns a QueryValue used for setting the given query key
encoding/httpbinding/encode.go:110
↓ 10 callers
Method
SetURI
SetURI returns a URIValue used for setting the given path key
encoding/httpbinding/encode.go:105
↓ 10 callers
Method
Token
Token on a Node Decoder returns a xml StartElement. It returns a boolean that indicates the a token is the node decoder's end node token; and an error
encoding/xml/xml_decoder.go:28
↓ 10 callers
Method
empty
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:33
↓ 10 callers
Method
getDocumentation
@return Gets the optional documentation for the field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:66
↓ 10 callers
Function
getIctx
(ctx context.Context)
transport/http/interceptor_middleware.go:16
↓ 10 callers
Function
noError
(t *testing.T, err error)
middleware/shared_test.go:15
↓ 10 callers
Method
operationPredicate
Sets a predicate that determines if the plugin applies to a specific operation. <p>When this method is called, the {@code servicePredicate} is automa
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:313
↓ 10 callers
Method
peekMinor
()
transport/http/protocol/internal/cbor/shape_deserializer.go:64
↓ 10 callers
Method
readArg
()
transport/http/protocol/internal/cbor/shape_deserializer.go:68
↓ 10 callers
Function
seekable
Tests herein are meant to verify individual components of the v4 signer implementation and should generally not be calling Do() directly. The full al
aws-http-auth/internal/v4/signer_test.go:21
↓ 10 callers
Method
writeMiddleware
Writes the middleware definition to the provided writer. See the writeMiddleware overloaded function signature for a more complete definition. @param
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:217
↓ 10 callers
Method
writeScalar
(schema *smithy.Schema, v string)
transport/http/protocol/internal/xml/shape_serializer.go:305
↓ 9 callers
Method
Get
()
eventstream/header_value.go:161
↓ 9 callers
Method
HandleFinalize
(ctx context.Context, in FinalizeInput)
middleware/step_finalize.go:24
↓ 9 callers
Method
HandleSerialize
(ctx context.Context, in SerializeInput)
middleware/step_serialize.go:27
↓ 9 callers
Method
ID
()
middleware/ordered_group.go:16
↓ 9 callers
Method
ID
()
transport/http/protocol.go:17
↓ 9 callers
Function
NewStackRequest
NewStackRequest returns an initialized request ready to be populated with the HTTP request details. Returns empty interface so the function can be use
transport/http/request.go:26
↓ 9 callers
Method
Record
(context.Context, int64, ...RecordMetricOption)
metrics/metrics.go:74
↓ 9 callers
Method
Uint64
Uint64 returns the number as a uint64.
document/document.go:200
↓ 9 callers
Method
Values
Values returns a shallow clone of the property set's values.
properties.go:61
↓ 9 callers
Method
build
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:457
↓ 9 callers
Method
buildCanonicalRequest
()
aws-http-auth/internal/v4/signer.go:144
↓ 9 callers
Function
compose
(major majorType, minor byte)
transport/http/protocol/internal/cbor/shape_serializer.go:346
↓ 9 callers
Method
getArchetype
Get the archetype shape that this clone is based on. @return the original archetype shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:49
↓ 9 callers
Method
getClientPlugins
Gets a list of plugins to apply to the generated client. @return Returns the list of RuntimePlugins to apply to the client.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/GoIntegration.java:210
↓ 9 callers
Method
getDefaultShapeName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:235
↓ 9 callers
Method
getSchemaRef
(Shape shape, ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:58
↓ 9 callers
Method
isStubSynthetic
Get if the passed in shape is decorated as a synthetic clone, but there is no other shape the clone is created from. @param shape the shape to check
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:157
↓ 9 callers
Function
mockInitializeMiddleware
(id string)
middleware/shared_test.go:22
↓ 9 callers
Method
normalize
Normalizes a scalar shape, erasing any nullability information and giving the shape a single unique synthetic ID. Non-scalar shapes are returned unmod
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/SerdeUtil.java:73
↓ 9 callers
Method
parseVersion
Parse a semantic version string into a {@link SemanticVersion}. @param version the semantic version string @return the SemanticVersion representing t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:147
↓ 9 callers
Method
pointerTo
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:227
↓ 9 callers
Method
pop
()
transport/http/protocol/internal/cbor/shape_serializer.go:66
↓ 9 callers
Method
resolveBinding
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:173
↓ 9 callers
Method
useLegacySerde
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:223
↓ 9 callers
Method
writeValue
(key, value string)
transport/http/protocol/internal/query/shape_serializer.go:164
↓ 8 callers
Method
Copy
Copy returns a deep copy of the registry. This is used by SDK clients on each operation call in order to prevent per-op config mutation from persistin
transport/http/interceptor.go:84
↓ 8 callers
Function
DecorateHandler
DecorateHandler decorates a handler with a middleware. Wrapping the handler with the middleware.
middleware/middleware.go:62
↓ 8 callers
Method
Entry
Entry returns a Value encoder with map's element. It writes the member wrapper start tag for each entry.
encoding/xml/map.go:49
↓ 8 callers
Method
Insert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_build.go:154
↓ 8 callers
Method
IsInputEventStream
IsInputEventStream reports whether this is an input event stream.
schema.go:243
↓ 8 callers
Method
Len
()
testing/xml/sort.go:12
↓ 8 callers
Method
Long
Long encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:131
↓ 8 callers
Method
Name
()
tracing/tracing.go:69
↓ 8 callers
Function
NewInitializeStep
NewInitializeStep returns an InitializeStep ready to have middleware for initialize added to it.
middleware/step_initialize.go:86
↓ 8 callers
Function
NewStack
NewStack returns an initialize empty stack.
middleware/stack.go:76
↓ 8 callers
Function
NewTokenCache
NewTokenCache returns a initialized TokenCache that implements the TokenProvider interface. Wrapping the provider passed in. Also taking a set of opti
auth/bearer/token_cache.go:81
↓ 8 callers
Method
Reset
Reset resets the ring buffer.
io/ringbuffer.go:90
↓ 8 callers
Method
RetrieveBearerToken
RetrieveBearerToken returns the token if it could be obtained, or error if a valid token could not be retrieved. The passed in Context's cancel/deadl
auth/bearer/token_cache.go:112
↓ 8 callers
Method
Serialize
(ShapeSerializer)
serde.go:107
↓ 8 callers
Method
Skip
()
transport/http/protocol/internal/json/parser.go:201
↓ 8 callers
Method
addTrait
(t Trait, direct bool)
schema.go:93
↓ 8 callers
Function
compose
(major majorType, minor byte)
encoding/cbor/encode.go:137
↓ 8 callers
Method
getExportedParameterName
(Parameter parameter)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:224
↓ 8 callers
Method
getHandleMethodName
Get the handle method name. @return handler method name.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:310
↓ 8 callers
Method
getSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:60
↓ 8 callers
Method
getSyntheticTypeNamespace
Get the namespace where synthetic types are generated at runtime. @return synthetic type namespace
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:146
↓ 8 callers
Method
goBlockTemplate
Returns a Writable that can later be invoked to write the contents as template as a code block instead of single content of text. @param beforeNewLin
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:201
↓ 8 callers
Method
isNillable
Returns if the Go type generated for the shape is comparable to nil. @param shape the shape to check @return if the shape's go type is comparable to
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoPointableIndex.java:257
↓ 8 callers
Method
joinWritables
Joins multiple writables together within a single writable without newlines between writables in the list. @param writables list of writables to join
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:119
← previous
next →
101–200 of 4,136, ranked by callers