MCPcopy Create free account

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

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

FunctionAssertNotHaveQueryKeys
AssertNotHaveQueryKeys validates that the actual set of query items does not contains the keys provided. Emits a testing error if any key is found.
testing/rest.go:221
FunctionAssertURLFormEqual
AssertURLFormEqual compares two URLForm documents and identifies if the documents contain the same values. Emits a testing error, and returns false if
testing/document.go:110
FunctionAssertXMLEqual
AssertXMLEqual compares two XML documents and identifies if the documents contain the same values. Emits a testing error, and returns false if the doc
testing/document.go:72
MethodAuthGenerator
(GoCodegenContext ctx, GoWriter writer)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthGenerator.java:25
MethodAuthParametersGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthParametersGenerator.java:46
MethodAuthParametersResolverGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthParametersResolverGenerator.java:38
MethodAuthSchemePropertyGenerator
(ExpressionGenerator generator)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/AuthSchemePropertyGenerator.java:35
MethodAuthSchemeResolverGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/AuthSchemeResolverGenerator.java:50
MethodAwsJson10ProtocolGenerator
(GoCodegenContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/aws/AwsJson10ProtocolGenerator.java:53
MethodBackfilledInputOutputTrait
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/BackfilledInputOutputTrait.java:30
FunctionBenchmarkDecode
(b *testing.B)
eventstream/decode_test.go:158
FunctionBenchmarkDecode_NoPayloadBuf
(b *testing.B)
eventstream/decode_test.go:176
FunctionBenchmarkDeserialize_New
(b *testing.B)
transport/http/protocol/internal/json/benchmark_test.go:620
FunctionBenchmarkDeserialize_Old
========================================================================== Benchmarks ================================================================
transport/http/protocol/internal/json/benchmark_test.go:607
FunctionBenchmarkEncode
(b *testing.B)
eventstream/encode_test.go:33
FunctionBenchmarkLargePayload_New
(b *testing.B)
transport/http/protocol/internal/json/benchmark_test.go:810
FunctionBenchmarkLargePayload_Old
(b *testing.B)
transport/http/protocol/internal/json/benchmark_test.go:800
FunctionBenchmarkSerialize_New
(b *testing.B)
transport/http/protocol/internal/json/benchmark_test.go:750
FunctionBenchmarkUUID_GetUUID
(b *testing.B)
rand/uuid_test.go:37
MethodBigDecimal
BigDecimal encodes v as a query string value
encoding/httpbinding/query.go:101
MethodBigDecimal
BigDecimal encodes the value v as a query string value
encoding/httpbinding/header.go:110
MethodBigDecimal
BigDecimal encodes v as a query string value
encoding/httpbinding/uri.go:89
MethodBigFloat
BigFloat attempts to convert the number to a big.Float, returns an error if the operation fails.
document/document.go:224
MethodBigInt
BigInt attempts to convert the number to a big.Int, returns an error if the operation fails.
document/document.go:233
MethodBigInteger
BigInteger encodes v as a query string value
encoding/httpbinding/query.go:96
MethodBigInteger
BigInteger encodes the value v as a query string value
encoding/httpbinding/header.go:105
MethodBigInteger
BigInteger encodes v as a query string value
encoding/httpbinding/uri.go:84
MethodBlob
Blob encodes the value v as a base64 header string value
encoding/httpbinding/header.go:119
MethodBoolean
Boolean encodes v as a query string value
encoding/httpbinding/query.go:43
MethodBoolean
Boolean encodes the value v as a query string value
encoding/httpbinding/header.go:77
MethodBoolean
Boolean encodes v as a URI string value
encoding/httpbinding/uri.go:31
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:98
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoDependency.java:365
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:344
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:836
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:994
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/testutils/ExecuteCommand.java:114
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointTestsGenerator.java:374
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:604
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointParametersGenerator.java:239
MethodBuilder
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/PagingExtensionTrait.java:71
MethodByte
Byte encodes v as a query string value
encoding/httpbinding/query.go:53
MethodByte
Byte encodes the value v as a query string value
encoding/httpbinding/header.go:57
MethodByte
Byte encodes v as a URI string value
encoding/httpbinding/uri.go:41
MethodByte
Byte encodes v as a JSON number
encoding/json/value.go:30
MethodBytes
Bytes returns the encoded query string as bytes.
transport/http/protocol/internal/query/shape_serializer.go:90
MethodBytes
()
transport/http/protocol/internal/xml/writer.go:61
MethodBytes
Bytes returns a copy of the RingBuffer's bytes.
io/ringbuffer.go:83
MethodBytes
Bytes returns the serialized body bytes.
eventstream/serializer.go:40
MethodCanceledError
CanceledError returns true to satisfy interfaces checking for canceled errors.
errors.go:128
MethodCause
()
eventstream/decode_test.go:134
MethodCborDeserializerGenerator
(ProtocolGenerator.GenerationContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborDeserializerGenerator.java:56
MethodCborSerializerGenerator
(ProtocolGenerator.GenerationContext ctx)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/cbor/CborSerializerGenerator.java:55
MethodChainWritable
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ChainWritable.java:18
MethodClear
Clear removes all entries and slots.
middleware/ordered_group.go:125
MethodClear
()
middleware/ordered_group.go:230
MethodClear
Clear removes all middleware in the step.
middleware/step_finalize.go:237
MethodClear
Clear removes all middleware in the step.
middleware/step_deserialize.go:238
MethodClear
Clear removes all middleware in the step.
middleware/step_serialize.go:244
MethodClientMember
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMember.java:32
MethodClientMemberResolver
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ClientMemberResolver.java:33
MethodClientOptions
(GoCodegenContext ctx, ProtocolGenerator.GenerationContext context, ApplicationProtocol protocol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ClientOptions.java:51
MethodClone
Clone returns a deep copy of the message.
eventstream/message.go:58
MethodClose
()
aws-http-auth/sigv4/sigv4_test.go:49
MethodClose
()
aws-http-auth/internal/v4/signer_test.go:29
MethodClose
()
aws-http-auth/sigv4a/sigv4a_test.go:58
MethodClose
Close encodes the end of the JSON Object
encoding/json/object.go:38
MethodClose
Close calls the underlying io.ReadCloser's Close method, removes the reference to the reader, and returns any error reported from Close. Subsequent ca
transport/http/internal/io/safe.go:64
MethodClose
Close does nothing.
io/reader.go:14
MethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:157
MethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/httpbinding/serializer.go:507
MethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/query/shape_serializer.go:374
MethodCloseList
CloseList implements [smithy.ShapeSerializer].
transport/http/protocol/internal/xml/shape_serializer.go:234
MethodCloseList
CloseList implements [smithy.ShapeSerializer].
eventstream/serializer.go:196
MethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/cbor/shape_serializer.go:185
MethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/httpbinding/serializer.go:547
MethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/query/shape_serializer.go:439
MethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
transport/http/protocol/internal/xml/shape_serializer.go:288
MethodCloseMap
CloseMap implements [smithy.ShapeSerializer].
eventstream/serializer.go:211
FunctionCloseResponseBody
CloseResponseBody closes the HTTP response body. It leaves the body open only for a successful response whose payload is a caller-owned stream (isStre
transport/http/middleware_close_response_body.go:15
MethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/httpbinding/serializer.go:595
MethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/query/shape_serializer.go:295
MethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/xml/shape_serializer.go:167
MethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:291
MethodCloseStruct
CloseStruct implements [smithy.ShapeSerializer].
eventstream/serializer.go:165
MethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/httpbinding/serializer.go:611
MethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/query/shape_serializer.go:310
MethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/xml/shape_serializer.go:200
MethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
transport/http/protocol/internal/json/shape_serializer.go:277
MethodCloseUnion
CloseUnion implements [smithy.ShapeSerializer].
eventstream/serializer.go:181
MethodClosed
Closed returns a channel that is closed when the reader is closed.
transport/http/eventstream.go:207
MethodCodegenUtils
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:54
MethodCodegenVisitor
(PluginContext context)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenVisitor.java:100
FunctionCompareCBOR
CompareCBOR checks whether two CBOR values are equivalent. The function signature is tailored for use in smithy protocol tests, where the expected en
testing/cbor.go:18
FunctionCompareCompressedBytes
CompareCompressedBytes compares the request stream before and after possible request compression
testing/bytes.go:109
FunctionCompareJSONReaderBytes
CompareJSONReaderBytes compares the reader containing serialized JSON document. Deserializes the JSON documents to determine if they are equal. Return
testing/bytes.go:58
FunctionCompareReaderBytes
CompareReaderBytes compares the reader with the expected bytes. Returns an error if the two bytes are not equal.
testing/bytes.go:39
FunctionCompareReaderEmpty
CompareReaderEmpty checks if the reader is nil, or contains no bytes. Returns an error if not empty.
testing/bytes.go:23
FunctionCompareURLFormReaderBytes
CompareURLFormReaderBytes compares the reader containing serialized URLForm document. Deserializes the URLForm documents to determine if they are equa
testing/bytes.go:93
FunctionCompareXMLReaderBytes
CompareXMLReaderBytes compares the reader with expected xml byte
testing/bytes.go:74
← previousnext →2,301–2,400 of 4,282, ranked by callers