Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,282 in github.com/aws/smithy-go
⨍
Functions
4,282
◇
Types & classes
886
Method
ReadMapKey
ReadMapKey implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:367
Method
ReadMapKey
ReadMapKey implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:314
Method
ReadMapKey
ReadMapKey implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:413
Method
ReadMapKey
(s *smithy.Schema)
eventstream/deserializer.go:264
Method
ReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:382
Method
ReadNil
ReadNil implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:429
Method
ReadNil
(s *smithy.Schema)
eventstream/deserializer.go:272
Method
ReadString
ReadString implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:516
Method
ReadString
(s *smithy.Schema, v *string)
eventstream/deserializer.go:108
Function
ReadStruct
ReadStruct is a utility API for generated clients.
serde.go:158
Method
ReadStruct
ReadStruct implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:68
Method
ReadStruct
ReadStruct implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:149
Method
ReadStruct
ReadStruct implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:435
Method
ReadStruct
(s *smithy.Schema)
eventstream/deserializer.go:42
Method
ReadStructMember
ReadStructMember implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:88
Method
ReadStructMember
ReadStructMember implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:160
Method
ReadStructMember
ReadStructMember implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:452
Method
ReadStructMember
()
eventstream/deserializer.go:61
Method
ReadTime
ReadTime implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:318
Method
ReadTime
ReadTime implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:527
Method
ReadTime
ReadTime implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:302
Method
ReadTime
(s *smithy.Schema, v *time.Time)
eventstream/deserializer.go:236
Function
ReadUnion
ReadUnion is a utility API for generated clients.
serde.go:135
Method
ReadUnion
ReadUnion implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:542
Method
ReadUnion
ReadUnion implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:392
Method
ReadUnion
ReadUnion implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:584
Method
ReadUnion
ReadUnion implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:505
Method
ReadUnion
(s *smithy.Schema)
eventstream/deserializer.go:268
Method
Record
(ctx context.Context, value float64, opts ...metrics.RecordMetricOption)
transport/http/metrics_test.go:68
Method
Record
(context.Context, N, ...RecordMetricOption)
metrics/nop.go:94
Method
Record
(context.Context, float64, ...RecordMetricOption)
metrics/metrics.go:94
Method
Record
(ctx context.Context, v int64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/int64.go:39
Method
Record
(ctx context.Context, v float64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/float64.go:41
Function
RegistryEntry
RegistryEntry creates a type registry entry.
type_registry.go:16
Method
Remove
Remove removes the item by id. Returns an error if the item doesn't exist.
middleware/ordered_group.go:103
Method
Remove
(id string)
middleware/ordered_group.go:216
Method
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_finalize.go:195
Method
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_deserialize.go:196
Method
Remove
Remove removes the middleware by id. Returns error if the middleware doesn't exist.
middleware/step_serialize.go:202
Function
RemoveNoPayloadDefaultContentTypeRemover
RemoveNoPayloadDefaultContentTypeRemover removes the DefaultContentTypeRemover middleware from the stack. Returns an error if unable to remove the mid
transport/http/middleware_headers.go:50
Function
RequestCloner
RequestCloner is a function that can take an input request type and clone the request for use in a subsequent retry attempt.
transport/http/request.go:186
Method
RequestHandler
(ServerProtocolGenerator protocolGenerator)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/RequestHandler.java:36
Method
ResolveAuthSchemeMiddlewareGenerator
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/auth/ResolveAuthSchemeMiddlewareGenerator.java:33
Function
ResolveTime
ResolveTime initializes a time value for signing.
aws-http-auth/internal/v4/signer.go:269
Method
RetrieveBearerToken
RetrieveBearerToken calls the wrapped function, returning the Token or error.
auth/bearer/token.go:37
Method
RetrieveBearerToken
RetrieveBearerToken returns the static token specified.
auth/bearer/token.go:48
Method
Rpc2DeserializeResponseMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2DeserializeResponseMiddleware.java:32
Method
Rpc2SerializeRequestMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/Rpc2SerializeRequestMiddleware.java:37
Method
RuleVisitor
(Scope scope, FnProvider fnProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/EndpointResolverGenerator.java:527
Method
RuntimeClientPlugin
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/RuntimeClientPlugin.java:62
Method
Sample
(context.Context, N, ...RecordMetricOption)
metrics/nop.go:93
Method
Sample
(context.Context, int64, ...RecordMetricOption)
metrics/metrics.go:69
Method
Sample
(context.Context, float64, ...RecordMetricOption)
metrics/metrics.go:89
Method
Sample
(ctx context.Context, v int64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/int64.go:29
Method
Sample
(ctx context.Context, v float64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/float64.go:31
Function
SanitizeErrorCode
SanitizeErrorCode strips namespace prefixes and colon suffixes from protocol error codes.
internal/errors/errors.go:35
Function
SchemaDirectTrait
SchemaDirectTrait returns the target trait on the schema if it was declared directly on the schema. For member schemas this returns the trait only if
schema.go:282
Function
SchemaExtension
SchemaExtension retrieves or lazily computes the extension for the given slot. build is called on first access for a schema and the result is cached.
schema_ext.go:25
Method
SchemaGenerator
(GoCodegenContext ctx, Shape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SchemaGenerator.java:23
Function
SchemaTrait
SchemaTrait returns the target trait on the schema if it exists. For member schemas this returns the effective trait, which is the trait declared dir
schema.go:272
Method
SchemeID
()
transport/http/auth_schemes.go:27
Method
Scope
(Map<Expression, String> mapping)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/Scope.java:29
Method
SemanticVersion
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SemanticVersion.java:41
Method
Send
Send writes a single event to the stream.
transport/http/eventstream.go:76
Method
Serde2EventStreamMiddleware
(GoCodegenContext ctx, OperationShape operation)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/Serde2EventStreamMiddleware.java:24
Method
SerdeUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde/SerdeUtil.java:44
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/restxml/restxml.go:76
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsquery/awsquery.go:54
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/rpcv2/rpcv2.go:161
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsjson/awsjson.go:169
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/restjson1/restjson1.go:150
Method
SerializeEventMessage
SerializeEventMessage implements [smithyhttp.ClientProtocol].
transport/http/protocol/ec2query/ec2query.go:53
Method
SerializeEventMessage
SerializeEventMessage returns an error.
internal/eventstream/no_event_stream.go:19
Method
SerializeEventMessage
SerializeEventMessage serializes an event to the input stream.
internal/eventstream/codec.go:42
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/restxml/restxml.go:86
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsquery/awsquery.go:64
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/rpcv2/rpcv2.go:171
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/awsjson/awsjson.go:179
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/restjson1/restjson1.go:160
Method
SerializeInitialRequest
SerializeInitialRequest implements [smithyhttp.ClientProtocol].
transport/http/protocol/ec2query/ec2query.go:63
Method
SerializeInitialRequest
SerializeInitialRequest returns an error.
internal/eventstream/no_event_stream.go:29
Method
SerializeInitialRequest
SerializeInitialRequest serializes the operation input as the first event stream message with :event-type "initial-request".
internal/eventstream/codec.go:188
Method
SerializeMiddleware
( 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
Method
SerializeRequest
(context.Context, *smithy.OperationSchema, smithy.Serializable, *Request)
transport/http/protocol.go:18
Method
SerializeRequest
SerializeRequest serializes a request for restxml.
transport/http/protocol/restxml/restxml.go:96
Method
SerializeRequest
SerializeRequest serializes a request for awsQuery.
transport/http/protocol/awsquery/awsquery.go:74
Method
SerializeRequest
SerializeRequest serializes a request for rpcv2Cbor.
transport/http/protocol/rpcv2/rpcv2.go:64
Method
SerializeRequest
SerializeRequest serializes a request for AWS Json 1.0.
transport/http/protocol/awsjson/awsjson.go:77
Method
SerializeRequest
SerializeRequest serializes a request for restJson1.
transport/http/protocol/restjson1/restjson1.go:54
Method
SerializeRequest
SerializeRequest serializes a request for ec2Query.
transport/http/protocol/ec2query/ec2query.go:73
Method
SerializeRequestMiddleware
( ProtocolGenerator generator, ProtocolGenerator.GenerationContext ctx, OperationShape operation
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/SerializeRequestMiddleware.java:42
Method
ServerCodegenUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerCodegenUtil.java:43
Method
ServerInterface
(Model model, ServiceShape service, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/ServerInterface.java:45
Method
Service
Service returns the name of the API service the error occurred with.
errors.go:51
Method
ServiceGenerator
( GoSettings settings, Model model, SymbolProvider symbolProvider,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ServiceGenerator.java:81
Method
SetContext
SetContext updates the base context of the error.
validation.go:109
Function
SetErrorCodeOverride
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
Function
SetHeaderValue
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
Function
SetHostnameImmutable
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
Function
SetIsContentTypeDefaultValue
SetIsContentTypeDefaultValue returns a Context specifying if the request's content-type header was set to a default value.
transport/http/middleware_headers.go:14
← previous
next →
2,901–3,000 of 4,282, ranked by callers