MCPcopy Create free account

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

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

↓ 4 callersMethodwriteNewline
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/DocumentationConverter.java:218
↓ 4 callersMethodwriteShapeDocs
Writes shape documentation comments if docs are present. @param shape Shape to write the documentation of. @return Returns true if docs were written.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:736
↓ 4 callersMethodwriteTextString
(v string)
transport/http/protocol/internal/cbor/shape_serializer.go:283
↓ 4 callersFunctionxmlMemberName
(schema *smithy.Schema)
transport/http/protocol/internal/xml/shape_deserializer.go:128
↓ 3 callersMethodArrayWithCustomName
* ArrayWithCustomName returns an array encoder. It takes named start element as an argument, the named start element will used to wrap xml array entr
encoding/xml/value.go:244
↓ 3 callersFunctionAsBigInt
AsBigInt coerces a Value to its big.Int representation if possible. A BigInt may be represented by any of the following: - Uint - NegInt - Tag (type
encoding/cbor/coerce.go:189
↓ 3 callersFunctionAsInt64
AsInt64 coerces a Value to its int64 representation if possible.
encoding/cbor/coerce.go:74
↓ 3 callersMethodBuild
Build encodes HTTP binding values into the request and sets the request body. The defaultContentType is used for the protocol body (e.g. "application/
transport/http/protocol/internal/httpbinding/serializer.go:94
↓ 3 callersMethodClone
Clone returns a deep copy of the Request for the new context. A reference to the Stream is copied, but the underlying stream is not copied.
transport/http/request.go:46
↓ 3 callersMethodCloseUnion
()
serde.go:51
↓ 3 callersFunctionDecode
Decode returns the Value encoded in the given byte slice.
encoding/cbor/cbor.go:133
↓ 3 callersMethodDecodeJSONInterface
DecodeJSONInterface decodes the supported JSON input types and stores the result in the value pointed by toValue. If toValue is not a compatible type
document/json/decoder.go:34
↓ 3 callersFunctionDeserializeMiddlewareFunc
DeserializeMiddlewareFunc returns a DeserializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_deserialize.go:48
↓ 3 callersMethodDirectReadStruct
DirectReadStruct is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads struct members directly.
transport/http/protocol/internal/json/shape_deserializer.go:660
↓ 3 callersMethodErr
Err acquires a read-lock and returns an error if one has been set.
sync/error.go:25
↓ 3 callersMethodGet
(key interface{})
middleware/metadata.go:6
↓ 3 callersMethodGetIdentityResolver
(schemeID string)
auth/identity.go:25
↓ 3 callersMethodGetUUID
GetUUID returns a random UUID version 4 string representation sourced from the random reader the UUID was created with. Returns an error if unable to
rand/uuid.go:41
↓ 3 callersMethodHas
Has returns whether the key exists in the metadata. Panics if the key type is not comparable.
properties.go:41
↓ 3 callersFunctionHasBlobPayload
HasBlobPayload reports whether the given output shape binds a blob member as @httpPayload. Such a payload is handed to the caller by reference, so the
transport/http/protocol/internal/httpbinding/deserializer.go:513
↓ 3 callersFunctionInt
Int returns a pointer value for the int value passed in.
ptr/to_ptr.go:96
↓ 3 callersMethodIsStreamSeekable
IsStreamSeekable returns whether the stream is seekable.
transport/http/request.go:114
↓ 3 callersMethodLen
()
document/internal/serde/field.go:227
↓ 3 callersFunctionNewAttribute
* NewAttribute returns a pointer to an attribute. It takes in a local name aka attribute name, and value representing the attribute value. */
encoding/xml/element.go:29
↓ 3 callersFunctionNewDecoder
NewDecoder returns a Decoder for deserializing Smithy documents for JSON based protocols.
document/json/json.go:17
↓ 3 callersFunctionNewNamespaceAttribute
* NewNamespaceAttribute returns a pointer to an attribute. It takes in a local name aka attribute name, and value representing the attribute value. N
encoding/xml/element.go:51
↓ 3 callersFunctionNewQueryValue
NewQueryValue creates a new QueryValue which enables encoding a query value into the given url.Values.
encoding/httpbinding/query.go:20
↓ 3 callersFunctionNewShapeDeserializer
NewShapeDeserializer creates a ShapeDeserializer for the given HTTP response. The payload should be nil in streaming-blob response operations.
transport/http/protocol/internal/httpbinding/deserializer.go:59
↓ 3 callersFunctionNewUUID
NewUUID returns an initialized UUID value that can be used to retrieve random UUID version 4 values.
rand/uuid.go:35
↓ 3 callersMethodNull
Null encodes a null JSON value
encoding/json/value.go:98
↓ 3 callersMethodReadBlob
ReadBlob implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:367
↓ 3 callersMethodReadInt32
(*Schema, *int32)
serde.go:72
↓ 3 callersMethodReadListItem
(*Schema)
serde.go:91
↓ 3 callersMethodReadMapKey
(*Schema)
serde.go:94
↓ 3 callersMethodReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:204
↓ 3 callersMethodReadStructMember
()
serde.go:85
↓ 3 callersMethodReadTime
(*Schema, *time.Time)
serde.go:79
↓ 3 callersMethodSeek
(int64, int)
aws-http-auth/internal/v4/signer_test.go:430
↓ 3 callersFunctionString
String returns a pointer value for the string value passed in.
ptr/to_ptr.go:67
↓ 3 callersMethodTargetID
TargetID returns the shape ID of the member's target shape.
schema.go:207
↓ 3 callersFunctionURLFormEqual
URLFormEqual compares two URLForm documents and identifies if the documents contain the same values. Returns an error if the two documents are not equ
testing/document.go:86
↓ 3 callersMethodValue
(key interface{})
middleware/stack_values.go:53
↓ 3 callersFunctionWithHeaderComment
WithHeaderComment instruments a middleware stack to append an HTTP field comment to the given header as specified in RFC 9110 (https://www.rfc-editor.
transport/http/middleware_header_comment.go:24
↓ 3 callersFunctionWrapNodeDecoder
WrapNodeDecoder returns an initialized XMLNodeDecoder
encoding/xml/xml_decoder.go:18
↓ 3 callersMethodWriteBlob
(*Schema, []byte)
serde.go:47
↓ 3 callersMethodWriteInt64
(*Schema, int64)
serde.go:40
↓ 3 callersMethodWriteInt64
WriteInt64 implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:162
↓ 3 callersMethodWriteNil
(*Schema)
serde.go:53
↓ 3 callersMethodWriteUnion
(schema, variant *Schema)
serde.go:50
↓ 3 callersFunctionXMLEqual
XMLEqual asserts two xml documents by sorting the XML and comparing the strings It returns an error in case of mismatch or in case of malformed xml fo
testing/document.go:51
↓ 3 callersMethodappendMemberPrefix
(schema *smithy.Schema)
transport/http/protocol/internal/query/shape_serializer.go:129
↓ 3 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:107
↓ 3 callersMethodbuildMockPluginContext
( Model model, FileManifest manifest, String serviceShapeId )
codegen/smithy-go-codegen/src/test/java/software/amazon/smithy/go/codegen/TestUtils.java:64
↓ 3 callersMethodbuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:364
↓ 3 callersFunctioncollectUnknownField
(decoder *json.Decoder)
encoding/json/decoder_util.go:61
↓ 3 callersMethodconfigFields
Sets the config fields 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 w
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:398
↓ 3 callersMethodcreateDeserializeStepMiddleware
Create a new DeserializeStep middleware generator with the provided type name. @param name is the type name to identify the middleware. @param id t
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStackStepMiddlewareGenerator.java:170
↓ 3 callersMethodctxEname
wraps ename to check for the context of "am i in a list or map"
transport/http/protocol/internal/xml/element_name.go:28
↓ 3 callersMethoddecode
(cv cbor.Value, rv reflect.Value, tag serde.Tag)
document/cbor/decode.go:57
↓ 3 callersMethoddecode
(jv interface{}, rv reflect.Value, tag serde.Tag)
document/json/decoder.go:48
↓ 3 callersFunctiondecodeHeaderValue
(r io.Reader)
eventstream/header.go:105
↓ 3 callersFunctiondecodeUint32
(r io.Reader)
eventstream/decode.go:187
↓ 3 callersFunctiondecodeUint8
(r io.Reader)
eventstream/decode.go:162
↓ 3 callersMethoddependencies
Set the collection of {@link GoDependency} required by this dependency. @param dependencies a collection of dependencies @return the builder
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:429
↓ 3 callersFunctionderivePrivateKey
derivePrivateKey derives a NIST P-256 PrivateKey from the given IAM AccessKey and SecretKey pair. Based on FIPS.186-4 Appendix B.4.2
aws-http-auth/sigv4a/credentials.go:70
↓ 3 callersMethodenc
()
internal/eventstream/codec.go:27
↓ 3 callersFunctionencodeQuery
encodeQuery returns the canonical query string for the given parameters, as required by the SigV4 canonical request. Each parameter name and value is
aws-http-auth/internal/v4/strings.go:61
↓ 3 callersMethodensureSupportedProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ClientOptions.java:260
↓ 3 callersFunctionescapeString
(w *bytes.Buffer, s string)
transport/http/protocol/internal/xml/writer.go:90
↓ 3 callersFunctionescapeStringBytes
escapeStringBytes escapes and writes the passed in string bytes to the dst buffer Copied and modifed from Go 1.8 stdlib's encodeing/json/#encodeState
encoding/json/escape.go:126
↓ 3 callersMethodescapeWithTrailingUnderscore
(String symbolName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:182
↓ 3 callersFunctionexpectHeader
(t *testing.T, header http.Header, h, ev string)
transport/http/middleware_header_comment_test.go:109
↓ 3 callersFunctionexpectID
(t *testing.T, m ider, expect string)
middleware/shared_test.go:77
↓ 3 callersMethodexpectMember
(CollectionShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoJmespathExpressionGenerator.java:433
↓ 3 callersMethodformatTime
()
aws-http-auth/internal/v4/signer.go:272
↓ 3 callersMethodgenerate
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthGenerator.java:30
↓ 3 callersMethodgenerate
(Optional<EndpointRuleSet> ruleset)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:100
↓ 3 callersMethodgenerateCasesForShape
Generates test cases for an arbitrary root structure (e.g. an operation output shape). Produces a single case with a fully-populated literal for the s
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:102
↓ 3 callersMethodgenerateHttpHeaderValue
( GenerationContext context, GoWriter writer, MemberShape memberShape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:1232
↓ 3 callersMethodgetApiClientInterfaceName
Returns name of an API client interface. @param operationSymbol Symbol of operation shape for which Api client interface is being generated. @return
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/OperationInterfaceGenerator.java:51
↓ 3 callersMethodgetApplicationProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpRpcProtocolGenerator.java:55
↓ 3 callersMethodgetApplicationProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:96
↓ 3 callersMethodgetAuthSchemeDefinitions
Gets the registered auth scheme codegen definitions. @return the definitions.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:162
↓ 3 callersMethodgetBuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:90
↓ 3 callersMethodgetConfigResolvers
( ConfigFieldResolver.Location location, ConfigFieldResolver.Target target )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:810
↓ 3 callersMethodgetDefaultMemberName
(MemberShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:240
↓ 3 callersMethodgetDeserializerName
(Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonDeserializerGenerator.java:48
↓ 3 callersMethodgetErrorDeserFunctionName
Generates the name of an error deserializer function for shapes of a service. @param shape The error structure shape for which deserializer name i
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:243
↓ 3 callersMethodgetEventStreamReaderInterfaceName
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:647
↓ 3 callersMethodgetEventStreamWriterInterfaceName
(ServiceShape serviceShape, ToShapeId shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:642
↓ 3 callersFunctiongetLineage
(ctx context.Context)
tracing/context.go:55
↓ 3 callersMethodgetOperationsWithIdempotencyToken
Gets a map with key as OperationId and Member shape as value for member shapes of an operation decorated with the Idempotency token trait. @param mod
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/IdempotencyTokenMiddlewareGenerator.java:213
↓ 3 callersMethodgetRequestType
Gets the symbol used to refer to the request type for this protocol. @return Returns the protocol request type.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:93
↓ 3 callersMethodgoDirective
(String goDirective)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModuleInfo.java:110
↓ 3 callersFunctionhandle
(stack *middleware.Stack)
transport/http/middleware_header_comment_test.go:79
↓ 3 callersMethodhasEventStream
(OperationShape operationShape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:334
↓ 3 callersMethodhasEventStreamOperations
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EventStreamGenerator.java:316
↓ 3 callersMethodhaveRequiredParameters
(Parameters parameters)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:214
↓ 3 callersFunctionhmacSHA256
(key, data []byte)
aws-http-auth/sigv4/sigv4.go:156
↓ 3 callersFunctioninjectBuildRequest
(s *middleware.Stack)
transport/http/middleware_header_comment_test.go:93
← previousnext →501–600 of 4,329, ranked by callers