MCPcopy Create free account

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

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

↓ 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
↓ 5 callersMethodEncode
Encode returns a REST protocol encoder for encoding HTTP bindings. Due net/http requiring `Content-Length` to be specified on the http.Request#Conten
encoding/httpbinding/encode.go:61
↓ 5 callersMethodEnd
()
tracing/tracing.go:74
↓ 5 callersMethodFloat64
Float64 returns the number as a float64.
document/document.go:214
↓ 5 callersFunctionHash
Hash returns the SHA256 hash of the request payload, or the SigV4/SigV4A unsigned-payload sentinel if the payload is not signed. The aws-http-auth si
aws-http-auth-schemes/internal/payloadhash/payloadhash.go:21
↓ 5 callersMethodListMember
ListMember returns the "member" schema for list types.
schema.go:178
↓ 5 callersMethodMember
Member returns the member schema for the given name, or nil.
schema.go:213
↓ 5 callersFunctionNew
New returns an instance of Signer with applied options.
aws-http-auth/sigv4a/sigv4a.go:51
↓ 5 callersFunctionNewEncoder
NewEncoder creates a new encoder from the passed in request. It assumes that raw path contains no valuable information at this point, so it passes in
encoding/httpbinding/encode.go:32
↓ 5 callersFunctionNewShapeDeserializer
NewShapeDeserializer creates a new ShapeDeserializer.
transport/http/protocol/internal/json/shape_deserializer.go:55
↓ 5 callersMethodNow
()
transport/http/metrics_test.go:18
↓ 5 callersMethodObject
Object returns a new Object encoder
encoding/json/value.go:93
↓ 5 callersMethodReadString
(*Schema, *string)
serde.go:77
↓ 5 callersFunctionStosha
Stosha computes the sha256 hash of the given string.
aws-http-auth/internal/v4/strings.go:55
↓ 5 callersMethodStreamLength
StreamLength returns the number of bytes of the serialized stream attached to the request and ok set. If the length cannot be determined, an error wil
transport/http/request.go:55
↓ 5 callersMethodString
()
middleware/stack_values.go:86
↓ 5 callersMethodValue
Value adds a new element to the JSON Array. Returns a Value type that is used to encode the array element.
encoding/json/array.go:22
↓ 5 callersMethodWrite
Write method inserts the elements in a byte slice, and returns the number of bytes written along with any error.
io/ringbuffer.go:28
↓ 5 callersMethodWriteKey
(*Schema, string)
serde.go:62
↓ 5 callersMethodWriteMap
(*Schema)
serde.go:61
↓ 5 callersMethodaddDependency
Add a dependency on another {@link GoDependency}. @param dependency the dependency @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:441
↓ 5 callersFunctionbinaryWriteFields
(w io.Writer, order binary.ByteOrder, vs ...any)
eventstream/encode.go:160
↓ 5 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestRequestGenerator.java:366
↓ 5 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:642
↓ 5 callersMethodbuildTestModel
(ServiceShape service)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/ResolveProtocolTest.java:58
↓ 5 callersMethodbuildTestService
(Trait ...protocols)
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/ResolveProtocolTest.java:49
↓ 5 callersMethodcreateFinalizeStepMiddleware
Create a new FinalizeStep middleware generator with the provided type name. @param name is the type name to identify the middleware. @param id the
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:132
↓ 5 callersMethodcreateMiddleware
Generates a new step middleware generator. @param name the name of the middleware type. @param id the unique ID for the middleware. @p
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:191
↓ 5 callersMethodcreateSerializeStepMiddleware
Create a new SerializeStep middleware generator with the provided type name. @param name is the type name to identify the middleware. @param id the
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:116
↓ 5 callersMethodename
Unlike json which has a sane recursive data model, the xml serializer at its core operates by writing <ename>...</ename> except what ename is supposed
transport/http/protocol/internal/xml/element_name.go:15
↓ 5 callersMethodencodeScalar
(w io.Writer, v any)
eventstream/header_value.go:65
↓ 5 callersMethodgetInternalDocumentSymbol
(String typeName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:473
↓ 5 callersMethodgetMajor
The major version number. @return the major version
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:64
↓ 5 callersMethodgetOperation
Get the operation the skip test applies to. @return the operation id
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:840
↓ 5 callersMethodgetOperationErrorDeserFunctionName
(OperationShape shape, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:230
↓ 5 callersMethodgetResponseType
Gets the symbol used to refer to the response type for this protocol. @return Returns the protocol response type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:102
↓ 5 callersMethodgetSettings
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:520
↓ 5 callersMethodgetSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:63
↓ 5 callersMethodgoTypeForType
(Type type)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/ExpressionGenerator.java:317
↓ 5 callersMethodinsert
(i int, pos RelativePosition, ids ...string)
middleware/ordered_group.go:234
↓ 5 callersFunctionisHTTPPayload
(schema *smithy.Schema)
transport/http/protocol/internal/httpbinding/serializer.go:216
↓ 5 callersFunctionisN
(tok []byte)
transport/http/protocol/internal/json/shape_deserializer.go:610
↓ 5 callersMethodisV2EventStream
(Model model, OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:331
↓ 5 callersMethodlistOf
(Shape member)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/ShapeUtil.java:62
↓ 5 callersMethodmatches
Returns if the skip test case matches the test being evaluated. If a test name isn't specified in the skip test only the service and operation are con
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:862
↓ 5 callersFunctionnewArray
newArray returns an array encoder. It also takes in the member start element, array start element. It takes in a isFlattened bool, indicating that an
encoding/xml/array.go:29
↓ 5 callersFunctionnewRequest
(body io.ReadCloser, opts ...func(*http.Request))
aws-http-auth/sigv4/sigv4_test.go:51
↓ 5 callersMethodobjectNode
(ObjectNode objectNode)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:328
↓ 5 callersMethodof
Returns a {@link GoEventStreamIndex} for the given model. @param model the model @return the knowledge index
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoEventStreamIndex.java:105
↓ 5 callersFunctionpeekMajor
(p []byte)
encoding/cbor/decode.go:284
↓ 5 callersMethodpush
(v byte)
transport/http/protocol/internal/cbor/shape_serializer.go:62
↓ 5 callersMethodresolvePayloadHash
ensure we have a value for payload hash, whether that be explicit, implicit, or the unsigned sentinel
aws-http-auth/internal/v4/signer.go:100
↓ 5 callersMethodresolver
(Symbol resolver)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:150
↓ 5 callersMethodsetRequiredHeaders
()
aws-http-auth/internal/v4/signer.go:122
↓ 5 callersMethodtarget
(Target target)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ConfigFieldResolver.java:145
↓ 5 callersMethodtest
Tests if middleware is applied to an individual operation. @param model Model the operation belongs to. @param service Service the operation be
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:96
↓ 5 callersMethodtoken
()
transport/http/protocol/internal/xml/shape_deserializer.go:587
↓ 5 callersMethodwithMember
(Expression expr, String name)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:44
↓ 5 callersMethodwriteStructField
Writes a single Go structure field key and value. @param writer writer to write generated code with. @param field the field name of the struct membe
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:326
↓ 4 callersMethodAll
All returns all the fields for the cached type.
document/internal/serde/field_cache.go:33
↓ 4 callersMethodBoolean
Boolean encodes v as a XML boolean. It will auto close the parent xml element tag.
encoding/xml/value.go:159
↓ 4 callersMethodBytes
Bytes returns the serialized XML bytes.
transport/http/protocol/internal/xml/shape_serializer.go:67
↓ 4 callersMethodClone
Clone returns a deep copy of the headers
eventstream/header.go:56
↓ 4 callersMethodCloseList
()
serde.go:59
↓ 4 callersMethodCloseStruct
()
serde.go:56
↓ 4 callersMethodDel
Del deletes the value in the Headers if it exists.
eventstream/header.go:46
↓ 4 callersMethodDouble
Double encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:147
↓ 4 callersMethodEncode
Encode returns the JSON encoding of v.
document/json/encoder.go:24
↓ 4 callersFunctionEncodeFloat
EncodeFloat encodes a float value as per the stdlib encoder for json and xml protocol This encodes a float value into dst while attempting to conform
encoding/encoding.go:14
↓ 4 callersFunctionFetchRootElement
FetchRootElement takes in a decoder and returns the first start element within the xml body. This function is useful in fetching the start element of
encoding/xml/xml_decoder.go:143
↓ 4 callersMethodField
Field name the error occurred on.
validation.go:70
↓ 4 callersMethodFieldByName
FieldByName retrieves a field by name.
document/internal/serde/field_cache.go:38
↓ 4 callersMethodFlattenedElement
FlattenedElement returns flattened element encoding. It returns a Value. This method should be used for flattened shapes. Unlike MemberElement, flatt
encoding/xml/value.go:223
↓ 4 callersFunctionGetLogger
GetLogger takes a context to retrieve a Logger from. If no logger is present on the context a logging.Nop logger is returned. If the logger retrieved
middleware/logging.go:15
↓ 4 callersMethodID
ID returns a unique ID for the middleware in the FinalizeStep. The step does not allow duplicate IDs.
middleware/step_finalize.go:35
↓ 4 callersMethodID
ID returns a unique ID for the middleware in the DeserializeStep. The step does not allow duplicate IDs.
middleware/step_deserialize.go:36
↓ 4 callersMethodID
ID returns a unique ID for the middleware in the BuildStep. The step does not allow duplicate IDs.
middleware/step_build.go:35
↓ 4 callersMethodID
ID returns a unique ID for the middleware in the SerializeStep. The step does not allow duplicate IDs.
middleware/step_serialize.go:38
↓ 4 callersMethodID
ID returns a unique ID for the middleware in the InitializeStep. The step does not allow duplicate IDs.
middleware/step_initialize.go:36
↓ 4 callersMethodIsOutputEventStream
IsOutputEventStream reports whether this is an output event stream.
schema.go:248
↓ 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 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:183
↓ 4 callersMethodMapValue
MapValue returns the "value" schema for map types.
schema.go:188
↓ 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 callersMethodPut
Store a value under the given key.
container/private/cache/cache.go:18
↓ 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 callersMethodReadString
ReadString implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:256
↓ 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
← previousnext →301–400 of 4,217, ranked by callers