MCPcopy Create free account

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

Functions3,047 in github.com/aws/smithy-go

↓ 6 callersMethodisStubSynthetic
Get if the passed in shape is decorated as a synthetic clone, but there is no other shape the clone is created from. @param shape the shape to check
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:157
↓ 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:168
↓ 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 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:257
↓ 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:328
↓ 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
↓ 5 callersMethodCopy
Copy creates a new copy of StartElement.
encoding/xml/element.go:66
↓ 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 callersMethodErr
Err acquires a read-lock and returns an error if one has been set.
sync/error.go:25
↓ 5 callersMethodFloat
Float encodes v as a XML number. It will auto close the parent xml element tag.
encoding/xml/value.go:140
↓ 5 callersMethodGetStream
GetStream returns the request stream io.Reader if a stream is set. If no stream is present nil will be returned.
transport/http/request.go:109
↓ 5 callersMethodIsValid
IsValid is true when a span has nonzero trace and span IDs.
tracing/tracing.go:93
↓ 5 callersMethodName
()
tracing/tracing.go:69
↓ 5 callersFunctionNew
New returns an instance of Signer with applied options.
aws-http-auth/sigv4a/sigv4a.go:51
↓ 5 callersMethodObject
Object returns a new Object encoder
encoding/json/value.go:93
↓ 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 callersMethodUint64
Uint64 returns the number as a uint64.
document/document.go:114
↓ 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 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 callersMethodapply
(Object type, String indent)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:901
↓ 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:131
↓ 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:190
↓ 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:115
↓ 5 callersMethodensureSupportedProtocol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:457
↓ 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:790
↓ 5 callersMethodgetOperationErrorDeserFunctionName
(OperationShape shape, ServiceShape service, String protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:241
↓ 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 callersMethodgetSymbol
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:63
↓ 5 callersMethodinsert
(i int, pos RelativePosition, ids ...string)
middleware/ordered_group.go:234
↓ 5 callersMethodintegrations
(Collection<GoIntegration> integrations)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:607
↓ 5 callersMethodlistOf
(Shape member)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/ShapeUtil.java:43
↓ 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:812
↓ 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:44
↓ 5 callersMethodobjectNode
(ObjectNode objectNode)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:327
↓ 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:269
↓ 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 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:85
↓ 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:276
↓ 4 callersMethodAll
All returns all the fields for the cached type.
document/internal/serde/field_cache.go:33
↓ 4 callersMethodClone
Clone creates a shallow copy of Metadata entries, returning a new Metadata value with the original entries copied into it.
middleware/metadata.go:30
↓ 4 callersMethodCopy
Copy returns a deep copy of the registry. This is used by SDK clients on each operation call in order to prevent per-op config mutation from persistin
transport/http/interceptor.go:84
↓ 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 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 callersMethodFloat64
Float64 returns the number as a float64.
document/document.go:128
↓ 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 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 callersFunctionMustJSONUnmarshal
(v []byte, useJSONNumber bool)
document/json/shared_test.go:490
↓ 4 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
↓ 4 callersMethodNow
()
transport/http/metrics_test.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 callersMethodSeek
(offset int64, whence int)
transport/http/middleware_content_length_test.go:153
↓ 4 callersFunctionUint
Uint returns a pointer value for the uint value passed in.
ptr/to_ptr.go:241
↓ 4 callersMethodaddImport
Imports a package using an alias if necessary. @param packageName Package to import. @param as Alias to refer to the package as. @return Ret
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoWriter.java:648
↓ 4 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:415
↓ 4 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestRequestGenerator.java:320
↓ 4 callersMethodbuild
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:601
↓ 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 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:56
↓ 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
(p []byte)
encoding/cbor/cbor.go:50
↓ 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 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:111
↓ 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:124
↓ 4 callersMethodgenerateWaiterClientName
( String waiterName )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:758
↓ 4 callersMethodgenerateWaiterOptionsName
( String waiterName )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/Waiters2.java:751
↓ 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:93
↓ 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
← previousnext →201–300 of 3,047, ranked by callers