in v3/client/s3_encryption_client_v3.go [81:93]
func (c *S3EncryptionClientV3) PutObject(ctx context.Context, input *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error) {
em := &encryptMiddleware{
ec: c,
}
encryptOpts := []func(*s3.Options){
internal.AddS3CryptoUserAgent,
em.addEncryptAPIOptions,
}
opts := append(optFns, encryptOpts...)
return c.Client.PutObject(ctx, input, opts...)
}