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
↓ 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:736
↓ 4 callers
Method
writeTextString
(v string)
transport/http/protocol/internal/cbor/shape_serializer.go:283
↓ 4 callers
Function
xmlMemberName
(schema *smithy.Schema)
transport/http/protocol/internal/xml/shape_deserializer.go:128
↓ 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
Build
Build encodes HTTP binding values into the request and sets the request body. The defaultContentType is used for the protocol body (e.g. "application/
transport/http/protocol/internal/httpbinding/serializer.go:94
↓ 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
CloseUnion
()
serde.go:51
↓ 3 callers
Function
Decode
Decode returns the Value encoded in the given byte slice.
encoding/cbor/cbor.go:133
↓ 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
DirectReadStruct
DirectReadStruct is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads struct members directly.
transport/http/protocol/internal/json/shape_deserializer.go:660
↓ 3 callers
Method
Err
Err acquires a read-lock and returns an error if one has been set.
sync/error.go:25
↓ 3 callers
Method
Get
(key interface{})
middleware/metadata.go:6
↓ 3 callers
Method
GetIdentityResolver
(schemeID string)
auth/identity.go:25
↓ 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
HasBlobPayload
HasBlobPayload reports whether the given output shape binds a blob member as @httpPayload. Such a payload is handed to the caller by reference, so the
transport/http/protocol/internal/httpbinding/deserializer.go:513
↓ 3 callers
Function
Int
Int returns a pointer value for the int value passed in.
ptr/to_ptr.go:96
↓ 3 callers
Method
IsStreamSeekable
IsStreamSeekable returns whether the stream is seekable.
transport/http/request.go:114
↓ 3 callers
Method
Len
()
document/internal/serde/field.go:227
↓ 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
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
NewShapeDeserializer
NewShapeDeserializer creates a ShapeDeserializer for the given HTTP response. The payload should be nil in streaming-blob response operations.
transport/http/protocol/internal/httpbinding/deserializer.go:59
↓ 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
ReadBlob
ReadBlob implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:367
↓ 3 callers
Method
ReadInt32
(*Schema, *int32)
serde.go:72
↓ 3 callers
Method
ReadListItem
(*Schema)
serde.go:91
↓ 3 callers
Method
ReadMapKey
(*Schema)
serde.go:94
↓ 3 callers
Method
ReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:204
↓ 3 callers
Method
ReadStructMember
()
serde.go:85
↓ 3 callers
Method
ReadTime
(*Schema, *time.Time)
serde.go:79
↓ 3 callers
Method
Seek
(int64, int)
aws-http-auth/internal/v4/signer_test.go:430
↓ 3 callers
Function
String
String returns a pointer value for the string value passed in.
ptr/to_ptr.go:67
↓ 3 callers
Method
TargetID
TargetID returns the shape ID of the member's target shape.
schema.go:207
↓ 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
Method
WriteBlob
(*Schema, []byte)
serde.go:47
↓ 3 callers
Method
WriteInt64
(*Schema, int64)
serde.go:40
↓ 3 callers
Method
WriteInt64
WriteInt64 implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:162
↓ 3 callers
Method
WriteNil
(*Schema)
serde.go:53
↓ 3 callers
Method
WriteUnion
(schema, variant *Schema)
serde.go:50
↓ 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
appendMemberPrefix
(schema *smithy.Schema)
transport/http/protocol/internal/query/shape_serializer.go:129
↓ 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
builder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:364
↓ 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:398
↓ 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:170
↓ 3 callers
Method
ctxEname
wraps ename to check for the context of "am i in a list or map"
transport/http/protocol/internal/xml/element_name.go:28
↓ 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
Function
decodeHeaderValue
(r io.Reader)
eventstream/header.go:105
↓ 3 callers
Function
decodeUint32
(r io.Reader)
eventstream/decode.go:187
↓ 3 callers
Function
decodeUint8
(r io.Reader)
eventstream/decode.go:162
↓ 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
enc
()
internal/eventstream/codec.go:27
↓ 3 callers
Function
encodeQuery
encodeQuery returns the canonical query string for the given parameters, as required by the SigV4 canonical request. Each parameter name and value is
aws-http-auth/internal/v4/strings.go:61
↓ 3 callers
Method
ensureSupportedProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ClientOptions.java:260
↓ 3 callers
Function
escapeString
(w *bytes.Buffer, s string)
transport/http/protocol/internal/xml/writer.go:90
↓ 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:433
↓ 3 callers
Method
formatTime
()
aws-http-auth/internal/v4/signer.go:272
↓ 3 callers
Method
generate
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthGenerator.java:30
↓ 3 callers
Method
generate
(Optional<EndpointRuleSet> ruleset)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:100
↓ 3 callers
Method
generateCasesForShape
Generates test cases for an arbitrary root structure (e.g. an operation output shape). Produces a single case with a fully-populated literal for the s
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:102
↓ 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:1232
↓ 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:96
↓ 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:162
↓ 3 callers
Method
getBuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:90
↓ 3 callers
Method
getConfigResolvers
( ConfigFieldResolver.Location location, ConfigFieldResolver.Target target )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:810
↓ 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:48
↓ 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:243
↓ 3 callers
Method
getEventStreamReaderInterfaceName
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:647
↓ 3 callers
Method
getEventStreamWriterInterfaceName
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:642
↓ 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
goDirective
(String goDirective)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModuleInfo.java:110
↓ 3 callers
Function
handle
(stack *middleware.Stack)
transport/http/middleware_header_comment_test.go:79
↓ 3 callers
Method
hasEventStream
(OperationShape operationShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:334
↓ 3 callers
Method
hasEventStreamOperations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:316
↓ 3 callers
Method
haveRequiredParameters
(Parameters parameters)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:214
↓ 3 callers
Function
hmacSHA256
(key, data []byte)
aws-http-auth/sigv4/sigv4.go:156
↓ 3 callers
Function
injectBuildRequest
(s *middleware.Stack)
transport/http/middleware_header_comment_test.go:93
← previous
next →
501–600 of 4,329, ranked by callers