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
↓ 4 callers
Method
getDeprecated
@return The optional deprecation documentation for the field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:73
↓ 4 callers
Method
getDeserializeMiddlewareName
(ShapeId operationShapeId, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:265
↓ 4 callers
Method
getGoDirective
Gets the optional Go directive for the module that will be generated. @return Returns the Go directive.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:225
↓ 4 callers
Method
getInternalDocumentSymbol
(String typeName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:414
↓ 4 callers
Method
getMinor
The minor version number. @return the minor version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:73
↓ 4 callers
Method
getOperationsRequiringValidation
Get the set of operations that require validation. @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:125
↓ 4 callers
Method
getPatch
The patch version number. @return the patch version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:82
↓ 4 callers
Method
getPreRelease
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:86
↓ 4 callers
Method
getPrefix
The semantic version prefix present before the major version. @return the optional prefix
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:55
↓ 4 callers
Method
getProtocol
Gets the supported protocol {@link ShapeId}. @return Returns the protocol supported
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:76
↓ 4 callers
Method
getSerializeMiddlewareName
(ShapeId operationShapeId, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:259
↓ 4 callers
Method
has
(id string)
middleware/ordered_group.go:263
↓ 4 callers
Method
isRequiredParameter
Checks whether a {@link MemberShape} is marked as being required explicitly or implicitly. @param model the model @param shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:179
↓ 4 callers
Method
isRestBinding
(HttpBinding.Location location)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:645
↓ 4 callers
Method
lazyInit
()
properties.go:65
↓ 4 callers
Method
len
()
encoding/cbor/cbor.go:49
↓ 4 callers
Function
newHeaderValue
(header http.Header, key string, append bool)
encoding/httpbinding/header.go:39
↓ 4 callers
Function
newRequest
(body io.ReadCloser, opts ...func(*http.Request))
aws-http-auth/sigv4a/sigv4a_test.go:107
↓ 4 callers
Function
newValue
newValue returns a new Value encoder
encoding/json/value.go:20
↓ 4 callers
Method
of
(Model model)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:115
↓ 4 callers
Method
protocolName
(String protocolName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:613
↓ 4 callers
Method
resolveRequiredDocumentShapeSerde
Resolves the entire set of shapes that will require serde given an initial set of shapes. @param model the model @param shapes the shapes to walk an
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:64
↓ 4 callers
Method
setService
Sets the service to generate. @param service The service to generate.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:132
↓ 4 callers
Method
sliceOf
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:231
↓ 4 callers
Method
sourcePath
Set the source path. @param sourcePath the source path root @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:385
↓ 4 callers
Method
useClientOptions
Sets symbol that resolves to options as an argument for the resolved function. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:151
↓ 4 callers
Method
withMember
(Expression expr, String name)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:44
↓ 4 callers
Method
writeNewline
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:218
↓ 4 callers
Method
writeShapeDocs
Writes shape documentation comments if docs are present. @param shape Shape to write the documentation of. @return Returns true if docs were written.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:738
↓ 3 callers
Method
ArrayWithCustomName
* ArrayWithCustomName returns an array encoder. It takes named start element as an argument, the named start element will used to wrap xml array entr
encoding/xml/value.go:244
↓ 3 callers
Function
AsBigInt
AsBigInt coerces a Value to its big.Int representation if possible. A BigInt may be represented by any of the following: - Uint - NegInt - Tag (type
encoding/cbor/coerce.go:189
↓ 3 callers
Function
AsInt64
AsInt64 coerces a Value to its int64 representation if possible.
encoding/cbor/coerce.go:74
↓ 3 callers
Method
Boolean
Boolean encodes v as a XML boolean. It will auto close the parent xml element tag.
encoding/xml/value.go:159
↓ 3 callers
Method
Clone
Clone returns a deep copy of the Request for the new context. A reference to the Stream is copied, but the underlying stream is not copied.
transport/http/request.go:46
↓ 3 callers
Method
Close
Close calls the underlying io.ReadCloser's Close method, removes the reference to the reader, and returns any error reported from Close. Subsequent ca
transport/http/internal/io/safe.go:64
↓ 3 callers
Method
Decode
Decode unmarshals a CBOR Value into the target.
document/cbor/decode.go:44
↓ 3 callers
Method
DecodeJSONInterface
DecodeJSONInterface decodes the supported JSON input types and stores the result in the value pointed by toValue. If toValue is not a compatible type
document/json/decoder.go:34
↓ 3 callers
Function
DeserializeMiddlewareFunc
DeserializeMiddlewareFunc returns a DeserializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_deserialize.go:48
↓ 3 callers
Method
Double
Double encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:147
↓ 3 callers
Method
Encode
Encode returns the JSON encoding of v.
document/json/encoder.go:24
↓ 3 callers
Method
FieldByName
FieldByName retrieves a field by name.
document/internal/serde/field_cache.go:38
↓ 3 callers
Method
GetUUID
GetUUID returns a random UUID version 4 string representation sourced from the random reader the UUID was created with. Returns an error if unable to
rand/uuid.go:41
↓ 3 callers
Method
Has
Has returns whether the key exists in the metadata. Panics if the key type is not comparable.
properties.go:41
↓ 3 callers
Function
Int
Int returns a pointer value for the int value passed in.
ptr/to_ptr.go:96
↓ 3 callers
Method
Len
()
document/internal/serde/field.go:227
↓ 3 callers
Method
Len
()
testing/xml/sort.go:12
↓ 3 callers
Method
Load
()
transport/http/metrics.go:195
↓ 3 callers
Function
NewAttribute
* NewAttribute returns a pointer to an attribute. It takes in a local name aka attribute name, and value representing the attribute value. */
encoding/xml/element.go:29
↓ 3 callers
Function
NewDecoder
NewDecoder returns a Decoder for deserializing Smithy documents for JSON based protocols.
document/json/json.go:17
↓ 3 callers
Function
NewEncoder
NewEncoder returns an Encoder for serializing Smithy documents for JSON based protocols.
document/json/json.go:4
↓ 3 callers
Function
NewNamespaceAttribute
* NewNamespaceAttribute returns a pointer to an attribute. It takes in a local name aka attribute name, and value representing the attribute value. N
encoding/xml/element.go:51
↓ 3 callers
Function
NewQueryValue
NewQueryValue creates a new QueryValue which enables encoding a query value into the given url.Values.
encoding/httpbinding/query.go:20
↓ 3 callers
Function
NewUUID
NewUUID returns an initialized UUID value that can be used to retrieve random UUID version 4 values.
rand/uuid.go:35
↓ 3 callers
Method
Null
Null encodes a null JSON value
encoding/json/value.go:98
↓ 3 callers
Method
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_build.go:195
↓ 3 callers
Method
Reset
Reset resets the ring buffer.
io/ringbuffer.go:90
↓ 3 callers
Method
RewindStream
RewindStream will rewind the io.Reader to the relative start position if it is an io.Seeker.
transport/http/request.go:94
↓ 3 callers
Method
Set
Set stores the value pointed to by the key. If a value already exists at that key it will be replaced with the new value. Set method must be called a
middleware/metadata.go:49
↓ 3 callers
Function
SetLogger
SetLogger sets the provided logger value on the provided ctx.
middleware/logging.go:25
↓ 3 callers
Function
String
String returns a pointer value for the string value passed in.
ptr/to_ptr.go:67
↓ 3 callers
Function
URLFormEqual
URLFormEqual compares two URLForm documents and identifies if the documents contain the same values. Returns an error if the two documents are not equ
testing/document.go:86
↓ 3 callers
Method
Value
(key interface{})
middleware/stack_values.go:53
↓ 3 callers
Function
WithHeaderComment
WithHeaderComment instruments a middleware stack to append an HTTP field comment to the given header as specified in RFC 9110 (https://www.rfc-editor.
transport/http/middleware_header_comment.go:24
↓ 3 callers
Function
WrapNodeDecoder
WrapNodeDecoder returns an initialized XMLNodeDecoder
encoding/xml/xml_decoder.go:18
↓ 3 callers
Function
XMLEqual
XMLEqual asserts two xml documents by sorting the XML and comparing the strings It returns an error in case of mismatch or in case of malformed xml fo
testing/document.go:51
↓ 3 callers
Method
addConfigField
Adds a config field 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 will
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:375
↓ 3 callers
Method
build
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:107
↓ 3 callers
Method
buildMockPluginContext
( Model model, FileManifest manifest, String serviceShapeId )
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:64
↓ 3 callers
Method
buildPackageSymbol
Builds a symbol within the context of the package in which codegen is taking place. @param name Symbol name. @return The built symbol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:210
↓ 3 callers
Function
collectUnknownField
(decoder *json.Decoder)
encoding/json/decoder_util.go:61
↓ 3 callers
Method
configFields
Sets 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:352
↓ 3 callers
Method
createDeserializeStepMiddleware
Create a new DeserializeStep middleware generator with the provided type name. @param name is the type name to identify the middleware. @param id t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:169
↓ 3 callers
Method
decode
(cv cbor.Value, rv reflect.Value, tag serde.Tag)
document/cbor/decode.go:57
↓ 3 callers
Method
decode
(jv interface{}, rv reflect.Value, tag serde.Tag)
document/json/decoder.go:48
↓ 3 callers
Method
delegator
(GoDelegator delegator)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:618
↓ 3 callers
Method
dependencies
Set the collection of {@link GoDependency} required by this dependency. @param dependencies a collection of dependencies @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:429
↓ 3 callers
Function
derivePrivateKey
derivePrivateKey derives a NIST P-256 PrivateKey from the given IAM AccessKey and SecretKey pair. Based on FIPS.186-4 Appendix B.4.2
aws-http-auth/sigv4a/credentials.go:70
↓ 3 callers
Method
equals
(Object o)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:861
↓ 3 callers
Function
escapeStringBytes
escapeStringBytes escapes and writes the passed in string bytes to the dst buffer Copied and modifed from Go 1.8 stdlib's encodeing/json/#encodeState
encoding/json/escape.go:126
↓ 3 callers
Method
escapeWithTrailingUnderscore
(String symbolName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:182
↓ 3 callers
Function
expectHeader
(t *testing.T, header http.Header, h, ev string)
transport/http/middleware_header_comment_test.go:109
↓ 3 callers
Function
expectID
(t *testing.T, m ider, expect string)
middleware/shared_test.go:77
↓ 3 callers
Method
expectMember
(CollectionShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:390
↓ 3 callers
Method
generate
(Optional<EndpointRuleSet> ruleset)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:99
↓ 3 callers
Method
generateHttpHeaderValue
( GenerationContext context, GoWriter writer, MemberShape memberShape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1193
↓ 3 callers
Method
getApiClientInterfaceName
Returns name of an API client interface. @param operationSymbol Symbol of operation shape for which Api client interface is being generated. @return
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/OperationInterfaceGenerator.java:51
↓ 3 callers
Method
getApplicationProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:55
↓ 3 callers
Method
getApplicationProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:95
↓ 3 callers
Method
getAuthSchemeDefinitions
Gets the registered auth scheme codegen definitions. @return the definitions.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:132
↓ 3 callers
Method
getBuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:90
↓ 3 callers
Method
getDefaultMemberName
(MemberShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:240
↓ 3 callers
Method
getDeserializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonDeserializerGenerator.java:47
↓ 3 callers
Method
getDocumentSymbolBuilder
Create a non-pointable {@link Symbol.Builder} for typeName in the service's document package. @param settings the Smithy Go settings. @param typeName
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:434
↓ 3 callers
Method
getErrorDeserFunctionName
Generates the name of an error deserializer function for shapes of a service. @param shape The error structure shape for which deserializer name i
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:254
↓ 3 callers
Method
getEventStreamOperationStructureSymbol
( ServiceShape serviceShape, OperationShape operationShape )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:387
↓ 3 callers
Method
getFunctionArguments
@return collection of symbols denoting the arguments of the resolved function.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:52
↓ 3 callers
Function
getLineage
(ctx context.Context)
tracing/context.go:55
↓ 3 callers
Method
getOperationsWithIdempotencyToken
Gets a map with key as OperationId and Member shape as value for member shapes of an operation decorated with the Idempotency token trait. @param mod
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:213
↓ 3 callers
Method
getRequestType
Gets the symbol used to refer to the request type for this protocol. @return Returns the protocol request type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:93
↓ 3 callers
Method
getResolvedFunction
@return symbol that resolves to a function.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:45
← previous
next →
301–400 of 3,047, ranked by callers