MCPcopy Create free account

hub / github.com/aws/smithy-go / functions

Functions4,329 in github.com/aws/smithy-go

↓ 2 callersMethodwriteDefaultHeaders
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 callersFunctionwriteFloat
(s *ShapeSerializer, schema *smithy.Schema, v T)
transport/http/protocol/internal/query/shape_serializer.go:223
↓ 2 callersMethodwriteGoBlockTemplate
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 callersMethodwriteGoMod
( GoSettings settings, FileManifest manifest, GoModuleInfo goModuleInfo
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModGenerator.java:39
↓ 2 callersMethodwriteHeaderValueAccessor
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 callersMethodwriteIfNonZeroValue
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 callersMethodwriteIfZeroValue
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 callersMethodwriteInline
(String contents, String... args)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:227
↓ 2 callersMethodwriteInlineBigDecimalInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:772
↓ 2 callersMethodwriteInlineBigIntegerInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:782
↓ 2 callersMethodwriteInternalDocumentImplementation
( GoWriter writer, Symbol typeSymbol, Runnable unmarshalMethodDefinition,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:412
↓ 2 callersMethodwriteKey
(schema *smithy.Schema)
transport/http/protocol/internal/json/shape_serializer.go:110
↓ 2 callersMethodwriteList
(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 callersMethodwriteMap
(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 callersMethodwriteMatchedAcceptorReturn
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 callersMethodwriteMemberDocs
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 callersMethodwritePackageDocs
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 callersMethodwritePointableStructureShapeValueInline
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 callersMethodwriteRaw
(schema *smithy.Schema, p []byte)
transport/http/protocol/internal/json/shape_serializer.go:365
↓ 2 callersMethodwriteRenderedDocs
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 callersMethodwriteText
(TextNode node)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:158
↓ 2 callersMethodwriterSetup
(UnionShape inputEventStream)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:150
↓ 2 callersMethodxmlns
resolution for @xmlNamespace, which is generally sane
transport/http/protocol/internal/xml/element_name.go:60
↓ 1 callersMethodAddEvent
(name string, opts ...EventOption)
tracing/tracing.go:71
↓ 1 callersMethodAddKey
AddKey adds the named component/product to the agent string
transport/http/user_agent.go:18
↓ 1 callersMethodAddKeyValue
AddKeyValue adds the named key to the agent string with the given value.
transport/http/user_agent.go:23
↓ 1 callersMethodAddNestedContext
AddNestedContext updates the error's context to include a nested level.
validation.go:76
↓ 1 callersMethodAdvance
(sec, ms time.Duration)
transport/http/metrics_test.go:22
↓ 1 callersMethodAfterAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:307
↓ 1 callersMethodAfterDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:293
↓ 1 callersMethodAfterExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:320
↓ 1 callersMethodAfterSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:194
↓ 1 callersMethodAfterSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:238
↓ 1 callersMethodAfterTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:263
↓ 1 callersMethodArray
Array returns a new Array encoder
encoding/json/value.go:88
↓ 1 callersFunctionAsFloat32
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 callersFunctionAsFloat64
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 callersFunctionAsInt16
AsInt16 coerces a Value to its int16 representation if possible.
encoding/cbor/coerce.go:36
↓ 1 callersFunctionAsInt32
AsInt32 coerces a Value to its int32 representation if possible.
encoding/cbor/coerce.go:55
↓ 1 callersFunctionAsInt8
AsInt8 coerces a Value to its int8 representation if possible.
encoding/cbor/coerce.go:17
↓ 1 callersFunctionAsTime
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 callersMethodBase64EncodeBytes
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 callersMethodBeforeAttempt
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:215
↓ 1 callersMethodBeforeDeserialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:278
↓ 1 callersMethodBeforeExecution
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:173
↓ 1 callersMethodBeforeRetryLoop
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:203
↓ 1 callersMethodBeforeSerialization
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:184
↓ 1 callersMethodBeforeSigning
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:226
↓ 1 callersMethodBeforeTransmit
(ctx context.Context, in *InterceptorContext)
transport/http/interceptor.go:249
↓ 1 callersMethodBigDecimal
BigDecimal encodes v as JSON value
encoding/json/value.go:108
↓ 1 callersMethodBigInteger
BigInteger encodes v as JSON value
encoding/json/value.go:103
↓ 1 callersMethodBlob
Blob encodes v as a base64 query string value
encoding/httpbinding/query.go:37
↓ 1 callersFunctionBool
Bool returns a pointer value for the bool value passed in.
ptr/to_ptr.go:9
↓ 1 callersFunctionBoolMap
BoolMap returns a map of bool pointers from the values passed in.
ptr/to_ptr.go:27
↓ 1 callersFunctionBoolSlice
BoolSlice returns a slice of bool pointers from the values passed in.
ptr/to_ptr.go:15
↓ 1 callersMethodBoolean
Boolean encodes v as a JSON boolean
encoding/json/value.go:72
↓ 1 callersMethodBuild
Build returns the constructed User-Agent string. May be called multiple times.
transport/http/user_agent.go:28
↓ 1 callersFunctionByte
Byte returns a pointer value for the byte value passed in.
ptr/to_ptr.go:38
↓ 1 callersMethodByte
Byte encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:113
↓ 1 callersFunctionByteMap
ByteMap returns a map of byte pointers from the values passed in.
ptr/to_ptr.go:56
↓ 1 callersFunctionByteSlice
ByteSlice returns a slice of byte pointers from the values passed in.
ptr/to_ptr.go:44
↓ 1 callersMethodBytes
Bytes returns the []byte slice of the XML encoder
encoding/xml/encoder.go:43
↓ 1 callersMethodBytes
Bytes returns the []byte slice of the JSON encoder
encoding/json/encoder.go:28
↓ 1 callersMethodBytes
Bytes returns the serialized CBOR bytes.
transport/http/protocol/internal/cbor/shape_serializer.go:41
↓ 1 callersMethodBytes
Bytes returns the serialized body bytes.
transport/http/protocol/internal/httpbinding/serializer.go:197
↓ 1 callersMethodClear
Clear removes all middleware in the step.
middleware/step_build.go:237
↓ 1 callersMethodClear
Clear removes all middleware in the step.
middleware/step_initialize.go:238
↓ 1 callersFunctionClearStackValues
ClearStackValues returns a context without any stack values.
middleware/stack_values.go:20
↓ 1 callersMethodClone
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 callersMethodClose
()
aws-http-auth/sigv4/e2e_test.go:22
↓ 1 callersMethodClose
Close stops the reader and releases the underlying stream. Close is safe for concurrent calls.
transport/http/eventstream.go:194
↓ 1 callersMethodClose
Close sends a signed empty message to signal end-of-stream, then closes the underlying writer.
eventstream/signer.go:54
↓ 1 callersMethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:224
↓ 1 callersMethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:245
↓ 1 callersMethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:233
↓ 1 callersMethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:217
↓ 1 callersFunctionCollectUnknownField
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 callersFunctionCompareReaders
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 callersFunctionComputeDelay
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 callersMethodConnectStart
(string, string)
transport/http/metrics.go:128
↓ 1 callersMethodContentType
ContentType returns the resolved content type for the event message payload after serialization, which may be affected by bindings.
eventstream/serializer.go:35
↓ 1 callersMethodContext
()
tracing/tracing.go:70
↓ 1 callersMethodCreateBucket
(ctx context.Context, in *CreateBucketInput)
aws-http-auth/sigv4a/e2e_test.go:41
↓ 1 callersMethodCreateMRAP
(ctx context.Context, in *CreateMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:254
↓ 1 callersMethodCreateQueue
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 callersFunctionCryptoRandInt63n
CryptoRandInt63n returns a random int64 between zero and value of max obtained from the crypto rand source.
rand/rand.go:29
↓ 1 callersMethodDNSStart
(httptrace.DNSStartInfo)
transport/http/metrics.go:124
↓ 1 callersMethodDecode
Decode unmarshals a CBOR Value into the target.
document/cbor/decode.go:44
↓ 1 callersMethodDeleteBucket
(ctx context.Context, in *DeleteBucketInput)
aws-http-auth/sigv4a/e2e_test.go:64
↓ 1 callersMethodDeleteMRAP
(ctx context.Context, in *DeleteMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:315
↓ 1 callersMethodDeleteObjectMRAP
(ctx context.Context, in *DeleteObjectMRAPInput)
aws-http-auth/sigv4a/e2e_test.go:115
↓ 1 callersMethodDeleteQueue
(ctx context.Context, in *DeleteQueueInput)
aws-http-auth/sigv4/e2e_test.go:53
↓ 1 callersMethodDerive
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 callersMethodDescribeMRAPOperation
(ctx context.Context, in *DescribeMRAPOperationInput)
aws-http-auth/sigv4a/e2e_test.go:291
↓ 1 callersMethodDirectReadList
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 callersMethodDirectReadUnion
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 callersFunctionDiscardUnknownField
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 callersMethodEncode
Encode returns the CBOR encoding of v.
document/cbor/encode.go:44
↓ 1 callersMethodErrorCode
ErrorCode returns the error code for the API exception.
errors.go:11
↓ 1 callersMethodErrorMessage
ErrorMessage returns the error message for the API exception.
errors.go:13
← previousnext →1,001–1,100 of 4,329, ranked by callers