MCPcopy Create free account

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

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

MethodIdentityResolver
IdentityResolver implements [smithyhttp.AuthScheme].
aws-http-auth-schemes/sigv4a/auth_scheme.go:28
MethodImportDeclarations
(String packageName)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ImportDeclarations.java:32
MethodImports
Imports returns all imports for the scalars.
ptr/gen_scalars.go:74
MethodInsert
Insert injects the item relative to an existing item id. Returns an error if the original item does not exist, or the item being added already exists.
middleware/ordered_group.go:55
MethodInsert
Insert injects an item before or after the relative item. Returns an error if the relative item does not exist.
middleware/ordered_group.go:180
MethodInsert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_finalize.go:154
MethodInsert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_deserialize.go:155
MethodInsert
Insert injects the middleware relative to an existing middleware ID. Returns error if the original middleware does not exist, or the middleware being
middleware/step_serialize.go:161
MethodInt64AsyncCounter
Int64AsyncCounter creates a no-op instrument.
metrics/nop.go:41
MethodInt64AsyncCounter
integer/asynchronous
metrics/metrics.go:32
MethodInt64AsyncCounter
(name string, callback metrics.Int64Callback, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:76
MethodInt64AsyncGauge
Int64AsyncGauge creates a no-op instrument.
metrics/nop.go:51
MethodInt64AsyncGauge
(name string, callback Int64Callback, opts ...InstrumentOption)
metrics/metrics.go:34
MethodInt64AsyncGauge
(name string, callback metrics.Int64Callback, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:96
MethodInt64AsyncUpDownCounter
Int64AsyncUpDownCounter creates a no-op instrument.
metrics/nop.go:46
MethodInt64AsyncUpDownCounter
(name string, callback Int64Callback, opts ...InstrumentOption)
metrics/metrics.go:33
MethodInt64AsyncUpDownCounter
(name string, callback metrics.Int64Callback, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:86
MethodInt64Counter
Int64Counter creates a no-op instrument.
metrics/nop.go:21
MethodInt64Counter
(name string, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:40
MethodInt64Gauge
Int64Gauge creates a no-op instrument.
metrics/nop.go:31
MethodInt64Gauge
(name string, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:58
MethodInt64Histogram
Int64Histogram creates a no-op instrument.
metrics/nop.go:36
MethodInt64Histogram
(name string, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:67
MethodInt64UpDownCounter
(name string, opts ...metrics.InstrumentOption)
transport/http/metrics_test.go:38
MethodInt64UpDownCounter
Int64UpDownCounter creates a no-op instrument.
metrics/nop.go:26
MethodInt64UpDownCounter
(name string, opts ...metrics.InstrumentOption)
metrics/smithyotelmetrics/metrics.go:49
MethodIntEnumGenerator
(SymbolProvider symbolProvider, GoWriter writer, IntEnumShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/IntEnumGenerator.java:43
MethodInteger
Integer encodes v as a query string value
encoding/httpbinding/query.go:63
MethodInteger
Integer encodes the value v as the header string value
encoding/httpbinding/header.go:67
MethodInteger
Integer encodes v as a URI string value
encoding/httpbinding/uri.go:51
MethodInteger
Integer encodes v as a JSON number
encoding/json/value.go:40
FunctionIsEndpointHostPrefixDisabled
IsEndpointHostPrefixDisabled retrieves whether the hostname prefixing is disabled. Scoped to stack values. Use middleware#ClearStackValues to clear a
transport/http/middleware_metadata.go:38
MethodIsFlattened
IsFlattened returns true if value is for flattened shape.
encoding/xml/value.go:295
MethodIsSigned
(string)
aws-http-auth/sigv4/sigv4_test.go:29
MethodIsSigned
(header string)
aws-http-auth/sigv4/sigv4_test.go:33
MethodIsSigned
(h string)
aws-http-auth/internal/v4/signer.go:285
MethodIsSigned
(string)
aws-http-auth/sigv4a/sigv4a_test.go:29
MethodJsonDeserializerGenerator
(Model model, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonDeserializerGenerator.java:43
MethodJsonSerializerGenerator
(Model model, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/protocol/JsonSerializerGenerator.java:45
MethodLen
Len returns the number of elements in the stack.
internal/serde/stack.go:37
MethodLen
()
document/internal/serde/field.go:250
MethodLess
(i, j int)
document/internal/serde/field.go:231
MethodLess
(i, j int)
document/internal/serde/field.go:254
MethodLess
(i, j int)
testing/xml/sort.go:16
MethodList
()
middleware/ordered_group.go:117
MethodList
()
middleware/ordered_group.go:226
MethodList
List returns a list of the middleware in the step.
middleware/step_finalize.go:217
MethodList
List returns a list of the middleware in the step.
middleware/step_deserialize.go:218
MethodList
List returns a list of the middleware in the step.
middleware/step_build.go:217
MethodList
List returns a list of the middleware in the step.
middleware/step_serialize.go:224
MethodList
()
middleware/stack.go:154
MethodListDeserializer
(GoCodegenContext ctx, ListShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListDeserializer.java:23
MethodListSerializer
(GoCodegenContext ctx, ListShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/ListSerializer.java:21
MethodLogf
(_ logging.Classification, format string, v ...interface{})
transport/http/middleware_http_logging_test.go:21
MethodLogf
(level logging.Classification, format string, v ...interface{})
logging/logger_test.go:69
MethodLogf
Logf delegates the logging request to the wrapped function.
logging/logger.go:28
MethodLogf
Logf simply returns without performing any action
logging/logger.go:58
MethodManifestWriter
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:55
MethodMapDeserializer
(GoCodegenContext ctx, MapShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapDeserializer.java:23
MethodMapSerializer
(GoCodegenContext ctx, MapShape shape)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/serde2/MapSerializer.java:21
MethodMarshalJSON
MarshalJSON implements the json.Marshaler interface
eventstream/header_value.go:466
MethodMarshalJSON
()
eventstream/debug.go:52
MethodMarshalSmithyDocument
()
testing/struct.go:238
MethodMarshalSmithyDocument
()
testing/struct_test.go:341
MethodMeter
Meter returns a meter which creates no-op instruments.
metrics/nop.go:11
MethodMeter
(scope string, opts ...metrics.MeterOption)
metrics/smithyotelmetrics/metrics.go:22
MethodMiddlewareIdentifier
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/MiddlewareIdentifier.java:46
MethodMiddlewareRegistrar
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/MiddlewareRegistrar.java:35
MethodName
Name returns the exported function name for the type.
ptr/gen_scalars.go:58
MethodName
()
tracing/nop.go:27
MethodName
()
tracing/smithyoteltracing/adapt.go:80
FunctionNew
New returns an instance of the aws.protocols#restXml protocol. If the service schema carries an xmlNamespace trait, it is applied as the root xmlns at
transport/http/protocol/restxml/restxml.go:36
FunctionNew
New returns an instance of the awsQuery protocol. The service version is pulled from the ServiceVersion trait on the service schema.
transport/http/protocol/awsquery/awsquery.go:35
FunctionNew
New returns an instance of the aws.protocols#restJson1 protocol.
transport/http/protocol/restjson1/restjson1.go:24
FunctionNew
New returns an instance of the ec2Query protocol. The service version is pulled from the ServiceVersion trait on the service schema.
transport/http/protocol/ec2query/ec2query.go:34
FunctionNew10
New10 returns an instance of the awsJson 1.0 protocol.
transport/http/protocol/awsjson/awsjson.go:26
FunctionNew11
New11 returns an instance of the awsJson 1.1 protocol.
transport/http/protocol/awsjson/awsjson.go:31
FunctionNewAuthScheme
NewAuthScheme returns a SigV4 [AuthScheme] backed by a default signer configured with the given options.
aws-http-auth-schemes/sigv4/auth_scheme.go:18
FunctionNewAuthScheme
NewAuthScheme returns a SigV4A [AuthScheme] backed by a default signer configured with the given options.
aws-http-auth-schemes/sigv4a/auth_scheme.go:18
FunctionNewCBOR
NewCBOR returns an instance of the smithy.protocols#rpcv2Cbor protocol.
transport/http/protocol/rpcv2/rpcv2.go:39
FunctionNewErrParamRequired
NewErrParamRequired creates a new required parameter error.
validation.go:133
FunctionNewEventStreamReader
NewEventStreamReader returns an EventStreamReader that deserializes events through the given protocol from r. The schema is the event stream union sch
transport/http/eventstream.go:137
FunctionNewEventStreamWriter
NewEventStreamWriter returns an EventStreamWriter for the given schema.
transport/http/eventstream.go:42
FunctionNewIdentityResolver
NewIdentityResolver adapts an [AWSCredentialIdentityResolver] to the pipeline's opaque [auth.IdentityResolver] interface.
aws-http-auth-schemes/identity/identity.go:79
MethodNewMessageSigner
(ctx context.Context, r *Request, identity auth.Identity, props smithy.Properties)
transport/http/auth.go:29
FunctionNewOnceErr
NewOnceErr return a new OnceErr
sync/error.go:17
FunctionNewOperationSchema
NewOperationSchema returns an OperationSchema for (input, output).
schema.go:236
FunctionNewSchema
NewSchema creates a new Schema with the given shape ID and traits.
schema.go:82
FunctionNewServiceSchema
NewServiceSchema returns a ServiceSchema for the given service shape.
schema.go:263
FunctionNewShapeDeserializer
NewShapeDeserializer returns a new ShapeDeserializer.
transport/http/protocol/internal/xml/shape_deserializer.go:92
FunctionNewShapeDeserializerAtElement
NewShapeDeserializerAtElement scans payload for the first element named `name` and returns a ShapeDeserializer positioned to read that element as its
transport/http/protocol/internal/xml/shape_deserializer.go:106
FunctionNewShapeSerializer
NewShapeSerializer returns a new ShapeSerializer.
transport/http/protocol/internal/query/shape_serializer.go:78
FunctionNewShapeSerializer
NewShapeSerializer creates a new ShapeSerializer.
transport/http/protocol/internal/xml/shape_serializer.go:54
FunctionNewSignHTTPSMessage
NewSignHTTPSMessage returns an initialized signer for HTTP messages.
auth/bearer/middleware.go:81
FunctionNewSigningWriter
NewSigningWriter returns a SigningWriter that signs frames and writes them to w.
eventstream/signer.go:35
FunctionNewStack
NewStack returns a Stack pre-allocated with capacity 8.
internal/serde/stack.go:10
FunctionNewStaticAWSCredentialIdentityResolver
NewStaticAWSCredentialIdentityResolver returns an [AWSCredentialIdentityResolver] that always resolves to the given, unchanging AWS credentials.
aws-http-auth-schemes/identity/identity.go:52
FunctionNewUUIDIdempotencyToken
NewUUIDIdempotencyToken returns a idempotency token provider returning tokens in the UUID random format using the reader provided.
rand/uuid.go:18
FunctionNewXMLElement
NewXMLElement returns a pointer to a new XMLNode initialized to default values.
testing/xml/xmlToStruct.go:23
MethodNoSerializeTrait
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/NoSerializeTrait.java:35
← previousnext →2,701–2,800 of 4,282, ranked by callers