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
↓ 2 callers
Method
writeDefaultHeaders
Writes any additional HTTP headers required by the protocol implementation. <p>Four parameters will be available in scope: <ul> <li>{@code input: <
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:258
↓ 2 callers
Function
writeFloat
(s *ShapeSerializer, schema *smithy.Schema, v T)
transport/http/protocol/internal/query/shape_serializer.go:223
↓ 2 callers
Method
writeGoBlockTemplate
Writes the contents as template as a code block instead of single content fo text. @param beforeNewLine text before new line @param afterNewLine tex
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:379
↓ 2 callers
Method
writeGoMod
( GoSettings settings, FileManifest manifest, GoModuleInfo goModuleInfo
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModGenerator.java:39
↓ 2 callers
Method
writeHeaderValueAccessor
Returns the header value accessor operand, and also if the target shape is a list/set will write the splitting of the header values by comma(,) utilit
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1497
↓ 2 callers
Method
writeIfNonZeroValue
Writes non-zero conditional checks around a lambda specific to the member shape type. <p> Note: Collections and map member values by default will not
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:51
↓ 2 callers
Method
writeIfZeroValue
Writes zero conditional checks around a lambda specific to the member shape type. <p> Members with containers of Collection and map shapes, will ignor
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:191
↓ 2 callers
Method
writeInline
(String contents, String... args)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:227
↓ 2 callers
Method
writeInlineBigDecimalInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:772
↓ 2 callers
Method
writeInlineBigIntegerInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:782
↓ 2 callers
Method
writeInternalDocumentImplementation
( GoWriter writer, Symbol typeSymbol, Runnable unmarshalMethodDefinition,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:412
↓ 2 callers
Method
writeKey
(schema *smithy.Schema)
transport/http/protocol/internal/json/shape_serializer.go:110
↓ 2 callers
Method
writeList
(GoWriter writer, ListShape shape, Set<ShapeId> visited, UnionChoice choice)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:325
↓ 2 callers
Method
writeMap
(GoWriter writer, MapShape shape, Set<ShapeId> visited, UnionChoice choice)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:338
↓ 2 callers
Method
writeMatchedAcceptorReturn
Writes return statement for state where a waiter's acceptor state is a match. @param writer the Go writer @param acceptor the waiter acceptor who's
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:732
↓ 2 callers
Method
writeMemberDocs
Writes member shape documentation comments if docs are present. @param model Model used to dereference targets. @param member Shape to write the doc
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:775
↓ 2 callers
Method
writePackageDocs
Writes the doc to the Go package docs that are written prior to the go package statement. @param docs documentation to write to package doc. @return
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:711
↓ 2 callers
Method
writePointableStructureShapeValueInline
Writes generation of a shape value type declaration for the given the parameters. @param writer writer to write generated code with. @param shape th
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:100
↓ 2 callers
Method
writeRaw
(schema *smithy.Schema, p []byte)
transport/http/protocol/internal/json/shape_serializer.go:365
↓ 2 callers
Method
writeRenderedDocs
Writes documentation from an arbitrary Writable. @param writable Contents to be written. @return Returns the writer.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:693
↓ 2 callers
Method
writeText
(TextNode node)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:158
↓ 2 callers
Method
writerSetup
(UnionShape inputEventStream)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:150
↓ 2 callers
Method
xmlns
resolution for @xmlNamespace, which is generally sane
transport/http/protocol/internal/xml/element_name.go:60
↓ 1 callers
Method
AddEvent
(name string, opts ...EventOption)
tracing/tracing.go:71
↓ 1 callers
Method
AddKey
AddKey adds the named component/product to the agent string
transport/http/user_agent.go:18
↓ 1 callers
Method
AddKeyValue
AddKeyValue adds the named key to the agent string with the given value.
transport/http/user_agent.go:23
↓ 1 callers
Method
AddNestedContext
AddNestedContext updates the error's context to include a nested level.
validation.go:76
↓ 1 callers
Method
Advance
(sec, ms time.Duration)
transport/http/metrics_test.go:22
↓ 1 callers
Method
AfterAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:307
↓ 1 callers
Method
AfterDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:293
↓ 1 callers
Method
AfterExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:320
↓ 1 callers
Method
AfterSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:194
↓ 1 callers
Method
AfterSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:238
↓ 1 callers
Method
AfterTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:263
↓ 1 callers
Method
Array
Array returns a new Array encoder
encoding/json/value.go:88
↓ 1 callers
Function
AsFloat32
AsFloat32 coerces a Value to its float32 representation if possible. A float32 may be represented by any of the following alternatives: - cbor uint (
encoding/cbor/coerce.go:97
↓ 1 callers
Function
AsFloat64
AsFloat64 coerces a Value to its float64 representation if possible. A float64 may be represented by any of the following alternatives: - float32 - c
encoding/cbor/coerce.go:123
↓ 1 callers
Function
AsInt16
AsInt16 coerces a Value to its int16 representation if possible.
encoding/cbor/coerce.go:36
↓ 1 callers
Function
AsInt32
AsInt32 coerces a Value to its int32 representation if possible.
encoding/cbor/coerce.go:55
↓ 1 callers
Function
AsInt8
AsInt8 coerces a Value to its int8 representation if possible.
encoding/cbor/coerce.go:17
↓ 1 callers
Function
AsTime
AsTime coerces a Value to its time.Time representation if possible. This coercion will check that the given Value is a Tag with the registered number
encoding/cbor/coerce.go:156
↓ 1 callers
Method
Base64EncodeBytes
Base64EncodeBytes writes v as a base64 value in XML string. It will auto close the parent xml element tag.
encoding/xml/value.go:168
↓ 1 callers
Method
BeforeAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:215
↓ 1 callers
Method
BeforeDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:278
↓ 1 callers
Method
BeforeExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:173
↓ 1 callers
Method
BeforeRetryLoop
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:203
↓ 1 callers
Method
BeforeSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:184
↓ 1 callers
Method
BeforeSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:226
↓ 1 callers
Method
BeforeTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:249
↓ 1 callers
Method
BigDecimal
BigDecimal encodes v as JSON value
encoding/json/value.go:108
↓ 1 callers
Method
BigInteger
BigInteger encodes v as JSON value
encoding/json/value.go:103
↓ 1 callers
Method
Blob
Blob encodes v as a base64 query string value
encoding/httpbinding/query.go:37
↓ 1 callers
Function
Bool
Bool returns a pointer value for the bool value passed in.
ptr/to_ptr.go:9
↓ 1 callers
Function
BoolMap
BoolMap returns a map of bool pointers from the values passed in.
ptr/to_ptr.go:27
↓ 1 callers
Function
BoolSlice
BoolSlice returns a slice of bool pointers from the values passed in.
ptr/to_ptr.go:15
↓ 1 callers
Method
Boolean
Boolean encodes v as a JSON boolean
encoding/json/value.go:72
↓ 1 callers
Method
Build
Build returns the constructed User-Agent string. May be called multiple times.
transport/http/user_agent.go:28
↓ 1 callers
Function
Byte
Byte returns a pointer value for the byte value passed in.
ptr/to_ptr.go:38
↓ 1 callers
Method
Byte
Byte encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:113
↓ 1 callers
Function
ByteMap
ByteMap returns a map of byte pointers from the values passed in.
ptr/to_ptr.go:56
↓ 1 callers
Function
ByteSlice
ByteSlice returns a slice of byte pointers from the values passed in.
ptr/to_ptr.go:44
↓ 1 callers
Method
Bytes
Bytes returns the []byte slice of the XML encoder
encoding/xml/encoder.go:43
↓ 1 callers
Method
Bytes
Bytes returns the []byte slice of the JSON encoder
encoding/json/encoder.go:28
↓ 1 callers
Method
Bytes
Bytes returns the serialized CBOR bytes.
transport/http/protocol/internal/cbor/shape_serializer.go:41
↓ 1 callers
Method
Bytes
Bytes returns the serialized body bytes.
transport/http/protocol/internal/httpbinding/serializer.go:197
↓ 1 callers
Method
Clear
Clear removes all middleware in the step.
middleware/step_build.go:237
↓ 1 callers
Method
Clear
Clear removes all middleware in the step.
middleware/step_initialize.go:238
↓ 1 callers
Function
ClearStackValues
ClearStackValues returns a context without any stack values.
middleware/stack_values.go:20
↓ 1 callers
Method
Clone
Clone creates a shallow copy of Metadata entries, returning a new Metadata value with the original entries copied into it.
middleware/metadata.go:30
↓ 1 callers
Method
Close
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 1 callers
Method
Close
Close stops the reader and releases the underlying stream. Close is safe for concurrent calls.
transport/http/eventstream.go:194
↓ 1 callers
Method
Close
Close sends a signed empty message to signal end-of-stream, then closes the underlying writer.
eventstream/signer.go:54
↓ 1 callers
Method
CloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:224
↓ 1 callers
Method
CloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:245
↓ 1 callers
Method
CloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:233
↓ 1 callers
Method
CloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:217
↓ 1 callers
Function
CollectUnknownField
CollectUnknownField grabs the contents of unknown fields from the decoder body and returns them as a byte slice. This is useful for skipping unknown f
encoding/json/decoder_util.go:45
↓ 1 callers
Function
CompareReaders
CompareReaders two io.Reader values together to determine if they are equal. Will read the contents of the readers until they are empty.
testing/struct.go:199
↓ 1 callers
Function
ComputeDelay
ComputeDelay computes delay between waiter attempts. The function takes in a current attempt count, minimum delay, maximum delay, and remaining wait t
waiter/waiter.go:17
↓ 1 callers
Method
ConnectStart
(string, string)
transport/http/metrics.go:128
↓ 1 callers
Method
ContentType
ContentType returns the resolved content type for the event message payload after serialization, which may be affected by bindings.
eventstream/serializer.go:35
↓ 1 callers
Method
Context
()
tracing/tracing.go:70
↓ 1 callers
Method
CreateBucket
(ctx context.Context, in *CreateBucketInput)
aws-http-auth/sigv4a/e2e_test.go:41
↓ 1 callers
Method
CreateMRAP
(ctx context.Context, in *CreateMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:254
↓ 1 callers
Method
CreateQueue
all of these method definitions are very repetitive, it would be useful if there was some sort of API model we could generate code from...
aws-http-auth/sigv4/e2e_test.go:34
↓ 1 callers
Function
CryptoRandInt63n
CryptoRandInt63n returns a random int64 between zero and value of max obtained from the crypto rand source.
rand/rand.go:29
↓ 1 callers
Method
DNSStart
(httptrace.DNSStartInfo)
transport/http/metrics.go:124
↓ 1 callers
Method
Decode
Decode unmarshals a CBOR Value into the target.
document/cbor/decode.go:44
↓ 1 callers
Method
DeleteBucket
(ctx context.Context, in *DeleteBucketInput)
aws-http-auth/sigv4a/e2e_test.go:64
↓ 1 callers
Method
DeleteMRAP
(ctx context.Context, in *DeleteMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:315
↓ 1 callers
Method
DeleteObjectMRAP
(ctx context.Context, in *DeleteObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:115
↓ 1 callers
Method
DeleteQueue
(ctx context.Context, in *DeleteQueueInput)
aws-http-auth/sigv4/e2e_test.go:53
↓ 1 callers
Method
Derive
Derive computes and caches the ECDSA key-pair for the identity, returning the result. Future calls to Derive with the same set of credentials (identi
aws-http-auth/sigv4a/credentials.go:48
↓ 1 callers
Method
DescribeMRAPOperation
(ctx context.Context, in *DescribeMRAPOperationInput)
aws-http-auth/sigv4a/e2e_test.go:291
↓ 1 callers
Method
DirectReadList
DirectReadList is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads list elements directly using peek.
transport/http/protocol/internal/json/shape_deserializer.go:856
↓ 1 callers
Method
DirectReadUnion
DirectReadUnion is a concrete-type fast path that avoids interface dispatch. It opens the union object, finds the single non-null member, calls member
transport/http/protocol/internal/json/shape_deserializer.go:734
↓ 1 callers
Function
DiscardUnknownField
DiscardUnknownField discards unknown fields from a decoder body. This function is useful while deserializing a JSON body with additional unknown infor
encoding/json/decoder_util.go:13
↓ 1 callers
Method
Encode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 1 callers
Method
ErrorCode
ErrorCode returns the error code for the API exception.
errors.go:11
↓ 1 callers
Method
ErrorMessage
ErrorMessage returns the error message for the API exception.
errors.go:13
← previous
next →
1,001–1,100 of 4,329, ranked by callers