MCPcopy Create free account

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

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

MethodSerializeEventMessage
SerializeEventMessage returns an error.
internal/eventstream/no_event_stream.go:19
MethodSerializeEventMessage
SerializeEventMessage serializes an event to the input stream.
internal/eventstream/codec.go:42
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/restxml/restxml.go:86
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsquery/awsquery.go:64
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/rpcv2/rpcv2.go:171
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsjson/awsjson.go:179
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/restjson1/restjson1.go:160
MethodSerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/ec2query/ec2query.go:63
MethodSerializeInitialRequest
SerializeInitialRequest returns an error.
internal/eventstream/no_event_stream.go:29
MethodSerializeInitialRequest
SerializeInitialRequest serializes the operation input as the first event stream message with :event-type "initial-request".
internal/eventstream/codec.go:188
MethodSerializeMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/cbor/SerializeMiddleware.java:34
MethodSerializeRequest
(context.Context, *smithy.OperationSchema, smithy.Serializable, *Request)
transport/http/protocol.go:18
MethodSerializeRequest
SerializeRequest serializes a request for restxml.
transport/http/protocol/restxml/restxml.go:96
MethodSerializeRequest
SerializeRequest serializes a request for awsQuery.
transport/http/protocol/awsquery/awsquery.go:74
MethodSerializeRequest
SerializeRequest serializes a request for rpcv2Cbor.
transport/http/protocol/rpcv2/rpcv2.go:64
MethodSerializeRequest
SerializeRequest serializes a request for AWS Json 1.0.
transport/http/protocol/awsjson/awsjson.go:77
MethodSerializeRequest
SerializeRequest serializes a request for restJson1.
transport/http/protocol/restjson1/restjson1.go:54
MethodSerializeRequest
SerializeRequest serializes a request for ec2Query.
transport/http/protocol/ec2query/ec2query.go:73
MethodSerializeRequestMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/SerializeRequestMiddleware.java:42
MethodServerCodegenUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:43
MethodServerInterface
(Model model, ServiceShape service, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerInterface.java:45
MethodService
Service returns the name of the API service the error occurred with.
errors.go:51
MethodServiceGenerator
( GoSettings settings, Model model, SymbolProvider symbolProvider,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:81
MethodSetContext
SetContext updates the base context of the error.
validation.go:109
FunctionSetErrorCodeOverride
SetErrorCodeOverride sets the ErrorCodeOverride field on err if present. This is used by protocols in awsquery-compatible mode that need to override
internal/errors/errors.go:14
FunctionSetHeaderValue
SetHeaderValue returns a stack mutator that adds the header value pair to header. Replaces any existing values if present.
transport/http/middleware_headers.go:158
FunctionSetHostnameImmutable
SetHostnameImmutable sets or modifies whether the request's endpoint hostname should be considered immutable or not. Scoped to stack values. Use midd
transport/http/middleware_metadata.go:29
FunctionSetIsContentTypeDefaultValue
SetIsContentTypeDefaultValue returns a Context specifying if the request's content-type header was set to a default value.
transport/http/middleware_headers.go:14
MethodSetProperty
(any, any)
tracing/nop.go:30
MethodSetProperty
(k, v any)
tracing/smithyoteltracing/adapt.go:104
MethodSetStatus
(SpanStatus)
tracing/nop.go:31
MethodSetStatus
(status tracing.SpanStatus)
tracing/smithyoteltracing/adapt.go:108
MethodShapeUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/ShapeUtil.java:53
MethodShapeValueGenerator
Initializes a shape value generator. @param settings the Smithy Go settings. @param model the Smithy model references. @param symbolPr
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:73
MethodShapeValueNodeVisitor
Initializes shape value visitor. @param writer writer to write generated code with. @param valueGen shape value generator. @param shape the shap
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:543
MethodShort
Short encodes v as a query string value
encoding/httpbinding/query.go:58
MethodShort
Short encodes the value v as a query string value
encoding/httpbinding/header.go:62
MethodShort
Short encodes v as a URI string value
encoding/httpbinding/uri.go:46
MethodShort
Short encodes v as a JSON number
encoding/json/value.go:35
MethodSignRequest
SignRequest signs an HTTP request with AWS Signature Version 4, modifying the request in-place by adding the headers that constitute the signature. S
aws-http-auth/sigv4/sigv4.go:101
MethodSignRequest
SignRequest signs an HTTP request with AWS Signature Version 4, modifying the request in-place by adding the headers that constitute the signature. S
aws-http-auth/sigv4a/sigv4a.go:142
MethodSignRequest
(context.Context, *Request, auth.Identity, smithy.Properties)
transport/http/auth_schemes.go:43
MethodSignRequest
SignRequest implements [smithyhttp.Signer].
aws-http-auth-schemes/sigv4/signer.go:32
MethodSignRequest
SignRequest implements [smithyhttp.Signer].
aws-http-auth-schemes/sigv4a/signer.go:32
MethodSignRequestMiddlewareGenerator
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/SignRequestMiddlewareGenerator.java:32
MethodSignString
(toSign string)
aws-http-auth/sigv4/sigv4.go:147
MethodSignString
(v string)
aws-http-auth/internal/v4/signer_test.go:33
MethodSignString
(strToSign string)
aws-http-auth/sigv4a/sigv4a.go:195
MethodSigner
()
transport/http/auth_schemes.go:35
MethodSigner
Signer implements [smithyhttp.AuthScheme].
aws-http-auth-schemes/sigv4/auth_scheme.go:33
MethodSigner
Signer implements [smithyhttp.AuthScheme].
aws-http-auth-schemes/sigv4a/auth_scheme.go:33
MethodSimpleTraitGenerator
(Symbol symbol)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SimpleTraitGenerator.java:16
MethodSkipTest
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:876
FunctionSleepWithContext
SleepWithContext will wait for the timer duration to expire, or until the context is canceled. Whichever happens first. If the context is canceled the
time/time.go:122
MethodSmithyGoDependency
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java:102
MethodSnapshotInputGenerator
@param responseMode When true, values are generated for a shape deserialized from a RESPONSE: {@code @httpResponseCode} takes the
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotInputGenerator.java:74
MethodSnapshotOutputGenerator
(Model model, SymbolProvider symbolProvider, GoSettings settings)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/SnapshotOutputGenerator.java:34
MethodSortedMembers
Initializes the SortedMembers. @param symbolProvider symbol provider used for codegen.
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/CodegenUtils.java:343
FunctionSplit
Split splits the input string by the delimiter and returns the resulting parts. If limit is > 0, at most limit substrings are returned. Returns a slic
endpoints/private/rulesfn/split.go:8
MethodStartSpan
(ctx context.Context, name string, opts ...SpanOption)
tracing/nop.go:19
MethodStartSpan
(ctx context.Context, name string, opts ...tracing.SpanOption)
tracing/smithyoteltracing/adapt.go:43
MethodStop
()
metrics/nop.go:95
MethodStop
()
metrics/smithyotelmetrics/async.go:16
MethodString
String returns the IDL microformat for the shape ID.
schema.go:48
MethodString
()
errors.go:92
MethodString
String encodes v as a XML string. It will auto close the parent xml element tag.
encoding/xml/value.go:106
MethodString
String encodes v as a JSON string
encoding/json/value.go:25
MethodString
()
middleware/stack_values.go:65
MethodString
Int64 returns the number as a string.
document/document.go:186
MethodString
()
eventstream/header_value.go:32
MethodString
()
eventstream/header_value.go:184
MethodString
()
eventstream/header_value.go:208
MethodString
()
eventstream/header_value.go:246
MethodString
()
eventstream/header_value.go:283
MethodString
()
eventstream/header_value.go:320
MethodString
()
eventstream/header_value.go:357
MethodString
()
eventstream/header_value.go:395
MethodString
()
eventstream/header_value.go:490
MethodString
()
tracing/smithyoteltracing/attribute_test.go:12
MethodStructureDeserializer
(GoCodegenContext ctx, StructureShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/StructureDeserializer.java:26
MethodStructureGenerator
( GoCodegenContext ctx, GoWriter writer, StructureShape shape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/StructureGenerator.java:61
MethodStructureSerializer
(GoCodegenContext ctx, StructureShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/StructureSerializer.java:28
MethodSwap
Swap removes the item by id, replacing it with the new item. Returns an error if the original item doesn't exist.
middleware/ordered_group.go:79
MethodSwap
Swap will replace the item id with the to item. Returns an error if the original item id does not exist. Allows swapping out an item for another item
middleware/ordered_group.go:202
MethodSwap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_finalize.go:182
MethodSwap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_deserialize.go:183
MethodSwap
Swap removes the middleware by id, replacing it with the new middleware. Returns the middleware removed, or error if the middleware to be removed does
middleware/step_serialize.go:189
MethodSwap
(i, j int)
document/internal/serde/field.go:229
MethodSwap
(i, j int)
document/internal/serde/field.go:252
MethodSwap
(i, j int)
testing/xml/sort.go:32
MethodSymbol
Symbol returns the scalar's Go symbol with path if needed.
ptr/gen_scalars.go:63
MethodSymbolUtils
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolUtils.java:36
MethodSymbolVisitor
(Model model, GoSettings settings)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SymbolVisitor.java:88
MethodSynthetic
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/Synthetic.java:39
FunctionTestAddCaptureRequestMiddleware
TestAddCaptureRequestMiddleware tests AddCaptureRequestMiddleware
private/protocol/middleware_capture_request_test.go:17
FunctionTestAddHeaderValue
(t *testing.T)
transport/http/middleware_headers_test.go:13
FunctionTestAnonymousScheme
(t *testing.T)
transport/http/auth_schemes_test.go:8
FunctionTestArray
(t *testing.T)
encoding/json/array_test.go:8
FunctionTestAsBigInt
(t *testing.T)
encoding/cbor/coerce_test.go:445
FunctionTestAsFloat32
(t *testing.T)
encoding/cbor/coerce_test.go:255
← previousnext →3,001–3,100 of 4,329, ranked by callers