Source File
metadata.go
Belonging Package
github.com/aws/aws-sdk-go-v2/service/internal/s3shared
package s3shared
import (
)
// clonedInputKey used to denote if request input was cloned.
type clonedInputKey struct{}
// SetClonedInputKey sets a key on context to denote input was cloned previously.
//
// Scoped to stack values. Use github.com/aws/smithy-go/middleware#ClearStackValues
// to clear all stack values.
func ( context.Context, bool) context.Context {
return middleware.WithStackValue(, clonedInputKey{}, )
}
// IsClonedInput retrieves if context key for cloned input was set.
// If set, we can infer that the reuqest input was cloned previously.
//
// Scoped to stack values. Use github.com/aws/smithy-go/middleware#ClearStackValues
// to clear all stack values.
func ( context.Context) bool {
, := middleware.GetStackValue(, clonedInputKey{}).(bool)
return
}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)