MCPcopy Create free account

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

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

MethodAddBeforeTransmit
AddBeforeTransmit registers the provided BeforeTransmitInterceptor.
transport/http/interceptor.go:138
FunctionAddCaptureRequestMiddleware
AddCaptureRequestMiddleware captures serialized http request during protocol test for check
private/protocol/middleware_capture_request.go:15
FunctionAddCaptureUncompressedRequestMiddleware
AddCaptureUncompressedRequestMiddleware captures http request before compress encoding for check
private/requestcompression/middleware_capture_request_compression.go:16
MethodAddChild
AddChild adds child to the XMLNode.
testing/xml/xmlToStruct.go:32
FunctionAddCloseResponseBodyMiddleware
AddCloseResponseBodyMiddleware adds the middleware to automatically close the response body of an operation request, after the response had been deser
transport/http/middleware_close_response_body.go:74
FunctionAddComputeContentLengthMiddleware
AddComputeContentLengthMiddleware adds ComputeContentLength to the middleware stack's Build step. Deprecated: Content-Length is now set when the requ
transport/http/middleware_content_length.go:20
FunctionAddContentChecksumMiddleware
AddContentChecksumMiddleware adds checksum middleware to middleware's build step.
transport/http/checksum_middleware.go:19
FunctionAddErrorCloseResponseBodyMiddleware
AddErrorCloseResponseBodyMiddleware adds the middleware to automatically close the response body of an operation request if the request response faile
transport/http/middleware_close_response_body.go:40
MethodAddEvent
(string, ...EventOption)
tracing/nop.go:29
MethodAddEvent
(name string, opts ...tracing.EventOption)
tracing/smithyoteltracing/adapt.go:93
FunctionAddEventStreamOutputToMetadata
(metadata *Metadata, output any)
middleware/eventstream_middleware.go:5
FunctionAddHeaderValue
AddHeaderValue returns a stack mutator that adds the header value pair to header. Appends to any existing values if present.
transport/http/middleware_headers.go:145
FunctionAddInitializeStreamWriter
AddInitializeStreamWriter adds the InitializeStreamWriter middleware to the provided stack.
transport/http/eventstream_middleware.go:31
MethodAddLogger
AddLogger is a helper util to add a waiter logger to the initialize stack.
waiter/logger.go:34
MethodAddNested
AddNested adds the invalid parameter errors from another InvalidParamsError value into this collection. The nested errors will have their nested conte
validation.go:30
MethodAddNestedContext
AddNestedContext prepends a context to the field's path.
validation.go:114
FunctionAddNoPayloadDefaultContentTypeRemover
AddNoPayloadDefaultContentTypeRemover Adds the DefaultContentTypeRemover middleware to the stack after the operation serializer. This middleware will
transport/http/middleware_headers.go:36
MethodAddOperationShapes
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/AddOperationShapes.java:36
FunctionAddRequestCompression
AddRequestCompression add requestCompression middleware to op stack
private/requestcompression/request_compression.go:32
FunctionAddRequireMinimumProtocol
AddRequireMinimumProtocol adds the RequireMinimumProtocol middleware to the stack using the provided minimum protocol major and minor version.
transport/http/middleware_min_proto.go:33
FunctionAddSetLoggerMiddleware
AddSetLoggerMiddleware adds a middleware that will add the provided logger to the middleware context.
middleware/logging.go:34
MethodApplicationProtocol
Creates a resolved application protocol. @param name The protocol name (e.g., http, mqtt, etc). @param requestType The type used to represen
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ApplicationProtocol.java:39
FunctionAssertHasHeader
AssertHasHeader compares the header values and identifies if the actual header set includes all values specified in the expect set. Emits a testing er
testing/rest.go:39
FunctionAssertHasHeaderKeys
AssertHasHeaderKeys validates that header set contains all keys expected. Emits a testing error, and returns false if the headers are not equal.
testing/rest.go:66
FunctionAssertHasQuery
AssertHasQuery validates that the expected set of query items are present in the actual set. Emits a testing error, and returns false if any of the ex
testing/rest.go:158
FunctionAssertHasQueryKeys
AssertHasQueryKeys validates that the actual set of query items contains the keys provided. Emits a testing error if any key is not found.
testing/rest.go:191
FunctionAssertJSONEqual
AssertJSONEqual compares two JSON documents and identifies if the documents contain the same values. Emits a testing error, and returns false if the d
testing/document.go:37
FunctionAssertNotHaveHeaderKeys
AssertNotHaveHeaderKeys validates that header set does not contains any of the keys. Emits a testing error, and returns false if the header contains t
testing/rest.go:94
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:35
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:603
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
()
transport/http/middleware_close_response_body_test.go:21
MethodClose
()
transport/http/middleware_close_response_body_test.go:29
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
← previousnext →2,301–2,400 of 4,329, ranked by callers