MCPcopy Create free account

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

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

↓ 8 callersMethodrun
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EnumGenerator.java:47
↓ 8 callersMethodtop
()
transport/http/protocol/internal/cbor/shape_serializer.go:55
↓ 8 callersFunctionwithMetricProps
(opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/option.go:16
↓ 7 callersMethodAdd
Add injects the middleware to the relative position of the middleware group. Add never returns an error. It used to for duplicate phases but this beh
middleware/step_initialize.go:134
↓ 7 callersMethodClose
Close closes the ByteLoop, and prevents any further reading.
testing/reader.go:33
↓ 7 callersMethodCopy
Copy creates a new copy of StartElement.
encoding/xml/element.go:66
↓ 7 callersMethodDeserializableError
DeserializableError provides an instance of a deserializable error structure for a given shape ID. The ID is given as a string here since this will b
type_registry.go:30
↓ 7 callersMethodDeserializeEventMessage
(schema *smithy.Schema, types *smithy.TypeRegistry, r io.Reader)
transport/http/protocol.go:24
↓ 7 callersMethodDoChan
DoChan is like Do but returns a channel that will receive the results when they are ready. The returned channel will not be closed.
internal/sync/singleflight/singleflight.go:114
↓ 7 callersFunctionEncode
Encode returns a byte slice that encodes the given Value.
encoding/cbor/cbor.go:126
↓ 7 callersFunctionGetStackValue
GetStackValues returns the value pointed to by the key within the stack values, if it is present.
middleware/stack_values.go:26
↓ 7 callersMethodGetValue
()
document/json/encoder.go:42
↓ 7 callersMethodKey
Key adds the given named key to the JSON object. Returns a Value encoder that should be used to encode a JSON value type.
encoding/json/object.go:27
↓ 7 callersFunctionNew
New returns an instance of Signer with applied options.
aws-http-auth/sigv4/sigv4.go:28
↓ 7 callersFunctionNewDecoder
NewDecoder initializes and returns a Decoder for decoding event stream messages from the reader provided.
eventstream/decode.go:28
↓ 7 callersMethodReadUnion
(*Schema)
serde.go:87
↓ 7 callersMethodSerializeEventMessage
(schema, variant *smithy.Schema, v smithy.Serializable, w io.Writer)
transport/http/protocol.go:23
↓ 7 callersFunctionUnsignedPayload
UnsignedPayload provides the sentinel value for a payload hash to indicate that a request's payload is unsigned.
aws-http-auth/v4/v4.go:65
↓ 7 callersMethodValue
()
transport/http/protocol/internal/json/parser.go:220
↓ 7 callersFunctionWithStackValue
WithStackValue adds a key value pair to the context that is intended to be scoped to a stack. Use ClearStackValues to get a new context with all stack
middleware/stack_values.go:12
↓ 7 callersMethodasWritable
Creates a Writable which renders the middleware. @param body A Writable that renders the middleware body. @param fields A Writable that renders the mi
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:288
↓ 7 callersMethodbuild
Builds the middleware generator. @return the middleware generator.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:393
↓ 7 callersMethodbuildPackageSymbol
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
↓ 7 callersMethodbuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:234
↓ 7 callersMethodchardata
()
transport/http/protocol/internal/xml/shape_deserializer.go:606
↓ 7 callersMethodconstSymbol
Creates a Symbol for a `const` exported by this package. @param name The name. @return The symbol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:164
↓ 7 callersFunctiondecodeArgument
pulls the next argument out of the buffer expects one of the sized arguments and will error otherwise - callers that need to check for the indefinite
encoding/cbor/decode.go:296
↓ 7 callersMethoddocumentation
Sets the documentation for the config field. @param documentation The documentation for the config field. @return Returns the builder.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:156
↓ 7 callersFunctionencodeArg
(t majorType, arg I, p []byte)
encoding/cbor/encode.go:155
↓ 7 callersMethodexpectCollectionShape
Returns the shape unpacked as a CollectionShape. Throws and exception if the passed in shape is not a list or set. @param shape the list or set shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:309
↓ 7 callersMethodgetDependencies
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:204
↓ 7 callersMethodgetInternalDocumentSymbolBuilder
Create a non-pointable {@link Symbol.Builder} for typeName in the service's internal document package. @param settings the Smithy Go settings. @param
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:522
↓ 7 callersMethodgetMemberSchemaRef
(Shape shape, MemberShape member, ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:68
↓ 7 callersMethodgetReference
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:200
↓ 7 callersMethodgetSerializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonSerializerGenerator.java:50
↓ 7 callersFunctionisLCB
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:614
↓ 7 callersMethodisNilable
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:221
↓ 7 callersFunctionitoarglen
(v I)
encoding/cbor/encode.go:141
↓ 7 callersMethodmodifyHeader
(value string)
encoding/httpbinding/header.go:43
↓ 7 callersFunctionnewOrderedIDs
(cap int)
middleware/ordered_group.go:30
↓ 7 callersFunctionnewValue
newValue writes the start element xml tag and returns a Value
encoding/xml/value.go:35
↓ 7 callersMethodnextStart
()
transport/http/protocol/internal/xml/shape_deserializer.go:659
↓ 7 callersMethodpeek
()
transport/http/protocol/internal/json/shape_deserializer.go:89
↓ 7 callersFunctionpeekMinor
(p []byte)
encoding/cbor/decode.go:288
↓ 7 callersMethodtoString
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:94
↓ 7 callersMethodtop
()
transport/http/protocol/internal/query/shape_serializer.go:111
↓ 7 callersMethodupdateKey
(value string)
encoding/httpbinding/query.go:28
↓ 6 callersMethodArray
Array returns an array encoder. By default, the members of array are wrapped with `<member>` element tag. If value is marked as flattened, the start e
encoding/xml/value.go:233
↓ 6 callersMethodBuild
Build returns a build standard HTTP request value from the Smithy request. The request's stream is wrapped in a safe container that allows it to be re
transport/http/request.go:160
↓ 6 callersMethodClose
Close encodes the end of the JSON Array
encoding/json/array.go:33
↓ 6 callersMethodClose
Close signals end-of-stream and closes the underlying writer. Close is safe for concurrent calls.
transport/http/eventstream.go:102
↓ 6 callersMethodDeserializeInitialResponse
(schema *smithy.Schema, r io.Reader, out smithy.Deserializable)
transport/http/protocol.go:26
↓ 6 callersMethodDo
Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate
internal/sync/singleflight/singleflight.go:84
↓ 6 callersMethodErr
Err returns the first error encountered during writing.
transport/http/eventstream.go:111
↓ 6 callersMethodFloat
Float encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:140
↓ 6 callersFunctionGetOperationName
GetOperationName retrieves the operation name from the context. This is typically the operation shape's name from its Smithy model.
middleware/context.go:38
↓ 6 callersFunctionGetStructFields
GetStructFields returns a list of fields for the given type. Type info is cached to avoid repeated calls into the reflect package
document/internal/serde/field.go:42
↓ 6 callersMethodHandleInitialize
(ctx context.Context, in InitializeInput)
middleware/step_initialize.go:25
↓ 6 callersFunctionIsNoSerde
IsNoSerde returns whether the given type implements the no smithy document serde interface.
document/document.go:175
↓ 6 callersMethodIsValid
IsValid is true when a span has nonzero trace and span IDs.
tracing/tracing.go:93
↓ 6 callersMethodList
List returns a list of the middleware in the step.
middleware/step_initialize.go:218
↓ 6 callersMethodLong
Long encodes v as a JSON number
encoding/json/value.go:45
↓ 6 callersMethodMap
* Map returns a map encoder. By default, the map entries are wrapped with `<entry>` element tag. If value is marked as flattened, the start element i
encoding/xml/value.go:255
↓ 6 callersFunctionNewEncoder
NewEncoder initializes and returns an Encoder to encode Event Stream messages.
eventstream/encode.go:31
↓ 6 callersFunctionNewRingBuffer
NewRingBuffer method takes in a byte slice as an input and returns a RingBuffer.
io/ringbuffer.go:20
↓ 6 callersMethodReadStruct
(*Schema)
serde.go:84
↓ 6 callersMethodSeek
(offset int64, whence int)
transport/http/middleware_content_length_test.go:153
↓ 6 callersMethodSerializeInitialRequest
(schema *smithy.Schema, v smithy.Serializable, w io.Writer)
transport/http/protocol.go:25
↓ 6 callersMethodStore
(v time.Time)
transport/http/metrics.go:191
↓ 6 callersMethodapply
(Object type, String indent)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:899
↓ 6 callersMethodcreateDefaultHttpApplicationProtocol
Creates a default HTTP application protocol. @return Returns the created application protocol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:54
↓ 6 callersMethodencode
(io.Writer)
eventstream/header_value.go:164
↓ 6 callersMethodensureSupportedProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:704
↓ 6 callersMethodexecute
(PluginContext context)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoCodegenPlugin.java:35
↓ 6 callersFunctionexpectIDList
(t *testing.T, expect, actual []string)
middleware/shared_test.go:88
↓ 6 callersMethodexpectMember
(Model model, Shape shape, String memberName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/ShapeUtil.java:69
↓ 6 callersMethodfileManifest
(FileManifest fileManifest)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:153
↓ 6 callersMethodgenerateDeserFunction
Generates a function for deserializing the output shape, dispatching body handling to the supplied function. @param shape The shape to generat
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeDeserVisitor.java:419
↓ 6 callersMethodgenerateSerFunction
Generates a function for serializing the input shape, dispatching the body generation to the supplied function. @param shape The shape to gene
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/DocumentShapeSerVisitor.java:328
↓ 6 callersMethodgetSchemaName
(Shape shape, ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:28
↓ 6 callersMethodimportPath
Set the import path. @param importPath the import path @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:396
↓ 6 callersMethodinterfaceSymbol
Creates a Symbol for a `Value` exported by this package. @param name The name. @return The symbol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:191
↓ 6 callersFunctionisRCB
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:615
↓ 6 callersMethodmatchesService
Returns true if this plugin applies to the given service. <p>By default, a plugin applies to all services but not to specific commands. You an config
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:179
↓ 6 callersMethodmodifyURI
(value string)
encoding/httpbinding/uri.go:21
↓ 6 callersMethodnormalize
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:70
↓ 6 callersMethodresolveKey
nexus point (alongside writeValue) through which basically every write flows to handle putting the appropriate prefix in place
transport/http/protocol/internal/query/shape_serializer.go:143
↓ 6 callersMethodresolveServiceProtocol
Resolves the highest priority protocol from a service shape that is supported by the generator. @param serviceIndex Service index containing the supp
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:268
↓ 6 callersMethodrun
(PluginContext context, DirectedCodegen<GoCodegenContext, GoSettings, GoIntegration> directedCodegen)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/AbstractDirectedCodegen.java:40
↓ 6 callersMethodservicePredicate
Configures a predicate that applies the plugin to a service if the predicate matches a given model and service. <p>When this method is called, the {@
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:353
↓ 6 callersMethodsliceOf
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:231
↓ 6 callersFunctiontestParse
(input []byte)
transport/http/protocol/internal/json/scanner_test.go:16
↓ 6 callersMethodtype
Set the dependency type. @param type dependency type @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:374
↓ 6 callersMethodwriteArg
(major majorType, arg uint64)
transport/http/protocol/internal/cbor/shape_serializer.go:288
↓ 6 callersMethodwriteEnd
(name string)
transport/http/protocol/internal/xml/writer.go:51
↓ 6 callersMethodwriteStart
(name string, ns *traits.XMLNamespace, attrs []attr)
transport/http/protocol/internal/xml/writer.go:28
↓ 5 callersMethodAddMember
AddMember adds a member to the schema derived from the target, with optional trait overrides. The member schema is returned for caller reference. The
schema.go:120
↓ 5 callersMethodCloseMap
()
serde.go:63
↓ 5 callersMethodDo
Do performs v4 signing, modifying the request in-place with the signature. Do should be called exactly once for a configured Signer. The behavior of
aws-http-auth/internal/v4/signer.go:51
↓ 5 callersMethodElapsed
()
transport/http/metrics.go:200
← previousnext →201–300 of 4,136, ranked by callers