MCPcopy Create free account

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

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

↓ 4 callersMethodIsOutputEventStream
IsOutputEventStream reports whether this is an output event stream.
schema.go:252
↓ 4 callersFunctionJSONEqual
JSONEqual compares two JSON documents and identifies if the documents contain the same values. Returns an error if the two documents are not equal.
testing/document.go:16
↓ 4 callersMethodLoad
()
transport/http/metrics.go:195
↓ 4 callersMethodLong
Long encodes v as a query string value
encoding/httpbinding/query.go:68
↓ 4 callersMethodLong
Long encodes the value v as the header string value
encoding/httpbinding/header.go:72
↓ 4 callersMethodLong
Long encodes v as a URI string value
encoding/httpbinding/uri.go:56
↓ 4 callersMethodMapKey
MapKey returns the "key" schema for map types.
schema.go:173
↓ 4 callersMethodMember
Member returns the member schema for the given name, or nil.
schema.go:217
↓ 4 callersFunctionMustJSONUnmarshal
(v []byte, useJSONNumber bool)
document/json/shared_test.go:490
↓ 4 callersFunctionNewEncoder
NewEncoder returns an Encoder for serializing Smithy documents for JSON based protocols.
document/json/json.go:4
↓ 4 callersMethodRead
Read copies the data on the ring buffer into the byte slice provided to the method. Returns the read count along with any error encountered while read
io/ringbuffer.go:53
↓ 4 callersMethodReadBlob
(*Schema, *[]byte)
serde.go:78
↓ 4 callersMethodReadBool
(*Schema, *bool)
serde.go:76
↓ 4 callersMethodReadFloat64
(*Schema, *float64)
serde.go:75
↓ 4 callersMethodReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:106
↓ 4 callersMethodReadString
ReadString implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:273
↓ 4 callersMethodRemove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_build.go:195
↓ 4 callersMethodRequireBidiHTTP2
RequireBidiHTTP2 returns an error if the response protocol is not at least HTTP/2, which is required for bidirectional event streams.
internal/eventstream/require_http2.go:7
↓ 4 callersMethodRewindStream
RewindStream will rewind the io.Reader to the relative start position if it is an io.Seeker.
transport/http/request.go:94
↓ 4 callersMethodSet
Set stores the value pointed to by the key. If a value already exists at that key it will be replaced with the new value. Set method must be called a
middleware/metadata.go:49
↓ 4 callersMethodString
()
eventstream/header_value.go:162
↓ 4 callersFunctionUint
Uint returns a pointer value for the uint value passed in.
ptr/to_ptr.go:241
↓ 4 callersMethodWriteBool
(*Schema, bool)
serde.go:43
↓ 4 callersMethodWriteFloat64
(*Schema, float64)
serde.go:42
↓ 4 callersMethodWriteList
(*Schema)
serde.go:58
↓ 4 callersMethodWriteString
WriteString takes in a string and returns number of bytes written and error
encoding/xml/encoder.go:14
↓ 4 callersMethodaddConfigField
Adds a config field 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 will
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:421
↓ 4 callersMethodaddConfigFieldResolver
Adds a config field resolver that will be added to the client by this plugin. @param configFieldResolver The config field resolver. @return Returns t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:443
↓ 4 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:434
↓ 4 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestRequestGenerator.java:386
↓ 4 callersMethodbuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:67
↓ 4 callersFunctioncmpCBOR
(e, a cbor.Value, path string)
testing/cbor.go:42
↓ 4 callersMethodcompareTo
(GoDependency o)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:258
↓ 4 callersMethodcondFieldName
Derive the Go struct field name for a condition's assigned result.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointBddResolverGenerator.java:503
↓ 4 callersMethodconsumeMapValue
()
transport/http/protocol/internal/query/shape_serializer.go:486
↓ 4 callersFunctiondecodeSlice
this routine is used for both string and slice major types, the value of inner specifies which context we're in (needed for validating subsegments ins
encoding/cbor/decode.go:59
↓ 4 callersMethoddelegator
(GoDelegator delegator)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:610
↓ 4 callersMethoddo
(ctx context.Context, method, endpoint, path string, in ToXML, out any, signRequest func(*http.Request) error)
aws-http-auth/sigv4a/e2e_test.go:175
↓ 4 callersMethoddo
(ctx context.Context, accountID, method, path string, in ToXML, out any)
aws-http-auth/sigv4a/e2e_test.go:346
↓ 4 callersMethodencode
(rv reflect.Value, tag serde.Tag)
document/cbor/encode.go:53
↓ 4 callersMethodencode
(vp valueProvider, rv reflect.Value, tag serde.Tag)
document/json/encoder.go:72
↓ 4 callersMethodequals
(Object o)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:967
↓ 4 callersFunctionescapeString
TODO: When do we need to escape the string? Based on encoding/xml escapeString from the Go Standard Library. https://golang.org/src/encoding/xml/xml.g
encoding/xml/escape.go:45
↓ 4 callersMethodexecute
Processes the given model and returns a new model ensuring service operation has an unique input and output synthesized shape. @param model
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/AddOperationShapes.java:47
↓ 4 callersMethodexpectInput
Gets the operation input as a structure shape or throws an exception. @param model The model that contains the operation. @param operation The op
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:115
↓ 4 callersMethodexpectOutput
Gets the operation output as a structure shape or throws an exception. @param model The model that contains the operation. @param operation The o
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:128
↓ 4 callersMethodgenerateCases
Generates test cases for a given operation. Returns one case per union variant found in the input tree. If there are no unions, returns a single case
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:93
↓ 4 callersMethodgenerateWaiterClientName
( String waiterName )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:759
↓ 4 callersMethodgenerateWaiterOptionsName
( String waiterName )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:752
↓ 4 callersMethodget
(id string)
middleware/step_finalize.go:242
↓ 4 callersMethodget
(id string)
middleware/step_deserialize.go:243
↓ 4 callersMethodget
(id string)
middleware/step_serialize.go:249
↓ 4 callersMethodget
(id string)
middleware/step_initialize.go:243
↓ 4 callersMethodgetAlias
Get the alias of the module to use. @return the alias
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:137
↓ 4 callersMethodgetApplicationProtocol
Creates an application protocol for the generator. @return Returns the created application protocol.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:91
↓ 4 callersMethodgetAsPointerIfPointable
Get the pointer reference to operand , if symbol is pointable. This method can be used by deserializers to get pointer to operand. @param model
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:243
↓ 4 callersMethodgetAsValueIfDereferencable
Returns the operand decorated with an " " if the shape is dereferencable. @param pointableIndex knowledge index for if shape is pointable. @param sha
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:199
↓ 4 callersMethodgetDefaultPackageImportName
Gets the name under which the given package will be exported by default. @param packageName The full package name of the exported package. @return Th
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:110
↓ 4 callersMethodgetDeprecated
@return The optional deprecation documentation for the field.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:73
↓ 4 callersMethodgetDeserializeMiddlewareName
(ShapeId operationShapeId, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:254
↓ 4 callersMethodgetDocumentSymbolBuilder
Create a non-pointable {@link Symbol.Builder} for typeName in the service's document package. @param settings the Smithy Go settings. @param typeName
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:493
↓ 4 callersMethodgetEventStreamOperationStructureSymbol
( ServiceShape serviceShape, OperationShape operationShape )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:615
↓ 4 callersMethodgetFunctionArguments
@return collection of symbols denoting the arguments of the resolved function.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:52
↓ 4 callersMethodgetGoDirective
Gets the optional Go directive for the module that will be generated. @return Returns the Go directive.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:236
↓ 4 callersMethodgetMemberSchemaName
(Shape shape, MemberShape member, ServiceShape service)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:38
↓ 4 callersMethodgetMinor
The minor version number. @return the minor version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:73
↓ 4 callersMethodgetOperationsRequiringValidation
Get the set of operations that require validation. @param service service to find operations for @return operations requiring validation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:125
↓ 4 callersMethodgetPatch
The patch version number. @return the patch version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:82
↓ 4 callersMethodgetPreRelease
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:86
↓ 4 callersMethodgetPrefix
The semantic version prefix present before the major version. @return the optional prefix
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:55
↓ 4 callersMethodgetResolvedFunction
@return symbol that resolves to a function.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:45
↓ 4 callersMethodgetSerializeMiddlewareName
(ShapeId operationShapeId, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:248
↓ 4 callersMethodhas
(id string)
middleware/ordered_group.go:263
↓ 4 callersFunctionisEventPayload
(schema *smithy.Schema)
eventstream/serializer.go:225
↓ 4 callersMethodisRequiredParameter
Checks whether a {@link MemberShape} is marked as being required explicitly or implicitly. @param model the model @param shape
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:179
↓ 4 callersMethodisRestBinding
(HttpBinding.Location location)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:680
↓ 4 callersFunctionisS
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:642
↓ 4 callersMethodlazyInit
()
properties.go:65
↓ 4 callersMethodlen
()
encoding/cbor/cbor.go:49
↓ 4 callersMethodlocation
(Location location)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:140
↓ 4 callersFunctionmemberFromToken
(s *smithy.Schema, tok []byte, escaped bool)
transport/http/protocol/internal/json/shape_deserializer.go:597
↓ 4 callersFunctionnewHeaderValue
(header http.Header, key string, append bool)
encoding/httpbinding/header.go:39
↓ 4 callersFunctionnewRequest
(body io.ReadCloser, opts ...func(*http.Request))
aws-http-auth/sigv4a/sigv4a_test.go:107
↓ 4 callersFunctionnewValue
newValue returns a new Value encoder
encoding/json/value.go:20
↓ 4 callersMethodof
(Model model)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/knowledge/GoValidationIndex.java:115
↓ 4 callersFunctionreadEventHeaderInt
(d *ShapeDeserializer, s *smithy.Schema, v *T)
eventstream/deserializer.go:169
↓ 4 callersFunctionreadInt
(d *ShapeDeserializer, v *T, min, max int64)
transport/http/protocol/internal/cbor/shape_deserializer.go:695
↓ 4 callersMethodreadInt
(bits int)
transport/http/protocol/internal/xml/shape_deserializer.go:718
↓ 4 callersMethodreadInt
(min, max int64)
transport/http/protocol/internal/json/shape_deserializer.go:146
↓ 4 callersMethodresolveRequiredDocumentShapeSerde
Resolves the entire set of shapes that will require serde given an initial set of shapes. @param model the model @param shapes the shapes to walk an
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:68
↓ 4 callersMethodsetService
Sets the service to generate. @param service The service to generate.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoSettings.java:135
↓ 4 callersMethodskip
there is xml.Decoder.Skip but this is a special case to assume we already consumed the start element and to handle any peeked tokens
transport/http/protocol/internal/xml/shape_deserializer.go:669
↓ 4 callersMethodsourcePath
Set the source path. @param sourcePath the source path root @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:385
↓ 4 callersMethodtoBooleanVariable
Converts a variable to a boolean per JMESPath truthiness rules. A value is falsey if it is: empty list, empty map, empty string, false, or null. Numbe
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:122
↓ 4 callersMethodtoBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigField.java:84
↓ 4 callersMethodwithIdent
(Expression expr, String name)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:50
↓ 4 callersMethodwriteHeaderStructField
Writes a structure header member with values from a map. @param writer writer to write generated code with. @param field name of the field. @param v
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:478
↓ 4 callersFunctionwriteInt
(s *ShapeSerializer, schema *smithy.Schema, v T)
transport/http/protocol/internal/query/shape_serializer.go:219
↓ 4 callersMethodwriteInt
(v int64)
transport/http/protocol/internal/cbor/shape_serializer.go:80
↓ 4 callersMethodwriteMemberValue
( GoWriter writer, MemberShape member, Shape target, Set<ShapeId> visited, UnionChoice choice
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:203
← previousnext →401–500 of 4,329, ranked by callers