Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
3,047 in github.com/aws/smithy-go
⨍
Functions
3,047
◇
Types & classes
681
↓ 10 callers
Method
builder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:75
↓ 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
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
↓ 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
string
(String string)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:82
↓ 10 callers
Method
toBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:77
↓ 10 callers
Method
type
Sets the type of the config field. @param type A Symbol representing the type of the config field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:145
↓ 9 callers
Method
Do
(*http.Request)
transport/http/client.go:16
↓ 9 callers
Method
HandleSerialize
(ctx context.Context, in SerializeInput)
middleware/step_serialize.go:27
↓ 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
build
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:457
↓ 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:201
↓ 9 callers
Method
getDefaultShapeName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:235
↓ 9 callers
Method
getIntegrations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:564
↓ 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:69
↓ 9 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:288
↓ 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
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:216
↓ 8 callers
Function
DecorateHandler
DecorateHandler decorates a handler with a middleware. Wrapping the handler with the middleware.
middleware/middleware.go:62
↓ 8 callers
Method
Encode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 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
HandleFinalize
(ctx context.Context, in FinalizeInput)
middleware/step_finalize.go:24
↓ 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
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
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
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
↓ 8 callers
Method
Value
Value adds a new element to the JSON Array. Returns a Value type that is used to encode the array element.
encoding/json/array.go:22
↓ 8 callers
Function
compose
(major majorType, minor byte)
encoding/cbor/encode.go:137
↓ 8 callers
Method
empty
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:33
↓ 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:309
↓ 8 callers
Method
getSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:58
↓ 8 callers
Method
getSettings
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:536
↓ 8 callers
Method
run
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EnumGenerator.java:47
↓ 8 callers
Method
service
(ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:592
↓ 8 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
↓ 8 callers
Function
withMetricProps
(opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/option.go:16
↓ 8 callers
Method
writeGoTemplate
Writes the contents and arguments as a template to the writer. @param contents string to write @param args Arguments to use when evaluating the c
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:358
↓ 7 callers
Method
Add
Add injects the middleware to the relative position of the middleware group. Add never returns an error. It used to for duplicate phases but this beh
middleware/step_initialize.go:134
↓ 7 callers
Method
Close
Close closes the ByteLoop, and prevents any further reading.
testing/reader.go:33
↓ 7 callers
Method
DoChan
DoChan is like Do but returns a channel that will receive the results when they are ready. The returned channel will not be closed.
internal/sync/singleflight/singleflight.go:114
↓ 7 callers
Function
Encode
Encode returns a byte slice that encodes the given Value.
encoding/cbor/cbor.go:126
↓ 7 callers
Method
GetValue
()
document/json/encoder.go:42
↓ 7 callers
Method
Key
Key adds the given named key to the JSON object. Returns a Value encoder that should be used to encode a JSON value type.
encoding/json/object.go:27
↓ 7 callers
Method
Long
Long encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:131
↓ 7 callers
Function
New
New returns an instance of Signer with applied options.
aws-http-auth/sigv4/sigv4.go:28
↓ 7 callers
Function
UnsignedPayload
UnsignedPayload provides the sentinel value for a payload hash to indicate that a request's payload is unsigned.
aws-http-auth/v4/v4.go:53
↓ 7 callers
Method
asWritable
Creates a Writable which renders the middleware. @param body A Writable that renders the middleware body. @param fields A Writable that renders the mi
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:287
↓ 7 callers
Method
build
Builds the middleware generator. @return the middleware generator.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:392
↓ 7 callers
Method
buildCanonicalRequest
()
aws-http-auth/internal/v4/signer.go:142
↓ 7 callers
Method
builder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:234
↓ 7 callers
Function
decodeArgument
pulls the next argument out of the buffer expects one of the sized arguments and will error otherwise - callers that need to check for the indefinite
encoding/cbor/decode.go:281
↓ 7 callers
Method
documentation
Sets the documentation for the config field. @param documentation The documentation for the config field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:156
↓ 7 callers
Function
encodeArg
(t majorType, arg I, p []byte)
encoding/cbor/encode.go:155
↓ 7 callers
Method
expectCollectionShape
Returns the shape unpacked as a CollectionShape. Throws and exception if the passed in shape is not a list or set. @param shape the list or set shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:309
↓ 7 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
↓ 7 callers
Method
getDependencies
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:204
↓ 7 callers
Method
getExportedParameterName
(Parameter parameter)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:222
↓ 7 callers
Method
getReference
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:200
↓ 7 callers
Method
getSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonSerializerGenerator.java:49
↓ 7 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
↓ 7 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:203
↓ 7 callers
Function
itoarglen
(v I)
encoding/cbor/encode.go:141
↓ 7 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:121
↓ 7 callers
Method
modifyHeader
(value string)
encoding/httpbinding/header.go:43
↓ 7 callers
Function
newOrderedIDs
(cap int)
middleware/ordered_group.go:30
↓ 7 callers
Function
newValue
newValue writes the start element xml tag and returns a Value
encoding/xml/value.go:35
↓ 7 callers
Function
peekMinor
(p []byte)
encoding/cbor/decode.go:273
↓ 7 callers
Method
toString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:94
↓ 7 callers
Method
updateKey
(value string)
encoding/httpbinding/query.go:28
↓ 6 callers
Method
Array
Array returns an array encoder. By default, the members of array are wrapped with `<member>` element tag. If value is marked as flattened, the start e
encoding/xml/value.go:233
↓ 6 callers
Method
Build
Build returns a build standard HTTP request value from the Smithy request. The request's stream is wrapped in a safe container that allows it to be re
transport/http/request.go:160
↓ 6 callers
Method
Close
Close encodes the end of the JSON Array
encoding/json/array.go:33
↓ 6 callers
Method
Do
Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate
internal/sync/singleflight/singleflight.go:84
↓ 6 callers
Function
GetStackValue
GetStackValues returns the value pointed to by the key within the stack values, if it is present.
middleware/stack_values.go:26
↓ 6 callers
Function
GetStructFields
GetStructFields returns a list of fields for the given type. Type info is cached to avoid repeated calls into the reflect package
document/internal/serde/field.go:42
↓ 6 callers
Method
HandleInitialize
(ctx context.Context, in InitializeInput)
middleware/step_initialize.go:25
↓ 6 callers
Function
IsNoSerde
IsNoSerde returns whether the given type implements the no smithy document serde interface.
document/document.go:91
↓ 6 callers
Method
List
List returns a list of the middleware in the step.
middleware/step_initialize.go:218
↓ 6 callers
Method
Long
Long encodes v as a JSON number
encoding/json/value.go:45
↓ 6 callers
Method
Map
* Map returns a map encoder. By default, the map entries are wrapped with `<entry>` element tag. If value is marked as flattened, the start element i
encoding/xml/value.go:255
↓ 6 callers
Function
NewRingBuffer
NewRingBuffer method takes in a byte slice as an input and returns a RingBuffer.
io/ringbuffer.go:20
↓ 6 callers
Method
Store
(v time.Time)
transport/http/metrics.go:191
↓ 6 callers
Method
Values
Values returns a shallow clone of the property set's values.
properties.go:61
↓ 6 callers
Function
WithStackValue
WithStackValue adds a key value pair to the context that is intended to be scoped to a stack. Use ClearStackValues to get a new context with all stack
middleware/stack_values.go:12
↓ 6 callers
Method
createDefaultHttpApplicationProtocol
Creates a default HTTP application protocol. @return Returns the created application protocol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:54
↓ 6 callers
Method
execute
(PluginContext context)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoCodegenPlugin.java:35
↓ 6 callers
Function
expectIDList
(t *testing.T, expect, actual []string)
middleware/shared_test.go:88
↓ 6 callers
Method
fileManifest
(FileManifest fileManifest)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:153
↓ 6 callers
Method
generateDeserFunction
Generates a function for deserializing the output shape, dispatching body handling to the supplied function. @param shape The shape to generat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeDeserVisitor.java:419
↓ 6 callers
Method
generateSerFunction
Generates a function for serializing the input shape, dispatching the body generation to the supplied function. @param shape The shape to gene
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:328
↓ 6 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
↓ 6 callers
Method
importPath
Set the import path. @param importPath the import path @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:396
↓ 6 callers
Method
isNilable
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:221
↓ 6 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
← previous
next →
101–200 of 3,047, ranked by callers