MCPcopy Create free account

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

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

↓ 2 callersFunctionparseTimestamp
(schema *smithy.Schema, fallback, s string)
transport/http/protocol/internal/httpbinding/timestamp.go:31
↓ 2 callersMethodpatch
(int patch)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:362
↓ 2 callersFunctionpayloadHashString
(p []byte)
aws-http-auth/internal/v4/signer.go:253
↓ 2 callersMethodpreRelease
(String preRelease)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:367
↓ 2 callersMethodprefix
(String prefix)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:347
↓ 2 callersMethodreadEntry
(ks, vs *smithy.Schema)
transport/http/protocol/internal/xml/shape_deserializer.go:358
↓ 2 callersFunctionreadFloat
(d *ShapeDeserializer, v *T)
transport/http/protocol/internal/cbor/shape_deserializer.go:686
↓ 2 callersMethodreadFloat
()
transport/http/protocol/internal/xml/shape_deserializer.go:698
↓ 2 callersMethodreadFloat64
()
transport/http/protocol/internal/cbor/shape_deserializer.go:135
↓ 2 callersMethodreadInt64
()
transport/http/protocol/internal/cbor/shape_deserializer.go:104
↓ 2 callersFunctionreadNestedUnion
readNestedUnion mimics the calling pattern of SDK-generated code (smithy.ReadUnion in serde.go): repeatedly call ReadUnion until it returns no member,
transport/http/protocol/internal/json/union_in_union_test.go:39
↓ 2 callersFunctionreadRawTestCases
(root, class string)
eventstream/shared_test.go:30
↓ 2 callersMethodrefreshBearerToken
(ctx context.Context)
auth/bearer/token_cache.go:165
↓ 2 callersMethodremoveLeadingInvalidIdentCharacters
(String value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:251
↓ 2 callersMethodrenderDeserializeMember
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:158
↓ 2 callersMethodrenderDeserializeValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:163
↓ 2 callersMethodrenderDocumentCast
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:146
↓ 2 callersMethodrenderDocumentCast
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:151
↓ 2 callersMethodrenderStructure
Renders a non-error structure. @param runnable A runnable that runs before the structure definition is closed. This can be used to write
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/StructureGenerator.java:106
↓ 2 callersMethodrenderVariadicTraits
(java.util.Collection<Trait> traits)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:151
↓ 2 callersMethodrenderZeroValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:106
↓ 2 callersMethodrenderZeroValue
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:108
↓ 2 callersFunctionreplacePathElement
replacePathElement replaces a single element in the path []byte. Escape is used to control whether the value will be escaped using Amazon path escape
encoding/httpbinding/path_replace.go:24
↓ 2 callersMethodresolveDeref
(Symbol ref, Symbol deserialized)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:287
↓ 2 callersMethodresolveEndpointMethodName
(String resolveEndpointMethodName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:392
↓ 2 callersMethodresolveIndirect
(Symbol ref, Symbol serialized)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:346
↓ 2 callersMethodresolveProtocolGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerDirectedCodegen.java:100
↓ 2 callersMethodreturnTypeForCondition
Determine the Go type Symbol for a condition function's return value. This is used for conditionContext struct fields.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/FnGenerator.java:110
↓ 2 callersMethodserializeCollection
Writes the code needed to serialize a collection in the document of a request. <p>Implementations of this method are expected to generate a function
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:134
↓ 2 callersMethodsetImportedNamespace
(Symbol.Builder builder, GoDependency dependency)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:177
↓ 2 callersMethodsignAndWrite
(payload []byte)
eventstream/signer.go:62
↓ 2 callersFunctionsignV4
(signer *sigv4.Signer, creds credentials.Credentials, region string)
aws-http-auth/sigv4a/e2e_test.go:139
↓ 2 callersFunctionsignV4A
(signer *Signer, creds credentials.Credentials, isUnsignedPayload bool)
aws-http-auth/sigv4a/e2e_test.go:150
↓ 2 callersMethodsortParameters
(Parameters parameters)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:253
↓ 2 callersFunctionsplitHeaderListValues
(vs []string, splitFn func(string) ([]string, error))
transport/http/headerlist.go:10
↓ 2 callersMethodstdlib
Get a {@link GoDependency} representing the standard library package import path. @param importPath standard library import path @return the {@link G
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java:106
↓ 2 callersFunctionstreamLength
(stream io.Reader, seekable bool, startPos int64)
transport/http/request.go:59
↓ 2 callersFunctiontestWaitAsyncRefreshDone
(provider *TokenCache)
auth/bearer/token_cache_test.go:506
↓ 2 callersFunctiontimeFromEpochMilli
(t int64)
eventstream/header_value.go:470
↓ 2 callersFunctiontoOTELKeyValues
(props smithy.Properties)
metrics/smithyotelmetrics/attribute.go:52
↓ 2 callersFunctiontoOTELKeyValues
(props smithy.Properties)
tracing/smithyoteltracing/attribute.go:52
↓ 2 callersFunctiontoOTELSpanKind
(v tracing.SpanKind)
tracing/smithyoteltracing/adapt.go:116
↓ 2 callersFunctiontoOTELSpanStatus
(v tracing.SpanStatus)
tracing/smithyoteltracing/adapt.go:131
↓ 2 callersFunctiontryParse
(v string, formats ...string)
time/time.go:86
↓ 2 callersMethoduseShapeTestWriter
Gets a previously created writer or creates a new one for the Go test file for the associated shape. @param shape Shape to create the writer
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDelegator.java:45
↓ 2 callersFunctionvalidateCRC
(r io.Reader, expect uint32)
eventstream/decode.go:207
↓ 2 callersMethodvalue
(tok []byte)
transport/http/protocol/internal/json/parser.go:228
↓ 2 callersMethodvisitProjection
(ProjectionExpression expr, Variable current)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:279
↓ 2 callersFunctionwithDefiniteList
(p []byte)
encoding/cbor/decode_test.go:1317
↓ 2 callersFunctionwithDefiniteMap
(p []byte)
encoding/cbor/decode_test.go:1326
↓ 2 callersMethodwithHelper
Sets if the client include a With__ helper for this config option. @param withHelper if with helper should be generated or not. @return Returns the b
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:178
↓ 2 callersFunctionwithMetrics
withMetrics instruments an HTTP client and context to collect HTTP metrics.
transport/http/metrics.go:17
↓ 2 callersMethodwithTemplate
( String template, Map<String, Object>[] argMaps, Consumer<String> fn
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:503
↓ 2 callersMethodwithUnit
(Model model)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:90
↓ 2 callersMethodwriteAssertComplexEqual
Writes the assertion for comparing two complex type values, e.g. structures. @param writer writer to write generated code with. @param expect
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:494
↓ 2 callersMethodwriteChardata
(s string)
transport/http/protocol/internal/xml/writer.go:24
↓ 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:1467
↓ 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:764
↓ 2 callersMethodwriteInlineBigIntegerInit
(GoWriter writer, Object value)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:774
↓ 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 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 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 callersMethodwriteStructureShapeValueInline
Writes a non-pointable structure shape value inline (no leading &amp;).
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:116
↓ 2 callersMethodwriterSetup
(UnionShape inputEventStream)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:133
↓ 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
← previousnext →901–1,000 of 4,136, ranked by callers