MCPcopy Create free account

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

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

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:143
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:93
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:107
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:52
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
MethodNodeUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/util/NodeUtil.java:25
MethodNoopServiceStruct
(Model model, ServiceShape service, SymbolProvider symbolProvider)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/NoopServiceStruct.java:46
MethodObserve
(context.Context, int64, ...RecordMetricOption)
metrics/metrics.go:115
MethodObserve
(context.Context, float64, ...RecordMetricOption)
metrics/metrics.go:127
MethodObserve
(_ context.Context, v int64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/async.go:29
MethodObserve
(_ context.Context, v float64, opts ...metrics.RecordMetricOption)
metrics/smithyotelmetrics/async.go:51
MethodOperation
Operation returns the name of the API operation the error occurred with.
errors.go:54
MethodOperationGenerator
( GoCodegenContext ctx, GoWriter writer, OperationShape operation,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/OperationGenerator.java:60
MethodOperationMetricsStruct
(String scope)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/OperationMetricsStruct.java:35
MethodOptionsStruct
(ServerProtocolGenerator protocolGenerator)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/server/OptionsStruct.java:31
MethodPagingExtensionTrait
(Builder builder)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/PagingExtensionTrait.java:39
FunctionParseQueryError
ParseQueryError extracts the error code and fault from X-Amzn-Query-Error.
internal/errors/errors.go:46
FunctionParseTime
ParseTime parses a time string like the HTTP Date header. This uses a more relaxed rule set for date parsing compared to the standard library.
transport/http/time.go:11
MethodPop
Pop removes and returns the top value.
internal/serde/stack.go:20
MethodProtocolDocumentGenerator
( GoSettings settings, Model model, GoDelegator delegator )
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:50
MethodProtocolUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/ProtocolUtil.java:48
MethodProtocolUtil
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/cbor/ProtocolUtil.java:61
MethodProtocolUtils
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolUtils.java:23
MethodProtocolUtils
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolUtils.java:58
MethodProvider
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/UnexportedMemberTrait.java:42
MethodProvider
()
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/trait/NoSerializeTrait.java:44
MethodPush
Push adds a value to the top of the stack.
internal/serde/stack.go:15
MethodPut
(k interface{}, v interface{})
container/private/cache/lru/lru.go:47
MethodRead
([]byte)
aws-http-auth/sigv4a/sigv4a_test.go:386
MethodRead
([]byte)
transport/http/middleware_close_response_body_test.go:28
MethodRead
(p []byte)
transport/http/middleware_content_length_test.go:22
MethodRead
Read reads up to len(p) bytes into p from the underlying read. If the reader is closed io.EOF will be returned.
transport/http/internal/io/safe.go:52
MethodRead
(p []byte)
testing/struct.go:234
MethodReadBigFloat
(*Schema, *big.Float)
serde.go:81
MethodReadBigFloat
ReadBigFloat is unimplemented and will return an error.
transport/http/protocol/internal/cbor/shape_deserializer.go:752
MethodReadBigFloat
ReadBigFloat is unimplemented and will return an error.
transport/http/protocol/internal/httpbinding/deserializer.go:503
MethodReadBigFloat
ReadBigFloat is unimplemented and will return an error.
transport/http/protocol/internal/xml/shape_deserializer.go:758
MethodReadBigFloat
ReadBigFloat is unimplemented and will return an error.
transport/http/protocol/internal/json/shape_deserializer.go:654
MethodReadBigFloat
ReadBigFloat is unimplemented and will return an error.
eventstream/deserializer.go:292
MethodReadBigInt
(*Schema, *big.Int)
serde.go:80
MethodReadBigInt
ReadBigInt is unimplemented and will return an error.
transport/http/protocol/internal/cbor/shape_deserializer.go:747
MethodReadBigInt
ReadBigInt is unimplemented and will return an error.
transport/http/protocol/internal/httpbinding/deserializer.go:498
MethodReadBigInt
ReadBigInt is unimplemented and will return an error.
transport/http/protocol/internal/xml/shape_deserializer.go:753
MethodReadBigInt
ReadBigInt is unimplemented and will return an error.
transport/http/protocol/internal/json/shape_deserializer.go:649
MethodReadBigInt
ReadBigInt is unimplemented and will return an error.
eventstream/deserializer.go:287
MethodReadBlob
ReadBlob implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:273
MethodReadBlob
ReadBlob implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:566
MethodReadBlob
ReadBlob implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:344
MethodReadBlob
(s *smithy.Schema, v *[]byte)
eventstream/deserializer.go:214
MethodReadBool
ReadBool implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:250
MethodReadBool
ReadBool implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:154
MethodReadBool
ReadBool implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:435
MethodReadBool
ReadBool implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:255
MethodReadBool
(s *smithy.Schema, v *bool)
eventstream/deserializer.go:130
MethodReadDocument
ReadDocument is unimplemented and will panic.
transport/http/protocol/internal/cbor/shape_deserializer.go:611
MethodReadDocument
ReadDocument implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:390
MethodReadDocument
ReadDocument is unimplemented for XML.
transport/http/protocol/internal/xml/shape_deserializer.go:612
MethodReadDocument
(s *smithy.Schema, v *document.Value)
eventstream/deserializer.go:276
MethodReadFloat32
ReadFloat32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:240
MethodReadFloat32
ReadFloat32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:220
MethodReadFloat32
ReadFloat32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:495
MethodReadFloat32
ReadFloat32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:211
MethodReadFloat32
(s *smithy.Schema, v *float32)
eventstream/deserializer.go:206
MethodReadFloat64
ReadFloat64 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:245
MethodReadFloat64
ReadFloat64 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:228
MethodReadFloat64
ReadFloat64 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:506
MethodReadFloat64
ReadFloat64 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:218
MethodReadFloat64
(s *smithy.Schema, v *float64)
eventstream/deserializer.go:210
MethodReadInt16
ReadInt16 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:225
MethodReadInt16
ReadInt16 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:186
MethodReadInt16
ReadInt16 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/xml/shape_deserializer.go:462
MethodReadInt16
ReadInt16 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/json/shape_deserializer.go:126
MethodReadInt16
(s *smithy.Schema, v *int16)
eventstream/deserializer.go:185
MethodReadInt32
ReadInt32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/cbor/shape_deserializer.go:230
MethodReadInt32
ReadInt32 implements [smithy.ShapeDeserializer].
transport/http/protocol/internal/httpbinding/deserializer.go:194
← previousnext →2,801–2,900 of 4,329, ranked by callers